iis6

Howto remote debug a vs2010 project on iis6?

Hi, i made a asp.net project in VS2010 with .net 4.0 everythink works fine. but when i copyed it to the server (IIS6 MS server 2003) it throws some exceptions and i dont know why, so i want to remote debug it, but i dont know how! so how can i remote debug? ...

[Solved] ASP.Net MVC deployment on IIS6, why do I get a 404 after enabling wildcard mapping?

Hi all, I have this ASP.NET MVC app that I've deployed on IIS6/Win2003 as a virtual directory, and I get a 404 error even after enabling wildcard mapping for aspnet_isapi.dll (as explained everywhere like http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/). Why so? In fact, without enabling this, I ge...

Configure IIS on Small Business Server 2003 to communicate with Apache in local network

hi, i have an IIS 6.x running on my windows 2003 sbs (Computer A), that is reachable from the internet von port 80 and the ssl port. I have a second machine (Computer B) running in my local network, where i have running an apache webserver with serveral application i want to make accessable from internet. i added iirf (Ionics Isapi ...

Error Handling on root website with no application

I have a root website with no application. Then under that root site are four virtual directories with applications. Each of these applications has good error handling. The root website has none. I added a web.config with a simple customerrors="remoteonly" and a redirect to the default error page which is a simple .htm file on this r...

Remotely programmatically manage IIS 6 and later

I have been trying to figure out how I would be able to write an application to deploy IIS configs to multiple WebServers. The web configurations will be taken from one environment and then be restored on one or more webservers. I have tried out the DirectroyServices API from .NET to manage IIS. I wanted to export all the configuratio...

IIS Request Timeout on long ASP.NET operation

I am experiencing a request timeout from IIS when I run a long operation. Behind the scene my ASP.NET application is processing data, but the number of records being processed is great, and thus the operation is taking a long time. However, I think IIS times out the session. Is this a problem with IIS or ASP.NET session? Thanks in adv...

When do cached static files expire if not specified?

In IIS6, I notice that when "Enable content expiration" is not enabled, no cache-related or expiration headers are sent with the response. Yet static content, such as css files are properly returning 304 statuses on subsequent visits. When does this content expire if nothing is specified? Is it browser dependent? ...

IIS memory leak detection techniques

I have a server running about 100+ WordPress sites of varying complexity and traffic volume. The OS is Windows 2003 Server running IIS 6 with the domains being managed via HELM. The thing is there are times when sites stop responding due to insufficient memory, but it has been difficult to track the particular site(s) or other culprit th...

Page Speed recognizes expiers headers, but YSlow doesn't

We're running IIS6 on Windows Server 2003. Our site is written in ASP.NET. We configured our site to expire headers after 7 days. While Page Speed gives us a check for "Leverage browser caching", YSlow gives us an F on "Add Expires headers". How can that be? An example page can be found here ...

Asp.net MVC SQL Server State IIS 6

Is it possible to implement SQL Session State with ASP.NET MVC without the addition of code to our webapp? We need this to be a transparent switch from In-proc to SQLServer. ...

Logging server-wide request data (including POST data) in IIS 6 / ASP.NET webforms

Here's the big picture. We're running a server in IIS 6 that hosts several web sites and applications, and we're in the process of moving the whole thing to a different data center with a slightly different setup. We've notified our users and updated our DNS info so that theoretically everyone will be happily hitting the new server fro...

Why does calling File.Delete() and File.Move() in ASP.NET cause my worker process to hang?

When I execute the following code to delete and move a file my worker process hangs: File.Delete(FullSourceFilePath); File.Move(FullTempFilePath, FullSourceFilePath); // update db Data.AdminUpdateFileSizeandBitrate(FileId, SizeInbytes, Bitrate); Response.Redirect("?m=File replaced!"); The folder FullSourceFilePath has more than 15000 ...

How to configure url rewriting in IIS6 to consider /my_directory/ like a page?

I'm working on Windows Server2003 with the following: IIS6 .NET Runtime 2.0 ASP.NET C# I've got some pages like these: fr.mywebsite.eu/productA/sub_product1.html fr.mywebsite.eu/productA/sub_product2.html fr.mywebsite.eu/productB/sub_product14.html fr.mywebsite.eu/productC/sub_product26.html The directories prod...

When using a subdomain in IIS, failing to authenticate when attempting to make an Ajax call

I've set up a subdomain for localhost on IIS6 by following instructions from another SO answer. Now, when my app starts up and I point to the subdomain, the index page itself loads OK, but ajax calls (to a relative path, ex: "/Service/Grid/") are raising an authentication dialog (which refuses to authenticate me, no matter what user an...

C# in VS2010, using WCF, Hierachical Certificates and IIS6

Hi guys, We've been working a lot in an application developed in VS 2010, C#, and WCF. We use Transport as the security mode, and in the TransportSecurity Properties set to None and None. We are hosting the service in IIS6. After working a lot we managed to make it work using https. The Certificate we used was a self created one, creat...

Why am I getting 400 bad request when calling a .Net 2.0 web service from WCF over https?

I have a web service that contains a method I need to run to generate a report. The web service method is written in .Net 2.0 and works fine on my test system which runs on the same server as the live system. The only difference is that the live version uses https. Whenever I change the endpoint address to the live service and run my ap...

How do I set the correct decimal separator in IIS 6.0?

Hello everybody, I hope you can help me here... I have a conflict with the decimal separator on my host's dedicated server. The DB (SQL SERVER 2005) uses dot as decimal separator. As a fact, if you query it directly using SQL Server Management you would get dots. However, when the application (.NET C# MVC 2) is running it uses comma inst...

Hosting Student Projects on IIS7 in cloud

I am planning to teach an ASP.NET MVC course some time. I would like to host the students project's on a web server accessible via internet. To this effect I am planning to rent a Windows machine on Amazon ec2. The students will be uploading their ASP.NET Websites so that they can see their projects online and allow other students to acc...

How do I assign limited console program access to IIS 6?

Let's say I have a simple console program to fetch a list of files given the folder name. I want to call the console program using PHP code on a site that is running on a unique Windows user account (ie not the default web user account). Is there a way I can allow the Windows account access to the console program without giving it blanke...

How can I redirect my wb site visitors to an m.mydomain.com version when started from a mobile phone ?

How can I (or would you) redirect visitors visiting your web pages when they are viewing your site from a mobile phone ? I want to set up a site with the (standard?) m. prefix. Idially I would my visitors to be redirected to these pages when they visit my site using a mobile phone ? I am using Windows IIS6 and IIS7. ...