iis6

Best way to migrate from IIS6 to IIS6

Hi, I need to move all my sites on a server with IIS 6 to another one, that has same OS (Windows Server 20003) and same IIS version. I'm trying to understand which is the best way to do it. Searching on Google I've found that there are at least 2 methods, one uses IIS Migration Tool, and another Web Deployment Tool. I don't know which ...

iis 6 custom error not working in ie

I've set up the custom errors in webconfig and it's working great for .aspx pages. But, I'm trying to handle the .htm or .html or .pdf errors (mainly not found). Understand from research that handling in extensions to the .dll is not good for performance (this true even if you don't have hardly any .htm pages?) So, I went into IIS and...

Unable to create website error (NEW)

I copied my ClickOnce deployment to my C:/Inetpub/ folder on my webserver and I deleted my Virtual directory. I deleted the WpfApplication1 folder beneath wwwroot in Win Explorer. Then I turned on Web Sharing for this folder. Then I viewed my IIS Manager and this new Share name appeared under wwwroot. So now under Inetpub folder on m...

Does processModel/serverErrorMessageFile work when accidentally mixing ASP.NET versions in IIS6?

I've tried setting serverErrorMessageFile to a path relative to machine.config, and to an absolute path, but when accessing an app on our IIS6 server that shares a pool with another ASP.NET version, we still get the big, ugly, red, default Server Application Unavailable message. Since one of our ASP.NET apps recently (and mysteriously) ...

IIS 6.0: what is the WMI equivalent of "Convert Folder To Application"?

Basically, imagine you need to automate these steps: Open Internet Information Services. Find the web site, find the folder, right click the folder and select properties. Click the Directory folder. Under Applications settings, click the Create button. The application is now created. Click OK to finish. (click for a pictoral walk...

ASP.Net Response Filter Clashing with SharePoint 2010 Publishing Site Defaults

Hello everyone, I'm debugging an HttpModule with an ASP.NET response filter. This dynamically rewrites portions of rendered SharePoint WCM pages. The publishing pages render fine in SP2007 on both Server 2003 and Server 2008. However the equivalent pages fail to render in SP2010 B2 on Server 2008 R2 / IIS7. The following error is re...

Check the status of an application pool (IIS 6) with C#

How can I check the status of an IIS6 application pool with C# ? For example, I want to know if it is running or not ! Thank's in advance for your help ! ...

Cannot open log for source {0} on Windows 2003 Server

I am having a huge problem with the eventlog on my server. Right let me first of all explain the setup. I have a domain setup with 2 computers One computer is running IIS the other is a workstation. The IIS is running Win2k3 the workstation Win XP. The IIS computer is hosting a website which uses Windows Impersonation and tries to log ...

Memory footprint of a parsed XML file in Classic ASP?

Anyone know of a way to find out the amount of memory/size of a XMLDocument once it has parsed a XML file? I've been doing "beer mat" calculations so far but have been asked to come up with some more legit numbers through monitoring some how. I need to create about 1500 XML files (via FreeThreadedXMl-DOM object), which verge between 3-9...

IIS6 Problems with ASP.NET MVC.

Hello, I have a ASP.NET MVC page. I Configured a IIS Website and added the additonal H:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll. my Directory Structure is like that / ../App_data/ ../bin/ ../Content/ ../Properties/ ../Scripts/ ../Views/ ../Default.aspx ../Global.asax ../Web.config My page is configured to port 9...

ASP.Net 4.0 on IIS6 vs IIS7

I am trying to convince my boss to upgrade a couple web app servers from Win 2003 to Win 2008 so I can utilize ASP.Net 4.0 on IIS7. I am also trying to get our SQL Server 2000 upgraded to 2008 so I can use Linq2SQL in VS2010 plus a bunch of other reasons. But the boss is experiencing sticker shock now that I have told him what it all c...

IIS6, ASP.NET MVC 1 and random slowdowns

I've recently deployed a MVC application to an IIS6 web server. One strange behaviour I've been having is the load times will randomly blow up to 30sec+ and then return to normal. Our tests have shown this occurring on multiple connections at the same time. Once the wait has passed, the site become responsive again. It's completely rando...

Settings up a Mercurial server on IIS 6

Hi, I've set up a Mercurial server on a Windows 2003 / IIS 6 machine and when I try to pull the repository I get the following sequence requesting all changes adding changesets adding manifests adding file changes transaction abort! rollback completed abort: premature EOF reading chunk (got 91303 bytes, expected 1542634) I've tried p...

How to create WCAT extension DLL

Need to create WCAT extension DLL that query database for next available record nubmber and feed back it into senario request POSTed Data.. How would do that.. Thanks in advance ...

How to read an IIS 6 Website's Directory Structure using WMI?

I need to read a website's folders using WMI and C# in IIS 6.0. I am able to read the Virtual directories and applications using the "IISWebVirtualDirSetting" class. However the physical folders located inside a website cannot be read using this class. And for my case i need to read sub folders located within a website and later on set...

How to limit SMTP delivery to hourly batches

In an effort to keep us from being labeled spammers by major ISPs (in addition to SPF records, privacy policies, CANSPAM compliance and the like) - I wanted to limit the amount of mail we send out an hour. Is this possible in W2K3 SMTP server? I was looking at outbound connection properties in the SMTP virtual server config screens...It...

IIS: https://mysite.com switches to http://mysite.com:443 after form submit

I have a .net 3.5 site with "require SSL" option checked. After submitting any form I got a message "The page contains both secure and nonsecure items" and if I click "yes", it changes the url from "https://mysite.com/..." to "http://mysite.com:433/...". Does anyone know what can be the problem? Edit: this happens only when I submit p...

IIS6: When an app pool is recycled, is Session_End called?

I need to know because I have to explicitly close some remote resources that are tied to the user's session. ...

Integrated Windows Authentication if the user cancels the request can I redirect them to another page?

On IIS6, using NTLM Authentication (meaning Integrated Windows Authentication) if the user cancels the authentication request, how can I redirect them to another page? I can't just grab 401 (tried) or 401.1 (not an int) in the web.config. I can't redirect if the issue is a 401 status because I'm intentionally pushing for a 401 to get th...

ASP.NET web application can't find an assembly

I deployed an ASP.NET web application last night and I when I woke up this morning it was very slow and would occasionally just throw a 'Service Unavailable' error. I checked the Event Viewer and it was filled up with these errors: An unhandled exception occurred and the process was terminated. Exception: System.Runtime.Seria...