iis7

.htaccess files when hosting Drupal 6 sites on IIS 7?

I want to run Drupal 6 on our Windows 2008 server using the included IIS 7 web server. There are a few blogs giving various instructions on doing so, but when I try to create Drupal sites and/or active some modules using IIS 7, I get error messages about creating folders and/or missing .htaccess files. It looks like Drupal relies on .h...

Using WiX to create an IIS virtual directory

I'd ask this on the WiX mailing list, but it seems to be down. I have an application which is both a desktop app and a web app which runs locally. I've created a couple of basic WiX installers, but haven't yet used the IIS extension to create a virtual directory under IIS. I haven't been able to find a simple example of how to do this. ...

PHP 4 and PHP 5 both running on IIS7

I have a server that hosts a bunch of sites in PHP5. I have an old site that was designed for PHP4 that I also need on the server. Originally, I was just going to port the code to PHP5, but have discovered that process is more intense that I have time for so I need to have PHP4 and PHP5 running on the same Server 2008 box. I think thi...

How to redirect subfolder to query in Mod Rewrite for IIS 7.0?

I'm using Mod Rewrite for IIS 7.0 from iis.net and want to redirect requests: http://example.com/users/foo to http://example.com/User.aspx?name=foo http://example.com/users/1 to http://example.com/User.aspx?id=1 I have created 2 rules: <rule name="ID"> <match url="/users/([0-9])" /> <action type="Rewrite" url="/User.aspx?id={R...

IIS7 or ASP.NET is returning an odd client IP Address

In my ASP.NET application, I'm saying something like this to get the client IP address: string ipAddress = HttpContext.Current.Request.UserHostAddress; This is the normal, straightforward way that I've always used, and it's always seemed to work. Everybody knows that the above statement is just a wrapper for the REMOTE_ADDR server va...

How to guide for getting a classic asp application working under IIS 7.0

I am looking for a nice easy step by step "How To" guide for getting a classic asp application working under IIS 7.0. It is on a 64 bit windows server 2008 machine if that makes any difference. ...

IIS 7 'Server.CreateObject failed'

I've installed IIS7 on my workstation and enabled IIS6 compatibility so I can test classic asp pages (for some old projects here at work). Some pages work, but others don't. I receive: Serverobject error 'ASP 0177 : 800401f3' Server.CreateObject failed /master.central.be/master_connection.asp, line 55 800401f3 On that line i've g...

Running an MVC Application as a Sub-Application?

I'm attempting to create an MVC application as a sub-application to my standard Asp.Net Web application. Both of these projects are inside the same solution. While the parent application appears to be going fine, I'm having trouble getting the sub-application to work. After some massaging of my two web.configs, I was able to get the Asp....

IIS7 Cache-Control

I'm trying to do something which I thought would be fairly simple. Get IIS 7 to tell clients they can cache all images on my site for a certain amount of time, let's say 24 hours. I have tried the step on http://www.galcho.com/Blog/PermaLink.aspx?guid=490f3c31-1815-40fc-a871-5d6899fa35e0 but to no avail. I still get requests going to...

How to create a virtual directory in IIS7 for ASP.NET?

I have an ASP.NET web site, my machine has IIS7 running on Windows Vista home premium. I want it to be visible to other computers on the LAN. Do I need to create a virtual directory? How can I create a virtual directory on my machine? How do I have to deploy it for others to see my web application? ...

How to register ASP.NET 2.0 to web server(IIS7)?

Hi., I have a web-page application already created, but when I open it in visual studio 2008, it says there that: ASP.NET 2.0 has not been registered on the Web Server. You need to manually configure you Web server for ASP.NET 2.0 in order for your site to run correctly. I'm using asp.net 2.0, IIS7 and running on vista home prem...

IIS7 javascript error on remote machine only

Hi, I have a working asp.net app with a lot of telerik controls, jQuery, dynamic data and lots of aax calls. On my dev machine everything runs fine. No errors. Deployed to the web server (iis7 on w2k8) the app runs fine when seen in IE on the server. But IE on any remote machine (tested on XP and Vista)) gives me a expected ';' javascr...

Why is the viewstate resetting?

Background: I developed a web app in ASP.Net 3.5 in C#. It runs great but now a few users have reported that they recieve an error sometimes. I have tried to duplicate the error but it has been hard. One time though when I let the app sit I came back later and tried to move it along and it errored out. I would think that has somethi...

ViewState does not keep variables and errors out.

Let me see if I can re-word this better and maybe get some more relavent answers or ideas. This has happened a few times now as reported by users. I cannot reproduce on my local server. I am checking each of the IIS settings now to make sure they match. But on our production server here are the details: Single Server No Authentica...

Web Routing for IIS6 and II7 Classic Mode? *NOT* MVC

According to the msdn.microsoft.com site, .NET 3.5 Routing should work under IIS6 and II7 in classic mode. I've made the mods to the web.config file and tested under IIS7 integrated mode and it's working great. I'd love to keep IIS7 Integrated, but my webhost is still just IIS6 (with .net 3.5). So... has anyone gotten this to work? I...

How many different places do you have to set date formats in IIS 7.0 and win2k8.

I am trying to migrate an old classic asp application to IIS 7.0 with win2k8 and I definately don't want to change the old code if I can help it. I have set a date format in the Customise Regional Options in the Date formats in the regional and and language options in the control panel to dd-MMM-yy. I am still getting Conversion_failed...

How do I programmatically create a FTP site in IIS7 on Windows7?

I am looking to do this step: 'Creating a New FTP Site by Editing the IIS 7.0 Configuration Files' with a batch file and was wondering if anybody has done this already? http://learn.iis.net/page.aspx/301/creating-a-new-ftp-site/ ...

"'Sys' is undefined" error running ASP.NET MVC application in IIS7

Hi, I'm using the ASP.NET MVC in my web application. It uses AJAX (MicrosoftAjax.js, MicrosoftMvcAjax.js, jquery-1.3.1.min.js) to make the call from the view to the Delete action with this code: <%= Ajax.ActionLink("Delete", "Delete", new { id=item.id }, new AjaxOptions { Confirm = "Are you sure you want to delete the record?", HttpMeth...

Differences between IIS 6.0 / Windows 2003 and IIS 7.0 / Windows 2008

I am considering currently to get a VPS for some of my development test. I found some VPS at a cheap price, which suits me as it's only going to be used as a sandbox. So far I know it is possible to install .Net 3.5 on the windows 2003 without problems, if I am correct it will be also possible to use IIS6 for all my development includi...

I want to use ASP.Net MVC. My server is Win 2003 and it uses IIS 6, will all this work together?

ASP.Net MVC is finally available as version 1. I have been waiting for an official release before I try to start using it. At the moment I have a dedicated web server which I have complete access to via remote desktop. It is running Win 2003 Server with IIS6 (I think it is IIS6, they don't print the version in the Help -> About but a bit...