Home All Groups Group Topic Archive Search About

Async Connection timed out

Author
1 Mar 2007 3:34 AM
apiringmvp
After reading Jeff Prosise article <a href="http://msdn.microsoft.com/
msdnmag/issues/07/03/WickedCode/default.aspx">Scalable Apps with
Asynchronous Programming in ASP.NET</a> in MSDN Magazine I was
inspired to upgrade my website to use async database calls.
Everything is working from the code standpoint, but I seem to be
having an issue connecting to SqlServer.

The Sql server is installed on a Windows 2003 Server Std Ed in my
office.  On my work computer (using connString 1) everything works
fine and published on the site everything works fine

connString 1)  Data Source=WINSServerName;Initial
Catalog=SportsMetaBlogs;Persist Security Info=True;User
ID=user;Password=*****;async=true;


>From my home computer connected to the server (using connString 2)  I
get a server timed out error.  Everything works fine if I take the
async=true off and use the old non-async code.

connString 2)  Data Source=www.servername.com;Initial
Catalog=SportsMetaBlogs;Persist Security Info=True;User
ID=user;Password=****;async=true;

AddThis Social Bookmark Button