Quantcast
Channel: Troubleshooting
Viewing all 1814 articles
Browse latest View live

500 - Internal Server Error on random sites

$
0
0

I just  upgraded  from Windows Server 2008 R2  to  Server 2012  (Both Datacenter editions). After  the upgrade, I'm now having issues with one of my three sites throwing a 500 error,  while  the other  two  are working just fine. The irony in this is  that  one  of  the working sites is a PHP-Fusion installation, as  is  the one that isn't  working. I have tried everything I can think of  to get  it working,  but have had  no  luck. If  anyone has  any suggestions,  please  le t  me know.

Working Site

Unworking Site


Crash/Hang Dump files on Web Server - Automatic Process

$
0
0

Hi all,

how can i automate the process of creating dump files on iis server? I saw some articles talking about using debug diag or procdump but the process is manually done.

but i need is automatic monitoring of w3wp processes on iis server reaching threshold value against some paramameters like cpu and memory usage or leaks etc

pls advise. thanks

Failed request log shows 200 status code for failed request

$
0
0

I am on Windows 2102 server (IIS 8.5) with failed request logging installed. I am catching all errors from 400-999. No file created under C:\inetpub\logs\FailedReqLogFiles folder.

So I have to change the tracing rule to catch status code from 200-999. Now I can see failed requests logged with status code 200.

Actually, all failed request (with different reasons) show status code 200 (see below). I can easily show this by accessing an non-existed resource like: localhost/bluh.asp.

Failure ReasonSTATUS_CODE
Trigger Status200
Final Status200

Any clue for fixing this?

How to see COMPLETE request body in failed request log

Any idea about IIS app pool crash on webgat[Critical]

$
0
0
<div id="CrashHangAnalysis:4792:16-s">

Following is the dump that I collected.

When we deploy webgate over http on defaultwebsite on iis 8.5 windows 2012 r2 server, it works fine.

But when we deploy on our website, the app pool crashes. Any idea (urgent?)

Report for w3wp__TimeTradeService__PID__4792__Date__10_01_2015__Time_09_55_59PM__699__Second_Chance_Exception_E06D7363.dmp

Type of Analysis Performed  Crash Analysis
Machine Name  DRW02UZFWB02A
Operating System  Unexpected
Number Of Processors  4
Process ID  4792
Process Image  c:\Windows\System32\inetsrv\w3wp.exe
System Up-Time  06:32:15
Process Up-Time  00:00:16

Thread 7 - System ID 7952

Entry point  w3tp!THREAD_MANAGER::ThreadManagerThread
Create time  10/1/2015 9:55:43 PM
Time spent in user mode  0 Days 0:0:0.187
Time spent in kernel mode  0 Days 0:0:0.78



.NET Call Stack


Full Call Stack

Function    Arg 1    Arg 2    Arg 3    Arg 4  Source
KERNELBASE!RaiseException+68    00007ffd`4933e378    0000003c`b2071140    00000000`00000001    00000000`00000000  
msvcr110!CxxThrowException+d4    00007ffd`48f70000    00007ffd`491f9d00    0000003c`b207a540    00000000`00004000  
webgate!ObConfig::getItem+366    00007ffd`49249010    00007ffd`5d612297    00000000`00000000    00007ffd`491ff068  
webgate!TerminateFilter+139b1    0000003c`b1d8c170    00000000`00000000    0000003c`b1d8c170    00000000`00000002  
webgate!TerminateFilter+1765b    0000003c`b2073ed0    0000003c`b2074fb0    00000000`00000000    0000003c`b1d8c370  
webgate!TerminateFilter+17f43    00007ffd`491fef18    00007ffd`491fef18    0000003c`b1dd69d8    0000003c`b1dc31b0  
webgate!HttpFilterProc+1629    0000003c`b1dd69b0    00000000`00004000    0000003c`b1b98450    0000003c`b1dd69b0  
filter!W3_FILTER_CONTEXT::NotifyFilters+167    0000003c`b1dd69b0    0000003c`b1b98450    0000003c`b1dd6030    00000000`00000000  
filter!GlobalDoWork+364    0000003c`b1baeaa0    00000000`00000000    0000003c`b1dd6030    00007ffd`62564428  
iiscore!W3_CONTEXT::SetupStateMachine+385    0000003c`b1dd5410    00000000`00000000    00000000`00000000    0000003c`b1ba3030  
iiscore!W3_MAIN_CONTEXT::OnNewRequest+22e    00007ffd`649d0000    0000003c`b1dd53f0    0000003c`b1dd6010    0000003c`b1dd6010  
w3dt!WP_CONTEXT::OnCompletion+c3    0000003c`b168ebf0    00007ffd`649d0000    00000000`00000000    00000000`00000000  
w3tp!THREAD_POOL_DATA::ThreadPoolThread+82    00000000`00000668    0000003c`b1dd6010    00007ffd`624a1050    00007ffd`649d6600  
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33    00000000`00000000    0000003c`b1698ad0    0000003c`b1698ad0    00007ffd`649d0000  
w3tp!THREAD_MANAGER::ThreadManagerThread+3e    00007ffd`727a16a0    00000000`00000000    0000003c`b1698ad0    00000000`00000000  
kernel32!BaseThreadInitThunk+d    00000000`00000000    00000000`00000000    00000000`00000000    00000000`00000000  
ntdll!RtlUserThreadStart+34    00000000`00000000    00000000`00000000    00000000`00000000    00000000`00000000  




