iis-6

Will creating a new app pool disrupt anything in IIS 6?

让人想犯罪 __ 提交于 2019-12-12 20:46:36
问题 I have a website in IIS 6, let's call it "WebSite1." I have a virtual application underneath it, let's call it "VirtualApp1." Both of these are set up to use the same application pool, "AppPool1." I want to create a new application pool, "NewAppPool," and switch VirtualApp1 to using it, while leaving the rest of WebSite1 running under AppPool1. Will doing this cause disruption to anything in WebSite1? I know it will most likely trash VirtualApp1's appdomain, but I want to know if it's going

Publishing MVC3 app to IIS error - The Web server is configured to not list the contents of this directory

人走茶凉 提交于 2019-12-12 16:18:48
问题 I published my website to "C:\inetpub\wwwroot\Sem_App" and created a website with physical path "C:\inetpub\wwwroot\Sem_App" and port 84. When I browse the website on http://localhost:84/ I get the following error. HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. I do not want to list contents of the directory anyways, I want to run the default page that used to run in debugging mode of VS 2010. Anybody know what's going on? I tried

Is there a file-based equivalent to .htaccess in IIS6? (not config/plugin)

寵の児 提交于 2019-12-12 15:44:32
问题 There are lots of similar questions to this, but they all seem to involve either configuring permissions or installing a plugin. I'm looking for a solution that is "dumb" - i.e. to allow the code to be deployed from source control and automatically have access to certain paths blocked, without anyone needing to configure the server. I only need directory & file blocking, none of the other abilities that .htaccess has. Just to be clear, we are using ColdFusion, not .NET, and whilst CF has

I'm getting blank pages instead of error messages using classic ASP, IIS6 and WinServer 2003 R2

心不动则不痛 提交于 2019-12-12 13:10:12
问题 We have an old system running on a WinServer2003 R2 - IIS6 and it was written using classic ASP. We need to trap all errors and for that, I configured IIS to redirect 404s and 500s to a custom page (custom errors config) that writes the info to a log file (this page creates and manages the logs). Here is the weird thing: The first time the error occurs, the page is redirected and I get my log file entry. But, if this page is loaded again (I hit F5, or other user goes there, etc), the browser

The pre-application start initialization method Run on type WebActivator.ActivationManager threw an exception

半腔热情 提交于 2019-12-12 12:24:06
问题 I'm trying to run an ASP MVC 4 application on IIS. When I publish MVC 4 application from Basic template - without any dependencies apart from these made by the wizard - application works. But when I publish other application, that is using WebActivator and many other libs, I see this error: Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was

How to debug ASP permission problems with WScript.Shell object?

僤鯓⒐⒋嵵緔 提交于 2019-12-12 10:54:14
问题 I have to run command line operation from some legacy ASP application. Here is my code: <% cmd = "%comspec% /c echo Hello" set wsh = CreateObject("WScript.Shell") ireturn = wsh.Run(cmd, 0, true) set wsh = nothing %> And here is result I am receiving: Microsoft VBScript runtime error '800a0046' Permission denied /test.asp, line 6 Do you have any idea how to make IIS6 to run this code? Note: Of course I don't have to run echo command but I want to exclude any additional causes of the problem.

Change the default SqlCommand CommandTimeout with configuration rather than recompile?

不想你离开。 提交于 2019-12-12 10:46:59
问题 I am supporting an ASP.Net 3.5 web application and users are experiencing a timeout error after 30 seconds when trying to run a report. Looking around the web it seems it's easy enough to change the timeout in the code, unfortunately I'm not able to access the code and recompile. Is there anyway to configure the default for either the web app, the worker process, IIS or the whole machine? Here is the stack trace up to the point where it's in System.Data in case I'm missing some other problem:

Rotativa and wkhtmltopdf no CSS or images on iis6 over HTTPS, but fine on HTTP

我是研究僧i 提交于 2019-12-12 10:05:42
问题 Using Rotativa, a .net wrapper for wkhtmltopdf. I can not get CSS or Images to render in a PDF if I connect Via HTTPS. I have previously set this up on 2008r2 iis7 server with HTTPS(SSL) I did have simular trouble with css & webfonts, but I just changed all the paths to absolute paths and it worked. This job is deployed on ii6 windows 2003 server. Yesterday it was just producing "An unhandled exception has occurred." when ussing HTTPS so I upgraded wkhtmltopdf to V 0.12.0, now the PDF will

Using DirectoryEntry to Enumerate IIS Configuration Data, Getting COMException

廉价感情. 提交于 2019-12-12 10:04:26
问题 I'm attempting to manage a set of remote IIS 6 server programmatically, but am running into a wall. My client is Windows 7, and I have Domain Admin rights. The relevant code is as follows: public void Run() { DirectoryEntry W3SVC = new DirectoryEntry("IIS://server/w3svc"); foreach (DirectoryEntry site in W3SVC.Children) { Console.WriteLine(site.Name); } } When I execute, I receive the following exception: Unhandled Exception: System.Runtime.InteropServices.COMException: Unknown error

IIS6 ASP.NET 2.0 Application Cache - data storage options and performance for large amounts of data

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 09:49:34
问题 In an ASP.NET 2.0 site on IIS6 I would like to store Key / Value pairs in the Application Cache. Each Key will always be a string with a 5 character length and each Value a string of 15 - 250 characters length. The usage scenario is that the Cache will be queried once per webpage request, if the Key exists use the Value otherwise query a database and either add a new Key / Value to the Cache or replace an existing entry based upon some application logic. In this scenario I envisage / require