iis-6

ASP.NET MVC on IIS 6 - wildcard mapping - the incoming request does not match any route

夙愿已清 提交于 2019-11-27 18:18:50
问题 I have been trying to set up my Beta 1 MVC app on IIS 6 and cannot get it to run correctly. I have added a Wildcard mapping to the .net isapi DLL as suggested in other blog posts but get the following error when I access the root of the website: The incoming request does not match any route. .. [HttpException (0x80004005): The incoming request does not match any route.] System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContextBase httpContext) +147 System.Web.Routing.UrlRoutingHandler

Avoiding 401 response for each request using NTLM

此生再无相见时 提交于 2019-11-27 17:32:04
We have here an asp.net 3.5 application using NTLM based windows authentication. The system runs on a private network that actually distributed over different geographic places (connected via VPN). We are now trying to optimize the website's performance. Because the way NTLM works, every new request to the IIS is composed with 3 different requests while the first 2 is 401 responses. We are trying to minimize the amount of these requests to be only at the beginning of the session. We found this solution. Unfortunately it didn't change anything and we keep getting this 401 response (which

ASP.net 4.0 default.aspx problem on IIS6

可紊 提交于 2019-11-27 15:09:34
问题 I installed .net framework 4 on my windows 2003 enterprise x64, wrote simple asp.net 4.0 application (default.aspx page only). The application works great if request is to default.aspx, not to the root site: contoso.com/ - doesn't work (Get 404 error) contoso.com/default.aspx - works. Default.aspx is in list of default documents in IIS. Please help. 回答1: Found a fix in a seemingly unrelated location - try setting the "EnableExtensionlessUrls" registry key to 0: ASP.NET 4 Breaking Changes ->

How can I create a new application pool in a Web Setup Project?

痞子三分冷 提交于 2019-11-27 14:45:58
问题 I need to deploy my web service. It needs to run in a separate application pool in IIS with its own credentials. Is it possible to do this by using a Web Setup Project in VS 2008? By default, I seem to only be able to choose an existing application pool. 回答1: I've been down this road before and unfortunately you'll need to create the application pool manually or write a Custom Action to manage this for you. Further to Grzenio's question in the comments below: "Could you give me a hint where

Deploy asp.net mvc beta to iis 6 causing 404's

你离开我真会死。 提交于 2019-11-27 14:05:03
问题 I'm struggling to get around the 404 errors from asp.net mvc beta when deploying on IIS 6. I had this working in one of the previews by mapping .mvc in IIS but this no longer works. I've read Omar's post and several others on the web and tried their solutions but no luck so far. The home page opens without a problem on IIS 6 but others 404 and the site runs well on IIS 7. Has anybody deployed asp.net mvc beta to IIS 6 with success? If so, what adjustments did you need to make to the code and

Chrome, pdf display, Duplicate headers received from the server

我的梦境 提交于 2019-11-27 12:38:17
问题 I have a section on a website where I display a pdf inside a light box. The recent chrome upgrade has broken this displaying: Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple Content-Disposition headers received. This is disallowed to protect against HTTP response-splitting attacks. This still works correctly in IE. I'm using ASP.NET MVC3 on IIS6 The code I use to generate the file is as follows. If I remove the inline statement then the file downloads, however

How can I programmatically stop or start a website in IIS (6.0 and 7.0) using MsBuild?

女生的网名这么多〃 提交于 2019-11-27 11:21:18
I have Windows Server 2003 (IIS 6.0) and Windows Server 2008 (IIS 7.0) servers, and I use MSBuild for deploying web applications. I need to do a safe deploy, and do this: Stop a website in IIS 6 (or an Application in IIS 7), not stop AppPool. Check if the website is stopped; not running. If the website is stopped, do another task for deploy. Start the website IIS 6 (or Application in IIS 7), How can I achieve this? Update: Key for me: IIS6WebSite and IIS6AppPool (and for IIS7), do wait for stopped status when try Stop Website or AppPool? When I execute Stop Action for Website (or Stop Action

ASP.NET MVC on IIS6

南楼画角 提交于 2019-11-27 11:08:30
Where can I find some good pointers on best practices for running ASP.NET MVC on IIS6? I haven't seen any realistic options for web-hosts who provide IIS7-hosting yet. Mostly because I don't live in the U.S. So I was wondering on how you best build applications in ASP.NET MVC and make it easily available to deploy on both IIS6 and IIS7. Keep in mind that this is for standard web-hosts, so there is no access to ISAPI-filters or special settings inside IIS6. Are there anything else one should think about when developing ASP.NET MVC-applications to target IIS6? Any functions that doesn't work?

IIS 6.0 wildcard mapping benchmarks?

时间秒杀一切 提交于 2019-11-27 10:46:29
问题 I'm quickly falling in love with ASP.NET MVC beta, and one of the things I've decided I won't sacrifice in deploying to my IIS 6 hosting environment is the extensionless URL. Therefore, I'm weighing the consideration of adding a wildcard mapping, but everything I read suggests a potential performance hit when using this method. However, I can't find any actual benchmarks! The first part of this question is, do you know where I might find such benchmarks, or is it just an untested assumption?

What does an IISReset do?

穿精又带淫゛_ 提交于 2019-11-27 10:29:15
On IIS 6, what does an IIS Reset do? Please compare to recycling an app pool and stopping and starting an ASP.NET web site. If you replace a DLL or edit/replace the web.config on an ASP.NET web site is that the same as stopping and starting that web site? IISReset stops and restarts the entire web server (including non-ASP.NET apps) Recycling an app pool will only affect applications running in that app pool. Editing the web.config in a web application only affects that web application (recycles just that app). Editing the machine.config on the machine will recycle all app pools running. IIS