R
Rupreet Singh
Hi Everyone
I’m working Windows 2000 Professional with IIS 5.0 and Framework 1.1.
In my current project, I had to use Windows Authentication. The problem is that even if I use right credentials, the LogonUser Function (P/Invoke) always return false. But if I uninstall ASP.NET 1.1 and then try to log on using LogonUser Function, it returns true for right credentials (with ASP.NET 1.0) . Also If I use the same code (with ASP.NET 1.1) on Windows XP machine or Windows 2003 Server machine, it works fine. It’s just giving me problem on Windows 2000 Professional with ASP.NET 1.1. For testing, I also changed the machine.config file and set the “username†as “SYSTEM†but the problem persists.
Can any one tell me the reason for this and the workaround for this
Thanks
Rupreet Singh
I’m working Windows 2000 Professional with IIS 5.0 and Framework 1.1.
In my current project, I had to use Windows Authentication. The problem is that even if I use right credentials, the LogonUser Function (P/Invoke) always return false. But if I uninstall ASP.NET 1.1 and then try to log on using LogonUser Function, it returns true for right credentials (with ASP.NET 1.0) . Also If I use the same code (with ASP.NET 1.1) on Windows XP machine or Windows 2003 Server machine, it works fine. It’s just giving me problem on Windows 2000 Professional with ASP.NET 1.1. For testing, I also changed the machine.config file and set the “username†as “SYSTEM†but the problem persists.
Can any one tell me the reason for this and the workaround for this
Thanks
Rupreet Singh