wolf_dik
asked on
Connection in asp.net
i created physicly sqlDataConnection and sqlDataAdapter.
but on form load when i executed this code:
Dim cn As New SqlClient.SqlConnection()
cn.Open()
I got error message:
Server Error in '/WebApplication15' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Login failed for user 'SYCALE-3UDVADCQ\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.Runtime.InteropServ ices.COMEx ception: Login failed for user 'SYCALE-3UDVADCQ\ASPNET'.
How can i fix it?
but on form load when i executed this code:
Dim cn As New SqlClient.SqlConnection()
cn.Open()
I got error message:
Server Error in '/WebApplication15' Application.
--------------------------
Login failed for user 'SYCALE-3UDVADCQ\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.Runtime.InteropServ
How can i fix it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I figured out. I have to use standard account, not window.
CHeers