Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server with Windows Integrated Security

Status
Not open for further replies.

abdullauthan

Programmer
Apr 20, 2000
64
SA
I'm trying to connect to SQL Server using windows integrated security. I have made the changes as per the below link.


I'm getting this error...

Access is 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.ApplicationException: Access is denied.

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.

Stack Trace:


[ApplicationException: Access is denied.
]
System.Security.Principal.WindowsIdentity._ResolveIdentity(IntPtr userToken) +0
System.Security.Principal.WindowsIdentity.get_Name() +71
System.Web.Configuration.AuthorizationConfigRule.IsUserAllowed(IPrincipal user, String verb) +100
System.Web.Configuration.AuthorizationConfig.IsUserAllowed(IPrincipal user, String verb) +81
System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs) +156
System.Web.SyncEventExecutionStep.Execute() +59
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

Please help!!! I can connect with Windows Integrated Security from VB.Net but not ASP.Net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top