Exception Information

In w3wp__TimeTradeService__PID__4792__Date__10_01_2015__Time_09_55_59PM__699__Second_Chance_Exception_E06D7363.dmp the assembly instruction atKERNELBASE!RaiseException+68 in C:\Windows\System32\KERNELBASE.dll fromMicrosoft Corporation has caused an unknown exception (0xe06d7363) on thread7


Module Information

Image Name:C:\Windows\System32\KERNELBASE.dll  Symbol Type:PDB
Base address:0x00000003`00905a4d  Time Stamp:Wed Mar 19 03:27:39 2014
Checksum:0x00000000`00000000  Comments:
COM DLL:False  Company Name:Microsoft Corporation
ISAPIExtension:False  File Description:Windows NT BASE API Client DLL
ISAPIFilter:False  File Version:6.3.9600.17055 (winblue_gdr.140318-1651)
Managed DLL:False  Internal Name:Kernelbase.dll
VB DLL:False  Legal Copyright:© Microsoft Corporation. All rights reserved.
Loaded Image Name:KERNELBASE.dll  Legal Trademarks:
Mapped Image Name:  Original filename:Kernelbase.dll
Module name:KERNELBASE  Private Build:
Single Threaded:False  Product Name:Microsoft® Windows® Operating System
Module Size:1.06 MBytes  Product Version:6.3.9600.17055
Symbol File Name:c:\symcache\kernelbase.pdb\5C8EFE66B1EA441D80F6E43552F28A7F2\kernelbase.pdb  Special Build:&


</div>

Report for w3wp__TimeTradeService__PID__4976__Date__10_01_2015__Time_09_59_38PM__185__Second_Chance_Exception_E06D7363.dmp

IIS 7.5 500.19 with no web.config data

$
0
0

Okay so my struggle is... probably something that's been solved before and I just haven't been able to find it. I've got IIS returning a 500.19 with HRESULT 0x8007000d - which I've read is malformed XML content. The problem is there IS no malformed content. It's got one definition in it, it's 6 lines, and replacing it with a blank one did nothing. I've checked file permissions - the worker process is allowed to connect to the directory, and it's not on a network share but instead on the dedicated local disk, which is mapped using NTFS drive mapping. (Note that other sites are mapped the same way and work just fine.) The application is configured as just that in inetmgr, an application. There's another application that also works just fine. Below are screenshots, as well as a link to a copy of my web.config, with .txt appended so IIS doesn't restrict it from being shown.

web.config

Application Pools restarting when adding virtual directory

$
0
0

Hey there,

we are adding multiple Application Pools to our IIS, each of them is getting one Application and a virtual directory. The deployment is done via Powershell scripts. The nasty thing about this is, when adding a virtual directory to one Application Pool all the other Pools are restarting. I got it when changing global config files the app pools are forced to recycle, but this should be not the problem here, right? Maybe someone had this problem with adding virtual directories, already? Or there is something i dont understand, yet ... in any case i would appreciate help ;) If there are crucial information you need from me, ill provide them gladly.

