iis-7.5

IIS Mixed Anonymous and Windows Authentication

China☆狼群 提交于 2019-12-09 17:58:49
问题 I need to create an ASP .NET web page (hosted on Windows Server 2008R2 with IIS 7.5) which should be visible by domain users and anonymous users without prompting credential requests for both of them. Domain Users should be authorized to see the entire page, while anonymous users can see the public part of the page. When I enable Windows authentication: domain users can see the entire page, but anonymous users are prompted for credentials. When I enable anonymous authentication or both

IIS 7.5 - Change Application Pool Start Mode to Always Running

一曲冷凌霜 提交于 2019-12-09 13:05:27
问题 I have IIS 7.5 and I have installed the Application Initialization Module for it. Now, I am trying to change the StartMode of an application pool, but do not see the StartMode option in the IIS Manager. I have looked under Basic and Advanced Settings. I am thinking that the next place to edit this value would be in the Machine.Config. So, I have found that file, but I am unsure where the update would be placed in there. I believe it should be set to AlwaysRunning. Any help would be

The Module “aspnetcorev2.dll” failed to load

假如想象 提交于 2019-12-09 12:01:08
问题 Recently I tried installing ASP.NET Core/.NET Core: Runtime & Hosting Bundle version 2.2 on a machine running Windows Server 2008 R2 SP1 . However, after installing IIS stops working and gives 503 Service unavailable error for all applications hosted in it. After checking the application pools I see that the pools just shuts down. In the event viewer I can see the following error message - The Module DLL C:\Program Files (x86)\IIS\Asp.Net Core Module\V2\aspnetcorev2.dll failed to load. The

Configuring IIS 7.5 to enable server side includes (SSI) for the '.html' extension

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-09 06:20:40
问题 I want to configure Server Side Includes (SSI) in IIS 7.5. By default, the file extension that indicates that a file should be processed as an SSI file is .shtml . However, I want to configure IIS so that files with the .html extension are processed as SSI files. This is to enable me to change the footer for multiple .html pages by changing a single file named footer.html . Is this possible, and if so, are there are any caveats? I would also be receptive to suggestions for alternative

Asp.net Web API returns non-descriptive error 500

僤鯓⒐⒋嵵緔 提交于 2019-12-09 04:39:13
问题 In my setup I get error 500 if anything goes wrong with my Web API request. For instance with this simple code. public IQueryable<Article> Get(){ throw new Exception("error"); return db.Articles; //yeah i know.. unreachable, not the point } What I expect(and what happens in a regular MVC controller): What I get (in Web API): My web config: <customErrors mode="Off"/> <compilation debug="true" targetFramework="4.5"> //under webserver <httpErrors errorMode="detailed"/> The app pool is running 4

Credentials for ServerManager.OpenRemote

╄→гoц情女王★ 提交于 2019-12-09 02:51:39
问题 I'm trying to use ServerManager.OpenRemote (from Microsoft.Web.Administration) but am unable to find documentation on how to give it different credentials from the current user. I tried SimpleImpersonation (from How do you do Impersonation in .NET?) and it gives me the same error: System.UnauthorizedAccessException - Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine [...] failed due to the following error: 80070005 [...]."

Web deploy results in Request too long only in VS2012

眉间皱痕 提交于 2019-12-08 21:39:30
Spent quite a bit of time configuring web deploy on IIS 7.5. I've made sure that Web Deploy 3.5 was installed with all features, and that both the Web Management Service and Web Deployment Agent is running. In Visual Studio I'm able to use the publishing wizard and validate my connection to the server. Additionally I can click on 'preview' on the last step to see a list of files. If I choose only one to publish it kicks off the process like normal and then hangs. Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection.Learn

Why does my MVC3 Intranet site windows authentication not work when published

徘徊边缘 提交于 2019-12-08 20:59:13
问题 We have a simple intranet site in MVC3 and entity framework. Everything works fine for running in debug from visual studio. When I publish the site to either my local boxes IIS7.5 webserver or to a dev box on the same domain, then I get prompted for a username and password and it won't connect to the site. It just returns a 401.1 error and curiously shows Logon Method Not yet determined Logon User Not yet determined I have verified that the windows authentication is enabled and anonymous

Remote Connection to IIS7 using ServerManager.OpenRemote

我怕爱的太早我们不能终老 提交于 2019-12-08 19:39:05
问题 I am trying to connect to IIS7+ using ServerManager.OpenRemote("[IP Address]"). I am connecting from a HyperV Host Machine to its client virtual machines. I keep getting the following error: 'System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)'. I can connect to the the client's IIS using the IIS Manager (server) connecting through the Management Service (client). Since I am unable to connect using Server Manager, I am guessing that

Long running php/fastcgi script hangs on IIS 7.5

淺唱寂寞╮ 提交于 2019-12-08 19:08:28
I have a php application running on IIS 7.5 , php 5.4 running as fastcgi. The application works absolutley fine with the exception that long running php scripts seem to hang; no 500 error they simply seem never complete and return the results to the browser. I've written a simple test script below to eliminate the possibility of programming error in the main app : <?php /* test timeout */ /*set_time_limit(110);*/ echo "Testing time out in seconds\n"; for ($i = 0; $i < 175; $i++) { echo $i." -- "; if(sleep(1)!=0) { echo "sleep failed script terminating"; break; } } ?> If I run the script beyond