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.
Dig Deeper on SQL Server Stored Procedures
Related Q&A from Greg Low
Learn why using the sp_OACreate stored procedure with a SQL Server 2005 trigger, is likely to result in a permissions problem.
Copying stored procedures between databases on the same SQL Server 2005 can be done through scripting the stored procedures with this method.
Find how to query in SQL Server to get all database names created by users.
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.