I have a website in VS2005 C#. Access to server is no problem in debug
mode.
Access in run mode gives an errror. What exactly do I need to do to
enable this?
Thanks and regards,
VK
How are you connecting to the database? I'm guessing "integrated security".
When you run the site in the debugger, it could run under your account,
which has access rights to the database.
When you run it "for real" it runs under a local ASPNET (or NETWORK SERVICE)
account, which isn't known to SqlServer.
Solution: connect to SqlServer using a specified sqlserver account.
(note: SqlServer needs to be set up to accept both integrated secirity
and local accounts - which isn't the default)
Hans Kesting