iis-7

HTTP Error 403.14 - Forbidden Error when accessing website

帅比萌擦擦* 提交于 2019-12-17 19:42:36
问题 So I have all the updated code, the entire solution builds. It works on everyone else's machine, however when I try and access localhost/extranet on my machine, it gives me this error: HTTP Error 403.14 - Forbidden Detail Error Info: Module DirectoryListingModule Notification ExecuteRequestHandler Handler 0x00000000 Requested URL http://localhost:80/extranet/ Physical Path C:\svn\K2\trunk\appteam\web\Chatham.Web.UI.Extranet\ Logon Method Anonymous Logon User Anonymous Now I tried going into

iis windows authentication is missing at windows 10 (ASP.NET Visual Studio 2015)

血红的双手。 提交于 2019-12-17 19:37:20
问题 I am trying to run an asp .net website in Visual Studio 2015 that is using windows authentication in IIS7. Although I installed IIS in my PC, while trying to add "windows authentication" from Control Panel-> Turn Windows features on or off-> Internet Information Services -> World Wide Web Services -> Security it seems that this feature is missing from the list. Have a look at the picture. What other options do I have in order to run the project via windows authentication? 回答1: Windows 10 Home

Rewrite Subfolder to Subdomain in web.config

99封情书 提交于 2019-12-17 19:22:08
问题 I'm attempting to write a rewrite rule for the following scenario. User attempts to load this picture: domain.com/images/folder/picture.jpg and instead, I need it to load: cdn.domain.com/images/folder/picture.jpg. Here's what I have that isn't working: <rule name="CDN rewrite for Images"> <match url="(.*)" /> <conditions> <add input="{HTTP_HOST}" pattern="domain.com" /> <add input="{REQUEST_URI}" pattern="^/images/folder/(.*)$" /> </conditions> <action type="Rewrite" url="cdn.domain.com

How can I determine the number of users on an ASP.NET site (IIS)? And their info?

这一生的挚爱 提交于 2019-12-17 18:18:25
问题 Is there a way to determine the number of users that have active sessions in an ASP.NET application? I have an admin/tools page in a particular application, and I would like to display info regarding all open sessions, such as the number of sessions, and perhaps the requesting machines' addresses, or other credential information for each user. 回答1: ASP.NET Performance Counters like State Server Sessions Active (The number of active user sessions) should help you out. Then you can just read

Configuring custom ASP 404 page with redirect for IIS7 website

被刻印的时光 ゝ 提交于 2019-12-17 17:08:02
问题 We're migrating an existing website from IIS6 to IIS7, but are experiencing some difficulty in setting up the 404 error page. Our 404-errorpage works like this: A custom ASP-page checks the URL against a short list of 'special' URLs (e.g. http://example.com/limited-offers). If the URL is known, it redirects to the actual URL of that page. Otherwise the visitor is redirected to a static errorpage with a 404-statuscode. With IIS6 this worked as advertised, but with IIS7 some things have changed

ASP.NET Application hosted on IIS7 that is ignoring custom errors and falls back to IIS errors

给你一囗甜甜゛ 提交于 2019-12-17 16:33:11
问题 I have a C# web forms ASP.NET 4.0 web application that uses Routing for URLs for some reason custom errors defined in the system.web section of my web.config is entirely ignored and it will fall back the IIS errors. This gets entirely ignored <system.web> <customErrors mode="On"> <error statusCode="500" redirect="~/Error" /> <error statusCode="404" redirect="~/404" /> <error statusCode="403" redirect="~/Error" /> </customErrors> </system.web> This part takes over <system.webServer>

Configuration file is not well-formed XML #2

≡放荡痞女 提交于 2019-12-17 16:18:58
问题 I'm trying to fix an IIS 7 web server on Windows Server 2008. I don't know what caused this configuration to go bad. Any ideas on where to begin to look? Error when clicking on the server node in the object explorer of IIS Manager. There was an error when trying to connect. Do you want to retype your credentials and try again? Details: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config Line number: 1 Error: Configuration file is not well-formed XML 回答1: This issue is due

Internet Explorer 8 timeout too quick on page POSTs

与世无争的帅哥 提交于 2019-12-17 15:53:42
问题 We have an asp.net site running, which has been working fine for some time, but recently I have been experiencing some issues with IE8. On posting some pages - mainly on our development server, although on staging too - we get an occasional "Internet Explore cannot display the webpage" error along with the button asking to diagnose connection problems. IE only seems to wait 10 seconds before timing out. I know that the page itself may take longer to load the first time (on dev and staging).

ASP.NET session state and multiple worker processes

匆匆过客 提交于 2019-12-17 15:36:33
问题 I need to understand something about ASP.NET session state, as it applies to IIS 7 and ASP.net 3.5. If an application is configured to use in-process session state, will that work OK if there are multiple worker processes? In other words, do worker processes share session state? The default configuration for IIS 7 is to use in-process session state and to allocate a maximum of 10 worker processes. It would seem likely then, that this default configuration should work. I'm dealing with a

How do I remove eTag headers from IIS7?

吃可爱长大的小学妹 提交于 2019-12-17 15:08:28
问题 Per Yahoo's best practices for high performance web sites, I'd like to remove Etags from my headers (I'm manually managing all my caching and have no need for Etags... and when/if I need to scale to a farm, I'd really like them gone). I'm running IIS7 on Windows Server 2008. Anyone know how I can do this? 回答1: Under IIS7 the Etag change number (the part of the Etag following : ) is always set to 0. Hence the Etag from the server no longer varies from server to server for the same file and