iis6

how do i register .xap mime type in IIS 6 programatically

i want to register .xap mime type for a particular site in IIS6 ...

Running Django Python on IIS 6

I'm having trouble running Django on IIS 6 and was hoping someone could help! I've followed this guide exactly a number of times: http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer However, when I try and view my site I always get the same message: The specified module could not be found. What are the steps to ...

IHttpModule not being applied to virtual directory

I have a network folder that is mapped to my iis app as a virtual directory and I'm trying to do some authentication for files that are located there with an ihttpmodule. I've verified that the ihttpmodule is firing properly for anything else in my app, just not the files located in virtual directory. Most of what I've found is that th...

dotnetnuke iis 6 problem

i went to the root dir of my website in iis 6. right clicked properties and went the documents tab. i wanted to add a document extension to the list. when i clicked apply i received an inheritance override (UNCPassword and DefaultDoc) pop up showing many dnn files. i clicked cancel in both pop ups and then okay to apply the new docum...

Elmah and 404s under IIS6

Just wondering if it's possible to get Elmah to log 404s that aren't picked up by the ASP.NET framework - i.e. the 404s that IIS spots and replies to. Presumably this would involve some kind of entry in IIS -> web site properties -> Custom Errors tab. Can't find any reference on how to do this. ...

Struggling running ASP MVC2 on IIS6.0

Hi I could use a little Help using MVC2 on an IIS6.0 Its an MVC2 RC2 [.NET 3.5]. I followed the famous Haacked Tutorial, created a virtual folder, created a Default.aspx Website for my Project, put everything to my virtual folder. The routing is modified, using wildcard mapping [anyway its not running without, too], according to the Tu...

Tomcat 5.5 and ASP site under IIS using SSL

I've been working on migrating our companies' website from it's original server to a new one and am having two different but possibly related problems. The box this is sitting on is a Windows 2003 server x64 running IIS 6. The Tomcat version is 5.5.x as it was the version the original deployment was built on. There are two other sites on...

How do I use IIS6 style metabase paths in IIS7 AppCmd tool?

I'm currently in the process of upgrading old II6 automation scripts that use the IISVdir tool to create/modify/update apps and virtual directories, and replacing them with AppCmd for IIS7. The IIS6, "IISVDir" commands reference paths in that are from the metabase, eg, /W3SVC/1/ROOT/MyApp - where 1 is ID of "Default Web Site". The comma...

ASP.NET, IIS 6 and url rewriting

Hi, i've bought a shared hosting on a windows hoster with IIS 6. I would like to know how to rewrite url. I can't modify anything on the server, the only thing i can do is to use ... my asp.net code ! some advice ? Thanks! ...

IIS: How to get the Metabase path?

i'm trying to get the list of mime types known to an IIS server (which you can see was asked and and answered by me 2 years ago). The copy-pasted answer involves: GetObject("IIS://LocalHost/MimeMap") msdn GetObject("IIS://localhost/mimemap") KB246068 GetObject("IIS://localhost/MimeMap") Scott Hanselman's Blog new DirectoryEntry("IIS:...

IIS 6.0 .htaccess

You can 'fake it' .php being a .html file using .htaccess: AddType application/x-httpd.php .html .htm how can i do this in using IIS 6.0? ...

HttpRuntime.Cache scavenging default behavior?

When adding items using the default insert method Insert(key, value) and as such using the default behavior of HttpRuntime.Cache, when does the scavenging take place? The limit on the application pool that hosts my application is 0 (unlimited)... but I see no way to find out how big the cache can get before scavenging occurs? The proble...

Report viewer control IIS 6.0

I Have page with control reportviewer and its work on develop machine (vs2008) but on IIS 6.0 its not work, What I need to change in web.config or in IIS 6.0 to fix it' thanks, Dani. ...

IIS redirect from non-www or *.domainname.xyz to www.domainname.com without additional IIS site or DNS entries

Hi everyone, now we all know that the best way to stop the search engine known as Google to avoid indexing http://domain.com as a different site to http://www.domain.com/ is to do a permanent (301) redirect through IIS, or to add a DNS entry that makes www.domain.com the canonial name for pretty much anything under that domain (eg. wild...

Can't open docx files online on Win2003 server - get 403

I have a asp.net web application that runs locally and opens docx files in IE8. However, after deploying to our production server (Win2003), I get a 403 error. The same code works for doc files, just not docx files. So, I've narrowed the problem down to the server but do not have good direction. I read that it might be a MIME type issu...

How to inherite IIS 6 web site properties from configuration file .xml

Hi, I am trying to create web sites from IIS manager. I already have few web site and Application pools. I want to add few more and this is gonna happen again in future. So what i need right now is i want to inherit the properties of previously created web site and apppool to this new website. I mean how can i inherit the properties fr...

Websphere with IIS getRemoteUser returns null

Hi, I am trying to use the HttpServletRequest getRemoteUser() method to obtain the Windows authenticated user on an internal website. I am currently using Websphere 6.1 with IIS 6.0 as the web server. I have two web servers, one on machine A and another on machine B. Everything works fine when I pass my request through the IIS server...

IIS6: PHP Sessions

I have installed PHP to work with IIS6 (with FastCGI). I am capable of viewing a sample test website that shows the PHP info with the following code: <?php phpinfo(); ?> Now that this works I tried to migrate my PHP website to IIS6 and here is a list of the errors/warnings I got: PHP Warning: session_start(): open(C:\WINDOWS\Temp\sess...

Display custom error page when file upload exceeds allowed size in ASP.NET MVC2

Hello! My main issue is that I want to display an custom error page when an uploaded file exceeds allowed size (maxRequestLength in web.config). When the big file is uploaded an HttpException is thrown before my upload action method in the controller is invoked. This is expected. I have tried to catch the exception in a custom attribu...

Application loses authentication when performing redirect to a virtual directory

I have the following setup: http://www.example.com/dir1/ and http://www.example.com/dir2/ Each virtual directory is configured on IIS6.0 as an application with own AppPool. When redirecting authenticated user from dir1 to dir2 using response.redirect I lose authentication information for the user and the user is being redirected to th...