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

Failed Request Logging: Logs don't generate when condition set for "Time Taken"

$
0
0

Hello,

I am currently in the process of working with Microsoft on some performance issues we have with our IIS 8.5 Server 2012R2 web farm.

They had requested we setup and configure Failed Request Logging, which i have done. We verified that logging was working by making sure Failed Request Tracing was enabled (IIS Tracing module is installed). Then we set a condition for All Content (*)Status codes(s): 200-400, and Providers: ASPNET, WWW Server. Verbosity is set on Verbsose and all boxes are checked under Areas. 

With this configuration set, we are able to generate logs without issues. However, when I change the condition to Time Taken, logs are no longer generated. Even if I set the time taken to be 1 or 2 seconds, and I browse my site with pages that take from 4-8 seconds, no logs are generated. 

Am I missing something? 

Thanks,

Kevin


SBS Client connect failure

$
0
0

Hello

I have lead to believe that an issue with IIS might be the cause behind the reason I can't connect a new domain client to a SBS 2011 Standard server.

Even if I run http://server/connect on the domain server itself ("server" has been replaced by actual server name), I get:

http://imgur.com/2PhTKjx

Am I on the trail to a solution by asking in an IIS forum?

Many thanks.

Richard

Server Error in '/' Application.

$
0
0

Hi,

    I am applying for something through an application form online but when I go to press submit, this is what comes up (below).

I'm not an expert whatsoever on how to deal with things like these but can anyone help?

Kind Regards

Lauren Bywater.

Server Error in '/' Application.


Request timed out.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Request timed out.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[HttpException (0x80004005): Request timed out.]
   System.Web.HttpRequest.GetEntireRawContent() +9685153
   System.Web.HttpRequest.GetMultipartContent() +63
   System.Web.HttpRequest.FillInFormCollection() +165
   System.Web.HttpRequest.EnsureForm() +75
   System.Web.HttpRequest.get_Form() +12
   System.Web.HttpRequest.get_Item(String key) +42
   System.Web.HttpRequestWrapper.get_Item(String key) +9
   Umbraco.Web.Routing.ContentFinderByPageIdQuery.TryFindContent(PublishedContentRequest docRequest) +46
   Umbraco.Web.Routing.PublishedContentRequestEngine.<FindPublishedContent>b__28(IContentFinder finder) +15
   System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +146
   Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContent() +208
   Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContentAndTemplate() +218
   Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +107
   Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +379
   Umbraco.Web.UmbracoModule.<Init>b__8(Object sender, EventArgs e) +80
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

IIS Incredibly slow once DB mirrored in async mode

$
0
0

As soon as I enable database mirroring in async mode, one of two IIS servers becomes incredibly slow.  The two IIS servers should be identical (something must be off though).  It winds up taking 3 minutes to perform a login to the application with no other db activity occurring.

What could be causing one IIS server to be that slow once mirroring is enabled (async)?

