Hi,
I can publish My Asp.NET 2.0 web service, through a WebSetup project, on a
Windows XP Pro Sp2 and it works fine.
When I'm trying to publish it on a Windows 2003 Server IIS 6 => when I can
access the web service but it is closed after few seconds (I know 'cause I
have in global.asax.cs Application_Start/End
Trace.WriteLine(DateTime.Now());)
My pb is that I'm loosing my Application and Session globals objects data.
I saw that, by default, in Win2003 IIS 6->My Virtual
Directory ->DirectorySecurity tab->Anonymous acces and .. -> Authentication
method ONLY Integrated Authentication Mode is cheked. I enabled the
Anonymous access, too. In Win XP anonymous is enabled by default.
Client machine and server are part of the same Windows domain controller.
In windows form client code I have :
localhost.MywebService myWS = new localhost.MywebService();
....
myWS.Credentials = System.Net.CredentialCache.DefaultCredentials;
myWs.CookieContainer = new System.Net.CookieContainer();
....
What am I doing wrong ?
What else should I change in win2003 to work like in WinXp ?
How can I catch in Application_end which process is shutting down my asp.net
web service ?
In Win2003 Application log I found this warning :
The registry key for IIS subauthenticator is not configured correctly on
local machine, the anonymous password sync feature is disabled.
Thanks for any suggestion