Last post Jan 14, 2014 10:28 PM by wadlez
Aug 27, 2009 06:05 AM|Balyk|LINK
I've installed Win7 Ent - clear new instance (I think at Vista will be the same). Include comp into my domain. Install VS2008.
The problem is in running my old ASP.NET application that is uses Windows Authentication.
IsInRole method throws exception - "The trust relationship between this workstation and the primary domain failed." when I want to check some domain role fo my app user.
My domain account has an Administrator priveleges at my comp and in my domain.
I was searched by google and try next solution whith no success:
* reconnect my computer to domain
* run VS2008 as Administrator
* In Local Policy set Enable to "Admin approval mode for built-in Administrator account"
* deploy application to local IIS and run it there
Another simptoms of unnormal:
* when I try to view Quota Entities on shared disk I see only user's SID - not names
Please help anyone... :-(
Aug 27, 2009 08:32 AM|srikanth2003|LINK
Is the user authenticated? Are you using Windows Authentication/Forms authentication? Are you using AuthenticatinoCookie?
Aug 28, 2009 12:38 AM|Balyk|LINK
Is the user ? Are you using Windows Authentication/Forms authentication? Are you using AuthenticatinoCookie?
Yes! User is authenticated. I
From VS2008 I've runned application with Windows Authentication (with identity impersonate = true). Cassini web server (when I debug my application) as I know uses current Windows Account. But I did it on IIS with Win Authentication - and it was the same
No cookies used.
Jan 14, 2014 10:28 PM|wadlez|LINK
I am having the exact same problem.
A work around which works for me is to change the Authentication mode in Web.config to Forms (From Windows).
"<authentication mode="Forms" />"
I then change it back to windows when I publish to the server.