iis7

Project location not in inetpub\wwwroot

If the website's physical directory is not in C:\inetpub\wwwroot and is instead in C:\MyProjects\Project1 - which account needs what rights to the MyProjects or the Project1 folder? I get a security error when I browse to the website. ...

Localhost on windows 7 configuration issue

When I am making changes on my localhost, it is not working. I am on windows 7 but when I copy the file in which the changes were made, and try to execute them in Windows XP, its working. I as I asked someone who has a lot of knowledge on this and they said it is a configuration issue. Someone else told me it was because of output cachi...

IIS7 - 500 Error Code

On a Windows Server 2008/IIS 7.5 environment, when I browse to a ASP.NET web site, I get the following error in the IIS log file: 2010-06-28 22:18:46 192.168.50.43 GET /TimeSheet - 443 - 192.168.50.41 Mozilla/4.0+ (compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729...

Classic ASP Sending errors to browser does not work on IIS7 for remote connections

I can’t get detailed error reporting for IIS7 for ASP pages on a remote browser connection. However, when I run the page locally on the server I do see a detailed error message. I have enabled Send Errors To Browser but IIS keeps sending an internal server error. I have unchecked show friendly HTTP error messages on IE. Does anyone kn...

Static content caching

We are using IIS7 and dotnet 3.5 in our company to build different web applications used by our internal as well as external customers. It has been recommended that we start using static content caching to cache image and html files. My understanding is that in web.config file we can set the cachecontrolmaxage to specify the number of d...

Windows Authentication succeeds but IsAuthenticated == false

Environment is IIS 7 integrated pipeline, ASP.NET 4.0. I have a .aspx page configured without anonymous authentication and with windows authentication: <location path="auth/windows"> <system.webServer> <security> <authentication> <anonymousAuthentication enabled="false" /> <windowsAuthentication e...

Can't add web reference to migrated ASP.NET project

I have upgraded two old (VS 2003/2005) projects to Visual Studio 2008. One is a web service project, and the other is a web application that references the first one. They were running on XP developer boxes and Server 2003. I'm trying to get them to run on my Windows 7 box with IIS 7. When I try to add a reference to the locally runn...

Rails IIS 7 Missing disptach.fcgi

I have been trying to install rails on IIS 7. I have been following guide here. However, after installing rails, I create a new rails app and there is no "dispatch.fcgi" in the public directory of the app. I assume that I am doing something wrong on the install of the rails gem or missing a dependency. Any help would be appreciated ...

How to setup up Single Sign On with a Windows 2008 RC2 and IIS7 server. [updated]

So a couple of weeks ago I installed an intranet solution for a client.. For this, they also wanted to integrate their (local) Active Directory with auto login (Single Sign On). After several tries and fails with Apache's solutions, I desided to use IIS7 on a Windows 2008 RC2. The problem was, I've had no experience with neither a Windo...

IIS7 AppCmd How To Set Application Pool of Site using XML

I'm trying to determine what the correct XML is to tell AppCmd to set a Site's application pool correctly. So far I've tried: <appcmd> <SITE SITE.NAME="~name~" Site.ApplicationPool="~name of existing apppool~" physicalPath="~path~" SITE.ID="17" bindings="http/*:80:~domain~,http/*:80:~domain~" state="Started" /> </appcmd> But the sit...

URL Rewrite for multilingual Website

Hello, I have a problem: I have an URL like that : /eng/myfolder/mycategory.aspx I would like to transform it in something like: index.aspx?FolderId=2&LanguageId=1&CategoryID=12 In a word I want to "write" that, eng => languageId=2 and myfolder => FolderId=2 and mycategory..... I don't know if i make myself clear but I was t...

Impossible to show errors with PHP under IIS7.5

The server is : Win 2008 R2 Php version is 5.2 if I remember correctly. (has been installed along with wordpress & mysql with WPI). I did install wordpress along with arras-theme. On some pages I do have 500 errors. Problem is, can't really debug and fix the error as it's 500, no errors are showing (no fatal/warning/notice or nothing). ...

HTTP.SYS Kernel mode driver

What is the big deal with HTTP.SYS in IIS 7? From what I understand, it is low level which is good for security. Why? There is no context switching which could be expensive. Why? Please explain. Thanks! ...

Direct different IP's to different pages on IIS7

Using IIS7, how do I direct internal private network IP's addresses to my web site while I direct external IP addresses to a "site under maintenance" page? So far on IIS7 I've found the section in IIS named "IPv4 Address and Domain Restrictions" and I can add the 3 internal ranges to that as an allow range. That seems easy. Now how do I...

Some help please for URL rewrite IIS 2.0

Hello, I have a problem: I have an URL like that : /eng/myfolder/mycategory.aspx I would like to transform it in something like: index.aspx?FolderId=2&LanguageId=1&CategoryID=12 In a word I want to "write" that, eng => languageId=2 and myfolder => FolderId=2 and mycategory..... I don't know if i make myself clear but Thanks. ...

ASP.NET MVC Images / CSS not showing for a web application with a web site

I have a number of web applications within my website in IIS 7.5, in which my MVC2 web application will live. WebSite * Prod * Test1 * Test2 I have firewall routing configured to redirect from http://test1.mywebsite.com/xxx to http://my.actual.website/Test1 I've used Url.Content("~/Content/Site.css") but the CSS is not ge...

IIS 7 Virtual Directory running PHP problem?

I have recently setup a site on IIS 7 Windows 2008 Server, with PHP FastCGI. This site was run previously on IIS 6 Windows 2003 server, and it ran without any problems, now however PHP pages within the virtual directory I get a 500 - Internal server error. Within the Virtual directory html pages come up no problem. PhP pages outside of t...

ASP.net/MVC file upload with URL rewrite enabled

I came across this interesting problem with an ASP.net MVC website, there is an Action method to process uploaded files and it works fine with cassini webserver but when I tried with IIS in my hosting machine the upload fails, after spending lot of time I noticed that it is because of the URL rewite rules inside set to change the incomin...

Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email protected]

Hi All, I am getting "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email protected]" when I try to send the mail using ASP.NET. The site is deployed on IIS7, Windows 2008 server. The website was working fine on IIS6 and Windows 2003 Server. I deployed it on IIS7, 2008 it has started giving me this error. Has anyb...

ASP.NET Application hosted on IIS7 that is ignoring custom errors and falls back to IIS errors

I have a C# web forms ASP.NET 4.0 web application that uses Routing for URLs for some reason custom errors defined in the system.web section of my web.config is entirely ignored and it will fall back the IIS errors. This gets entirely ignored <system.web> <customErrors mode="On"> <error statusCode="500" redirect="~/Error" /...