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

Orphaned IIS Requests

$
0
0

We have IIS 7 running a Classic ASP app and I've been noticing the following issue lately. Over the course of the day, if I look at Server Node --> Worker Processes some requests seem to fill up there. The elapsed time is something crazy like 12 hours at the end of the day. This requests all sit in the ExecuteRequestHandler stage.

There is no way anything is executing for that long, and I cannot seem to reproduce the issue. I have tried dumping w3wp.exe, using FRT, and all that good stuff, but I have somegeneral questions:

  1. Is there a setting that controls WHEN IIS stops a request? To be specific, in development, if I purposely design a page to be slow (i.e. update a SQL table thats locked) and then CLOSE out of browser, and monitor the requests in IIS, I see that the request still sits there for about 120 seconds before being removed. Is that 20 seconds a random interval, or can that be SET somewhere? To be clear, it's not that the page takes 120 seconds to execute, it will execute forever (in this test case) but it seems IIS gives up on it after 120 or so seconds after I log out.
  2. Is there some way to see "orphaned" requests, I.E. requests in the app pool that nobody is waiting for anymore
  3. What else can I do to try and debug this? A dump of w3wp says there are client connections with an HTTP request state of HTR_READING_CLIENT_REQUEST.
  4. I keep getting suggestions of modifying IIS config settings such as AspRequestQueueMax, every time I try looking those up in the ApplicationHost.config I don't see those items set, so either I'm looking at the wrong place, or a default value would not be explicitly set in the config. This begs 2 questions: a) How do you READ these config values, i.e. get current value, b) how do you SET these.

Peculiar Problem with LocalHost & IE11

$
0
0

I've setup my ASP.NET 4.0 Web Forms application successfully on several of my client's servers but on my own Windows 8.1 laptop I'm experiencing something odd.  I published the application files here:  C:\inetpub\wwwroot\Incentives

So naturally, I thought I could access it in the browser like this: http://localhost/Incentives   And this indeed does work correctly for Firefox and Chrome.  But when I try to do the same thing with IE11 instead i get the IIS start page (iisstart.htm)

Any idea why?  Any ideas how to fix this?

Robert

AD DS - Unable to Uninstall?

$
0
0

I do hope that this is the right place to post this, if not could somebody kindly point me in the right direction? I apologize for any inconvenience if this the wrong place!

I have been trying to remove a role, Active Directory Domain Services, from my Windows Server 2008 R2. Every time I use the Installation Wizard to remove the role, it says it needs to restart the server to complete the removal. I click, "Yes" to restart it, and when it boots back up, it always says "Resuming Configuration" and it continues to load and remove AD DS (apparently), and then it says "Restart Pending" again, it recurs about three times, and then it finally says that it failed three times and will not make another attempt.

I've been trying all day to uninstall this because I can't use it anyway, I have no need for it.

Any assistance would be greatly appreciated!

Impersonation issue. NTLM auth header not sent

$
0
0

Hi,

We have a weird situation in our labs:

We have a couple of web servers. One web server is the client of the other web server (using web services). The client web server performs impersonation and invokes the call to the other web server.

When the app pool user of the client web server is a certain user it seems like the NTLM Authorization header is not sent. Therefore the other server receives not the impersonated user but the app pool user. When we change the app pool user to a other different users - the Authorization NTLM header is sent and the impersonation on the server machine is successful.

On other test servers set up this way, using the exact app pool user of the domain - this works well. It seems like a very specific problem of this account on that specific client web server.

Any ideas?

IIS 8.5 getting %100 CPU due to 404 & 500 Errors

$
0
0

Hi All,

We have our API site written on ASP.NET + MVC and deployed on IIS 7.5 (2008 R2) - working fine!

We have bought 2 new servers (Physical, 24 Threads each, lots of memory, very powerful) and we wanted to migrate those sites to them (They have Server 2012 R2).

While the 2 old servers have around %10 CPU usage at most, when adding the new servers to the pool they reach %100 CPU constantly.

We know that we have a problem in the code that often responds with 404 or 500 and we are working on fixing it - But I still need to know why it's happening on IIS 8.5 and not on IIS 7.5 as it's a very problematic issue.

Any ideas? I've tried it all.

Both servers are installed using default settings, no custom error pages, occours even with 1 worker, affinity limitations, etc.

And I don't have any cpu limitations nor I want to configure - I just want him to behave normally..

Thanks ahead!

IIS 6 - WebDAV folder pointing to a server not joined to the domain.

$
0
0

Hi all, 

First let me describe what i wish to achieve before describing the issue:

I have a group of servers servers that are not domain joined that i need to share a folder from to  many users. 

