Q
Problem solve Get help with specific problems with your technologies, process and projects.

Calling a stored procedure remotely

I'm using an ASP (Active Server Page) to call a stored procedure on a remote SQL Server. It's not executing, instead it's stalling. When my Web server and SQL Server are on the same machine I don't have this problem. What step am I missing to get this to work remotely

I'm using an ASP (Active Server Page) to call a stored procedure on a remote SQL Server. It's not executing, instead it's stalling. When my Web server and SQL Server are on the same machine I don't have this problem. What step am I missing to get this to work remotely?
By default, SQL Server 2005 doesn't allow remote connections. Run the SQL Server Surface Are Configuration tool to check that you have remote connections enabled. If you are using SQL Server 2000, ensure the Transmission Control Protocol is enabled in svrnetcn.exe. If these are enabled, be sure you're not being blocked by a firewall and the port is actually open.
This was last published in February 2007

Dig Deeper on SQL Server Stored Procedures

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close