iis7

Help needed with an IIS7 rewrite rule

I have a shared hosting account on Winhost and I have multiple domains pointed at the site root that I'm trying to operate as different sites, but with the same MVC application, thus: www.domain1.com/1/products/123 www.domain2.com/2/products/456 www.domain3.com/3/products/789 The base route is therefore: routes.MapRoute( "Defaul...

Implementing SSL to My WebSite

What are the Steps I need to add SSL to my Website hosted at IIS 7 in Windows Server 2008? The application was Done in ASP.NET 3.5 and the application follows SOA (Service Oriented Architecture) with WCF services accessing data from SQL Server through a Business and Data Access Layer. ...

Reading Host-Bindings of IIS7-Website

hi! is there any possiblity to read all host-bindings of an IIS7-Website and store it to text-file? i would prefer a simple cmd or powershell-call with an >> output thanks in advance! ...

IIS Manager Bad Data. 0x80090005

When I tried to set Physical Path Credentials in the Advanced Settings, I've got an error message as follows: Internet Information Services (IIS) Manager Bad Data. (Exception from HRESULT: 0x80090005) And it prevents me to set specific user to access network shared folder. Strangely, I have another server with same configuration, it ...

Dns NS on windows server 2008.

Hi. I want to use my winserver 2008 to host my own pages. I got a couple of domains. So I want to setup my server to it. Now to the questions and thoughts. 1.Do I create NS1, NS2, NS3 on this one server? If are they done in the _msdcs, or the MYDNS.COM.. NS I mean Name Server, i need atleas 2 to redirect the domain(u knew this but any...

Does running IIS7 in classic mode affect MVC output caching?

I have a need to run an application in classic mode for backwards compatibility with a specific application, and am trying to understand what kind of impact that will have on the performance of an MVC application that is running on the site. If we put a few static file maps (for .js, .css, .png, etc) above the ASP.NET wildcard map to re...

Microsoft Office Interop Excel 12.0 not working in IIS 7

Hi, I am creating a pivot table excel sheet in my ASP .NET web application using Microsoft Office Interop Excel 12.0 components. It is creating the excel file correctly, when i run it from my Visual Studio 2008 in Debug/Release mode. But when i deploy the solution in IIS 7, first i got some permission issues, which i resolved by givin...

Why is include file associated configuration section being merged back into web.config when using IIS7 to manage sections?

My web.config file defines a configSource attribute for connectionStrings and appSettings. The two external files are connections.config and appsettings.config. Whenever I use IIS 7 to edit either of these two sections the external file entries are moved into the web.config file and the external file is blank. What is happeniong here ...

IIS7 Integrated vs Classic Pipeline - which uses more ASP.NET threads?

With integrated pipeline, all requests are passed through ASP.NET, including images, CSS. Whereas, in classic pipeline, only requests for ASPX pages are by default passed through ASP.NET. Could integrated pipeline negatively affect thread usage? Suppose I request 500 MB binary file from an IIS server: With integrated pipeline, an AS...

IIS7 on Windows 7 and trying to browse to localhost:80 changes to localhost

On Windows 7 I open IE 8 and browse to localhost:80 and something is changing it to localhost. Why is this happening? The same happens if i browse to 127.0.0.1:80 it changes to 127.0.0.1 (without the port). I am trying to use fiddler to browse locally i.e. via http://localhost./80 and it is not working thanks ...

How to upload files from a web app into Flash Media Server correctly?

My company is building Flash video web app which features uploading. I am in charge of this project, and have some and questions before I start to plan the structure and code. We have a Windows server machine, running 2008, where we are going to host this app. We develop primarily in ASP.NET MVC using C#. We are going to put the Flash ...

Error: The WebResource.axd handler must be registered in the configuration to process this request.

Hi, I have created a simple application with 1 textbox, 1 button and a validator control. When I deploy it to the Windows server 2008, I get the following error. The WebResource.axd handler must be registered in the configuration to process this request. I have added the following handler but it still gives the same exception. If I r...

IIS site always returns 404 to WinMo emulator

I'm running Win7x64 Ultimate with Visual Studio 2008. I have a website built in ASP.NET 3.5 and hosted via IIS on my box. I can run the website perfectly fine and I can hit all of the web services that I have built in the website, using a web browser. When I pull up my Windows Mobile 6 emulator and hit the site (using my IP address) it ...

Registry Access in ASP.NET Application running on Windows 7

I've migrated an ASP.NET web application from Server 2003(x86) to a Windows 7(x64) machine. The web application cannot find registry values that were stored under: SOFTWARE\SomeApplicationName\SubLocation\SubLocation2 being accesed through the Registry.LocalMachine.OpenSubKey api located in the Microsoft.Win32 namespace. My question...

Turn IIS7 HTTP Error Handling Off?

I just got setup on my first Windows Server 2008 / IIS7.5 server for a contest I am participating in. I can't for the life of me figure out how to turn OFF error handling COMPLETELY. The only options I see are: Custom Detailed Detailed Local, custom for remote I want to turn the feature off completely, and I don't see any way to do t...

Why does Sitecore throw a NullReferenceException exception when I redirect to one of its pages?

I'm running Sitecore 6.1 on Windows 2008, IIS7, and I'm trying to use the URL Rewrite Module to do a redirect. When I enable the rule and hit the URL that triggers it, I get a YSOD. The same rule works perfectly on a non-sitecore site on the same machine. According to the Failed Request Trace, the rewrite module does its thing just fine,...

Setting up the root url in IIS7 for asp.net mvc 2

I have a bit of a strange question. I'm building a multi tenant website with Asp.net MVC 2 and running it on IIS7. I'm trying to get my dev environment setup properly for testing but I'm having a weird issue though. I created the website in IIS and pointed the directory to the location of my source code. I have just the basic HomeContr...

IIS removes If-None-Match and If-Modified-Since headers

I have an ASHX handler or an ASPX page (the problem happens in both cases). The web client sends a request containing If-None-Match and/or If-Modified-Since headers but context.Request.Headers.Get("If-None-Match") or context.Request.Headers.Get("If-Modified-Since") is null in the handler. The same script works in my local development ...

Setting IIS 7.0 ApplicationPoolQueue Length > 64K?

I'm having an issue with a migration to IIS 7.0. In the previous version of IIS I have been able to set the Application Pool queueLength to 0 to set it to 'unlimited' but in IIS 7.0 the max it will let me set it to is 64K. It is recommended that you set this value to 1.5 times the number of concurrent connections otherwise you might g...

Setting up 301 redirects with Dynamic URLs

I'm guessing this is actually an impossible task, but I thought I'd run it by StackOverflow to see if I'm wrong. Basically we have some dynamically created URLs for SEO purposes (around 300,000+ of them) and we want to do 301 redirects to them. Our current URLs look like this: http://www.site.com/&lt;Brand&gt;/&lt;Product Name>/<pr...