iis7

How do I setup WebDeploy on Windows 2003 / IIS6?

Webdeploy is an alternative to WebDav, FTP, and FrontPage extensions. It also acts as an alternative to DFS for replicating websites. I found instructions for configuring Windows 2008, but I'm unclear how to set up 2003 especially when multiple sites / IP Addresses are present. ...

Cannot install Powershell Snap-in

When executing iis7psprov_x64.msi I immedialy receive a message saying: The PowerShell snap-in is part of Windows Operating System. Please install it via 'Programs and Freatures' or 'Server Manager' Extracting the msi and attempting to run it that way also yields the same message. I am installing on Win7(64bit) with IIS 7.0. ...

IIS7 URL Rewrite - SiteMapPathNode not rendered if rewritten URL used

I have the following rules to redirect a.aspx?id=99 to a/99 and rewrite a/99 to a.aspx?id=99. It works. The SiteMapPath for the page does not render if the url for SiteMapNode is a, but it does if it is a.aspx. In other pages where there is no querystring in the url, I can use pagename as the SiteMapNode url or pagename.aspx - both ...

Custom 404 redirect for a site with URL rewriting

Hi, In my site, I have used IIS7's URL rewrite module to redirect URLs like http://mysite.com/File.aspx?Name=SomeName into http://mysite.com/SomeName. It appears that IIS7 has created a corresponding rule check, so that any URL of the sort http://mysite.com/SomeURL is redirected to File.aspx. This is fine in most cases, when the URL is...

asp.net vs WCF request pipeline in IIS 500 error

Using .net 4.0 , IIS 7.4 Windows Server 2008 R2 I have an asp.net application that sits between WCF web services and routes the requests according to some rules. The iis error page setting is set to 'Detailed errors for local requests and custom ....' the asp.net routing service calls the WCF service using HttWebRequest object. I am ...

Railo + Tomcat + IIS7 - Default/Blank Host Header

Quick question: Is there a way to set up a blank or default virtual host within server.xml simlar to setting up a blank host header in IIS? Lengthy Explanation: I've set up a Railo server following the guidelines explained here: http://www.dougboude.com/blog/1/2009/09/Railo-31-on-Windows-Server-2008-and-IIS7--Part-3-of-3.cfm I want t...

Creating application in IIS7 Manager fails

We have an application which is set up on IIS7 on Server 2008 R2 x64, using ASP.NET 3.5 SP1. The default site is currently being loaded off of a UNC on another server, and is working fine. I now need to add another application underneath that application which points to a different folder on the same UNC share. I right-click on the w...

does IIS 7 treat ASP.NET errors differently than wcf errors?

when ASP.NET throws an application error, IIS shows the 500 HTML error, but when a WCF service throws a FaultException (IIS 500), the client gets a proper SOAP fault with error message in it. Is there any good documentation on this request processing? ...

How can I easily publish a ASP.NET web app using VS2010 on computer to a VM at work?

The old school way is to copy and paste and the files.. so we don't want that anymore.. So I notice VS2010 has 'Publish'... Should I use file system and just create a shared drive on the VM and publish that way?? Should I FTP and set up FTP on the VM FTP server? Should I use web deploy?? But that seems to be made for commercial web host...

ASP checkbox value incorrect when AutoPostBack is set to false

I am still relatively new at VB.Net and Visual Studio and I'm assuming that this is a simple fix, but I'm not sure. I have an asp:checkbox control on an aspx page I am working on. This checkbox is within a custom control and previously was posting back every time it was clicked. I am in the process of ajaxifying the page and have come...

Already using rewrite module to redirect to ssl - overkill to also do in asp.net?

I'm using the IIS 7 rewrite module to redirect a page to use https if http is detected. Is it possible that the rewrite module can be bypassed? Would be overkill to also put in an https check in the page_load code as well? ...

Publishing to IIS7 fileshare results in HTTP ERROR 403.13

I have an test server setup that is running a version of the site I am working on. I change nothing on the server (IIS and whatnot). I have a share mapped to a directory below where the site is running from. I publish into the directory from VS2010. When I hit the site the next time, I get "HTTP Error 403.14 - Forbidden - The Web ser...

How to check if background thread is still running (on IIS 7.0)

Context: .Net 3.5, ASP.Net MVC 2.0, on shared IIS 7.0 (integrated mode). I plan to use cache-event trick to create a background "process" that shall download pages over the internet and update local database. I plan to create a background thread, and then check if that thread is still alive (using cache-event trick). If thread dies, r...

Multiple IIS7 URL Rewrite rules

I'm trying to write IIS7 URL Rewrites rules that do two things: If a request is to http, force it to https If the url has a "www" in it, remove it and redirect to different url In both cases I want to redirect to https://my.domain.com (substitute for real domain name) I have no problem with the http to https rule. Also, the case of...

How to do excel interop on windows 2008?

Recently deployed my web app on Windows Server2008, IIS7 (with Office installed). After chasing (& catching) various other errors, I'm facing one I'm not sure even where to begin. On Cassini (visual studio dev server) everything worked flawlessly (reading excel through excel interop). On w2008 IIS it throws vague error: Value cann...

What is the maximum memory allowed for w3wp worker process on 64 bit IIS 7

What is the maximum memory allowed for w3wp worker process on 64 bit IIS 7. There are 16 Gigs on the web server and the w3wp worker process is using over 6 Gigs of memory (mostly session storage). We suddenly began experiencing high cpu and seeing much more garbage collection. Could we have reached the limits of the w3wp process and t...

IIS 7 impersonation and identities

I'm trying to get used to II7, having worked with IIS6 for quite some time. In IIS 6, I'd set <identity impersonate="true"/> in the web.config, and make sure that I applied the correct NTFS permissions to the IUSR_[MACHINENAME] account if a folder required more than read permissions. In IIS 7, I'm having trouble duplicating this setup ...

IIS 7/ASP.NET 4/MVC 3 Preview 1: random "Could not load file or assembly" errors

I'm using the new Razor ViewEngine with ASP.NET 4/ASP.NET MVC 3. In both Cassini on my local machine (Win7 x64/VS 2010), as well as IIS7 (Windows Web Server 2008), I'm randomly getting "Could not load file or assembly" errors. With Cassini, rebuilding the solution generally fixes the problem. In IIS7, recycling the application pool ge...

Do ASP.NET Requests always BeginRequest and EndRequest on the same thread?

Does BeginRequest and EndRequest for an ASP.NET HttpApplication always occur on the exact same thread for a given HTTP request from a client? The reason I ask is that I am seeing some very strange behavior where a ThreadStatic variable is not null inside of an Init method for an IHttpModule. I set this ThreadStatic variable to a value...

Could not start ASP.NET or ATL Server debugging.

Hi, I installed visual studio 2003 on windows 7.But I am getting following error on when I press the F5 for debugging. Thanks Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server. ...