On 22 Jun 2005 10:05:34 -0700,
wrote:
¤ I've been developing on this machine for months and have created many
¤ ASP.NET applications that connect to various remote machines, mostly
¤ databases.
¤
¤ All of a sudden, I am unable to connect to my SQL Server even though I
¤ have a valid connection string (no, I'm not using integrated security).
¤ This exact connection string works perfectly in WinForms apps.
¤
¤ Anytime I try to connect via an ASP.NET app, I get the familiar message
¤ "SQL Server does not exist or access is denied." Using SQL Profiler I
¤ see it never even makes a connection attempt.
¤
¤ This leads me to believe that, some how, my local ASPNET account has
¤ lost its network privledges.
¤
¤ Ideas? (Aside from just granting my ASPNET account admin access or
¤ impersonating another account.)
¤
¤ Again, this happened suddenly and it used to work just fine.
Couple of obvious things to check:
Is the SQL Server service running?
Is SQL Server authentication limited to Windows authentication?
Paul
~~~~
Microsoft MVP (Visual Basic)