Click here to Skip to main content
14,272,287 members
   

ASP.NET

 
GeneralRe: Is it possible to raise an error on filename that resides on the server? Pin
samflex31-May-19 6:29
membersamflex31-May-19 6:29 
QuestionHTTP Error 502.5 - Process Failure while publishing ASP.Net Core 2.1 Pin
meeram3927-May-19 20:45
professionalmeeram3927-May-19 20:45 
AnswerRe: HTTP Error 502.5 - Process Failure while publishing ASP.Net Core 2.1[RESOLVED] Pin
meeram3927-May-19 22:33
professionalmeeram3927-May-19 22:33 
Questionasp.net Pin
Member 1447264927-May-19 20:07
memberMember 1447264927-May-19 20:07 
AnswerRe: asp.net Pin
phil.o27-May-19 20:17
mvephil.o27-May-19 20:17 
QuestionExcel to MS SQL using ASP.net VB Pin
Member 1447166826-May-19 22:38
memberMember 1447166826-May-19 22:38 
AnswerRe: Excel to MS SQL using ASP.net VB Pin
Richard MacCutchan26-May-19 23:18
protectorRichard MacCutchan26-May-19 23:18 
Question(SOLVED) How do I get my link to point to server and play a .WAV audio? Pin
samflex23-May-19 6:17
membersamflex23-May-19 6:17 
AnswerRe: How do I get my link to point to server and play a .WAV audio? Pin
Richard Deeming23-May-19 7:24
mveRichard Deeming23-May-19 7:24 
GeneralRe: How do I get my link to point to server and play a .WAV audio? Pin
samflex23-May-19 9:29
membersamflex23-May-19 9:29 
Questionbookmark Pin
Member 1441910022-May-19 4:00
memberMember 1441910022-May-19 4:00 
AnswerRe: bookmark Pin
Vinod Jangle28-May-19 10:37
memberVinod Jangle28-May-19 10:37 
QuestionEmail Based OTP Verification for new user registration Pin
VIRENDRA TEMBHARE20-May-19 20:19
memberVIRENDRA TEMBHARE20-May-19 20:19 
AnswerRe: Email Based OTP Verification for new user registration Pin
Richard MacCutchan20-May-19 21:02
protectorRichard MacCutchan20-May-19 21:02 
AnswerRe: Email Based OTP Verification for new user registration Pin
Richard Deeming21-May-19 0:37
mveRichard Deeming21-May-19 0:37 
QuestionCannot insert the value NULL into column 'Status_Id', table 'ITInventory.dbo.Workstations'; column does not allow nulls. INSERT fails. Pin
SuperJWP20-May-19 7:32
memberSuperJWP20-May-19 7:32 
AnswerRe: Cannot insert the value NULL into column 'Status_Id', table 'ITInventory.dbo.Workstations'; column does not allow nulls. INSERT fails. Pin
Richard Deeming20-May-19 8:43
mveRichard Deeming20-May-19 8:43 
QuestionAjax ToolKit File Upload CAN NOT upload AutoCAD files Pin
Member 1253746817-May-19 11:33
memberMember 1253746817-May-19 11:33 
AnswerRe: Ajax ToolKit File Upload CAN NOT upload AutoCAD files Pin
Richard Deeming21-May-19 0:39
mveRichard Deeming21-May-19 0:39 
Questionkeep web form drop down list from chagning Pin
dcof16-May-19 10:09
memberdcof16-May-19 10:09 
AnswerRe: keep web form drop down list from chagning Pin
Vinod Jangle28-May-19 10:41
memberVinod Jangle28-May-19 10:41 
QuestionRedirecting a user (vb.net) Pin
Member 876166712-May-19 23:22
memberMember 876166712-May-19 23:22 
AnswerRe: Redirecting a user (vb.net) Pin
Richard Deeming13-May-19 8:02
mveRichard Deeming13-May-19 8:02 
GeneralRe: Redirecting a user (vb.net) Pin
Member 87616679-Jun-19 23:56
memberMember 87616679-Jun-19 23:56 
QuestionEncountering error 401 1 2148074254 while accessing the webservice in NLB environment Pin
vinod koti7-May-19 3:22
membervinod koti7-May-19 3:22 
Hello All,


I have an ASP.Net web application hosted in NLB infrastructure with 2 web servers and 2 app servers. I have 3 web services running in the application server with windows authentication enabled. Other settings as follows

Anonymous authentication is disabled
Basic authentication is disabled
Digest authentication is disabled
ASP.NET Impersonation is disabled.
Windows authentication is enabled
Negotiate is on priority with both Negotiate, NTLM is enabled.
using custom identity : DOmain\UserID2
useAppPoolCredentials set to true
useKernelMode set to TRUE
Registered serviceprincipa1Names for CN-UserID2.CN-Users.DC-XX.DC-XXXX.DC-COM:

HTTP/AppServerName2 : 10443

HTTP/AppServerName1 : 10443

HTTP/AppServerName2 : 443

HTTP/AppServerName1 : 443

 

As per my observation, user encounter error 401 1 2148074254 when website access a specific webservice(let's say webservice 1) for the first time. When user access the same function again then there is no recurrence of 401 error.

Noticed the Start Mode was set to “On Demand” mode in app pool settings. Tried changing the Start Mode to “Always Running” and Idle Time-Out to “0” but still encountered the same error and the same pattern.

Environment used

Server: Windows Server 2012 R2 standard edition.
IIS Version: 8.5  

 
Extract from IIS log

2019-05-07 06:16:27 xxx.xx.x.xxx POST /SecSvc/SecWebService.asmx - 10443 - XXX.XX.XXX.XXX Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 401 1 2148074254 2906

2019-05-07 06:16:27 xxx.xx.x.xxx POST /SecSvc/SecWebService.asmx - 10443 - XXX.XX.XXX.XXX Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 401 1 2148074254 3453

2019-05-07 06:16:30 xxx.xx.x.xxx POST /SecSvc/SecWebService.asmx - 10443 domain\UserID1 XXX.XX.XXX.XXX Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.42000) - 200 0 0 3281


modified 14-May-19 3:46am.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.