iis6

IIS5 or IIS6 Web Application running under IIS7?

I have a web application that runs fine under IIS5 or IIS6. I just installed Vista, which has IIS7. I just copied the entire web app over as-is, no changes to any files. I went into the IIS7 manager and created a web appliction under the Default Web Site and pointed it to the app I copied over. When I try to browse to the app in IE, ...

IIS 6.0 Debugging methods

I need some help from you about debugging high CPU usage (w3wp.exe) on server (Windows Server 2003 R2). I used debugdiag to anaylze but the problem is that this piece of software is not detecting any kind of problem. Have you ever met any problem with high CPU usage on w3wp.exe (100% all the time)? Have you got any tutorial how to debu...

IIS log files and load balancer?

We host our ASP.NET applications on two web servers (Server 2003, IIS 6) that reside behind a hardware load balancer. When I look at the IIS logs, the c-ip value in the IIS (v6) logs are ALWAYS the IP address of the load balancer. I noticed in the http headers, there is an X-Forwarded-For header that appears to have the requesting IP add...

Worker process reached its allowed processing time

We are experiencing this issue approximately once a month. It is very hard to pinpoint the cause so any help would be appreciated. This causes the App pool to stop and brings the site down. We have gone through all log files and have concluded nothing. We are using the 2.0.3 version on IIS 6. ...

Should I turn off IIS 6 logging?

What are some reasons why I wouldn't want to disable IIS logging completely for a small use (100 user) intranet application? I'm not an Ops person (just pretending to be one for this app), so I've never had to be concerned with this stuff before. ...

Is it possible for IIS 6 to serve unprocessed ASP/ASPX pages?

The only thing I was able to find on the subject was a posting from 1997 (http://insecure.org/sploits/microsoft.asp.iis.html), so I was hoping someone on here might have more recent knowledge on this topic: Does anyone know if there are any known vulnerabilities in IIS6 that would allow a user to view an unprocessed ASP or ASPX page, ou...

Determine SSL Certificate Expiration Date IIS

I need to determine the expiration date of the SSL certificates on my IIS boxes programatically. Ideally I would want to do this in C#, but if VB script is the only way that is acceptable as well. Environment => IIS versions 6 & 7, .NET 2.0, Windows 2003 & 2008 Thanks ...

How to replace VB6 Com+ DLL with .NET

We have a Com+ VB6 DLL used in our asp classic application. After upgrading to IIS 6.0 and Windows Server 2003 it seems to be causing us problem. How should we replace it with .NET (2.0) functionality? A Webservice? A Com DLL in .NET? Some other option? Assume re-writing the asp classic pages is out of the question. EDIT: If rewri...

Does asp.net setting affect classic asp (IIS 6 settings)

My company has some classic asp sites and developing new sites in asp.net, and everytime we create a new site in IIS 6 all the sites go down for a couple of seconds. So I'm thinking of changing the default value of the ASP.NET version to 2.x since that is what we're developing and I'm wondinger if these settings somehow affect the classi...

Intermittent "Division by zero" error in classic ASP pages. HELP!

This is a strange one. A web application which runs fine on Windows Server 2000, experiences intermittent errors on Windows Server 2003 R2. By intermittent, I mean myself and 2 testers can find the error within 5 minutes of navigating around the web application. The error is always "Division by zero" - 800a000b The most common line of ...

Do I need PyISAPIe to run Django on IIS6?

It seems that all roads lead to having to use PyISAPIe to get Django running on IIS6. This becomes a problem for us because it appears you need separate application pools per PyISAPIe/Django instance which is something we'd prefer not to do. Does anyone have any advice/guidance, or can share their experiences (particularly in a shared W...

ASP.NET MVC + jQuery + IIS6: Multiple Ajax requests

Hello, I'm not sure where the problem is... I have an ajax request that checks the tracking information for a package on a page with a list of packages: $(".fedex_status").each(function() { var item = this; // some code to construct tracking_url $.ajax({ type: "GET", url: tracking_url, async...

Howto create an IIS Virtual Directory using a network share with WMI

I need to create a virtual directory within an IIS Site pointing at a network share \\servername\sharename\directory and I need to specify a specific user for the Pass-through authentication. I am after the WMI script to do this which I intend to call from a Powershell script. Although the target IIS environment is IIS7 (WMI namespace ...

Security Exception When Deploying Asp.net web application in Shared Hosting and Things to Consider

I'm looking to deploy a ASP.net web application in Shared Hosting. I'm getting Security Exception, System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Any help to fix an...

Adding Application Mapings to an IIS6 webiste on Windows XP

Hi I am trying to add an Application Extension Mapping to a website in IIS6 running on windows XP. My steps are as follows: Home directory > Configuration > Mappings > Add Executable: aspnet_isapi.dll Extension: .xml Verbs: All Verbs but the OK button is always greyed out. Is this a limitation of IIS6 on XP? ...

SSL on a single server for multiple web sites

Here is my scenario: default website on IIS 6.0 is already protected by an SSL cert with common names covering the following: domainname.com www.domainname.com I have a new website on the same IIS server and need to protect it with an SSL cert with the following common name: subdomainname.domainname.com (same domainname as default) ...

How can I prevent applicationSettings in the web.config from being inherited?

I have an applicationSettings section in my web.config in my ASP.NET 2.0 web application. This works perfectly for storing values and being able to access them as strongly-typed values. Here is a snippet of my web.config: <configuration> ... <applicationSettings> <MyWebsite.Properties.Settings> <setting name="ExcludedIt...

IIS crash occurs often.. ASP.net app on IIS 6 Win 2003.

I have this ASP.net app running on IIS 6 on win 2003. I get this issue of iis crash very often in the range of every few minutes.. The application is often restarted and loses all the session information. Event viewer shows below information: EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 app_code.soku_afh, P5 0.0.0...

Web Service Out of Memory Exception while filling ADO.Net DataSet

1) ClientApp makes async call to ASP.Net 2.0 WebService 2) Web service calls SQL Server 2005 stored procedure 3) Stored procedure returns data output, 150MB table Out of Memory Exception is thrown by DataAdapter.Fill(...) while trying to allocate more memory for new rows. IIS Application Pool does not have any Max Memory restrictions o...

How do I use MSHTML on a machine that does not have Visual Studio installed?

I am using mshtml to parse HTML in my ASP.NET-MVC application. Works great on my development machine, which has VS2008 Professional installed. Works great on my staging machine, which has VS Express 2008/WebDev installed. But it throws a FileNotFoundException when trying to load the COM object on the production server, which has no ve...