I have created a local service account and shared the folders to the service account on each of these servers.

I have a file cluster running windows 2003 with IIS 6 installed, i have created a WebDAV on via the IIS console pointing to the shared folder and set it to connect to the share with the service account. 

If i explore the WebDAV from the IIS console or open the share from the file cluster it open it fine but when i am browsing to the WebDAV via internet explorer (even on the file cluster) i get a Error 500. 

If i change the connection to use anonymous access with the service account i get a 401 access denied error. 

Any ideas here? 

Many thanks,

Steve. 

Application pool stops 503 service unavailable

$
0
0

Hi Folks

I migrated a website from IIS6 to IIS 7.5.

I turned on the 32-bit application to true in the Application Pool.

After few seconds the application pool stops responding: Service Unavailable. HTTP Error 503. The service is unavailable.

When looking at the Event Viewer, I see the following error:The Module DLL 'C:\Inetpub\CSPGateway\CSPms.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, seehttp://go.microsoft.com/fwlink/?LinkId=29349.

 

The file CSPms.dll exists in this location. This DLL is used for another website I guess.

Can I turn it off for this particular website? Or do you guys have another solution?

I read also this thread: http://forums.iis.net/t/1149768.aspx?500+19+Error+When+Enabling+32+bit+Application+Pool

Thx in advance.

 

 

IIS7 Error.

$
0
0

Hi

I'm getting IIS7's 404.3 error page, or when I access my site it'll give me a straight 404..

But if I go to localhost, it gives me 404.3 - Page not found...

heres a screenshot link http://prntscr.com/4m9b0s

thanks


Code Block Error Occur

$
0
0

Hi, When I run my page on Local Host, everything are fine.But when i put it and run on iis 7, it shows code block error <-- ...-->.

I also try removing ajax from code. There is no code block like (<--) now. 

May I know what i should do?

Web deployment task failed. Max number of connections

$
0
0

On a new Windows 2012 Server installation we have got the following error when users did Web Publish from Visual Studio 2012:

Web deployment task failed. (The maximum number of connections for this site has been exceeded.Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEEDED_MAX_SITE_CONNECTIONS.) 

It occurred when a number of Web deployments had been done. IIS restart did not remove the error. Restart of server did remove the error for some time before it occurred again.

The reference to the Learn More link does not list this error.

Any suggestions?

Thanks.

 

Windows Activation Service and World Wide Web Publishing Service not running

$
0
0

I've just upgraded in-Place a 2008 R2 IIS server to 2012 R2, and after the Upgrade, the upgraded server has some issues With IIS.

The website will not start, and I get these errors:

first trying to start IIS from the management console:

Cannot start service W3SVC on computer '.'.

Then I try to start the site, and I get this error Message:

Websites cannot be started unless both the Windows Activation Service (WAS) and the World Wide Web Publishing Service (W3SVC) are running, Both services are currently stopped

When i browse to these two in Services.msc and try a manual start, I get these errors:

On the WAS service: Windows could not start the Windows Process Activation Service service on Local Computer. Error 50: The request is not supported

On the World Wide Web Publishing Service: Windows could not start the World Wide Web Publishing Service service on Local Computer. Error 1068: The dependency service or Group failed to start

In the System eventlog i get these error events:

5211: The Windows Process Activation Service (WAS) started with 'Classic' mode using 'ConfigurationSystem'

5172: The Windows Process Activation Service encountered an error trying to read configuration data from file '\\?\C:\Windows\system32\inetsrv\config\applicationHost.config', line number '941'.  The error message is: 'The configuration section 'system.web' cannot be read because it is missing a section declaration'.  The data field contains the error number.

5036: The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.

5005: Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.

I replaced the applicationHost.config file in the C:\Windows\System32\inetsrv\configwith the old one from C:\Windows.old\WINDOWS\System32\inetsrv\config, but this did not help.

What should I do next?

IIS all logs same time 23:59:59

$
0
0

Hi,

Windows server 2012 Failover Cluster node, IIS 8. One of the websites has all log files (daily) with all records with the same timestamp.

Even though the date is correct, the time is everywhere 23:59:59

This issue is observed on the other websites also, but occasionally.

Anyone has any idea?

Thanks

iis 7.5 anonymous authentication suddently prompting for password

$
0
0

i got an iis internal web site that is suddenly prompting for authentication when accessing it. Authentication has alwasy been at Anonynous enabled.

Any idea why?

 

Connections to an Access database are stalling (looping?) on IIS 7 and above

$
0
0

