Click to See Complete Forum and Search --> : SQL Server does not exist or access denied


srinivas_75
July 25th, 2002, 06:19 AM
Hi,

I have an ASPX Form which access a table in Database in SQL Server 7.0 When i run the ASPX form it gives trhe follwing error.

"SQL Server does not exist or access denied.
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: SQL Server does not exist or access denied."

can anybody helpme out in solving this problem

Thanks Anyway
Srinivas

bharadwajrv
July 27th, 2002, 12:43 AM
Hi,
Check the "Data Source" name is correct and "User Id" and "Password" is given properly.

Make sure that the user id given has the permission to access the specified table/databse.

pjpark
July 30th, 2002, 02:31 PM
Or create a login in SQL Server for ASPNET.

pjp

srinivas_75
July 30th, 2002, 04:03 PM
Originally posted by srinivas_75
Hi,

I have an ASPX Form which access a table in Database in SQL Server 7.0 When i run the ASPX form it gives trhe follwing error.

"SQL Server does not exist or access denied.
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: SQL Server does not exist or access denied."

can anybody helpme out in solving this problem

Thanks Anyway
Srinivas

















I Have solved this problem by creating a Username and Password in SQL Server