iis-6

IIS 6 Server AppPool Recycling

时光毁灭记忆、已成空白 提交于 2019-12-11 11:14:31
问题 I am trying to turn the logs on for IIS 6, because I want to know if my workers are recycling too fast due to an error. Our application keeps getting a reset connection when running a ton of queries from our app. How do I get more info on logs and stuff? 回答1: Chris - I'm working on a similar problem as I'm writing some code to recycle app pools in both IIS6 and IIS7+. Just came across this article. Hope it helps. How to Configure Application Pool Recycle Event Logging in IIS 6.0 This command,

Java 6 HTTPURLConnection and Project Server NTLM Authentication from RHEL5.5

我的未来我决定 提交于 2019-12-11 11:09:44
问题 Currently at a loss for authenticating with a Microsoft Project Server 2007 instance running on IIS with Integrated Windows Authentication enabled from a Java 1.6(u19) client running on linux, RHEL 5.5. Note: The client works on my Windows workstation. I initially was trying to implement a JAX-WS call and found that I could not retrieve the WSDL due to authentication errors, specifically a 401.2, followed by a 500. So I simplified it to a Java class that: Creates an Authenticator and sets it

Disable IIS logging on individual MVC controller

↘锁芯ラ 提交于 2019-12-11 10:46:23
问题 I have a few particular actions in a controller and I do not want IIS (6) to log the requests, but only on that particular controller. I want it to log as normally for the rest of my site. Is this even possible? 回答1: You will need to write a custom logging module for this. By default it's all or nothing. 来源: https://stackoverflow.com/questions/4752513/disable-iis-logging-on-individual-mvc-controller

Dealing with redirects when releasing new site

谁说胖子不能爱 提交于 2019-12-11 09:47:11
问题 I am on the verge of releasing/replacing a site for a client. I am wondering what the best way of dealing with redirects from old (no longer existing) pages to the new equivalent page (differnt url). Example: site.com/product/page.aspx should redirect to site.com/newstructure/stuff.aspx I'm looking for a solid central way of handling all these redirects (301:s). Creating paths for old pages and simply redirects from there is not really a good solution. Can I use Url Mappings in Web.config for

Monitoring ASP/COM+ application performance in Windows 2003/IIS 6.0

混江龙づ霸主 提交于 2019-12-11 07:49:39
问题 We are running a website using Active Server Pages & COM+ components . The ASP pages call COM+ components which in turn communicates with external systems and respond to ASP page requests. We find that the application becomes slow over a period of time and requires restarts (like in couple of days). The website runs on good hardware and does not have huge traffic and so we believe it's not a capacity issue. The application was written in ASP 3.0, VB 6.0 (COM) by an external vendor who does

301 redirect with Querystring - IIS6

时光毁灭记忆、已成空白 提交于 2019-12-11 06:49:08
问题 I'm having a problem with an IIS6 301 redirect. I've set up the following redirect for the domain domain.com to go to www.domain.com$S$Q (under Home Direcotry in Site Properties). Checked the A permanent redirection for this resource check box. but didnt check 'The exact URL entered above' If I navigate to domain.com I get redirected to www.domain.com with no problems. But if I go to domain.com/page.asp?type=xx I get redirected to www.domain.com/page.asp?type=xx/page.asp Anyone know what I'm

Which w3wp.exe process belongs to which App Pool in IIS6 (with powershell)

拈花ヽ惹草 提交于 2019-12-11 06:14:51
问题 to date, I use this tool to tell which w3wp belongs to which App Pool c:\windows\system32\cscript iisapp.vbs How can I extract the same information with Powershell? Or maybe, with more informative results. Thanks :) 回答1: This is by no means the only approach, but here is one I use. This is for PS v1, some code can be optimized for V2. function get-apppools{ [regex]$pattern="-ap ""(.+)""" gwmi win32_process -filter 'name="w3wp.exe"' | % { $name=$_.name $cmd = $pattern.Match($_.commandline)

Custom authentication for IIS hosted WCF services?

依然范特西╮ 提交于 2019-12-11 05:47:19
问题 I have a WCF (v3.5 with webHttpBinding) service hosted in IIS 6. I would like to implement custom authentication before someone can access the service i.e. user details are stored in db. But as I read on various posts and forums, for WCF services hosted in IIS only windows authentication is possible. There is no out-of-the-box way to deal with this. Can someone suggest some work around? I believe this is a very common problem that many people must have come across before. 回答1: I could

Uploading picture after migration from IIS 6.0 to IIS 7.5

扶醉桌前 提交于 2019-12-11 05:45:23
问题 We've got a problem when trying to upload a picture to a IIS application after we've migrated from Windows Server 2003 & IIS 6.0 to Windows Server 2008 R2 & IIS 7.5 a couple of days ago. You are allowed to choose a picture, but as soon as you click on the "Send"-button to perform the upload you're introduced to the following error message: " Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /****/****/photouploadproc.asp, line 15 800401f3 " In this code, the program uses a

cycling IIS app pool cause slow first user experience

爷,独闯天下 提交于 2019-12-11 05:32:50
问题 When i recycle the application pool for my web app via IIS MMC, the first user to request a page within the webapp will experience a really slow response from the site. After that initial request, every page there after is fine. The user could also log off the site, come back later and the speeds are quick. My concern is with the first, initial load of the site. If i were to write a script to restart the application pool at 3am in the morning, what else can i do to either a.) impersonate a