iis7

IIS in Visual Studio 2008

Hello Please explain about IIS 7 configuration in Visual studio 2008 Describe the construction program for the Virtual Directory Web Appliction right way and run it I have a problem when run program web app.The configuration of IIS Daily Please help me to Tanks alot ...

ASP.Net increase MaxProcesses (web garden) using state server and caching

I have an ASP.Net website on IIS7 and I am planing to increase the MaxProcesses to match the number of cores on the server (4 cores, 64bit Windows Server 2008). From what I read, if I increase the MaxProcesses to create a web garden I have to set an out-of-process state server, so I am planing to use the ASPState service to share sessio...

IIS 7 Backup Strategy

Hey all, I did notice this post but am looking for more specifics. I have 2 servers running Windows 2008 Server Web Edition and am running websites on both of them. I would like to be able to mirror IIS settings onto each box from the other so that, in event of a 'server 1' crash, I can log into 'server 2' and quickly get all sites th...

IIS 7.0 doesn't display custom error pages

I running an application that have a proper error handlers. When testing in dev environment all works fine, error pages are displayed properly. However when moving the same code to the production IIS is catching error pages and substitutes them with its own. The problem is described here. I just wonder is there a way to write this sett...

IIS Expires header tunning

It is similar question to this one which in turn links to this page. Now the question: Is it possible to set exipration header that it would expire after certain period of time in .config file (as it is done in UI of IIS). ...

iis7 increase number of threads/concurrent requests per working process

How can I increase the number of threads/concurrent requests per working process on IIS7? I don't want to increase the number of processes to create a web garden (for now). ...

ASP 3.0 Application object

I need to know if the application object in ASP 3.0 is shared between all the web site in the same application pool in IIS or it's one application object by site in the same application pool in IIS. Thanks ...

II7 Rewrite Issues - excluding pages

Hey all, I've got a question about IIS7 rewrite. I'm wondering if there is a way to set conditions for re writing urls. I'm wanting to rewrite: http://www.domain.com/user.aspx?id=username to become http://www.domain.com/username/ I also have http://www.domain.com/article.aspx http:...

app_offline not being respected?

I'm doing some tests with deploying an application using the app_offline.htm functionality in asp.net. I've found that if I have a working application, and I put an app_offline.htm file in the root, and then rename the \bin folder, my app_offline.htm file does not get displayed. If I rename the bin folder back to "bin", my app_offline.ht...

script errors showing only with ie8 and iis7

I have recently move a website from a server running win server 2003/iis6 to a new server running win server 2008/iis7. When I browse to the new site in ie8 I get javascript errors: Object doesn't support this property or method And Sys.ArgumentException does not derive from Sys.Component These errors go away if I: -Switch to compa...

Best Practice with Duplicate Code & Virtual Directories

Hello, I have a dedicated server [win2008 & iis7] that is going to have 50 sites running the same .Net e-commerce application. Would it be best to use virtual directories for all the folders that are identical for each site? It would save on disk space & would make code updates much easier. Would each virtual directory still know to get...

404 Error when moving ASP.NET MVC app from IIS6 to IIS7

I just got a new development box and am having issues getting my MVC project up and running. My old box had Server 2003 and IIS6. I was able to get my MVC apps working on this box after setting up the wild card mapping as mentioned here. My new box is running Vista Business and IIS7. When I copied my app over and tried to run it, I ge...

My HttpHandler doesn't work with a virtual directory in IIS7, but using cassini it does?

My httphandler does not work in IIS7 (virutal directory), but using cassini it works. It used to work on my windows xp IIS also. What could be the cause of this? I am getting a 404 not found error when trying to access the httphandler's page. ...

Coding PHP on IIS only index.php or default.php can be accessed directly

I am running IIS7 and for the longest time I have been dealing with only being able load index.php. All other requested files return a "File not found" type message in the browser. I have built my own OOP Framework making it mostly a non issue. Now I am doing some ajax stuff. Ajax REQUIRES that I make use of more then one file because if...

Vista Home Premium IIS 7.0 and asp.net

New laptop, new operating system. Windows Vista premium. I've installed Visual Studio and IIS 7.0. I open my web project in visual studio and vist the properties view for the web app. The webDev server is currently selected. I select IIS instead and I get the warning IIS telling me I need to install IIS 6.0 configuration compatabili...

authentication problem on windows vista (cookie is getting written but httpcontext.current.user is null)

authentication problem on windows vista (iis7) (cookie is getting written but httpcontext.current.user is null) ...

upload speed control from IIS?

Hello everyone, If I am using IIS 7.0 + Server 2008/Vista Enterprise, any ways from IIS 7.0 side to control the upload speed? For example, max upload speed at 1M bytes/second? Any configuration based easy solution is great! And any programming based solution is also appreciated. :-) thanks in advance, George ...

Programmatically restart IIS7 (C#)

Is it possible to restart IIS7 using C#? If so, how? ...

Using IIS6 as ASP.NET development host in Visual Studio 2008 on Win7

I've inherited a ASP.NET 1.1 webapp that runs in production on win2k3 under IIS6. I'd like to closely match this environment during development and testing. For reasons I won't go into, using Cassini/VS Development Server isn't ideal so I'm trying to set up my Visual Studio environment to use IIS6. I do my development on VS 2008 on Win7,...

How to display Custom error message on asp.net compilation errors

I have configured my web.config to show 'error.htm' error page when exceptions occur on the website. But I am unable to show the page when an asp.net compilation error occurs. How do I make that happen. Im running on IIS 7. ...