iis-8

Deploying web packages with MSDEPLOY

烈酒焚心 提交于 2019-11-29 15:52:07
I've built my packages and read through this docs @ http://www.asp.net/web-forms/overview/deployment/web-deployment-in-the-enterprise/deploying-web-packages And it seems to suggest that the problem should be relatively simple from here as the instructions clearly show ... [project name].deploy.cmd [/T | /Y] [/M:<computer name>] [/A:<Basic | NTLM>] [/U:<user name>] [/P:<password>] [/L] [/G:<true | false>] [Additional MSDeploy.exe flags] .. so, no problem I thought I will give the command params like this ... myproj.deploy.cmd /Y /M:test.foo.com /A:basic /U:<my user> /P:<my pass> ... where the

IIS8 Default Document yields 404 not found error

我的未来我决定 提交于 2019-11-29 14:47:27
I have a new Windows Server 2012 machine with IIS 8. I have installed an application that uses Windows Authentication for the login page. The application uses .NET 2.0 (which was a bit of a pain to configure, but that is a different story) The application works perfectly if you specify the login page in the URL. This login page is the default document for the application which verifies the user and logs them in automatically if they are registered. If they are not registered then it redirects them to a Forms authentication login page where they can enter local application credentials. The

How do you change session timeout in IIS 8.5?

若如初见. 提交于 2019-11-29 12:40:01
问题 I'm in IIS 8.5 on Windows Server 2012 R2 and I want to see what the session timeout is. Under "Feature view", I see a session category so I open that up. Session state is set to in-process. Further down the window I see options to set timeouts but they are for cookies. I looked in the application pool and I saw an idle timeout set to 20 minutes: is this the session timeout? I'm used to IIS 7 where you click on the "ASP" feature and set it in there. 回答1: Yes, that is the session timeout

SignalR applications do not work under IIS

拥有回忆 提交于 2019-11-29 10:20:03
问题 I am trying to build a SignalR application in Visual Studio 2012. My problem is that it works well under Visual Studio debug (using Visual Studio 2012 on Windows 7), but when I try to deploy the app on IIS 8 on Windows Server 2012, the app does nothing more than displaying the index.html page. I decided to try to narrow down whether the issue is in my code or in SignalR. I compiled the SignalR tutorial shown at http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with

HTTP Error 500.19 when publish .net core project into iis

感情迁移 提交于 2019-11-29 09:05:36
I want to publish a sample .net core web application on my pc's IIS manager but I failed. I am using Microsoft guidance but it doesn't work for me, if you have reasonable experience to fix this problem I would be grateful to see your suggestions. The identity under which your web application runs in IIS doesn't have full access to the folder in which the web.config file is found. Which version of IIS are you using? Assuming 7, you can view/change the identity through the 'Advanced Settings' of the application pool that hosts your application. Folder permissions can be granted via Windows

How to register .Net 4.5.1 with IIS8 on windows 10

风格不统一 提交于 2019-11-29 02:37:41
问题 How to register .Net 4.5.1 with IIS8 on windows 10 machine? it used to be simple as running command "aspnet_regiis -i"...but not anymore. if try to run this command i get error This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/

Catch 404 Error in MVC4

别等时光非礼了梦想. 提交于 2019-11-29 02:20:32
I have an problem cacting the HTTP Error 404.0 - Not Found. I have turned on the <customErrors mode="On" defaultRedirect="~/Error/General"> <error statusCode="404" redirect="~/Error/HttpError404" /> <error statusCode="500" redirect="~/Error/HttpError500" /> </customErrors> in the Web.Config. But the problem still exist. I have also tried this solution( But it never reaches the method): protected void Application_Error() { var exception = Server.GetLastError(); var httpException = exception as HttpException; Response.Clear(); Server.ClearError(); var routeData = new RouteData(); routeData

Moved my ASP.NET website to IIS 8 on windows server 2012… services missing: .svc files are viewable, but their methods give a 404

旧城冷巷雨未停 提交于 2019-11-29 01:56:32
I moved from IIS 6 on windows server 2003. I can browse to the .svc files . I get a nice standard "This is a Windows© Communication Foundation service" page if I go to http://example.com/Service.svc in a browser. But I can't browse to any of the methods - I get a 404 error if I go to http://example.com/Service.svc/Method?parameter=xyz in a browser. Has anyone seen anything like this? Any ideas or suggestions? I thought I might have a similar problem to this question: WCF on IIS8; *.svc handler mapping doesn't work But the symptoms are different (looks like they can't see .svc files at all) and

ManagedPipelineHandler for an AJAX POST crashes if an IE9 user navigates away from a page while that call was in progress

主宰稳场 提交于 2019-11-28 22:00:00
Scenario: User is using IE9 (IE8/10 not affected). User has an active session. Page starts an AJAX POST (GET not affected) request to a controller with the SessionState(SessionStateBehavior.Required) attribute ( ReadOnly not affected). Something keeps this request from being immediately processed (such as another request in progress that has the session locked). While that AJAX POST is in progress, the user navigates away from the page (GET or POST - doesn't matter) Result: AJAX POST terminates and returns an HTTP 500 (which the browser has since quit listening for, but you can see it in the

CORS 405 Method Not Allowed

怎甘沉沦 提交于 2019-11-28 21:15:33
问题 I have been following the Mozilla article on how to set up my website to allow Cross-site scripting requests . Using IIS Manager I have added the following HTTP Response Headers Access-Control-Allow-Origin : * Access-Control-Allow-Headers : Origin, SecurityPrivateKeyID Access-Control-Allow-Methods : GET, POST, PUT, DELETE, OPTIONS Despite this I keep getting a 405 Method Not Allowed when my browsers (Firefox and Chrome) send the pre-flight request with a custom SecurityPrivateKeyID header.