And yes, i searched the world wide web already a lot, but really could not find anything.

Greetings, Adam

 

ILicenseAcquisitionHandler PlayReady internal service error

$
0
0

Hi,

I want to start the subscription sample from the PlayReady documentation.

When I want to test the server with the OTADLAClient.exe I receive this error in the event log:

Internal service error.\r\nClient record locator = 9f4a0520-33b3-49a4-96cc-24d33c29fafb \r\n\r\n Microsoft.Media.Drm.RMServerException: Unable to find any types which implement the interface \"ILicenseAcquisitionHandler\" within the specified handler assembly \"C:\Program Files\PlayReady Server SDK 3.0\vdir\bin\Subscription.dll\".

at Microsoft.Media.Drm.HandlerLoader.GetHandlerTypeFromAssembly(String interfaceName, String pluginPath)
at Microsoft.Media.Drm.HandlerLoader.GetLicenseAcquisitionHandler(String pluginPath)
at Microsoft.Media.Drm.LAHelper.AcquireLicense(XmlDocument challenge, String pluginPath, SoapUnknownHeader[] Headers, HttpContext context, PerfCounterRequestInfo& perfCounterRequestInfo)
at Microsoft.Media.Drm.RightsManager.AcquireLicense(XmlDocument challenge)

When I start OTADLAClient.exe I get a 0x8004C600 error code.

Can you help me?

Thanks in advance and kind regards,

Sven


IIS 8 all requests hang every day exactly from midnight 00:00

$
0
0

Hey guys, i've been struggling with this for a long time now and nothing is helping. We have some .NET 4.0 web sites and one of them hangs every single night exactly at midnight.

I used to have a recycle set for every 6 hours and the problem was not present but apparently some tasks stopped when a recycle happened. (Some process prints like 300 pages of stuff, every few pages is a separate print job and when a recycle happened it stopped midway through)

Now i only have a recycle at 02:00 and every single night all requests start hanging from 00:00. The login page for the site is displayed but everything related to logging in or doing stuff while logged in stops working.

I've run multiple traces and all i get is "No Errors or Warnings were found" and the request is only written to the failure trace because it times out (i set it for 60 seconds for example).

I've tried all i could think of - i even enabled 2 processes for the pool to accept requests but at 00:00 both of these start hanging.

To get it to work again, i cannot simply recycle to pool. I have to aggressively kill the worker process and make a new one, because if i only recycle after it starts hanging, all the requests that go to the new worker process also hang.

I'm going crazy here, with nothing else to try. Our developers say they know nothing and can't come up with anything either.

I told them maybe their requests etc are not cleaned up from memory and they accumulate, but the site hangs even if there is very little load and exactly at 00:00 every day.

Can anyone help or suggest something?

Thanks!

IIS 7.0, Asp.net 1.1, 500 0 error, notification 128

$
0
0

I am tracking down a 500 error that occurs at times and have enabled Tracing.  The Server is 2008R2, IIS 7.0

Any ideas - Could it be a configuration problem?  We cannot upgrade the asp.net code to a newer version at this time and need to get this version working.  

The error occurs in the Isapi module:

Call Isapi Extension

DllNameC:\Windows\Microsoft.Net\Framework\v1.1.4322\aspnet_isapi.dll

Module set response Error Status           Warning in red

 

ModuleNameIsapiModule
Notification128
HttpStatus500
HttpReasonInternal Server Error
HttpSubStatus0
ErrorCode0
ConfigExceptionInfo
NotificationEXECUTE_REQUEST_HANDLER
ErrorCode

The operation completed successfully. (0x0)

 

IIS Bug - Failed Request Tracing - Event 2284

$
0
0

The issue addressed in this thread is still there even in IIS 8. Is there any plan to fix this problem?

http://forums.iis.net/t/1158660.aspx?Failed+Request+Tracing+Event+2284

Bug
"The failed request tracing directory is created per-site and not per-app-pool - so if you have multiple apps running under multiple app-pools, they will each try to use the next filename in sequence and hence fail - we could probably add some retry logic to try other numbers in case of such collision."

Error

I am continually seeing Event ID 2284 (FailedRequestTracing module failed to write buffered events ..) in the event log. 

