iis7

Check httpErrors errorMode programatically

How do I get the value of the errorMode property set in the <system.webServer><httpErrors> element in web.config? I'm trying to implement some "self-diagnostics" in an ASP.NET web application. When the app starts, it runs through some of the settings in web.config and confirm they're set correctly. While this code works quite nicely wh...

IIS/Plesk Not Serving Pages or Images

This site hosted on IIS 6, The only back end access I have to the server is via Plesk 7.6 both old :( the problem is, nothing on the site loads. Plain old .html is a blank page, .php tries to download and images do not load at all. There are other sites on this server that are loading images and pages both .html and .php perfectly just ...

How do I implement a custom message queue listener for WAS activation?

I'm writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I've found setup examples for configuring WAS service activation using MSMQ... but we aren't using MSMQ (using RabbitMQ) and I'm pretty sure I'll have to implement some kind of listener of m...

WCF Multiple Endpoints Under IIS7

I have a simple WCF service that we are developing... We are hosting in IIS7 on WinServer2k8 (though i cant get it to work in IIS7 on Win7 either) I want multiple endpoints for the same service contract but have the endpoints behave differently. For example I want one endpoint to return data as XML and another to return data in SOAP mes...

ASP.NET 1.1, FormsAuthentication, and IIS7 (Windows Server 2008 R2 x64)

Moving some old sites off an old server to a newer one running Windows Server 2008 x64. Some of the sites are running ASP.NET 1.1. I've gotten them all to work with minimal hiccups (other than making sure to remap each ASP.NET version via aspnet_regiis and copying over the 1.1 machine.config to the Framework64 location) except for FormsA...

Regex question using IIS7's URL Rewrite module

I'm using URL Rewrite module in IIS7 and using the User Friendly URL Rule template. I'm trying to get URLs like: Something/param1/something/param2/something/param3/something/something2/ etc.etc. to rewrite to SomethingEnd.aspx?param1=something&param2=something&param3=something/something2& etc.etc. Using the templates, it automatic...

What IIS version does Windows Server 2008 Web Edition come with

Also, if an application works on IIS 7, would it be cool on the new version (if there is any)? ...

ASP.Net MVC2 - IIS7.5 doesn't find view file for home page

We have a mid-sized asp.net project that we just promoted from our dev server (Windows 2003) to an external test server (Windows 2008 R2). On the test server, IIS is not finding our home page, which is located in the views/home folder (404 error). As far as we can tell, the settings are the same on both servers. I've confirmed HTTP ...

Could not load file or assembly while running in IIS 7.0 on a 64 bit OS

I am trying to host a web application in a Windows 2008R2 server on IIS7.0 which is 64 bit. I had been running my application on IIS 5.1 XP machine which is 32 bit. I have my dlls built with the 'x86' option and also I have enabled "Enable 32 bit applications" to True and also set the managed pipeline to Classic in the application pool o...

Obscure IIS7 ISAPI Filter problem

Hey, I am currently trying to migrate a legacy ASP application from Windows Server 2000 and IIS5 on to Windows Server 2008 and IIS7. The authentication for this application uses an ISAPI filter. Both the application and the ISAPI filter work in the new environment except for one problem. The application in question is set up to be the r...

How to combine Forms and windows authentication on IIS 7 asp.net 4?

Hi, I've really tried everything know...I think. =) I used this old article to some succes: http://msdn.microsoft.com/en-us/library/ms972958 Locally on my machine it seems to work for myself, but noone else gets verified by windowsauth. I then tried to set it up on a Server2008 R2 and doing all the IIS settings as in the article. For so...

Regex help needed!

I'm working on a multilingual application that uses IIS7-based url rewriting. I'd like the following Url actions: 1. fr-ca > index.aspx?l=&lc=fr-ca 2. fr-ca/ > index.aspx?l=&lc=fr-ca 3. fr-ca/568/sometitle > index.aspx?l=568&lc=fr-ca 4. 568/sometitle > > index.aspx?l=568&lc= Essentially, the initial fr-ca is optional. My current rul...

Could not load file or assembly 'Microsoft.JScript... or one of its dependencies... what gives?

What does this mean? This only happens on my local IIS where the site used to run fine no problem, it works fine on our DEV/QA servers but on my local machine I'm getting this, what gives? I had no knowledge of us using Microsoft.JScript ever, and doing a search of the project turns up nothing... Could not load file or assembly 'Microso...

How can I creating wildcard subdomains on MS windows servers

Can someone direct me to how the DNS and firewall can be configured to allow for wildcard subdomains to be passed. My understanding is that the DNS needs to have an entry that specifies the server using the wild card "*". I was hoping someone, somewhere, had outlined the process. I am a developer and will need to help the network guy...

NHibernate deployment on IIS7 problem

Hello, This might be quite common but I'm having an issue with nhibernate on iis7 my webservice works fine on visual studio 2008 default webserver but not on iis7. I've tried moving the httpmodule config section into the webserver/module section and I've also tried leaving the module config inside system.web/httpModules and switching th...

IIS deletes System.Web.Extensions.dll, why?

I moved a site to another server, it worked fine for a a while, but then crashed. I figured out that System.Web.Extensions.dll was missing, so I copied it again. After a while it was missing again. Using Process Monitor I figured out that IIS (w3wp.exe) deletes the file soon after I copy it to the bin folder. (CreateFile with "Read Attri...

IIS7 redirection to SharePoint Site problem ?

Hi all I have a sharepoint site hosted on windows server 2008 r2 and iis7. the sharepoint site is hosted on port 80. when I browse the site by typing the IP of the machine I receive a login window asking for credentials to connect the Machine. after providing credentials another login window asks for credentials to connect to the shar...

Copying ASP.net project to another IIS

I had an ASP.net project and I've copied and pasted the source files to another computer, but when I try and run them on this computers localhost: Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information M...

"PS c:\> New-WebSite -Blah:" throws Index was outside the bounds of the array

On one of my servers the command New-WebSite stopped working today (it was working fine yesterday), throwing the exception "Index was outside the bounds of the array". PS C:\Windows\system32> Import-Module WebAdministration PS C:\Windows\system32> New-WebSite -Blah New-Item : Index was outside the bounds of the array. + CategoryInf...

URL Rewrite Module. Rule doesn't work for urls containing "+" sign

The following rule works (successfully redirects) for urls like: www.site.com/some/path But doesn't work (404) for urls containing + sign: www.site.com/some/p+a+t+h And doesn't work (404) even when encoded: www.site.com/some/p%2Ba%2Bt%2Bh But works, when + is going after ? sign: www.site.com/some/path?+ Rule: <rule name="red...