PTWeb local proxy

PTWeb local proxy

Old forum URL: forums.lhotka.net/forums/t/7604.aspx


PederSvaleng posted on Thursday, September 10, 2009

I'm unable to run the PTWeb with a local proxy..

The exception I get is
Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'MWNOOSLWXPLT042\ASPNET'

I've tried to run the app against the sql express data file (also inside the App_Data folder) and within sql server 2005 but without luck. I have also tried to find a similiar problem in the forum.

The application runs fine when using the wcf proxy. Anybody else had this problem?

ajj3085 replied on Thursday, September 10, 2009

Sounds pretty straightforeward... you're running an asp.net app, and theres no identity impersonation, so its trying to authenticate to your local sql server as the local aspnet user account on your machine, which doesn't have permissions.

Likely the wcf proxy IS configured to use impersonation, and so the asp.net application connects as your user account.

Copyright (c) Marimer LLC