Logging directory permissions are OK and logs are being written.  Monitoring the logging directory with ProcMon shows this for each 2284 event:

 w3wp.exe   IRP_MJ_CREATE     NAME COLLISION
 w3wp.exe   IRP_MJ_CREATE     NAME COLLISION
 w3wp.exe   IRP_MJ_CREATE     SUCCESS

 The Name Collision event is triggered by multiple identities.  The system hosts multiple sites and the app pools all have various identities (some local, some domain).  App Pool ID's are members of the IIS_IURS group and have proper permissions on the logging directory.

While i am seeing logs, i am wondering if I'm missing some due to the message in the event log stating 'No logs will be generated until this condition is corrected.  The problem happened x times in the last 5 minutes.'  Failure count varies from 1 to 9, and the data section always contains (in bytes) 0000: 50 00 07 80

Getting a 0xc0000005 Access Violation in IISEXPRESS on my development machine

$
0
0

I'm working on maintenance on a really old ASP.NET Web Forms app, written back in the day using .NET Framework 2. Well, that's as high as it got. Anyway, sometimes when I'm debugging it in VS 2013, the application will just crash. The browser just closes. (I'm using IE11 on a Windows 7 Enterprise PC.) I working on my development machine and only running it in Visual Studio while debugging. Here's what I've found in the event log:

Log Name:      Application
Source:        Application Error
Date:          10/14/2015 1:57:49 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DOHITSDRUNW114
Description:
Faulting application name: iisexpress.exe, version: 10.0.10117.0, time stamp: 0x5552af43
Faulting module name: mscorwks.dll, version: 2.0.50727.5485, time stamp: 0x53a121fa
Exception code: 0xc0000005
Fault offset: 0x002f2c93
Faulting process id: 0x2730
Faulting application start time: 0x01d106ba94766740
Faulting application path: C:\Program Files (x86)\IIS Express\iisexpress.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Report Id: d836ee30-72ad-11e5-878e-6805ca1ea0a0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-10-14T19:57:49.000000000Z" />
    <EventRecordID>75634</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DOHITSDRUNW114</Computer>
    <Security />
  </System>
  <EventData>
    <Data>iisexpress.exe</Data>
    <Data>10.0.10117.0</Data>
    <Data>5552af43</Data>
    <Data>mscorwks.dll</Data>
    <Data>2.0.50727.5485</Data>
    <Data>53a121fa</Data>
    <Data>c0000005</Data>
    <Data>002f2c93</Data>
    <Data>2730</Data>
    <Data>01d106ba94766740</Data>
    <Data>C:\Program Files (x86)\IIS Express\iisexpress.exe</Data>
    <Data>C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll</Data>
    <Data>d836ee30-72ad-11e5-878e-6805ca1ea0a0</Data>
  </EventData>
</Event>

I've got to be able to work within Visual Studio in order to make the necessary changes so that I can plublish this app to IIS on a production web server. What can I do in order to get this to stop happening?

Cannot browse my own website...

$
0
0

Hello.  I have a website running on my home computer, but when I try to browse the site, I get a "website under construction" page instead of my selected default page.  I am using a directory in the wwwroot directory, and am using pass-through authentication.  Does anyone know how to get around this?  Thanks.

Hmm, we can't reach this page.

$
0
0

After separating out a wfc rest service and running it from a different instance of VS 2015 (successfully), I can't run my web site any more. I get the following page from IIS Express. I've tried with http and https. I included my web.config below.

Hmm, we can't reach this page.

Try this

<?xmlversion="1.0"?>

<!--

For more information on how to configure your ASP.NET application, please visit

http://go.microsoft.com/fwlink/?LinkId=169433

-->

<configuration>

<appSettings>

<addkey="ClientProfileService"value="http://localhost:54676/ClientProfile.svc"/>

 <addkey="ValidationSettings:UnobtrusiveValidationMode"value="None" />

</appSettings>

<system.web>

<compilationdebug="true"targetFramework="4.5">

<assemblies>

<addassembly="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

</assemblies>

</compilation>

<httpRuntimetargetFramework="4.5"/>

<!--<customErrors mode="Off"/>-->

</system.web>

<system.webServer>

<rewrite>

<rules>

<rulename="Redirect to https">

<matchurl="(.*)"/>

<conditions>

