iis-7.5

Requests hanging on Session module on IIS 7.5

房东的猫 提交于 2019-11-28 09:42:17
From time to time, some requests on my website starts to hang on the RequestAcquireState state of the Session module. When that spiral begins all requests timeout and we need to restart the IIS on the affected server. I investigated it a lot and the only conclusion I got is that somehow a deadlock is happening while the application tries to access user data stored in Session. The only option I can think of to fix this issue is to either reduce or stop using Sessions in my application. This is definetely part of the plan, but it will take a while before we can complete that. We run 6 machines

Build succeeds, but publish fails

♀尐吖头ヾ 提交于 2019-11-28 09:35:54
Up until two days ago, I was able to use Visual Studio 2010's "Publish Web" option by right clicking on my project and clicking the publish button on the context menu. Now when I try to do the same thing, I get the following output: ------ Build started: Project: ELMS, Configuration: Debug Any CPU ------ Build started 8/1/2011 3:08:03 PM. GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. _CopyOutOfDateSourceItemsToOutputDirectoryAlways: Copying file from "C:\SVN\TrakNet

Get Angular2 routing working on IIS 7.5

ぐ巨炮叔叔 提交于 2019-11-28 08:59:42
I have been learning Angular2. The routing works just fine when running on the nodejs lite-server. I can go to the main (localhost:3000) page and move through the application. I can also type localhost:3000/employee and it will go to the requested page. The app will eventually live on an Windows IIS 7.5 server. The routing works fine if I start at the main page (localhost:2500), I am able to move through application with out any problems. Where I run into a problem is when trying to go directly to an page other then the main landing page (localhost:2500/employee). I get a HTTP Error 404.0.

PUT handler not found with serviceStack on IIS7.5

狂风中的少年 提交于 2019-11-28 08:59:31
问题 I am currently using serviceStack for creating REST based services which are hosted in a MVC web application. So far ServiceStack has been amazing and I have achieved to get most of what I wanted to do working. All this works in IISExpress. I have now moved over to IIS 7.5 and I get the 400 error that the "Handler for Request not found" when doing a PUT. GET works fine and on IISExpress both PUT and GET work. On IISExpress this all worked. Any ideas? 回答1: Some info about IIS + PUT/DELETE

CORS settings for IIS 7.5

廉价感情. 提交于 2019-11-28 08:40:56
Could someone please help me, convert the following code for use in the web.config in IIS 7.5 and where in the web.config file I should place each piece of code? # Always set these headers. Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" Header always set Access-Control-Max-Age "1000" Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token" # Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request. RewriteEngine On

IIS 7.5 - 403 Forbidden

萝らか妹 提交于 2019-11-28 08:09:25
Ok, I have scoured online resources and applied all the suggested solutions. I am setting up a simple website on Windows Server 2008 R2 under IIS 7.5 using the "ASP.NET v4.0" pool. I am setting this up as an application under Default Web Site with a different root. I keep getting the 403 Forbidden error. I have: Installed asp.net using aspnet_regiis.exe -i (many times) Made sure my root directory (physical path) has permissions for "IIS_IUSR" and "IUSR" users. Made sure "Anonymous Authentication" is enabled and set to "Application Pool Identity" I have restarted IIS numerous times I have

DirectoryServicesCOMException 80072020 From IIS 7.5 Site Running Under ApplicationPoolIdentity

萝らか妹 提交于 2019-11-28 07:54:19
问题 I'm having trouble hunting down an issue where an ASP.NET 4 application fails while trying to get user groups for a given user from time to time. The application pool associated with this application is setup to run under ApplicationPoolIdentity. Exception Info System.DirectoryServices.DirectoryServicesCOMException HRESULT: 80072020 Message: An operations error occurred. Extended Message: 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be

How can I debug SessionStateModule/REQUEST_AQUIRE_STATE taking > 100 seconds on half of my requests?

筅森魡賤 提交于 2019-11-28 07:43:23
问题 This started happening in the last few days; possibly since I installed Visual Studio 2012. It's currently only happening on my machine (my colleagues are all still on VS 2010), but I'm hoping to uninstall VS 2012 to see if that has an affect. Around 50% of all my web requests hang in SessionStateModule/REQUEST_AQUIRE_STATE for around 100 seconds (then the page completes successfully). ANTS Profiler reports all the time as "Awaiting synchronisation" and gives a stack trace in some IIS thread

WCF service returning 404 on method requests

北战南征 提交于 2019-11-28 07:27:19
I have a WCF service page running only WebGets/WebInvokes over SSL - it works fine on my local machine (self signed cert). On production, however, I can reach service.svc (and it gives me the message about how to consume) but service.svc/AnyRequest returns a 404. Both environments are hosted in IIS 7.5. I've enabled tracing and the service isn't even picking up any of the method requests (e.g. service.svc/SomeRequest), however it is processing service.svc just fine. It's also listening at https://computername.domain.net/path/service.svc - is this normal? Should it normally be pointing to https

“Access to the registry key 'Global' is denied” when accessing performance counters

♀尐吖头ヾ 提交于 2019-11-28 06:45:16
I'm attempting to read some performance counters from my ASP.NET application. When I do, I get the error "Access to the registry key 'Global' is denied." I have tried following the instructions here and here , using the user IIS AppPool\DefaultAppPool , which is the identity my app pool is configured to use: I have added that user to the Performance Monitor Users group: And after adding the user, I restarted my computer. But I am still getting the error. I have also tried adding the users IUSR and NETWORK SERVICE to the Performance Monitor Users group, but those don't work either. Out of