Further details: Both SQL Servers are 10.50.2500 (I know there's SP)Both SQLs are on Win 2008 R2 failover clustersThey are geographically separate without a great connection, hence the async. Both IIS servers are 2008 R2 running IIS 7 running an in-house .Net application.  They are Production and UAT but currently have the same code-base.  Typically UAT points to a different database on the same SQL server instance. 

We are trying to setup mirroring for the production database (UAT is already mirrored) but as soon as we enable mirroring the production IIS server is unusably slow.  We then change the UAT IIS server to point to the production database, and the UAT IIS server performance is acceptable.  We use Idera for monitoring SQL and have spent significant time already trying to troubleshoot this.  Any help would be greatly appreciated.

IIS7 status code 500

$
0
0

Hello,

on windows 2008r2 server with iis7 we are hosting WCF service. Client is a .NETwinforms application.

Authentication is set in web.config to windows <authentication mode="Windows" />. Application pool is running under domain account.

Clients are autheticated using their domain accounts, server handles these accounts and send informations back to client based on this accounts and their application permissons.

Everything is working, but sometimes the client gets wcf exception with code 500. Count of this error is from 3 to 10 per day. The application pool is not in iddle, because the iis log says, the requests and response are before and after handled without problems with status 200.

Tried the failed request tracing, where the error 500 is saved to xml file.

No.      Severity   Event   Module Name
80.view traceWarning-MODULE_SET_RESPONSE_ERROR_STATUS  <div class="hidden" id="section_errors_80_details" style="display: block;">
ModuleNameServiceModel
Notification2
HttpStatus500
HttpReasonInternal Server Error
HttpSubStatus0
ErrorCode0
ConfigExceptionInfo
NotificationAUTHENTICATE_REQUEST
ErrorCodeThe operation completed successfully. (0x0)
</div>
ServiceModel

In compact view there is a detail of the warning causing the error with event name "MODULE_SET_RESPONSE_ERROR_STATUSWarning" and detail:

"ModuleName="ServiceModel", Notification="AUTHENTICATE_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="The operation completed successfully.
 (0x0)", ConfigExceptionInfo=""

"

How can I detect what exactly is wrong, or where to look, what to do next to detect the problem?

The strange thing is, it is not happening every time...sometimes. The application is working, but sometimes the server returns 500.

Thank you very much form any help.

Marian

CPU throttling not working IIS 10

$
0
0

Hi

We have a VM server Windows 2016 in Azure which has IIS 10 installed. All is going great except for CPU throttling. It just does not work on this Windows 2016 and/or IIS.

Settings for the app pool are:

- Limit: 90
- Limit action: Throttle
- Limit Interval: 5

In Windows 2012R2 it all worked perfectly.

I have looked at Windows System Resource Manager (WSRM) but thats not supported anymore. 

It is safe to say that IIS 10 is useless without this feature.

I hope you can help !

World wide web service gets disabled automatically in IIS 8.5

$
0
0

Dear Experts,

would need help to fix the issue ...World wide web service gets disabled automatically in IIS 8.5 though start up is configured to AUTOMATIC I could n't see any events logged over eventvwr ..please advise whether any event gets logged when IIS admin or WWW services gets disabled ...Is there any proactive method to monitor the IIS admin & WWW services during run time ?

IIS Manager crash while adding FTP site with Select No SSL

$
0
0

I am not able to add FTP site without SSL, IISM manager crashes as soon as i select No SSL. Please find event logs below

======================================================================

IISMANAGER_CRASH

Event ID 13

IIS Manager terminated unexpectedly.

Exception:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at System.Windows.Forms.RadioButton.OnClick(EventArgs e)
at System.Windows.Forms.RadioButton.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.Web.Management.Host.UserInterface.ManagementUIService.ShowDialogInternal(Form form, IWin32Window parent)
at Microsoft.Web.Management.Host.UserInterface.ManagementUIService.Microsoft.Web.Management.Client.Win32.IManagementUIService.ShowDialog(DialogForm form)
at Microsoft.Web.Management.Ftp.Sites.SitesProtocolProvider.AddFtpSite()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at System.Windows.Forms.ToolStripDropDown.OnItemClicked(ToolStripItemClickedEventArgs e)
at System.Windows.Forms.ToolStrip.HandleItemClick(ToolStripItem dismissingItem)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.Web.Management.Host.Shell.ShellApplication.Execute(Boolean localDevelopmentMode, Boolean resetPreferences, Boolean resetPreferencesNoLaunch)

Process:InetMgr


Event Source: Microsoft-Windows-HttpEvent / Id: 15000

$
0
0

Hi All,

I am getting this event ID on my server.

Source: Microsoft-Windows-HttpEvent
Event ID: 15000
Event Description: Unable to create log file C:\inetpub\logs\LogFiles\W3SVC4\u_ex170605.log. Make sure that the logging directory is correct and this computer has write access to that directory.
Event Log Name: System
Event Log Type: ERROR
Event Log Date Time: 06/05/2017 16:06:14.542000000.

I verified disk space is available and log file exists on the location.

IIS Restarts even after stopped

$
0
0

Hi All,

I am facing problem with IIS. The problem is when I bring down the IIS for maintenance using "IISReset \stop" command the App Pools go down for sometime and they come back on their own. 

I am new to IIS and need your help to identify what is that setting which is making IIS restart again.

Any help will really helpful in understanding the auto restart behavior of IIS.

BTW forgot to mention I am using IIS 7.0 on all the App servers.

Thanks

Mohan

IIS returns 400 Bad Request when accessed with IP-Address but 200 OK when accessed with hostname

$
0
0

Hi,

I am using Windows Server 2016 IIS Version 10.0.14393.0

My default site cannot be accessed via the server ip address. Not the external and even not the internal ip address.

On the machine I receive a 400 Bad Request when trying to connect via 127.0.0.1

I receive a 200 response when connecting via localhost.

My default Binding looks like this:

<bindings>
<binding protocol="http" bindingInformation="*:80:" />
</bindings>

I receive an entry in error log (C:\Windows\System32\LogFiles\HTTPERR):

.... 400 - Hostname W3SvcInspection

Has anyone got a hint how this could be further debugged?

And the problem resolved?

Thanks in advance!

IIS ARR failing to forward http headers to proxy server

$
0
0

Hi,

We are facing an issue in forwarding http headers to Proxy server.

Requirement: using IIS server as Proxy server.

IIS Version: 8

We have website hosted on cloud running on J2EE environment.

We are using IIS as ARR to route the request to external system hosted in cloud.

Request flow:

F5 Load balancer -> IIS Server -> Site Minder (For single signon) -> IIS Server -> External system (Cloud)

After authentication siteminder forwards http headers like sm_userid, sm_guid, etc but External system is not receiving headers from IIS.

We have enabled Reverse rewrite host in response headers.

 could you please let me know how can I forward http headers to external systems?

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="https://<<externalsystem>>/{R:1}" />
</rule>
</rules>

<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="A, Form, Img" pattern="^http(s)?://<<externalsystem>>/(.*)" />
<action type="Rewrite" value="http{R:1}://<<localsystem>>/{R:2}" />
</rule>
</outboundRules>

</rewrite>

</system.webServer>

</configuration>

w3wp crash with access violation exception

$
0
0

Hello guys, i'll try to be brief and concise, 

I am having trouble with this exception in my Web App ASP.NET using NetFramework4, i have Debug Diagnostic Tool running on the w3wp.exe processes and at certain times suddenly this exception rises.

Here are screenshoots of the error, i hope you can give some clue about what to look because i've already checked many things and increased performance but i can't get rid of this exception.

http://imgur.com/a/sedsw

Thanks everyone!

w3wp.exe crashes with application error and event ID=1000, Default app pool stops automatically

$
0
0

Hi,

We have hosted WCF service on Windows 2012 R2 server with IIS 8.5.

The service is hosted in default website , having Default app pool.

Occasionally, the default app pool stops automatically and we get HTTP 503 error - Service unavailable. , and when we checked the event viewer, found the bellow logs:

  1.  Log Name: Application

             Source: Application Error
             Event ID: 1000
             Task Category: (100)
             Level: Error

           Keywords: Classic

           User: N/A
           Description:
                Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x5215df96
                Faulting module name: clr.dll, version: 4.0.30319.34014, time stamp: 0x52e0b86c
                Exception code: 0xc00000fd
                Fault offset: 0x0000000000006cfc
                Faulting process id: 0x1978
                Faulting application start time: 0x01d2e44ca2ab50fb
                Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
                Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
                Report Id: e23ec4ca-503f-11e7-80d1-0050569c4b5e

2. Description:

Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x5215df96
Faulting module name: KERNEL32.DLL, version: 6.3.9600.17415, time stamp: 0x545054ca
Exception code: 0xc00000fd
Fault offset: 0x000000000002043e

Can anyone please help me troubleshooting this issue?

Thanks in advance

Windows 2012 R2 IIS Exporting Configuration

$
0
0

Hey All,

I am trying to export the IIS configuration on a new Windows 2012 R2 server.  I am getting the following error: 

"Exception has been thrown by the target of an invocation"

Thoughts?


IIS migration error

$
0
0

I have migrated and IIS 6 application to IIS 7 application successfully. When I go to Browse the site I get the following error message. Calling GetfilterVersion on ISAP Filter c:Program Files\www\Tomcat\bin\isapi_redirect.dll has failed. Does anyone know why this would be causing an issue? It doesn't happen on the old server.

Thanks.

Can't figure out what's causing 500 error on FastCGI

$
0
0

I'm getting a 500.0 error (apparently about as generic as you can get) with Error Code0x000000ff recommending Microsoft Knowledge Base Articles 294807 but everything I'm trying to search for on this are not specifying what exactly the problem is or how to effectively trace it.

The specific error message is "The FastCGI process exited unexpectedly", though this may not matter if I can just figure out how to get a more specific error message somehow. I'm using Windows 10 Pro 64-bit running a local IIS 10 with Zend Server 8.5.7 and PHP 5.6 (installed with all defaults as a development server), and the IIS error page mentions module FastCgiModule Notification ExecuteRequestHandler Handler ZendPHPviaFastCGI... that last one is an Enabled handler in IIS that I can verify.

How do I figure out what the problem is? It's crashing on a specific built-in PHP class called SoapClient which has no problem on our Development, QA, and Production servers. I've talked to everybody in the office who knows anything about this technology and nobody is sure how to even troubleshoot it.

Also I checked every log file I could and the best I can glean is from C:\inetpub\logs\LogFiles\W3SVC4\u_ex170615.log saying 

2017-06-15 17:10:01 127.0.0.1 GET /the/url?and=params 80 - 127.0.0.1 PostmanRuntime/6.1.6 - 500 0 255 918 (same error if I run the URL through a browser, and running it through php-cgi.exe just says not found)

Error Message: This collection already contains an address with scheme http.

$
0
0

I have a service file for my web application that I'm trying to test.

simple.svc

My integration tests works fine until I add the 8080 binding to my applicationhost.config file.

<bindings><binding protocol="http" bindingInformation="*:59869:localhost" /><binding protocol="http" bindingInformation="*:8080:10.1.1.10" /></bindings>


Then I get an error message like this for my unit test results for simple.svc:

Error in: http://localhost:59869/mywebsite/api/simple.svc
Error Message: This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection. 

How can I get both the .svc to work and have that additional binding?

Regarding the authentication through IIS Server

$
0
0

Hi,

When I run my website locally it works all fine with authentication. But when I'm done hosting the website on IIS Server and trying to do the   authentication through the login page, it throws me  a invalid credentials error. I'm using mongodb for database connection, but not to sure why I'm not able to authenticate the page.?

Is there something that I need to connect my MongoDB Database  to the Website that I've hosted on IIS Server.?

Could anyone help me with that.

FTP SSL site dropping certificate

$
0
0

Hello forum.   Looking for some troubleshooting assistance on a problem affecting our servers that run an FTP site secured with an SSL cert.

We have about 150 servers running their own FTP site.   FTP is set to Require SSL connections and its configured to use an SSL certificate from our internal CA.   Everything looks good with the cert - no errors, has private key, and the issuers are good (subordinate and root).   However, thing to note, each cert is almost exactly half way thru its life - issued this day or one prior in June 2016, and the expiry is this day or one more in June 2018.  

These 150 servers have been in place for about a year.   Over the last week, multiple servers' FTP sites have dropped the SSL cert from the site config - just reverts to 'Not Selected' for no reason.   It's a day or two plus a year from the time the server was deployed and configured (we have the deployment schedule on our wiki).   It's a simple fix, reselect the cert from the drop down and bobs your uncle.   Problem is FTP connections don't work from the time the cert drops (1:40/2:00am) until we fix it.

I got nothing in the my App or System logs about the time it dies.   The servers have not been rebooted in about a month (uptime is about 30 days) and no patches or recent changes are known.

Without something to go on I'm stuck seeing sites die overnight and support teams getting paged.   Can anyone offer some troubleshooting tips for me ?

Thanks,

JC

Viewing all 1814 articles
Browse latest View live