iis6

Massive Temp Files Being Generated By Application - ASP.NET MVC/IIS 6

Hi All, I just recently put an ASP.NET MVC application I developed/tested/etc up to my company's production server (IIS 6). However, it is generating some massive temp files (up to 1GB!), which is a problem, since the server is running a 2GB partition. UPDATE: MORE INFO: The temp files are being put into the c:\windows\temp directory I...

How can I save the Application variables when IIS recycles and reload them after?

I have a variable declared called "Context" which is of type System.Web.HttpApplication On this variable I access a list called "Application" as follows. Context.Application.Add("NameOfItem", ItemToStore) What I want to do is use the Global.asx file to save the contents of the "Application" list to a file when IIS restarts/recycles a...

Virtual Directory App within a Asp.net MVC app

I am having issues trying to host screwturn wiki as a virtual directory application within my current domain. the domain is hosted as something.com and the wiki would look like something.com/wiki when i browse to something.com/wiki I get Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, Public...

Elect one web application instance to perform a task triggered by an external event?

I have an ASP.NET application running on multiple IIS6 web servers, with a SQL Server 2005 database back-end. I need to: monitor the database for the completion of an external job event, and then have exactly one web application instance submit some information to a web service For (1) it seems like a SqlDependency would be the best...

Why doesn't my Entity Framework app work on production server?

I get following error when deploying on test server with II6 and Framework 3.5 SP1 installed. The located assembly's manifest definition does not match the assembly reference My development machine is a 64bit pc with Visual Studio 2008. Any suggestions? ...

Help with mvc deploy on asp site

Hello, i have this problem... i have an ASP.NET MVC application locally and i have in one server another application in asp, i need to add the mvc application to the asp application. So i have "http://www.aspApp.com/mvcApp" but i cant work with the mvc application, when i call for example /Controller.aspx/Action, it throws a 404 error, a...

WCF in IIS 6: Server cannot set status after HTTP headers have been sent

I have a WCF service that is essentially running in a loop and outputting files to a directory. I am getting this interesting error that I managed to find with tracing enabled <E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"&gt; <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"&gt; <...

Can IIS6 be at fault?

I've spent 3 long weeks testing a web service hosted in IIS6. Its undergone some cosmetic changes from WCF back to ASMX. I've exhausted myself trying to find out why every now and again I get a thread abort message. YES the service is complex and takes time to complete, but the same operation works perfectly for hours, and during the...

What is the Limit of IIS 6.0

What is the limit of IIS 6.0? like for example if i need to host 100,000 or 200,000 websites on IIS 6.0, how many machines would i need? or is IIS7 would be a better choice in this case for some reason? ...

Error on opening ASP website

Dear all We changed the server of our ASP website and in new setting browsing the website returns this error: msxml3.dll error '80072ee2' The operation timed out /error404.asp, line 41 This is lines that I think returns error: Set XML=Server.CreateObject("Msxml2.ServerXMLHTTP.3.0") XML.SetOption 2,13056 XML.SetTimeouts 90000...

Why will IIS 6 not serve my custom 404 page when I set the URL in 'Custom Errors'?

I've got an ASP.NET MVC site & I've got an Errors controller with a NotFound action which works great for 404 errors that pass though .NET, but for stuff that doesn't (like static files) I've set the Custom Errors value for 404 to URL with a value of /Errors/NotFound. But when I do this & hit a non-existant page the site just gives me...

IIS Directory Browing

Hi All, If I enable directory browsing in IIS it displays folder contents to user. Is there any way of controlling the way it shows the list. For example, I dont want to show full physical path of the folder. Is it possible to achieve? If yes, how? Thanks. ...

IIS6 - 301 permanent redirect response accessing an asp.net web site

I've installed an ASP.NET 2.0 virtual directory application on the default web site in IIS6 (Windows 2003 computer) with a Visual Studio generated web deployment setup. Unfortunately, following a successfull installation, I'm unable to access our web site. I get a permanent redirect from IIS as shown in the log below : 2010-02-25 15:32:...

VBS Invalid Character

This is a simple VBS script. But when I double-click on this, I get Invalid Character 800A0408 on Line 1, Character 1, which I think is the first "Dim". I am new to VBS--can u tell me what I did wrong? FYI, I have an XP OS and IIS6 Manager installed. ' This script adds the necessary Windows Presentation Foundation MIME types ' to an...

VBS Expected End of Statement

I am a newbie to VBS scripting. Thanks for all your comments! I fixed error 800A0401 now, thanks to your helps. But now I'm getting error 800A0414 on line 13, character 1 "Object required", which refers to line: Set MimeTypesToAddArray = Array(".manifest", "application/manifest", ".xaml", _ Now I understand how line counting works; i...

Microsoft.Sdc.Tasks.Web.WebSite.CreateVirtualDirectory fails with Access is Denied with IIS 6.0 (script run on XP)

've done a bit of searching around and have been unable to find a solution that works. I'm trying to automate deployment of a webapp to IIS. My environment is as follows: Server: Windows 2k3 with IIS 6 & .net 3.5 SP1 Dev box: Windows XP pro .net 3.5 SP1 The user that I'm running my msbuild script from is an admin on the dev box (th...

Right click->Browse ASP.NEt site in IIS6 don't work

I created a simple Test website in my Windows Server 2003 server wich run IIS6. I have a simple Index.html file with some test text in it. I know i configured anything as needed because I did this before on other servers. The problem is I can't access this Test site using the IIS Browser function or by typing http://localhost/test/ or h...

webdav enabled windows server 2003, "SEARCH" http method available

webdav enabled windows server 2003, “SEARCH” http method available BUT... is not in the responseheaders for "DASL" (using http options), only e.g the following would return http 400 bad request. HTTP SEARCH <?xml version='1.0'?><DAV:searchrequest><DAV:sql> some query </DAV:sql></DAV:searchrequest> using asp.net ...

[FIXED] ASP.NET 2.0 files work in one folder, but NOT in another

I have created an ASP.NET application for a client and all the files are in a folder on their D drive. Now it is time to go production, so I copied all my files and folders to their existing classic ASP folder on the same drive. When I browse to the application it fails to launch. The only difference I can see is that the development ...

Errors when attempting to publish aspx files via webdav

Hi there. After I installed the .net framework 3.5 to my iis box (which didn't have any previous version of .net fraemwork), I'm not long able to upload the aspx page via WebDav with MS Expression Web. I got the "HTTP/1.1 403 Forbidden " error message. Also I got this error "Server Application Unavailable" when trying to open the aspx...