iis7

Hosting Mercurial on IIS7

Note, this might perhaps be best suited on serverfault.com, but since it is about hosting a programmer source code repository, I am not entirely sure. I'm posting here first, trusting that it'll be migrated if necessary. I'm attempting to host clones of my Mercurial repositories on my own server (I have the main repo somewhere else), an...

CgiModule and FastCgiModule in IIS7

My web server is IIS7 running on Windows 2008 Web edition. There are nearly 40 modules when checked pre-installed "Modules". It also having "CgiModule and FastCgiModules". All the websites installed on this server purely runs with ASP.NET technology. Can I remove these two modules to improve performance? Same way, my application uses "F...

Where is IIS Out-Of-Process in Windows Server 2008?

Hi, I've installed all the components of IIS 7 on a Windows Server 2008 box but I don't see IIS Out-Of-Process Pooled Applications in Component Services. How do I get it ? I have a .dll file that I want to drag it here. I have IIS 6 locally and it has IIS Out-Of-Process Pooled Applications under Control Panel -> Administrative Tools ->...

Diagnosing IIS Shutdowns

Symptoms: I attach a debugger, I wait a little while, it automatically detaches I watch the event log during normal operation - after a single request comes in, it waits a little bit, the shuts down Disagnosing. I've followed the following steps for logging shutdowns in IIS: http://weblogs.asp.net/scottgu/archive/2005/12/14/433194....

What is httpContext.Response.SubStatusCode for?

What is httpContext.Response.SubStatusCode for? this value is part of the IIS integration mode pipeline. ...

Compiled ASP.NET application can be viewed locally only

I have a development website running on my local machine, I can access it locally by typing the address http://mycomputer.mynetwork.local/myapp/default.aspx however when anybody else tries to browse to it they get an error: Server Error in '/' Application. The resource cannot be found. Description: HTTP 404. The resource you are looki...

Opening Word documents from IE LAG Windows 7 IE8

Hi, I'm having a lot of trouble opening documents from a network share in word using IE. The documents are located in a network share which is mapped to a virtual directory. The documents are accessed by URLs that link to the virtual directory. There is now a huge lag (sometimes up to a minute or two!) from when clicking on the link ...

ASP.NET SQLMembership Provider not logging in

My web app uses the sql memebership provider. Running it locally all is well, deploying to a dev server it works fine too in firefox, but in IE8 something unexpected is happening. Once a user logs in they're supposed to be redirected to home.aspx. What's happening when I attempt to login is it appears to accept the login credentials bu...

Receiving 404 error when trying to get to MVC application in local IIS

I have an existing web site setup on my local IIS built with web forms setup in this format: -MainSite -Application1 -Application2 -Application3 There are separate applications in each location, so MainSite has an application, and Application1 has another application and so on. This way development on different applications ...

Is there a free version of IIS to demo ASP.net applications on that will run on XP

Hi, Is there a free version of IIS to demo ASP.net applications on that will run on XP? (i.e. or does one need a machine with Windows Server and it's license for a demo - e.g. if a prototype was built in VS2010 but one wanted to demo it on another PC) ...

How to Delete a Virtual Directory from an FTP Site in IIS 7 and IIS 7.5 using C#/VB.Net and WMI?

Hi all. I hope everybody is doing fine. I try to delete a virtual directory using WMi (Server Manager Class) and recreate with different values. The problem i am facing is that the virtual directory is not getting deleted. Please help. How to check existance of a virtuual dir and the call delete? and similarly how check whether a ...

Cache images provided through script

I have a script, which by using several querystring variables provides an image. I am also using URL rewriting within IIS 7.5. So images have an URL like this: http://mydomain/pictures/ajfhajkfhal/44/thumb.jpg or http://mydomain/pictures/ajfhajkfhal/44.jpg This is rewritten to: http://mydomain/Picture.aspx?group=ajfhajkfhal&id=44&a...

Too many parameters in MVC2 Controllers or IIS problem?

I'm using a controller to call a stored procedure that requires 12 parameters. This works perfectly in debug mode locally (working against a remote database), but not when I publish it to my IIS 7 server. It complains about parameter #7, claiming it's not supplied with the URL. The URL call looks like this; http://localhost:50160/GetPl...

How can I sync my www files b/w servers?

I want to sync my data b/w all my web servers. How can this be done? ...

Why does the page posts take so long?

Hi! I am having some problems with some page post backs that take a loooong time to execute. If I do a "appcmd list requests" I can get something like this: REQUEST "79000001800004e3" (url:POST /dir/file.aspx, time:87219 msec, client:xxx.xxx.xxx.xxx, stage:ExecuteRequestHandler, module:ManagedPipelineHandler) REQUEST "8600000080002f8...

Save Configuration to File in IIS6 Equiv in IIS7

I’ve been reading a lot of posts and the like, but one of my questions aren’t getting answered and didn’t know if you have an idea. I have a setup where I have 10 sites, that each have 5 Applications and within those 5 applications, I have 3 Virtual Directories that could be copied and pasted to each app. For example: Site1 ...

IIS7 URL Rewrite and User Control postback

When a URL redirect rule fires on a page with user controls the user controls are robbed of their child control events. Does anyone have a solution for how to make URL Rewrite and user controls play nice? ...

Failed to generate a user instance of SQL Server

Hi. I been trying to get my Visual Studio 2008 to run my Web Application on IIS7 on my Windows 7 machine but I just can't get it to work. I'm using the SQLEXPRESS I been following this Tutorial, but I get the following error message. "Failed to generate a user instance of SQL Server due to failure in retrieving the user's local applica...

How do I protect static files with ASP.NET form auhentication on IIS 7.5?

Hi all I have a website running on a IIS 7.5 server with ASP.NET 4.0 on a shared host, but in full trust. The site is a basic "file browser" that allows the visitors to login and have a list of files available to them displayed, and, obviously, download the files. The static files (mostly pdf files) are located in a sub folder on the s...

ASP.Net, referenced assemblies not being loaded by IIS into AppDomain.

Hi, We are doing the following in the Application_Start (Global.ascx.cs) for a WCF Service hosted by IIS 7.0 (integrated pipeline). var mapperConfigurations = AppDomain.CurrentDomain.GetAssemblies() .SelectMany(a => a.GetExportedTypes().Where(t => typeof (IMapperConfiguration).IsAssignableFrom(t) && t.IsClass)) ...