iis7

Puzzling wildcard problem in IIS7 & Module

We have an ASP.NET 3.5 app running in IIS6 we're migrating to IIS7 & the integrated pipeline. Our app does some very simple URL rewriting to examine a URL like this: website.com/dealer/page.aspx stripping 'dealer' out, looking it up in the DB for context and going to page.aspx. In IIS6 this was a wildcard map. I moved the module to t...

Classic ASP using COM+ on x64 Windows Server 2008 and IIS7

(Note: I thought about posting this to serverfault, but I figured more developers have banged their heads against these issues than admins) I'm trying to set up a web page that uses both ASP Classic and ASP.NET 2.0 in the environment mentioned above. After applying many common fixes on the web and a few lucky guesses, the ASP.NET 2.0 pa...

Two same session_ids on two sites on different ii7 servers

Hi Everyone, I have a problem here.. i have site running on server A (with IIS7) and same site running on servers B (with IIS7). Now if i goto my site from Server A and then goto the same site from Server B both the time i get the same the session id. But when i got my sites set up on IIS6 i get different session ids no matter which i...

How can I debug PHP in IIS?

I'm starting to move some sites to WordPress hosted in IIS7 using PHP 5.3 & FastCGI. I'm quickly finding that while the core of WordPress seems to work just fine out of the box, there are a number of plugins that have issues running in IIS and I'd like to be able to debug them, fix them, and submit patches. The only solution I've found ...

Converting website from running on IIS 6.0 to iis 7.0 using native integrated pipeline mode on Server 2008 64 bit

Hi Summary To get my site running smoothly on a 64bit server platform, using IIS 7.0 Integrated pipeline mode, what are the things I would need to fix in order for this to work. Some more detail I am aware of, that if a assembly uses PInvoke and I have a reference to such a assembly in my project, the error message I will get will pr...

WCF - IIS 6 vs. IIS 7

Hello, I have created a WCF service on my local machine. My local machine uses Windows 7 RC1, thus the web server is IIS 7. However, my production machine is a Windows Server 2003 using IIS 6. When I attempt to reference the service in my local environment, everything works fine. However, when I promote my service to my production mach...

IIS7 - Password Protect Development Server

Hi, I have a development server running IIS 7.0 with an ASP.NET MVC Web Application, that authenticates using Forms Authentication/Membership. I need to be able to prevent unauthorized users from viewing this site. Our customers however should be able to enter a simple username/password to gain access. After they do so, they should ...

iis7 virtual-directory redirect change from iis6

I have an ASP.NET 3.5 application that started in 1.1 and has been ported from IIS5 to IIS6 and now we're going to IIS7. Back in the 1.1 days we implemented URL-rewriting functionality based on HTTP Modules that still works great - fairly complex logic that is very stable. It allows us to take URL's like this www.abc.com/merchant and ...

How to manage IIS from web page

I have the need to add Host Headers to an existing web site in IIS. I want to be able to add this host header via a Web page, ASPX page. Also, I want to able to create a new web site from file. Sample code? How to do I manage security issues, what issues should I be concerned about? How many host headers can a single web site have? I a...

IIS7 is throwing a 500 error intermittently. Can anyone help me diagnose it?

Sorry for the vague title, as I really can't explain this problem succinctly. Basically I have Windows Server 2008 x64, IIS7, ASP.NET 2.05, and I have a site running in a Classic AppPool (and no I cannot run in Integrated). When trying to load an *.aspx file for the first time (i.e. after installing site, restarting the server, etc) I...

Asp.Net MVC Ajax.ActionLink behaivour different when using built in VS2008 dev server to IIS hosted

Hi This is a really strange issue. I have developed a small MVC application and have done testing up until now using the VS2008 built in dev server and everything works as I expect. I have now moved the solution to IIS hosted and I see different results in a view which uses an Ajax.ActionLink. The actionlink links to a controller actio...

Setting up HTTP Redirect for SEO in IIS7

Hi, I want all requests to http://mydomain.com to be 301 redirected to http://www.mydomain.com for SEO purposes. In order to do this, can I use IIS7's HTTP redirect method? I tried setting the HTTP redirect to www.mydomain.com, but this led to a permanent loop. Edit: URL Rewrite will do the job, and I am going to use it, unless somebo...

IIS7 URL Rewrite - not able to postback

Hi, I am trying to use IIS7're URL Rewrite module to have my domain root page displayed as http://www.gulfdine.com instead of gulfdine.com/default.aspx. To do this, I created a rule in the Rewrite module as shown below: <rule name="Default Document" stopProcessing="true"> <match url="(.*)default.aspx" /> <action type="...

IIS7 Replication Configuration Settings

I am trying to set up a web farm where IIS configuration settings are replicated between the 2 servers. I do not want to use a shared configuration as this presents another point of failure. I have both machines (WWW1 and WWW2) set up to use a configuration file on D:\IISConfig. With this done I manually copy the configruation files ...

Enabling windows authentication in IIS

I am on vista home premium (32 bit) and I need to enable windows authentication for IIS because the Sitefinity sample site returns a 401. However, in add windows features, there is no sign of windows authentication despite having expanded all the treeviews. How can I enable windows auth? Thanks ...

File upload permission problem IIS 7

I am unable to upload files to website hosted under IIS7. I have already given write permissions to "IUSR_websitename" and set the property in web.config also. I am able to upload files with out log in to application at the time of user registration. But once log in to application, if I upload files, it is giving "Access denied" error....

File upload iis7

Hi, I have a website and my users can browse the website for general information. If user wants to post any data, they need to register in the website. At the time of registration (in registration form) they can upload their photo. Once registration process is completed they can even modify the previously uploaded photo. My users are f...

Configuration Error on custom config section -- could not find the file specified?

Hi -- This has worked fine locally for months and just broke on deployment to the server (discountasp). I'm developing with .net 3.5 and asp.net mvc. I've previously successfully hosted asp.net mvc applications on this same account (but without the config section). I have a custom config section set up in my web.config file that's caus...

Stop ASP.Net from recycling app pool due to "changes to the bin"

Greetings, I have a large .Net web app which runs on a farm of blades with the code base on a NAS. Every once in a while slight fluctuations in the response time of the nas cause .NET to think that something in the bin has changed and kick off a recycle of the app pool. No change has actually occurred. Is there a way to disable .Net's m...

.NET 3.5 Download Large Files

Hi, I want to allow users to download a large file - around 4GB. I'd like them to have the ability to resume failed downloads. Can anyone make any recommendations on the best way to do this? Or are there any off the shelf components out there that ppl have had success with? I'm using IIS7 to host the app. I've seen a few approaches...