Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 2000

IIS Informant

RSS
Subscribe to Windows Web Solutions | See More Active Server Pages (ASP) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

I'm using IIS 5.0, and I've been having problems getting my site to run. I'm using server-side Include statements in my documents to control document appearance and content, so I've mapped my .htm files to ssinc.dll, which processes server-side Include statements in .htm files. I've set everything up correctly, and I've checked the permissions extensively. Nevertheless, I continually receive a dialog box requesting a name and password as if a security problem existed. How can I fix this problem?

You've encountered a known bug in IIS 5.0, which the Microsoft article "Access Denied for the Default Document File Mapped to ssinc.dll" (http://support.microsoft.com/support/ kb/articles/q246/8/06.asp) describes. The problem occurs when the default document for your system (e.g., default.htm, default.stm, index .html—whatever default document you've specified) contains an #include statement and is processed by ssinc .dll. In this scenario, IIS 5.0 always sends error 401 Access Denied, which results in the security challenge. Contact Microsoft Product Support Services (PSS) for a patch. (This bug is fixed in Windows 2000 Service Pack 1—SP1.)

I recently upgraded to IIS 5.0. Since the upgrade, I've been receiving error 500-12 Application restarting. The error is related to Active Server Pages (ASP) and appears to be random. I haven't loaded anything unusual, and I didn't have this problem in IIS 4.0. How can I prevent this error?

This kind of problem can be maddening. My best guess is that you're suffering from a problem with IIS 5.0 that occurs when IIS recompiles the global.asa file. Making changes to global.asa requires that IIS recompile the file. When IIS detects such a change, it executes an orderly shutdown of running applications, recompiles global.asa, and relaunches the applications. If users attempt to connect to the server during the recompiling and application restart, they receive error 500-12 Application restarting.

Now, the question remains—Why is IIS performing this restart? As it turns out, antivirus software running on an IIS 5.0 server can cause IIS to think it needs to recompile global.asa. This scenario results in the symptoms you describe—apparently random restarts associated with ASP.

For information about this problem, see the Microsoft article "Err Msg: HTTP Error 500-12 Application Restarting" (http://support.microsoft.com/ support/kb/articles/q248/0/13.asp). No fix was available at the time of publication; the workaround is to refresh the browser.

I'm trying to connect 1000 clients to one IIS 4.0 system. These clients are issuing URLs that result in the execution of an Internet Server API (ISAPI) extension. Microsoft Performance Monitor shows that the Web Server:Current ISAPI Extension Requests counter gets to 256 before IIS starts returning WinInet error 12029 Cannot connect. I've set these configuration values:

Web Site (default web site)
Connections: unlimited
Performance
Hits per day: Greater than 100,000
HTTP Keep-Alives Enabled: yes

Is there a configuration value or Registry setting I can use to increase the number of outstanding ISAPI requests that IIS 4.0 supports?

IIS can handle this load without much trouble, so the focus lies not on tuning IIS but on your ISAPI extension. You must implement specific programming techniques to achieve scalability, or you're going to have the kinds of problems you're seeing.

A good resource for information about ISAPI behavior is Leonid Braginski and Matthew Powell, Running Microsoft Internet Information Server (Microsoft Press, 1998). The extension needs to create worker threads, then release its original thread back to the pool. Of course, you must turn ISAPI caching on. I'd take page 551 of this book to the programmers and see whether they're using DllMain or GetExtensionVersion to create the private pools. In addition, managing access to global resources is crucial. Also, you'll get better performance from IIS 5.0 than from IIS 4.0. (Thanks to reader Craig Weeks for this question.)

   Previous  [1]  2  3  Next 


Reader Comments
I am running iis 4.0 and am experiencing connection problems to one of my websites on it. The website is www.snowboard.com (ip 64.114.6.30), it is running in it own memory space and we have set the number of connections to be unlimited. The errors seem to appear randomly and really hurt our website because it becomes unusable. An example of what happens is:

1)I am surfing snowboard.com, our website that is having problems and the pages seem to be serving quickly.
2)When I click on a link to get a new page, I receive microsofts dns error page.
3)I ping the www.snowboard.com and it works fine. So this must mean that the dns request is resolving correctly. I try to connect to snowboard.com through port 80 using telnet and get connection refused.
4)I try connecting to other sites that we host and they are fine.
5)Eventually after refreshing the page a bunch of times, sometimes I have to wait up to 5 minutes, the website will serve the page I requested. No Sesseions are lost during this time but it seems like no additional connections can be made.

It almost seems like port 80 is being closed for some reason and then opens again.

Have you ever seen a problem like this before? Is it a problem with iis or a networking problem? Please help as we have been stumped on this for months.

Adam Arsenault December 04, 2001


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

VMware and the Future of Virtualization

What's next for virtualization and business IT? Windows IT Pro senior editor Jeff James speaks with VMware President and CEO Diane Greene on the future of virtualization technology. ...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...


IIS and Web Administration Whitepapers The Five Secrets to Controlling Your SharePoint Environment

Extended Validation SSL Certificates

Related Events Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

IT Connections
Dive into the new Microsoft platforms and products you implement and support with the experts from Microsoft, TechNet Magazine, Windows ITPro and industry gurus. There are 70+ sessions and interactive panels with networking opportunities.

Attention User Group Leaders...
Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes and add Windows IT Pro & SQL Server Mag articles alongside your own message!.

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Get SQL Server 2008 at WinConnections
Don’t miss Microsoft Exchange and Windows Connections conferences, the premier events for Microsoft IT Professionals in Las Vegas, November 10-13. Every attendee will receive a copy of SQL Server 2008 Standard Edition with one CAL.



Interested in Email Encryption?
Read about the advantages of identity-based encryption in this free report.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing