|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error 401.1I am using windows server 2003 with service pack 1 and integrated Authentication. In the local intranet all are working correctly, but from another geographical location through vpn we are trying to open the file it was displaying 401.1 error. please find the IIS web log below: 2006-02-22 11:04:56 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - xxx.xxx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) 401 1 0 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 domain\user xxx.xxx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) 200 0 64 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - xxx.xxx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) 401 1 2148074248 Thanks Sreekanth Hmm. Error 2148074248 is:
SEC_E_INVALID_TOKEN winerror.h # The token supplied to the function is invalid On the IIS server, what errors do you see in the security event log for logon failures? Cheers Ken Show quoteHide quote "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> wrote in message news:E468C8AE-55DC-49A5-BB32-4F87C2E3447F@microsoft.com... : Hi , : : I am using windows server 2003 with service pack 1 and integrated : Authentication. : : In the local intranet all are working correctly, but from another : geographical location through vpn we are trying to open the file it was : displaying 401.1 error. : : please find the IIS web log below: : : 2006-02-22 11:04:56 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - : xxx.xxx.xxx.xxx : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) : 401 1 0 : : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 : domain\user xxx.xxx.xxx.xxx : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) : 200 0 64 : : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - : xxx.xxx.xxx.xxx : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) : 401 1 2148074248 : : Thanks : Sreekanth : Hi Ken,
Sorry I didn't got you. can you please tell me from where [EventLog/Web server Log] can I provide the information you required. This was the error displaying to the users on the client browser. "HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials" Thanks Sreekanth Show quoteHide quote "Ken Schaefer" wrote: > Hmm. Error 2148074248 is: > > SEC_E_INVALID_TOKEN winerror.h > # The token supplied to the function is invalid > > On the IIS server, what errors do you see in the security event log for > logon failures? > > Cheers > Ken > > > "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> > wrote in message news:E468C8AE-55DC-49A5-BB32-4F87C2E3447F@microsoft.com... > : Hi , > : > : I am using windows server 2003 with service pack 1 and integrated > : Authentication. > : > : In the local intranet all are working correctly, but from another > : geographical location through vpn we are trying to open the file it was > : displaying 401.1 error. > : > : please find the IIS web log below: > : > : 2006-02-22 11:04:56 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - > : xxx.xxx.xxx.xxx > : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) > : 401 1 0 > : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 > : domain\user xxx.xxx.xxx.xxx > : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) > : 200 0 64 > : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - > : xxx.xxx.xxx.xxx > : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) > : 401 1 2148074248 > : > : Thanks > : Sreekanth > : > > > Start -> Control Panel -> Admin Tools -> Event Viewer
(or Start -> Run -> eventvwr.msc) Cheers Ken Show quoteHide quote "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)wrote in message news:D42DF48D-8DD3-4662-A7C7-399C63DEA4C4@microsoft.com... : Hi Ken, : : Sorry I didn't got you. can you please tell me from where [EventLog/Web : server Log] can I provide the information you required. : : This was the error displaying to the users on the client browser. : "HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials" : : Thanks : Sreekanth : : "Ken Schaefer" wrote: : : > Hmm. Error 2148074248 is: : > : > SEC_E_INVALID_TOKEN winerror.h : > # The token supplied to the function is invalid : > : > On the IIS server, what errors do you see in the security event log for : > logon failures? : > : > Cheers : > Ken : > : > : > "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> : > wrote in message news:E468C8AE-55DC-49A5-BB32-4F87C2E3447F@microsoft.com... : > : Hi , : > : : > : I am using windows server 2003 with service pack 1 and integrated : > : Authentication. : > : : > : In the local intranet all are working correctly, but from another : > : geographical location through vpn we are trying to open the file it was : > : displaying 401.1 error. : > : : > : please find the IIS web log below: : > : : > : 2006-02-22 11:04:56 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - : > : xxx.xxx.xxx.xxx : > : : > : 401 1 0 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322): > : : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 : > : domain\user xxx.xxx.xxx.xxx : > : : > : 200 0 64 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322): > : : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - : > : xxx.xxx.xxx.xxx : > : Show quoteHide quote : > : 401 1 2148074248 : > : : > : Thanks : > : Sreekanth : > : : > : > : > Hi Ken,
All the pages I was getting correcly when I provided the credentials. When I was opening the physical files from the server; this error is coming. The process at the server is as follows. I was impersonating the web application with another domain account for reading the physical files on another server. after reading the physical file in to buffer; I was doing context undo; to return to previous authentication. Thanks Sreekanth Show quoteHide quote "Ken Schaefer" wrote: > Hmm. Error 2148074248 is: > > SEC_E_INVALID_TOKEN winerror.h > # The token supplied to the function is invalid > > On the IIS server, what errors do you see in the security event log for > logon failures? > > Cheers > Ken > > > "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> > wrote in message news:E468C8AE-55DC-49A5-BB32-4F87C2E3447F@microsoft.com... > : Hi , > : > : I am using windows server 2003 with service pack 1 and integrated > : Authentication. > : > : In the local intranet all are working correctly, but from another > : geographical location through vpn we are trying to open the file it was > : displaying 401.1 error. > : > : please find the IIS web log below: > : > : 2006-02-22 11:04:56 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - > : xxx.xxx.xxx.xxx > : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) > : 401 1 0 > : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 > : domain\user xxx.xxx.xxx.xxx > : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) > : 200 0 64 > : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - > : xxx.xxx.xxx.xxx > : Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322) > : 401 1 2148074248 > : > : Thanks > : Sreekanth > : > > > I'm sorry, but this doesn't make sense.
a) Are you requireing the user to authenticate? b) Is your web application impersonating the end user? c) The error is occuring when you return to the default user context for the process? d) are you doing this in ASP.NET? Did you ask in the ASP.NET forums? Cheers Ken Show quoteHide quote "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)wrote in message news:B0DD8C21-1659-4873-8330-F6444E676932@microsoft.com... : Hi Ken, : : All the pages I was getting correcly when I provided the credentials. : : When I was opening the physical files from the server; this error is coming. : : The process at the server is as follows. : : I was impersonating the web application with another domain account for : reading the physical files on another server. : : after reading the physical file in to buffer; I was doing context undo; to : return to previous authentication. : : Thanks : Sreekanth : : : "Ken Schaefer" wrote: : : > Hmm. Error 2148074248 is: : > : > SEC_E_INVALID_TOKEN winerror.h : > # The token supplied to the function is invalid : > : > On the IIS server, what errors do you see in the security event log for : > logon failures? : > : > Cheers : > Ken : > : > : > "Sreekanth Doppalapudi" <SreekanthDoppalap***@discussions.microsoft.com> : > wrote in message news:E468C8AE-55DC-49A5-BB32-4F87C2E3447F@microsoft.com... : > : Hi , : > : : > : I am using windows server 2003 with service pack 1 and integrated : > : Authentication. : > : : > : In the local intranet all are working correctly, but from another : > : geographical location through vpn we are trying to open the file it was : > : displaying 401.1 error. : > : : > : please find the IIS web log below: : > : : > : 2006-02-22 11:04:56 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - : > : xxx.xxx.xxx.xxx : > : : > : 401 1 0 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322): > : : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 : > : domain\user xxx.xxx.xxx.xxx : > : : > : 200 0 64 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322): > : : > : 2006-02-22 11:04:57 W3SVC1 xxx.xx.x.xxx POST /docGet/docGet.aspx - 80 - : > : xxx.xxx.xxx.xxx : > : Show quoteHide quote : > : 401 1 2148074248 : > : : > : Thanks : > : Sreekanth : > : : > : > : > |
|||||||||||||||||||||||