iis6

WCF Custom JSONP Binding and httpsTransport

My question revolves around a WCF REST Service for IIS that responds with JSONP. I took the classes in this solution: http://msdn.microsoft.com/en-us/library/cc716898.aspx and added them to mine. Things were working fine on my developer workstation using impersonation with httpTransport but when I tried to move up to the development se...

Mass 301 redirects in ASP.NET, including pages that need to redirect to a different place depending on the query string parameters

We have several pages of our site indexed using old non-SEO friendly URLS such as http://www.domain.com/DocumentDetails.aspx?id=555. Recently we implemented routing that uses slugs stored in the database and looks up the slug to forward you to the right page using routing, for example: http://www.domain.com/Documents/Title-of-the-Documen...

ASP.NET + IIS6: whitelist users via authorization section in web.config

Consider an IIS6 Application under a web site: Windows authentication is enabled. anonymous is off This is an ASP.NET MVC application with Areas. The root web.config has the authentication and authorization nodes as follows: <authentication mode="Windows"></authentication> <authorization> <allow users="domain\abc, domain\xyz, ...

authentication issue of IIS 6.0

Hello everyone, I am using Windows Server 2003 + VSTS 2008 + .Net 3.5 + C# + ASP.Net + IIS 6.0. I host some files (wmv video file and html file) on the web server, I want to know whether there are any easy to use authentication approach to let user input username and password before they can access (I want to prevent anonymous access)? ...

Classic asp and utf 8

We have a website that uses classic asp. Part of our release process substitures values in a file and we found a bug in it where it will write the file out as UTF8. This then causes our application to start spitting out garbage. Apostrophes get returned as some encoded characters. If we then go an remove the BOM that says this file is...

Drawbacks of PHP-on-IIS?

I work in a dev environment that is currently IIS6/Server 2003 with Framework 3.5. I primarily am working in ASP.NET MVC. I've run into a scenario where, for the solution I'm working on, I'd either have to spend weeks reinventing the wheel or integrating a PHP-based opensource project into one of the components I'm building. I'd love ...

Setting user account in IIS 6.0 application pool

Hi I'm creating a application pool in iis 6.0 using code, but haven't found a way of setting the user account in an application pool (default is network service). How do you set the user account that is going to be used in an application pool using C#? ...

asp.net mvc session state.. help?!

Hi all, Has anyone ever eperienced session's being shared application wide? My MVC application has the vanilla setup but for some reason, my sessions are being shared. I didn't really think about it when I could switch between FF and IE and maintain a logged in state but now, I've noticed that I can switch machines too. My web.confi...

Customizing HTTPstatus code

Hi frns, I am using IIS6.0. Is there any way to customize the HTTPstatus code in HTTP header which we receive in response. My Requirement is to issue a 404- not found command in place of 403-Forbidden for a specific folder access(say images). So i need to customize Status code not custom error message. thanks- abhishek ...

ASP.NET MVC routing fails when using default.aspx/controller/action style url

I'm deploying an ASP.NET MVC site to a IIS6 webserver, so I'm using a default.aspx/{controller}/{action} style routing strategy. However, for some reason it doesn't really work when using the default.aspx part. No matter the url, it always gets the default action (Index) on the default controller (Public). I've been using the excellent...

Isapi filter not working on IIS 7 (which did work on IIS 6)

Hi I have an Isapi dll which performs some basic URL rewriting. It works fine on II6. However, now my dev machine has been upgraded to Windows 7, I cannot get it to work under IIS 7 Is there anything special that needs to be done to get this to work? The website is running the Classic ASP pipeline app pool (although I have tried both)...

Will resetting an application pool automatically close all database connections?

I am running IIS6.0. I have the DefaultAppPool running one website. If I reset this application pool would that automatically close all database connections that are being used by the website? hope that makes sense, any help is appreciated. ...

VS2008 & Local IIS Web Server - all components installed, doesn't work

In VS2008, when checking the local server option in the web tab in the project window, the error message reads: To access local IIS Web sites, you must install the following IIS components: IIS 6 Metabase and IIS 6 Configuration Compatibilty ASP.NET Windows Authentication In addition you must run Visual Studio in the context of an a...

How do I trace all request in IIS 6 on Windows Server 2003 SP2?

I found this site from MS: Tracing Requests (IIS 6.0) - Microsoft TechNet I set it up on my server as per the article and then used this to try and generate the report, but it keeps stating that RequestID cannot be found My website seems to slow down during the day and all SQL inserts start taking 20 seconds to complete. I created...

SSL page redirecting to SSL page on another server.

My company wants to change domain names. Requests to http://ServerA/folder/page.aspx need to go to http://ServerB/folder/page.aspx. I can do most of the redirection in IIS and it works fine. I have a concern that I don't seem to have the ability to test. Are there any problems/concerns form using the same technique for SSL pages? ...

When does IIS recycle the worker process?

When I setup an application pool for my web app in IIS 6 it defaults the worker process to recycle in 1740 minutes (29 hours). Does this recycle happen even if there is activity on the web site or only if there is inactivity for 29 hours? ...

Custom 404 with EPiServer CMS5 on IIS 6

I have been trying to set up a custom 404 page for several days now but still haven't succeeded. The target system is EPiServer CMS 5 running on Windows 2003. My development system is EPiServer CMS 5 running on Windows Vista. this means I can only debug on a different version of IIS. Anyway: The problem is that the custom 404 is displa...

Select to recycle worker processes after a specific period of inactivity.

Can anyone confirm that this statement "Select to recycle worker processes after a specific period of inactivity" in this Microsoft help file is wrong and should in fact not have the "of inactivity" at the end of it? ...

Any idea what this .NET error means?

I have Bugnet installed on my hosted server and it does work, seems that all functionality of the project works as one would expect. However seems on any page render this error is generated; System.Configuration. ConfigurationErrorsException: It is an error to use a section registered as allowDefinition='MachineToApplication' b...

ASP.net MVC performance with extensionless url on IIS 6

We are getting ready to do a an initial deployment of an ASP.net MVC app on IIS 6 running on Windows Server 2003. We've been reading about performance issues involving the use of extenionless urls in MVC applications specifically in the case of removing the '.aspx' extension from the controller portion of the url. Has anyone who has dep...