Please Help : An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
RSS
I've an ASP.NET 2.0 web site working with SQL Server 2005 Database and IIS 5
When I try to accesss the web site from any other PC and access a web form calling a database i got this error.
Please Help
Server Error in '/HSEWebUI' Application.
Login failed for user 'AA\ASPNET'.
Description:
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 'AA\ASPNET'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
It's a SQL login error. The account does not have the correct access. Mke sure you have appropriate access in SQL for the ASPNET account from the system AA.
Yeah but, how do I do that?<p>When I had MSSQL 2000 SP4, I had enterprize manager, etc to make my life so easy, I could do a lot with it.<p>ms visual studio 2010 comes with certain version of mssql 2008, which no enterprize manager exists.
I never saw an option at the installation to set the password for the SA account, nor got an optionto create users... I cant even manage it's tables. Only if I use vs 2010, or maybe get a thirdparty software like sysbase or something because vs2010 lacks
in sql management capabilities.
Amr Ashraf
Member
5 Points
1 Post
Please Help : An unhandled exception was generated during the execution of the current web reques...
Jun 26, 2006 11:45 PM|LINK
Hi ,
I've an ASP.NET 2.0 web site working with SQL Server 2005 Database and IIS 5
When I try to accesss the web site from any other PC and access a web form calling a database i got this error.
Please Help
Server Error in '/HSEWebUI' Application.
Login failed for user 'AA\ASPNET'.
Description: 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 'AA\ASPNET'.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: Please Help : An unhandled exception was generated during the execution of the current web re...
Jun 27, 2006 03:10 AM|LINK
It's a SQL login error. The account does not have the correct access. Mke sure you have appropriate access in SQL for the ASPNET account from the system AA.
Jeff
thiagocosta8...
Member
6 Points
4 Posts
Re: Please Help : An unhandled exception was generated during the execution of the current web re...
Nov 28, 2010 07:13 PM|LINK
how>?
thiagocosta8...
Member
6 Points
4 Posts
Re: Please Help : An unhandled exception was generated during the execution of the current web re...
Nov 28, 2010 07:14 PM|LINK
how ?
kctt
Contributor
5004 Points
948 Posts
Re: Please Help : An unhandled exception was generated during the execution of the current web re...
Dec 01, 2010 04:02 AM|LINK
It's in the error message
You need to configure proper mssql login with sql user and password.
Attach mdf/ldf file to database and add sql user to access the database.
thiagocosta8...
Member
6 Points
4 Posts
Re: Please Help : An unhandled exception was generated during the execution of the current web re...
Dec 02, 2010 08:05 PM|LINK
Yeah but, how do I do that?<p>When I had MSSQL 2000 SP4, I had enterprize manager, etc to make my life so easy, I could do a lot with it.<p>ms visual studio 2010 comes with certain version of mssql 2008, which no enterprize manager exists.
I never saw an option at the installation to set the password for the SA account, nor got an optionto create users... I cant even manage it's tables. Only if I use vs 2010, or maybe get a thirdparty software like sysbase or something because vs2010 lacks in sql management capabilities.
Any ideas?