iis7

ruby on rails + iis7....

Hi, I'm attempting to setup Ruby on Rails on IIS7. I've been reading lots of guides, but this seems to be the only up-to-date version I can find: http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx Although I have set the correct network permissions (and even as a test given the everyone group full ...

using appcmd to add new web site issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0. I want to using appcmd to add a new web site, my scenario is like this. All my web site files are under folder c:\template; I want to add my new web site as a virtual directory under default web site, the virtual directory is called "testsite1"; I want to use the default ...

How do I change the physical path of web site in IIS7 with APPCMD?

I need to change the physical path of a web site through the command line via the appcmd.exe tool, but I can't figure out the syntax. Can someone help? ...

Internal Server Error due to config lockdown when deploying my ASP.NET MVC app to my web host

I'm developing an ASP.NET MVC website on a local Windows Server 2008/IIS7 machine and am I'm now attempting to deploy it to my web host provider, ASPnix. I'm using their Shared Web Hosting service and have been placed on an IIS7 server which they claim supports ASP.NET MVC. However, when I deploy the application up to their servers, I ...

Should I be able to see subjectAltName options when I view a certificate?

I've requested an certificate (for SSL on IIS 7) with several subjectAltNames. I'd read that some people might not like to do this because of the public being able to see links between different sites. (This doesn't matter as the certificate is for internal use). But this suggests that I should be able to see the subjectAltNames when ...

IIS_WPG (and IIS_IUSRS) member of "Authenticated Users" group?

Hello, i need a confirmation that IIS_WPG and the newer one IIS_IUSRS are also members of the "Authenticated Users" group. Can someone confirm this or am i beeing wrong? Thanks in advance! Regards, Krile ...

IIS7 access website from remote computer

i created a site on my iis7 it's like http://localhost:88/my i also can access it like this http://myip:88/my but when a friend of mine from a remote computer tried to access it like this http://myip:88/my it gives him 404 not found anybody can tell me what should i do to make it work from remote ? ...

Can I use wildcards in the web.config location path attribute?

In IIS 7 I try to deny access to all files with the extension .xml for all users. I tried the following setting in my web.config file: <location path="*.xml"> <system.web> <authorization> <deny users="*"/> </authorization> </system.web> </location> But then getting any file results in an internal server e...

Global.asax not loading for precompiled asp.net website

I used Visual Studio 2008 to publish my asp.net website. When I bring up the website on the server (Windows 2008 server), I noticed that the code in global.asax was not running. My Global.asax body is similar to: <%@ Application Language="C#" %> <script runat="server"> protected void Application_Start() { // Initialize...

Trouble setting up WebDAV

Rather than using FTP to access my hosting provider, which I read is unsecure, I'm trying to set up WebDAV (which I've never done before). I don't see WebDAV in the Actions pane of IIS Manager. So I found a link at http://www.iis.net/extensions/WebDAV to install it. I'm running Windows 7, so when the Web Platform Installer gave a mess...

What's the best place for a database-backed, memory-resident global cache in an ASP.NET web server?

I have to cache an object hierarchy in-memory for performance reasons, which reflects a simple database table with columns (ObjectID, ParentObjectID, Timestamp) and view CurrentObjectHierarchy. I query the CurrentObjectHierarchy and use a hash table to cache the current parents of each object for quickly looking up the parent object ID,...

Context, Membership, Etc Null when using MVC on IIS7

I'm sure this must be something simple that I'm missing. I'm using MVC Routing in my Forms applicaiton for Url Routing. On most of the forms I access the Context, Membership, etc. On my dev machine and on IIS6 everything works fine. I'm just trying to get to work on IIS7 and no luck. The Routing works as it should, but anytime I try...

How to create a web site with an application using MSBuild Extension Pack

What is the correct way to create a web site using the MSBuild Extension Pack? I'm trying to use the MSBuild Extension Pack to create a web site using the following target. Unfortunately I don't have the syntax correct. This target will throw an exception saying "InvalidOperationException: The specified path already exists.\r". This is...

ApplicationPoolIdentity in IIS7 401 errors

We have just started to use Windows Server 2008 R2 and IIS7.5 and I'm trying to move some existing sites across from our Windows 2003 box. I can get the sites running ok but am getting 401 errors for all the CSS / Images in the sites. Granting Everyone read access will solve this - but I'm not very happy doing this. I've read that IIS7....

How to protect static content on IIS7 in Classic Mode?

I know how to protect my static (HTML) pages in IIS6, and how to do it using the IIS7 Integrated Pipeline, but how can I protect my HTML pages from unauthorised access in IIS7 when running in Classic Mode? It's an ASP.NET site using forms authentication. ...

Using anonymous and basic authentication in the same folder under IIS7

I have a have Winforms client that uses Web services on a IIS7 (W2008) The client will first access a first.asmx page with anonymous aaccess, then access second.asmx with basic authentication (over SSL). This works fine in IIS6 where I can set first file to have anonymous authentication and the second file to have basic authentication. ...

IIS7 asp.net error while accessing webpage . "Cannot execute a program"

Hi I am getting the following error on accesign an application. The app is installed on IIS7 windows server 2008 Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe" /noconfig @"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\entitymanager\fc119101\f785f7e5\ugj1...

IIS7: Sharing Sessions Between Applications With State Server

I have my default website in IIS7 bound to an ASP.NET application. This application is using the ASP.NET State Server to store session data. I would like to add an additional ASP.NET MVC application to this website. Is it possible to share the session between these two applications using the state server? I've read that there are ways ...

How can a page in IE render differently between Cassini and IIS7?

I am completely confused - I have a website that renders perfectly in IE8 when run through Cassini (in Visual Studio) but has several messed up elements (style/look) when deployed to localhost and viewed through the same browser (IE8). I have run Beyond Compare 3 on the html and CSS files and they are exactly the same. Are there any cir...

Lock down a site using Forms Auth in IIS7 with Windows Auth

I've posted this on Server Fault, but as there is sort of a programming aspect to it, I'll post it here too. I have an ASP.NET MVC 1.0 application that uses Forms Authentication. We are using Windows Server 2008. I need to lock down the site so that only certain users (in AD Groups) can access the site. Unfortunately, though, when I set...