iis-7.5

Can't run ASP.NET MVC 2 web app on IIS 7.5

泪湿孤枕 提交于 2019-12-17 06:28:09
问题 I'm trying to run an ASP.NET MVC 2 web application under IIS on Windows 7, but I get a 403.14 error. Here are the steps to reproduce: Open Visual Studio 2010 Create a new ASP.NET MVC 2 project called MvcApplication1 Shift+F5 to run the app. You should see http://localhost:{random_port}/ and the page will render correctly. Click on MvcApplication1, and select "Properties". Go to the "Web" section. Select "Use Local IIS Web server" and create a virtual directory. Save. Shift+F5 to run the app.

ASP.NET Web API returns 404 for PUT only on some servers

天大地大妈咪最大 提交于 2019-12-17 04:29:25
问题 I have written a site that uses ASP.NET MVC Web API and everything is working nicely until I put it on the staging server. The site works fine on my local machine and on the dev web server. Both dev and staging servers are Windows Server 2008 R2. The problem is this: basically the site works, but there are some API calls that use the HTTP PUT method. These fail on staging returning a 404, but work fine elsewhere. The first problem that I came across and fixed was in Request Filtering. But

ASP.NET 4.5 has not been registered on the Web server

杀马特。学长 韩版系。学妹 提交于 2019-12-17 04:13:03
问题 In my Win 7 development machine, and in order to use SQL Express instance instead of the localDB installed by default. I unchecked "Use IIS Express" in my MVC 4 project properties page (Web tab), then I got the following error: ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly. I verified that ASP.NET is activated within the IIS features. Please what could be done to resolve this? 回答1:

HTTP 404 Page Not Found in Web Api hosted in IIS 7.5

我的梦境 提交于 2019-12-17 03:54:23
问题 I have a Web Api application. It works perfectly well when I tested it using the VS 2010 debugging dev server. But I now deployed it to IIS 7.5 and I am getting a HTTP 404 error when trying to access the application. Here is my web.config <?xml version="1.0" encoding="utf-8"?> <configuration> <connectionStrings> <add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet-FlowGearProxy-20123141219;Integrated Security=True" providerName="System.Data.SqlClient

Classic ASP on IIS7: refusing to send errors to browser on 500 Internal Server Error

感情迁移 提交于 2019-12-17 02:37:37
问题 I have classic ASP running on IIS 7. Even though I configured the ASP "Debugging Properties" to "Send Errors to Browser = True", the web app REFUSES to send errors to the browser and continues to send a 500 internal server error. My browser has "Show Friendly HTTP Error Messages" unchecked. Failed Request Tracing is installed (not sure if that's related) Happens both on web pages loaded locally on the server and remotely The App Pool is integrated (not sure if that matters) Any ideas? 回答1:

website using fluorine fx borken during migration

泪湿孤枕 提交于 2019-12-14 04:09:51
问题 we have asp.net website that has started giving following error after migration from win2k3 to win2k8r2 (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = "4D9A6C96-03CB-3175-FFB4-2CF0D4C4D6FE" destination = "" extendedData = (null) faultCode = "Client.Error.MessageSend" faultDetail = "Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://subdomain.domain.org/fluorinefx/gateway.aspx'" faultString = "Send failed" headers = (Object)

ColdFusion 10, IIS 7.5, and custom 404 page

萝らか妹 提交于 2019-12-14 03:54:34
问题 I am attempting to setup a custom 404 error with CF10 and IIS 7.5. Previous to CF10 (and IIS 7), you can get the URL of the non-existent page via the querystring (e.g., 404;http://www.example.com/some/file.html) when the custom 404 page is processed. However, with CF10 and IIS 7.5, the querystring returns 404;http://www.example.com/jakarta/isapi_redirect.dll. Is there a way to retrieve the actual URL of the missing path, like in prior versions? 回答1: I have a workaround that I posted to the

How to disable or remove DirectoryListingModule in IIS to prevent HTTP 405 error

こ雲淡風輕ζ 提交于 2019-12-14 03:52:12
问题 I've written an ASP.Net web app with a custom HTTP handler. However, after importing the app into IIS 7.5, IIS returns this when the app is invoked: HTTP/1.1 405 Method Not Allowed When I enable the Failed Request Tracing Rules feature to trap HTTP 405 errors I see this: My handler does not get invoked. So I'd like to remove the DirectoryListingModule. But, similar to @Brendan Hill here, nothing I've tried seems to disable the module. Even commenting out all the lines that mention this module

Loading any MVC page fails with the error “An item with the same key has already been added.”

一世执手 提交于 2019-12-14 00:15:46
问题 I am having an intermittent issue that is appearing on one server only, and is causing all MVC pages to fail to load with the error "An item with the same key has already been added." Restarting the application pool fixes the issue, but until then, loading any mvc page throws the following exception: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 10/11/2012 08:09:24 Event time (UTC): 10/11/2012 08:09:24 Event ID: d76264aedc4241d4bce9247692510466 Event

Delphi XE2 64 bit ISAPI Access Violation

人走茶凉 提交于 2019-12-13 21:52:23
问题 Windows Server 2008 R2 64 bit IIS 7.5 Delphi XE2 i made a simple WebService/ISAPI DLL using delphi XE2. this web service has a function that returns the sum of two numbers and made a simple client application to test this function. When i compile it (along with the client) as a 32 bit application (in a virtual directory with a 32-bit enabled app pool), all works fine when i compile it as a 64 bit DLL (the client is also compiled as a 64-bit aplication) i alws get an access violation error