B
bh
This is the first time I've tried separating my code into a separate data
layer, located in a class library. The class library compiles fine, and
then I reference it in my asp.net application. When I run it from Visual
Studio it works, however, when I run it from IIS
(localhost/application.aspx), I get the following error:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error
and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
'DOMAIN\SERVERNAME$'.
The line of code highlited is the one which calls the data access layer to
process the login credentials.
Thank you for any help you can provide on this. I'm very much a newbie to
N-Tier stuff, but would really like to learn how to reduce hard-coding
everything over & over
layer, located in a class library. The class library compiles fine, and
then I reference it in my asp.net application. When I run it from Visual
Studio it works, however, when I run it from IIS
(localhost/application.aspx), I get the following error:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error
and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
'DOMAIN\SERVERNAME$'.
The line of code highlited is the one which calls the data access layer to
process the login credentials.
Thank you for any help you can provide on this. I'm very much a newbie to
N-Tier stuff, but would really like to learn how to reduce hard-coding
everything over & over