<addinput="{HTTPS}"pattern="Off"/>

<addinput="{REQUEST_METHOD}"pattern="^get$|^head$" />

</conditions>

<actiontype="Redirect"url="https://{HTTP_HOST}/{R:1}"/>

</rule>

</rules>

</rewrite>

</system.webServer>

<runtime>

<assemblyBindingxmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentityname="System.Web.Helpers"publicKeyToken="31bf3856ad364e35"/>

<bindingRedirectoldVersion="1.0.0.0-3.0.0.0"newVersion="3.0.0.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentityname="System.Web.WebPages"publicKeyToken="31bf3856ad364e35"/>

<bindingRedirectoldVersion="1.0.0.0-3.0.0.0"newVersion="3.0.0.0"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

</configuration>

Strange SSL issue

$
0
0

So, had a problem recently that's just making my head rattle.  Installed a p12 cert store in windows into the personal certificate store on the local machine on 4 servers and created an SSL binding in IIS 7.5.  The first 3, worked flawlessly, the 4th looked to have worked fine, however, it kept complaining about the intermediate certificate.  

The way I fixed this was to go back into the binding and press OK.  After that, everything worked flawlessly.

Thoughts as to why?  


IIS Process Orphaning Question

$
0
0

Hello,

I'm trying to capture a worker process memory dump in IIS 7 but I'm not sure I got the process right. So I'm seeing various events from WAS saying that it had to recycle a worker process because of either failed pings or something else (mainly failed pings). Running with the default IIS values. Would someone be able to confirm the following?

- With the default settings if a worker process fails a ping WAS will terminate it and create a new worker process for the application pool.

- With process orphaning configured to enabled WAS will no longer terminate the worker process if it detects a missing ping but it will orphan it. At the same time it will start a new healthy worker process for the application pool.

 

If the above is true...then why are my worker processes not being orphaned? they still get terminated. How am I supposed to capture a memory dump when a worker process fails a ping?

Thank you.

 

IIS7 503 error service unavailable

$
0
0

We are using 2008R2 Standard fully updated. We have IIS 7.0

If we browse to ip/localhost or localhost we get a 503 service unavailable error.

We dabbled with exchange 2010 a few years ago but eventually decided to go with hosted exchange. We eventually uninstalled it through control panel.

Fast forward to this weekend, we wanted to start using webapps through RDS. The system requires IIS to work but it isnt. We get the 503 service unavailable error.

The DefaultAppPool stops after the 5 rapid failures. If we increase it to 15, it stops after 15. We did have 3 orphaned apps related to exchange in the default pool. We created a pool called DeleteMe and moved them there (was easier than removing them for testing) We thought the error message in event viewer about "The Module DLL D:\Program Files\MicrosoftExchange Server\V14\Bin\kerbauth.dll failed to load" was the issue so we removed the offending code from the applicationHost.config file. That didnt solve it so we used appcmd to remove the orphaned programs. That didnt work either.

We made sure there wasnt a reservation for :80 in http acl's.

We make sure profile load was false

We checked as much as we could find on the internet to no avail

I think the issue has to do with the "The Module DLL D:\Program Files\MicrosoftExchange Server\V14\Bin\kerbauth.dll failed to load" error in event viewer. We removed it from the config file, and IIS apps. It must get called from somewhere else as well.

Im not sure what else to do. Any help would be appreciated.

MVC Routing Error on IIS- HTTP 403.18

$
0
0

Hi,

I have an MVC project on a server that used to work. Now I get an 403.18 every time I click a link. The problem seems to be that the MVC routing doesn't work. I have searched all over, but can't find a solution.

Any ideas?

Peter

How to add Port 20

$
0
0

Hi!

Can anybody guide how to add port 20 to IIS? We are getting error while opening our ftp website on the ports other than 21 like 2122 and 2124. The error is:

"An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder.

Details:

200 Type set to A.

227 Entering Passive Mode (192,168,1.1 .199.155).

Thanks.

IIS8 appPool memory limit not working on Win2012R2

$
0
0

We have a C++ISAPI based web service running in the appPool and we are setting private memory Limit to 3GB. However even though the process doesn't exceed 0.5GB , the app is recycled frequently logging that it reached the private mem limit (Virtual mem limit is set to 0).

Viewing all 1814 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>