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

Automatic Alert for IIS7 http errors

$
0
0

Hi, I'm looking for a simple automatism to get an alert (preferably an email) in case of IIS connection limit exceeded. Is there any add-on available or would I have to parse the log myself and build a little app for this?


HOWTO: configure IIS (http.sys) to accept IRI (rfc3987)

$
0
0

Hi everyone,

We keep an IIS8.5 (win-2k12r2) -based web server hosting a website. The website is in hebrew and containing hebrew urls, sample: 

IRI (not encoded): http://www.website.com/articles/219-לעשות-רושם-ראשוני

Equal URL (encoded): http://www.website.com/articles/219-%D7%9C%D7%A2%D7%A9%D7%95%D7%AA-%D7%A8%D7%95%D7%A9%D7%9D-%D7%A8%D7%90%D7%A9%D7%95%D7%A0%D7%99

We've noticed that Facebook fails to scrape website pages with BAD REQUEST (400) error. It happens either user shares URL or IRI.

Facebook debugger helps to resolve the problem and sharing works well afterwards, but first share attempt per page performed without fb-debugger always fails.

I've investigated the issue on the server side and that what I saw in the HTTPERR log (C:\Windows\System32\LogFiles\HTTPERR\httperr.log):

2016-05-10 10:11:03 31.13.110.121 30065 [website ip] 80 HTTP/1.1 GET /articles/219-לעשות-רושם-ראשוני - 400 - URL

As far as I know HTTPERR usually logs links exactly as they requested. In this case I see that requested url is not url-encoded, so I assume that for some reason Facebook Scrapper approaches our website by IRI, not by URL. In the simple terms facebook scrapper tries to get page content by the address which is not url-encoded. If I open the logged IRI in web-browser - it opens OK because browser does URL-ENCODING by default. 

So the question is actually how I can enable support for IRI (rfc3987) for IIS in order to allow it accepting such requests?

Thanks in advance, Michael

IIS stops responding to http requests

$
0
0

Hi everyone.

We have an ASP.NET application based on .NET Framework 4.5. Sometimes it stops responding to web requests. Unfortunately it happens randomly and I can not reproduce it.

Here is the last error details from Event Viewer:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 4/5/2016 11:23:34 AM 
Event time (UTC): 4/5/2016 6:53:34 AM 
Event ID: 2cb5a099770f41d3963a25c821590c1e 
Event sequence: 109 
Event occurrence: 1 
Event detail code: 0 
Application information: 
    Application domain: /LM/W3SVC/2/ROOT-8-131043125735578370 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Users\<myusername>\Documents\Visual Studio 2015\Projects\PayamGostar\Dev\PresentationLayer\Web\Portals\WebUI\ 
    Machine name: DEV08 
Process information: 
    Process ID: 8068 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\pgonline-dev 
Exception information: 
    Exception type: ApplicationException 
    Exception message: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at System.Threading.ReaderWriterLock.ReleaseWriterLockInternal()
   at System.Configuration.Internal.InternalConfigRoot.GetConfigRecord(String configPath)
   at System.Configuration.Internal.InternalConfigRoot.GetUniqueConfigRecord(String configPath)
   at System.Web.CachedPathData.Init(CachedPathData parentData)
   at System.Web.CachedPathData.GetConfigPathData(String configPath)
   at System.Web.CachedPathData.GetConfigPathData(String configPath)
   at System.Web.CachedPathData.GetConfigPathData(String configPath)
   at System.Web.HttpContext.GetFilePathData()
   at System.Web.Configuration.RuntimeConfig.GetConfig(HttpContext context)
   at System.Web.HttpContext.SetImpersonationEnabled()
   at System.Web.HttpApplication.AssignContext(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)

 
 
Request information: 
    Request URL: http://pgonline-dev.com/MyFirst/Crm/Reminder.aspx/HasRemindersToNotify 
    Request path: /MyFirst/Crm/Reminder.aspx/HasRemindersToNotify 
    User host address: 127.0.0.1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\pgonline-dev 
 
