November 28, 2004 at 8:57 pm
I get the following error message while trying to connect to the SQL server(localhost). I am creating a web Application using visual basic.net. The same code works for a Windows form Application, but not for Web application.
This is the error.
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 'UTM\ASPNET'.
December 1, 2004 at 8:00 am
This was removed by the editor as SPAM
December 3, 2004 at 2:47 am
First call is to Enterprise manager, to check the perms for that user, and then compare to the connection string from the web app.
You must use the same login - i.e. the user detailed in the connection string must both exist for the database, and have at least select permissions on the table(s) being accessed.
For help on connection strings, check http://www.aspfaq.com
December 3, 2004 at 9:50 am
Test the process from QA, loggin in as that user. Then execute everythign your page will execute.
December 14, 2004 at 2:54 am
did you get anywhere with this?
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply