Request timed out - Request timed out - asp.net

My website is running on Asp.net v4 , IIS 7 , Windows server 2008.
My cpu is running on 20-30% and the site is responding quickly.
Every 2-5 mins I'm receiving the following error:
Event code: 3001
Event message: The request has been aborted.
Exception type: HttpException
Exception message: Request timed out. ,
Request information:
Request URL: http://www.xxxx.com/Services/AxRefresh.asmx/AxUpdate
Request path: /Services/AxRefresh.asmx/AxUpdate
User host address: 84.110.251.198
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
i read that the error is related to the maximum concurrent requests limit
http://support.microsoft.com/kb/821268
but then i found out that on IIS 7 this limitation is changed and not relevant.
http://msdn.microsoft.com/en-us/library/dd560842(VS.100).aspx
Any other ideas what can be the problem or where to start looking ?
update:
found another link saying that all the below parameters:
maxWorkerThreads
minWorkerThreads
maxIoThreads
minFreeThreads
minLocalRequestFreeThreads
maxconnection
executionTimeout
are NOT relevant for IIS7+Asp.NET 4
here is the link
http://learn.iis.net/page.aspx/381/aspnet-20-breaking-changes-on-iis-70
**I still get the 100's errors daily on my iis7 **

The second link you found has no relationship with the first one, so you still need to apply the changes in the first article and see if it helps.

Related

SQL Server stops working due to specific sites IIS AppPool crashes it

I have a server with multiple sites and I have experienced the following Event Viewer Error:
Server local connection provider has stopped listening on [ \.\pipe\SQLLocal\MSSQLSERVER ] due to a failure. Error: 0xe8, state: 4. The server will automatically attempt to re-establish listening.
This error occurs directly after one of the sites on my server generates a Warning in the Event Viewer:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 8/4/2017 2:33:05 PM
Event time (UTC): 8/4/2017 1:33:05 PM
Event ID: 8fe181c1dde54b359dd40f946cd6d1ae
Event sequence: 15
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/11/ROOT-1-131463267483252556
Trust level: Full
Application Virtual Path: /
Application Path: C:\Hosting\www.testsite.com\
Machine name: S1
Process information:
Process ID: 5856
Process name: w3wp.exe
Account name: IIS APPPOOL\www.testsite.com
Exception information:
Exception type: Win32Exception
Exception message: The wait operation timed out
Request information:
Request URL: http://www.testsite.com/en-ie/about
Request path: /en-ie/about
User host address: 90.100.170.80
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\www.testsite.com
Thread information:
Thread ID: 22
Thread account name: IIS APPPOOL\www.testsite.com
Is impersonating: False
Stack trace:
Custom event details:
I know that if I turn off 'testsite' in IIS then my server works fine for all other sites. Any idea is it something gone wrong with the AppPool? Something to do in IIS? I am not encountering this problem with this site locally in IIS.
I compared site with others on same server and found its App Pool had duplicate applications assigned. I removed one and problem was resolved.
Still seeing the following error in relation to that same site though:
Message: Unable to find assembly 'Lucene.Net, Version=3.0.3.0,
Culture=neutral, PublicKeyToken=85089178b9ac3181'.
This may or may not have been invoved with the initial db overloading as the EvenLog table was quite large with errors from Lucene (from DNN module 'SearchBoost').

Event code: 4011 An unhandled access exception has occurred while trying to upload files using a Handler

We have an website site with a module to upload files to a network drive.
The problem is that the upload handler works when accessed internally and uploads the file to required network drive, but fails with a 4011 Event Id When accessed from outside the network. Can you help on what we are doing wrong
DETAILS
•The site is running on Windows Server 2008 R2 Standard 64 bit, IIS 7.5
•The site has impersonation true and we are using a domain user with full access on server and also on the network folder where the files will be uploaded via the handler
•The Code to Impersonate the domain user happens in the handler and works as expected within the network
Below are the log details
Event code: 4011
Event message: An unhandled access exception has occurred.
Event time: 8/4/2014 12:04:03 PM
Event time (UTC): 8/4/2014 9:04:03 AM
Event ID: 5124ff6156ff47728c544cfb70c488f2
Event sequence: 628
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/sitefolder-4-130516162183314587
Trust level: Full
Application Virtual Path: /sitefolder
Application Path: C:\inetpub\wwwroot\sitefolder\
Machine name: XXX
Process information:
Process ID: 2520
Process name: w3wp.exe
Account name: domain\username
Request information:
Request URL: https://sitenamex:443/sitefolder/DOP/FileUploadHndler.ashx?type=rau
Request path: /sitefolder/DOP/FileUploadHndler.ashx
User host address: 98.98.0.88
User:
Is authenticated: False
Authentication Type:
Thread account name: domain\username
Any help would be greatly appreciated
You mention that files are uploaded to a network drive. If that network drive drive does not have the proper network permissions it can cause the error you mention '4011'
This was caused by lack of access to the temp folder for me. Check what your AppPool is running under. I had to change to LocalSystem to get access to temp folder.
BTW: not IIS, but the ReportViewer component is accessing temp.

"An unhandled security exception has occurred" in asp.net

We are getting the following error on our web server. We are also observing a strange problem leading to a virtual shuttpown to our asp.net web application. It does not crash. It simply stops processing requests. this happen regardless of the load of the server. It happens periodically, sometime every 90 minutes or 2 hours. Sometime also when no one is logged on.
We are caching certain data in memory to minimize database round trips . Could this happen when the cache expires and need to be reloaded due to something not configured properly?
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 21/05/2014 08:57:36
Event time (UTC): 21/05/2014 06:57:36
Event ID: 9106022293a944059cd7a35dbdc48024
Event sequence: 262
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-1-130451258156698671
Trust level: Full
Application Virtual Path: /
Application Path: D:\FolderXXX\
Machine name: MachineXXXX
Process information:
Process ID: 6664
Process name: w3wp.exe
Account name: UserXXX
Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: UserXXX
Custom event details:
Yes, it could happen when the cache expires and needs to be reloaded again and the account has no rights. Either check how you reload cache and if account has rights or enable tracing for more information.
Read about similar issue at http://forums.asp.net/t/1629856.aspx
How to: Enable Tracing for an ASP.NET Application

Regular event ID 1315 "ticket supplied was invalid" when not using forms auth

We're seeing lots of events like these even though we have authentication set to "None":
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.
Event time: 12/3/2013 12:50:06 PM
Event time (UTC): 12/3/2013 6:50:06 PM
Event ID: 9a0cc0c93a964b1c9bd7126dc367b09b
Event sequence: 163807
Event occurrence: 23853
Event detail code: 50201
Application information:
Application domain: /LM/W3SVC/1/ROOT/BG-4-130305700816025855
Trust level: Full
Application Virtual Path: /BG
Application Path: D:\inetpub\wwwroot\BG\
Machine name: ***
I even double-checked in IIS Manager at the site and server level and the GUI shows Forms Authentication set to Disabled.
This is using asp.net 4.0 running on Server 2008 R2. I tried adding a machineKey to machine.config just to test but it still fails. It doesn't seem like all requests are failing since I only see the error once a minute but I can't isolate which ones are failing. I even tried using Fiddler to send a bogus .ASPXAUTH cookie but I didn't see any new errors in the event log that match up with my request.
Anyone have any ideas?
Thanks,
tim

Permissions in IIS7/ASP.net MVC3

Hope someone can assist with this one, I'm about ready to pull out what little hair I have left..
Anyway, I have an ASP.net WebForms/MVC3 intranet site running with Windows Authentication, but I have one user who is getting prompted for his username/password when trying to view one of the MVC pages.
The page URL is /FM, which routes to the area (FM), and renders the default route (/FM/Home/Index). If the user uses the /FM url, it prompts for a password and returns a 403 even if it's entered correctly, but if he uses the (/FM/Home/Index) path, it returns the page without issue.
It's only been a problem with this one user account, and I've had him try it with different browsers, different machines, etc., with no change. The odd thing is, it's only his account, and it works just fine for other users with the exact same AD permissions as him.
The one error I've been able to find is this in the event log:
Event code: 4008
Event message: File authorization failed for the request.
Event time: 6/18/2012 3:19:33 PM
Event time (UTC): 6/18/2012 7:19:33 PM
Event ID: 65994829b06b4aa4a92d71b8e985ec24
Event sequence: 4217
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/4/ROOT-3-129845173218765349
Trust level: Full
Application Virtual Path: /
Application Path: [Root application path]
Machine name: [WebserverName]
Process information:
Process ID: 9776
Process name: w3wp.exe
Account name: [IIS APPPOOL\WebsiteName]
Request information:
Request URL: http://mydomain/FM/
Request path: /FM/
User host address: [User Host Address]
User: [Domain\Username]
Is authenticated: True
Authentication Type: Negotiate
Thread account name: [IIS APPPOOL\WebsiteName]
Anyone have any ideas?

Resources