iis6

How do I change a web site from an IIS hosted site to an ASP.Net Development Server hosted site?

On my previous machine I had IIS6 installed and created a web project using IIS as the host. This project was completed, published to an internal hosting server and checked in to source control. I now need to go back and make a minor change to the project, however in the meantime I have acquired a new machine. On my new machine I don’t...

Is it OK to add the axd extension for IIS' HTTP compression?

I have enabled IIS 6's built in HTTP compression for the following types of files: HcFileExtensions="htm html txt css js" HcScriptFileExtensions="asp dll exe aspx asmx ascx" I am unclear however if it's appropriate to add the axd extension so that my WebResource.axd files will be compressed. Lastly, are ther...

Replicate IIS setup from one machine to another

Looked for an answer to this and didn't see it. This is for IIS 6.0 / Windows Server 2003. I'm working with an extremely large ASP/ASP.NET application and I'm trying to get my development environment to match my team members environment. This process is basically trial and error: get an error, go into IIS, make a change, hope the err...

ASP.NET Custom Errors being ignored

I have custom errors configured in my web.config, but IIS 6.0 is returning the custom error specified in the Custom Errors tab of the website configuration. <system.web> <customErrors> <error statusCode="404" redirect="UrlRedirect.aspx" /> </customErrors> </system.web> What can I be missing? ...

How do I setup IIS 6 with anonymous access for local asp.net webforms development ?

When I setup IIS6 to develop projects locally I have to enable "Integrated Windows Authentication" under directory security in order for my CSS & Images to show up. (Note: I have double checked that network service has rights to all directories in my web application) However this often causes my browser to prompt me for windows login us...

How much memory does each apppool use by default in IIS 6.0?

How much memory does Windows or IIS 6.0 allocate by default for each web site when each site runs in its own AppPool? The effect memory wise when web sites share the same AppPool vs each in a separate one. I am talking about when websites start up, not when web sites start using memory when they run applications. ...

Crystal Reports hanging

The company has recently implemented software not written by us. The software uses Crystal Reports and whenever somebody draws a particularly large report and close their browser before the report is finished loading, we cannot draw anymore reports. The only way to fix it is to reset iis which is obviously exceptionally bad practice. An...

Add authentication to subfolders without creating a web application

We have an existing publicly accessible web application with user controls, data access libraries, graphics, etc. We want to create a new secure section of the site that accesses some of the already existing resources. Initially we created the new section of the site as a virtual directory which (we hoped) would allow us to access the p...

Is there a way to always require or force the 'www' subdomain on a site?

I want to prevent users from going to say example.com and only go to www.example.com, we are using IIS 6. So say they go to example.com it could tack on the www.example.com, etc. Is this a setting somewhere or will I have to code it to check for the subdomain when they land and redirect accordingly? EDIT: I know the best way is to move...

IIS Permissions for Saving Word Documents

Our ASP.NET/C# lets users edit and manage Word (OpenXML) documents that are hosted on a server. I am using client-side VBScript functions to handle some of the editing functions including saving the document to a folder on the server. For the save functionality, I am using the following function call : Document.SaveAs "http://server/sav...

Problem publishing an MVC app on IIS6

I have a small MVC app that works locally, but when I publish it to the server (running IIS6), all the links get messed up. For example, a typical link when running locally would be: http://localhost:3467/Exceptions?exdate=20090108 However, when I publish it to our dev server at \\deverserver\apps\MyProject, note the duplication in t...

Giving full trust to a site in a medium trust host

I have admin access to a Windows 2003 server. The trust level is set to medium trust with allowOverride=false. I was wondering if there's a way to add an exception in the configuration files so that one site can run in full trust. By using the location tag? What if the AppPool has an identity in the admin group or the medium trust trum...

using non-latin characters in a URL

I'm working on a site which the client has had translated into Croatian and Slovenian. In keeping with our existing URL patterns we have generated URL re-writing rules that mimic the layout of the application which has lead to having many non-ascii charachters in the URLs. Examples š ž č Some links are triggered from Flash using getURL...

How to identify performance and concurrency issues on an ASP.NET / IIS / SQL Server website

I would appreciate any advice regarding tools and practices I could use to confirm my recently completed website is performing correctly. Although I am confident the code is not producing errors and is functionally operating as it should, I have little understanding of how to identify IIS, SQL Server and Windows performance/concurrency ...

HttpModule URL rewriting using IIS6 with no extensionless URLs

We are using the Intelligencia URLRewriting module for asp.net with version 2.0 of the framework and IIS6. Our URLs typically have no extension. I understand that IIS6 cannot really deal with this situation without a blanket wildcard (which causes other problems). However, it works! Sometimes. At other times (e.g. on one dev's mac...

httpHandler works for virtual directory but not similarly configured website

I am setting up a 3rd party website which makes heavy use of httpHandlers. When configured as a virtual directory under Default Site on a 2003/IIS6 machine, everything works as expected. When configured as a standalone site on the same machine, pointing to the same directory and web.config however, httpHandlers do not work (404). I have...

How to drop WIMP for LAMP

Does anyone have an example of something that can not be done on a Windows2000 server using PHP5? UPDATE: Just to clarify, my problem isn't with IIS, or that I'm an "only open source" kinda guy. It's that the hosting is a terrible package across the board. The storage and bandwidth are ridiculous, there's no control panel so in order t...

Asp.Net MVC Url.RouteUrl Problem on Windows 2003 vs. Visual Studio 2008

I'm seeing a difference in the output from Url.RouteUrl between my development machine and my deployment server. I'm running Visual Studio 2008 and my deployment box is Windows 2003 Server. I have configured the Global.asax.cs to run with the .aspx extension in my routing tables. However, when I use the "Search-Basic" named route, there ...

Can't get Log4Net to work in our WCF application

We are trying to use Log4Net to log from our IIS 6-deployed WCF Application. We are trying to log to a file, but can't seem to get the log files to be created, let alone see the logging output in them. The pertinent pieces of out web.config are: <sectionGroup name="common"> <section name="logging" type="Common.Logging.Configuratio...

404 BadRequest exposing WCF service through external IP using IIS host headers

Hi! We host a WCF webservice on Windows Server 2003. This server only has 2 internal IP's. We want to expose the service externally. This is done through the firewall that maps an external IP to the service. So, I would need to modify the service to display that external IP for the internal links. This is not an issue since it should o...