iis-6

IIS6 List the version of .net an application pool is running

痞子三分冷 提交于 2019-12-08 00:47:55
问题 I want to enumerate the application pools running on a server. In IIS7 i am able to pull up the .net version via WMI WIn32_Process but it is not there in IIS6. How can I get the version of .net that a worker process/application pool is running in? For instance: DefaultAppPool v2.0.50727 In IIS6 .Net is set in the Virtual Directories under the ASP.NET tab and the Application Pool is setup under the Virtual Directory tab. FYI: I'm running Windows 2003 SP2 IIS6. 回答1: The problem with IIS6

Running/debugging SMTP Event Sinks under windows 2008

徘徊边缘 提交于 2019-12-07 19:33:27
I have an SMTP Event Sink to process incoming SMTP email messages to perform special processing. Under IIS 6/SMTP, this event sink runs as expected. Under IIS 7/SMTP, it does not appear to run, even though it appears to register successfully, as shown below: c:\Program Files\Kryptiq Corporation\GW\Bin>regsvr32 SpoolFilter.dll c:\Program Files\Kryptiq Corporation\GW\Bin>smtp_sink_register.bat c:\Program Files\Kryptiq Corporation\GW\Bin>cscript smtpreg.vbs /add 1 OnArrival KryptiqSpoolFilter SpoolFilter.FilterObject "mail from=*" Microsoft (R) Windows Script Host Version 5.8 Copyright (C)

HttpModule URL rewriting using IIS6 with no extensionless URLs

荒凉一梦 提交于 2019-12-07 17:51:16
问题 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 machine, and on my machine when I point a different virtual directory at the app) it doesn't. By "it doesn't work" I mean the configured HttpModules never even get hit.

Virtual Directory App within a Asp.net MVC app

廉价感情. 提交于 2019-12-07 14:26:04
问题 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, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Why is the virtual directory falling back to the root application.

Strange exceptions on production website from HTTP_USER_AGENT Java/1.6.0_17

為{幸葍}努か 提交于 2019-12-07 14:05:19
问题 Today we have received some strange exceptions on our production website. They all have the following HTTP_USER_AGENT string: Java/1.6.0_17 . I looked it up over at UserAgentString.com but the info is quite useless. Here's one of the exceptions we're getting (they are all more or less the same): System.NotSupportedException: The given path's format is not supported. The path that is being queried: /klacht/Scripts/,data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done

Can IIS6.0 host two SSL certificates?

做~自己de王妃 提交于 2019-12-07 13:02:55
问题 We have a Windows Server 2003 machine running IIS6.0 that hosts two different websites. We purchased an SSL certificate for both domains, but then discovered we couldn't use both at once because SSL uses port 443, and I can't set both domains to use that port number. So my question is, is it possible to host https://www.domain1.com and https://www.domain2.com on the same IIS 6.0 server? If so, how can I do this? 回答1: As @Bahri Gungor said the way to do this is for the server to have multiple

Recycling IIS application pool using PowerShell: “Exception calling Recycle”

穿精又带淫゛_ 提交于 2019-12-07 12:44:54
问题 It looks like a recent windows update has broken some functionality I was using to recycle IIS6 application pools, as this has been working for months up to today. Exception calling "Recycle" : "Win32: The object identifier does not representException calling "Recycle" : "Win32: The object identifier does not represent a valid object. the function I was using to recycle the application pools was: function recycle-pool($strServerName) { $objWMI = [WmiSearcher] "Select * From IIsApplicationPool

Will a Change to the IIS Home Directory Path Trigger a Restart?

核能气质少年 提交于 2019-12-07 11:53:29
问题 In IIS (6.0 specifically), under the Home Directory tab, if I change the local path, will this cause either IIS to restart or the application pool to recycle? Related, is there a reference that outlines which changes to the IIS metabase will trigger either a restart or app pool recycle? I haven't been able to find this yet. 回答1: Changing the path to a website in the Home Directory path won't cause the worker process to restart. It will however cause the Application Domain for the website to

How can I set global mime-types for IIS6 programmatically?

醉酒当歌 提交于 2019-12-07 10:39:06
问题 Currently I am able to to set a mime type with adsutil.vbs for the primary web site on IIS6 with the following syntax: cscript adsutil.vbs set W3SVC/1/Root/MimeMap ".manifest, text/cache-manifest" This seems to work fine when I only need to target W3SVC/1. I need to write an update script that will make sure that any sites on a given IIS6 installation have the proper mime type configured. I could either add the mime type to each individial site or at the global level. I need to do this

How to shutdown machine from ASP.NET

倾然丶 夕夏残阳落幕 提交于 2019-12-07 10:23:29
问题 I have a machine running Windows Home Server v1 (WHS is based on Windows Server 2003 and is runningh IIS6) and on here I have a restful webservice running which I build in C# VS2008 (dotnet 3.5). From within the webservice I want to be able to; 1 Check that certain windows services are running; 2 Start certain windows services 3 Stop certain windows services 4 Reboot the machine 5 Shutdown the machine For 1-3 then I am using impersonation to elevate the ASPNET user to the local administrator