Hi, i have a pc with windows server 2008 (but it also happens with Windows Server 2003) and IIS 7, with different installed sites, which normally function properly.  Sometimes (2-3 times a day) it happens that the mdb connection of the server stalling, in the sense that all the sites that read mdb database come into a kind of loop, since the browser returns the classic timeout error.  Not depend on the database or from the site, but occurs on all sites on the server. In general, they are sites in asp with classic ADODB connection. The web access continues to operate, it's just the mdb connection that goes into loop.  It’s sufficient to restart the service of web publishing or restart IIS, to run again the connection, but I want to prevent the problem, not solve it every time someone report it.  May depend on what? Some of the sites that does something that is blocking the mdb connection on entire server? A hacker attack of some kind? How can I monitor any abnormal behavior of the sites or external attacks? Thank you.

IHttpAsyncHandler incorrectly blocking IIS

$
0
0

I've got a few async handlers defined so I can do Long Polling. However IIS is ignoring the IHttpAsyncHandler and still blocking which I think is incorrect. As far as I know this is because IIS locks the requests Context Session which in effect prevents IHttpAsyncHandler from working as advertised.

Has anyone else seen this issue? It's a real pain. I can get it to work locally on my laptop running IIS express. The async code works like a charm. However when I publish to the full IIS 7.5 server the asynchronous code starts blocking.

This seems like a bug to me. I can provide an example async handler if that helps.

Thanks 
I'


Issue loading one particular website IIS 7.5.

$
0
0

Hi,

  We are having windows server 2008 R2 that act as web server. Our critical website is running on that server. All applications running successfully. Only one applications got problem. It will take more time to load. Issue loading one particular website.It automatically available after 10 to 20 minutes.

Thanks in Advance,

P.Mohan

HTTPS Error

$
0
0

Hi guys,

So I've spent the last three days on this problem and I cannot work out for the life of me why my website is performing the way it does.

I have NLB set up for two web servers, with identical IIS configurations (it's a shared config). The files for the website are also on a DFS. 

Internally, both HTTP and HTTPS work perfectly fine, responding as expected and performing well. Externally, HTTP works perfectly again, over the past 6 days with 100% uptime. However, HTTPS has about a 30% uptime, and often I cannot access the site externally, but sometimes I can. It's completely random when it works, I can be accessing the website and my friend cannot. The firewall is set up correctly, and both servers (CAS_WEB01 and CAS_WEB02) work correctly (if I remove the bindings to the port and test each server individually on the internal network). When the site fails externally, it fails with a "Connection_reset" error. 

I hope I've made the problem clear, I simply cannot understand why it's performing in this way. The HTTPS certificate is valid. 

Many Thanks,

Ben

Html pages not displaying anything from IIS 8 in windows server 2012

$
0
0

I have been searching and have tried the following.

Ensured Static Content role is installed.

Validated Static under handler mappings has StaticFileModule,DefaultDocumentModule,DirectoryListingModule all listed

I have also looked at the mime types and they are correctly setup for all the file types I'm using.

I'm using default app pool with default user identity set as integrated and asp.net 4.0.

IUSR and the IIS_IUSR group have read and execute permissions on the directory where the html file is located. 

I have attempted to unistall asp.net 4.5 along with static content with no luck.

Also to note I can view my test.html file  by just opening it in IE on the same machine as IIS, but when I browse from IIS it gives back a blank page with no errors.

Windows media server 0xc00d138d error code

$
0
0

0xc00d138d

I am getting the following error code when I play a stream from windows media player to the windows media server.

What does 138d error code correspond to?

I could not find any answers here

http://msdn.microsoft.com/en-in/library/bb202810.aspx

How to resolve this error?

DNS Alias (I think)

$
0
0

Hi,

Firstly, I apologise now for two reasons: 1) I'm not 100% sure what I need to use in order to achieve what I want to.

& 2) Because of this, the title, and location of this post may be totally wrong (Hell, I might even be in the wrong forum).

Anyway - this is purely for personal use, so it's not imperative that I get this sorted, but it would be nice.

Basically - I have my home server setup with DNS running, and I can see it using the A record "jupiter.local" and that's all fine.

However, I also have two other services running: uTorrent & Plex, which I can access using the above, and appending the appropriate port numbers and such. But it's kind of annoying having to type out ":8080/gui" & ":32400/web/index.html" everytime.

So I thought, having DNS & IIS running - Is there a way I can set something up that will let me use "plex.jupiter.local" or "jupiter.local/plex" instead of typing long urls all the time? 

I have tried messing with all sorts of DNS records and I can't quite figure it out. 

Thankyou :)

Viewing all 1814 articles
Browse latest View live


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