Thread information: 
    Thread ID: 5 
    Thread account name: IIS APPPOOL\pgonline-dev 
    Is impersonating: False 
    Stack trace:    at System.Threading.ReaderWriterLock.ReleaseWriterLockInternal()
   at System.Configuration.Internal.InternalConfigRoot.GetConfigRecord(String configPath)
   at System.Configuration.Internal.InternalConfigRoot.GetUniqueConfigRecord(String configPath)
   at System.Web.CachedPathData.Init(CachedPathData parentData)
   at System.Web.CachedPathData.GetConfigPathData(String configPath)
   at System.Web.CachedPathData.GetConfigPathData(String configPath)
   at System.Web.CachedPathData.GetConfigPathData(String configPath)
   at System.Web.HttpContext.GetFilePathData()
   at System.Web.Configuration.RuntimeConfig.GetConfig(HttpContext context)
   at System.Web.HttpContext.SetImpersonationEnabled()
   at System.Web.HttpApplication.AssignContext(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
 
 
Custom event details: 

Method named HasRemindersToNotify is a WebMethod in page Reminder.aspx is a simple query to database.

System Details:

Microsoft Windows 10 Build 10586.0

IIS version 10.0.10586.0

.NET Framework verion 4.5

Thanks in advance

Cannot install ".NET Extensibility" for IIS7 (Error 0x80070643)

$
0
0

Hello,

I've been having trouble reinstall IIS 7 on my Win2k8 R2 server and i've norrowed it down to ".NET Extensibility" role service not installing with end result: error code 0x80070643 (thus rendering ASP impossible to install). 

Any tips on resolving this? Note that windows process activation service feature has already been removed.

Thank you

what is the solution? for Description: The process was terminated due to an internal error in the .NET Runtime at IP 6E870702 (6E7D0000) with exit code 80131506.on server 2012r2

$
0
0

Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 6E870702 (6E7D0000) with exit code 80131506.

<div id=":h1.ma" class="Mu SP" data-tooltip="5/13/16, 10:07 AM">then</div> <div title="5/13/16, 10:07 AM" id=":h0.ma" class="Mu SP" data-tooltip="5/13/16, 10:07 AM">Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x52157ba0
Faulting module name: clr.dll, version: 4.6.1055.0, time stamp: 0x563c0f73
Exception code: 0x80131506
Fault offset: 0x000a0702
Faulting process id: 0x153c
Faulting application start time: 0x01d1aa989c3e96e9
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: a97733e6-168c-11e6-80d5-00155d0e8619
</div>

BadImageFormatException - When i running x64 built webpage

$
0
0

Hi guys,

I'm getting assembly error while loading my asp.net page on windows server 2012. It's x64 builded. That's the reason, why i'm getting this error. When i run the x86 version of the application i don't get any error.The problem is when i built the application in x64. Then i get the error 

I think, there should be some settings in IIS, to give webpages x64 support.

Do you have any solution for me?

</div>

MobileDevice encounter 403.3 error when access IIS WebDav with Kerberos Authentication

$
0
0

Basic the case should similar to Part 3 of this post, UNC folders added in IIS server as Application with pass through authentication

http://forums.iis.net/t/1208017.aspx?Problems+with+Webdav+on+IIS+7+5+connecting+to+UNCpath+win+auth+with+passthrough

Quote:

When I try connecting through the webdav on the Ipad I simply get (cannot access the folder). On the IIS I can see that I get the error: 403.3.

_______________________________________________________________________

My case

In Domain workstation I'm able to use Kerberos Auth to reach server properly while using Browser to access IIS website or map the folder properly. e.ghttps://servername or https://servername/uncshare

Kerberos tickets confirm in workstation.  I had few question due to limited understanding.

1. When using browser access root level of webpage. I'm able to view physical directory stored in IIS server, but cant find any Folder which point to UNC path.. But if i use mounted as Web folder. All folder displayed properly.

e.g  when browsing https://servername , UNC share folder didnt show up - This happen in both PC's browser or  Mobile Device client

2. Any permission missing and cause 403.3 error when access through device.. Since I can access server's local folder in Mobile but not UNC path vApplication

Thanks in advance

IIS 7.5 Application Pool Error

$
0
0

A process serving application pool 'Asp.Net Core' terminated unexpectedly. The process id was '6528'. The process exit code was '0x0'. 


<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
<EventID Qualifiers="32768">5009</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-06-04T21:40:01.000000000Z" />
<EventRecordID>20224</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>XS118193195113</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">ASP.NET Core</Data>
<Data Name="ProcessID">6528</Data>
<Data Name="ExitCode">0</Data>
</EventData>
</Event>


Windows Process Activation Service crashes after iisreset

$
0
0

Dear all,

we have the following server (standalone):

Windows Server 2008 R2 64bit (VMware)

IIS 7.5

6 GB RAM

We do an iireset a couple of times per day (neccessary for the running software on it)

and with every reset (no force) we get the following event / error:

Event ID: 7034 Level: Error Description: The World Wide Web Publishing Service service terminated unexpectedly. It has done this 1 time(s).

We tried to install https://support.microsoft.com/en-us/kb/975443 but system says - not applicable :-(

There is no further information in the event log - the IIS starts afterwords by itself but we

would like to erase this error message.

Any help on it? Thanks in advance,

Jenny

IIS Freeze

$
0
0

i have some asp.net application on IIS

sudnly all requests to these applications stoped and i have to reboot the server

recycle the application pools not working

please advice

HttpErrorsIssue

$
0
0

Hello, I'm trying to show a custom page when IIS 404 not found happen.
So I've created a html page in my project in Errors folder...so the path for the custom page is Errors/404.html.
I've put this in my web config

<httpErrors errorMode="Custom" existingResponse="Replace"><remove statusCode="404" subStatusCode="-1"/><error statusCode="404" path="Errors/404.html" responseMode="ExecuteURL"/></httpErrors>



But it shows me a blank page with nothing on it only with the title IIs 10.0 Detailed Error - 404, and nothing in the body.
This is my html content file:

<!DOCTYPE html><html><head><title>Action not found</title><meta charset="utf-8" /></head><body><b>Action not found!</b><br>
The action you requested could not be found.</body></html>

What should I do further for this feature to work?

support

Sage 200 Services Application pool crashing.

$
0
0

Hi there. 

I have been going over the crash dumps for these crashes but do not know how to interpret them. I am hoping someone can help me find a route cause for these crashes. 

It happens periodically when an ERP application accesses the application pool from another server.

Thanks in advance.

  ErrorIn w3wp__Sage 200 Services__PID__11104__Date__06_08_2016__Time_09_28_01AM__930__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException+48 in C:\Windows\System32\KERNELBASE.dll fromMicrosoft Corporation has caused a CLR Exception on thread 5 with the following error information:
    Type:  NOT_FOUND
    Message:  NOT_FOUND


Please follow up with vendor Microsoft Corporation for problem resolution concerning the following file:C:\Windows\System32\KERNELBASE.dll.

Report for w3wp__Sage 200 Services__PID__1016__Date__06_09_2016__Time_06_08_21AM__34__Second_Chance_Exception_E0434352.dmp

Type of Analysis Performed  Crash Analysis
Machine Name  PPHAVAP01
Operating System  Unexpected
Number Of Processors  2
Process ID  1016
Process Image  C:\Windows\SysWOW64\inetsrv\w3wp.exe
System Up-Time  17 day(s) 19:58:39
Process Up-Time  20:39:02

Thread 4 - System ID 15352

Entry point  w3tp!THREAD_MANAGER::ThreadManagerThread
Create time  08/06/2016 09:29:31
Time spent in user mode  0 Days 0:18:52.562
Time spent in kernel mode  0 Days 0:0:52.468




.NET Call Stack

Function


Full Call Stack

Function    Arg 1    Arg 2    Arg 3    Arg 4  Source
KERNELBASE!RaiseException+48    e0434352    00000001    00000005    010af2e4  
clr!RaiseTheExceptionInternalOnly+27f    00000000    5e968810    010af384    010aed70  
clr!UnwindAndContinueRethrowHelperAfterCatch+90    5e9688a8    00000000    0140c4d8    010af3cc  
clr!UM2MDoADCallBack+d4    ffffffff    01b2a7e3    010af3cc    00000010  
0x01b2a860    0e581acc    00000150    00000000    ffc31d38  
webengine4!W3_MGD_HANDLER::DoWork+1be    00000002    0e5e19be    00cca5fc    0140b5e0  
webengine4!RequestDoWork+2ea    00000002    00000001    00cca5fc    0140b5d8  
webengine4!CMgdEngHttpModule::OnAsyncCompletion+18    0140b5d8    00000002    00000001    0140b5e0  
iiscore!NOTIFICATION_CONTEXT::RequestDoWork+73    00cca5fc    0140b5d8    010af4cc    0140b5e0  
iiscore!NOTIFICATION_CONTEXT::CallModulesInternal+3d7    00000001    00000150    00000000    00000001  
iiscore!NOTIFICATION_CONTEXT::CallModules+2b    00000001    00000150    00000000    00000001  
iiscore!NOTIFICATION_MAIN::DoStateRequestAuthenticate+69    00000001    00000150    00000000    00000001  
iiscore!NOTIFICATION_MAIN::DoWork+94    00000150    00000000    00000001    00000001  
iiscore!W3_CONTEXT_BASE::ContinueNotificationLoop+1d    00000000    00000001    0140b5d8    0140ab68  
iiscore!W3_MAIN_CONTEXT::OnIoCompletion+71    00000001    0140b5d8    00000150    00000000  
w3dt!UL_NATIVE_REQUEST::DoWork+a0    00000001    00000150    00000000    0140b5c4  
w3dt!UL_RECEIVE_CONTEXT::DoWork+1b    00000150    00000000    0140b5c4    ffffffff  
w3dt!WP_CONTEXT::OnCompletion+22    00000000    00000150    0140b5c4    00a79b28  
w3tp!THREAD_POOL_DATA::ThreadPoolThread+a8    72d22052    00000000    00a88ba0    72d25368  
w3tp!THREAD_POOL_DATA::ThreadPoolThread+2b    00a79b20    72d22052    72d22052    00a88ba0  
w3tp!THREAD_MANAGER::ThreadManagerThread+4d    00a88ba0    758a7be0    60359317    010af960  
kernel32!BaseThreadInitThunk+24    00a88ba0    62746629    00000000    00000000  
ntdll!__RtlUserThreadStart+2f    ffffffff    77d10001    00000000    00000000  
ntdll!_RtlUserThreadStart+1b    72d22052    00a88ba0    00000000    00000000  





Exception Information

In w3wp__Sage 200 Services__PID__1016__Date__06_09_2016__Time_06_08_21AM__34__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException+48 inC:\Windows\System32\KERNELBASE.dll from Microsoft Corporation has caused a CLR Exception on thread 4 with the following error information:

    Type:  NOT_FOUND
    Message:  NOT_FOUND



Module Information

Image Name:C:\Windows\System32\KERNELBASE.dll  Symbol Type:PDB
Base address:0x00905a4d  Time Stamp:Thu Mar 10 17:47:57 2016
Checksum:0x00000000  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.18264 (winblue_ltsb.160310-0600)
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:860.00 KBytes  Product Version:6.3.9600.18264
Symbol File Name:c:\symcache\wkernelbase.pdb\AADE8C1649CD4F9BB689CF0E15DBA69D2\wkernelbase.pdb  Special Build:&

M88PTS160602

_vti_bin/ListData.svc/$metadata error when trying to update web reference to a traditional webservice(asmx)

$
0
0

We're upgrading all our servers from 2003 to 2012R2.  We're having some random issues and the only thing I'm able to reproduce is when I go a update web reference in visual studio connecting to one of our .asmx web services, it says it completes, but I'm getting.

/jobslip_update.asmx/_vti_bin/ListData.svc/$metadata
System.ServiceModel.EndpointNotFoundException
The service '/jobslip_update.asmx/_vti_bin/ListData.svc' does not exist.
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()

If I then change my host file to point to one of the IIS6 ones, I get no such error.  Is the newer IIS trying to turn it into WCF?


FTP Issue

$
0
0

Hello!

I’m having a particular behavior in IIS 8.5 that is giving me a headache.

In one server we have a file.pdf published under an app pool that is frequently accessed (http access).

And we have an app that should do the following by ftp:

1 – Copy “file.pdf.~~~” to the server

2 - Delete “file.pdf”

3 – Rename “file.pdf.~~~” to “file.pdf”

4 – If gets error, try again

But...It looks like the deleting process takes too much time , so we’re having error indicating that the “file.pdf” still exists, even after the ftp accepted the delete command.

datetimec-ips-sitenames-ipcs-methodcs-uri-stemsc-statussc-win32-statussc-substatussc-bytescs-bytestime-taken
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161stor/directory/file.pdf.~~~2260078863710515
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161rnfr/directory/file.pdf.~~~35000563632
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161rnto/directory/file.pdf5505224320
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161dele/directory/file.pdf2500030320
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161rnfr/directory/file.pdf.~~~3500056360
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161rnto/directory/file.pdf5505224320
16/06/201613:19:0110.7.36.160FTPSVC210.5.3.161quit-221001460
16/06/201613:19:0510.7.36.160FTPSVC210.5.3.161stor/directory/file.pdf.~~~2260078863710469
16/06/201613:19:0510.7.36.160FTPSVC210.5.3.161rnfr/directory/file.pdf.~~~35000563615
16/06/201613:19:0510.7.36.160FTPSVC210.5.3.161rnto/directory/file.pdf55052243216
16/06/201613:19:0510.7.36.160FTPSVC210.5.3.161dele/directory/file.pdf5505224320
16/06/201613:19:0510.7.36.160FTPSVC210.5.3.161quit-221001460
16/06/201613:19:1910.7.36.160FTPSVC210.5.3.161stor/directory/file.pdf.~~~2260078863710485
16/06/201613:19:1910.7.36.160FTPSVC210.5.3.161rnfr/directory/file.pdf.~~~35000563631
16/06/201613:19:1910.7.36.160FTPSVC210.5.3.161rnto/directory/file.pdf2500030320
16/06/201613:19:1910.7.36.160FTPSVC210.5.3.161quit-221001460

In my searches, I have found that the delete command mark the file for deletion. So, the file will be delete after the last handle that accessed the file, before it was closed. And w3wp.exe is taking around 7 seconds to close the file... So, when I run again the app after some seconds it works, because the file.pdf was already deleted by the task I runed before.

Is There any configuration that would help me “free” the file for deletion instantaneously?

helpdesk ticketing system throws 401

$
0
0

We're using a IIS-based helpdesk app called Jitbit Helpdesk ( https://www.jitbit.com/helpdesk/ ) which is an ASP.NET app hosted on IIS. It uses Windows-integrated authentication and everything works just fine. Until one of our users had to change their domain password this morning and now he is unable to sign into the ticketing system. The app throws 401 - "401 - Unauthorized: Access is denied due to invalid credentials". The web-server prompts for a password (which I'm typing in) and then - nothing.

Iis-server machine is part of the domain so it should get the updated data, right?

Other users sign in just fine

não receber mais notificações

$
0
0
Não receber mais promoções ou qualquer coisa no meu email.

IIS Worker Process Memory Problem

$
0
0

I am looking for assistance with IIS 7.0.  We have a .NET application running and the IIS Worker Process continuously continues to consume memory until the process hits 4GB and the website application hangs.  We can setup advanced recycling on the virtual memory and that causes the recycle but of course that causes everyone to lose their connection. 

What can we do to figure out where the memory problem is? 

IIS hangs/freezes randomly (Wincache crash)

$
0
0

Hello,

We run a busy website with about 500.000 page views per day. The website runs on joomla 1.5 and SMF, php 5.3 with fastCGI and Wincache.

Almost once a day, or sometimes two times per day, IIS completely stops responding. I go to the worker process queue and i see hundreds of requests that are not delivered. The only solution is to do iisreset until it hangs again

Please note:

1. No error in the PHP log.
2. No error in Windows event viewer

Thank you,
Alex

Viewing all 1814 articles
Browse latest View live


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