iis6

How to develop a https:// area using mvc2 and IIS 6 on your local machine

General question to experienced developers: I want to develop a secure an area on my local machine which I will then roll up to the remote server. I am using IIS 6 with MVC2 on VS 2008. I understand that the SSL provider will only issue a certificate to a given domain, which while I find this logical, cannot figure out how to build l...

IE 6 and chunked encoding problem

I'm experiencing the issue documented here: http://support.microsoft.com/kb/914453 You access Web applications or Web sites from a Web server that uses chunked transfer encoding on a Microsoft Windows Server 2003-based or on a Microsoft Windows XP-based computer. Then, the browser or the Web applications stop responding....

HTTP absolute links being changed to HTTPS

https://alpha.pbp1.com/Property/Secure/test.htm <a href="http://alpha.pbp1.com/Property/Default.aspx"&gt;Home&lt;/a&gt; This is a simple HTML page with a single href with the full absolute path to the website default page. When viewed from within our company network it renders as expected, with HTTP in the href. But when viewed fro...

Why am I getting the error "Unrecognized attribute 'targetFramework'" in iis6?

I have a MVC application using .Net 4.0 and have installed it on a server with IIS 6 on it. I installed .Net 4 on the server and changed the ASP.Net version to 4.0.xxx. Unfortunately, I am still getting the error "Unrecognized attribute 'targetFramework'". What am I missing? ...

custom 404 page with asp.net C# 3.5 on IIS6

Hello, for error handling I have a few lines of code for catching every error in the global.asax : void Application_Error(object sender, EventArgs e) the content of the function looks like this: try { Exception objErr = Server.GetLastError().GetBaseException(); if (!(objErr is HttpException)) { sho...

How do I exploit idle CPU time in an IIS App Pool?

I have an IIS 6.0-based C#/ASP.NET web site with a SQL server backend. I want to generate some computationally expensive reports (summaries, search engine indexes, etc...) in idle CPU time. I need the reports to be generated from WITHIN the IIS App Pool so it knows the proper configuration settings and (harder to fix) avoids the nightm...

Health monitoring not working

I am trying to set up health monitoring on an IIS 6/ASP.NET 2 application running on Windows Server 2003. What I want to do for a first step, is getting the Application Lifetime Events in addition to the default events (as specified in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config). On my dev machine running IIS 7 as ...

Temporary ASP.NET directory: Which folder for which website?

Hi there! We have a multi-use web server that has a bunch of separate web applications hosted on the same server (IIS6, Windows 2K3). Now, I'd like to clear the contents of the temporary asp.net files for a certain web application, however, how do we find out which directory in the temporary asp.net files maps to the appropriate websi...

The main differences between IIS6 and IIS7

Hi, I am writing a installer using WiX that will create a website and virtual directory, amongst other things, in IIS. I have been having trouble ensuring that the installer will work on both Windows Server 2003 with IIS6, Windows Server 2008 with IIS7 and Windows Server 2008 R2 with IIS7.5. One of the first problems that I came across...

Debugging WCF service hosted in IIS 6.0 using Visual Studio 2005

Hello all I've created a WCF service selecting 'WCF Service' in installed web site templates in VS2005. I've added a ASP.Net client for the service in the SAME solution. I published the WCF service in IIS 6.0 and configured it to run in .Net Framework 2.0. I did an IISAPP in command prompt and identified the PID of the w3wp.exe process...

ASP.NET MVC on IIS 6 problems

I am trying to get MVC to work on IIS6 and am having issues. I went through the steps on Haaked http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx I am trying to get the IIS6 Extension-less URLs to work I have done the steps,and when I navigate to my site I get this error: Could not load file or assembly '...

WFC SVC File emits HTML when called from a service client

I'm in the process of deploying a WCF service application. The service works fine if it's running as its own site, but the intention is for the service to run as a virtual directory of the Default web site of the server. When I set the service up in this configuration, I get an odd problem. When the client tries to make a service call...

How do I get my Wix installer to use an existing application pool in IIS6?

I am building a simple installer for a web application using Wix. I wish to use an existing app pool. The following code works as I want when installing the application. <iis:WebAppPool Id='MyAppPool' Name='CRMAppPool' /> This will set up the virtual directory using the existing CRMAppPool. The problem is when, I uninstall the appli...

WCF: Best way to send binary data for IIS-hosted services

I have WCF service that is IIS-hosted and I have to send binary data (memory stream that is created by service) in intranet environment. I use byte[] array in service contract method at present with httpBinding. Though array is not too big (500 KB typically) I am worried about unicode overhead (asmx soap web-services had one, but I'm ne...

IIS, 206 Error, randomly started happening with one file?

All of a sudden I'm getting a IIS 206 Error, partial content for one javascript file. The browser is consistently only able to download 146 of 298 KB of data on multiple browsers. I restarted the server Tried in multiple browsers after clearing the cache and cookis Confirmed I had permissions on the server to access the file Still it k...

Asp.Net - local ok => IIS => Not okay |using a datapager

I'm using a datapager of mine and for some reason it won't work on the IIS server, but it works in my local. Ask me what you want to know and i'll give you more details... :) This is the event i'm talking about: Protected Sub paging_load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then ...

Serving files from linux share on IIS 6.0

dHi, I'm trying to setup my IIS server (6.0) to serve files from a linux share. As I'm pretty unfamiliar with linux I ask the community for any input on this. I've had problems even having IIS server serve content from another windows machine share, this could be a prolem with our domain. The iis server is not on the domain. As I wa...

C# ws 2003 asp.net currentculture different to currentuiculture on one machine but not other

Hi all, I have two webservers, both ws 2003 machines, running behind a load balancer. machine 1 is working correct but machine 2 is incorrect. They are both running the same code base and use the same configuration. The issue is that dates are not working correctly on machine 2, we realized that it was due to the culture. machine 1:...

IIS 6 Default Page Not Working

I have a website on IIS 6 which is configured as a subdomain such as "subdomain.site.com". "default.asp" is configured in IIS as the only default page on the Documents tab of the Web Site. The "Enable Default Content Page" checkbox is also checked. When I attempt to browse to just "subdomain.site.com", I get a 404 error. However, w...

IIS6 Virtual Directory not accessible as an app

I have a WinSrv2k3 box with IIS6 hosting a series of sites, one of which is a VB/.NET2 site. Inside this I have created a virtual directory and pointed it at a very simple C#/.NET3.5 site's directory. I was expecting the site to allow me to view the pages as a normal site (there is only one ASMX in the virtual directory) but when access...