iis-7.5

WCF service returning 404 on method requests

橙三吉。 提交于 2019-11-30 05:58:28
问题 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

User rights needed for IIS 7.5 application pool user (domain user, not the AppPoolIdentity)

谁都会走 提交于 2019-11-30 05:41:49
We have an active directory domain (let's call it foodomain ) and a domain user account ( foodomain\fooAppPoolUser ) used for the IIS application pool identity. We want to run the app pool under this user account and not under Network Service or the new AppPoolIdentity as we have to access SQL server and have multiple applications on IIS (with own app pools) accessing different databases. The problem is that I can't find a clear HOW-TO explaining, which user rights have to be set for this user account and how IIS has to be setup so that this will work. First I got errors (unfortunately I can't

IIS AAR - URL Rewrite for reverse proxy - how to send HTTP_HOST

点点圈 提交于 2019-11-30 04:31:58
Trying to use AAR as a reverse proxy in front of several back end IIS servers. One public ip address assigned to the server running IIS/AAR Then outbound URL rewrite rules are setup to redirect to one of several back end servers depending on hostname. Works somewhat, but always returns the back end servers default site (not the one mapped to a hostname) so it looks like the host name (HTTP_HOST) is not getting passed from the proxy server to the back end server. (I've verified bypassing the reverse proxy by editing hosts and the back end server returns the correct site bound to the host header

ServiceStack with IIS 7.5

流过昼夜 提交于 2019-11-30 03:17:55
问题 I installed Clean Windows Web Server 2008 R2 64-bit with IIS 7.5. I created .NET v4.0 application pool and Web Site in this pool, where I deployed my application with ServiceStack services. I got this error message in web browser when I opened servicestack page.: HTTP Error 500.21 - Internal Server Error Handler "ServiceStack.Factory" has a bad module "ManagedPipelineHandler" in its module list. My application is working in Visual studio hosted IIS server. Can be problem with IIS 7.5

Granting write permissions to a networked UNC folder for ASP.NET under IIS 7.5 and Windows Server 2008 R2

心不动则不痛 提交于 2019-11-30 02:56:43
BLUF Our application is attempting to write a file to a UNC folder using an ASP.NET web service running under .NET 4.5, IIS 7.5, and Windows Server 2008 R2. However, any attempt to write the file to the desired location results in an access denied exception. The task seems simple however me and my team have been troubleshooting this for a while now and we are stumped as to what may be causing the error. Below are the details of our setup and what we have tried and found so far. Names have been changed to protect the innocent. Environment Setup The web server, mywebserver , has a website named

Exclude path in IIS rewrite rule?

别来无恙 提交于 2019-11-30 02:47:24
问题 I have a rewrite rule that converts a URL to lowercase. I would like to exclude a folder but don't know RegEx. How do I exclude "~/myfolder" from the rule below? <rewrite> <rules> <rule name="LowerCaseRule1" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <action type="Redirect" url="{ToLower:{URL}}" /> </rule> </rules> </rewrite> 回答1: You could do something such as: <rules> <rule name="LowerCaseRule1" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <conditions

HTTP Error 500.19 - IIS 7.5 Error 0x8007000d

China☆狼群 提交于 2019-11-30 02:42:08
While Transferring Website to new IIS 7.5 I am facing below error: I am not sure whether it is programming error or server error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x8007000d Config Error Config File \?\E:\kunden\homepages\0\d442477881\www\web.config Requested URL http://mcstech.co.uk:80/ Physical Path Logon Method Not yet determined Logon User Not yet determined Failed

What is the relationship between Application Pools and worker process threads?

喜欢而已 提交于 2019-11-30 02:25:46
I'm troubleshooting restarts in an ASP.NET application. The application is restarting about 20 times a day. We strongly suspect one part of the application because the restarts began when this particular feature when into production. I've added some logging to those pages using the log4net library, but I'm having trouble interpreting the logs. When an ASP.NET application is running in an Application Pool, does only a single instance of that application run, or will multiple instances of that application run? I know several worker process threads will be spawned. What is the relationship of the

IIS 7.5 applicationHost.config file is not being updated

有些话、适合烂在心里 提交于 2019-11-30 01:31:45
I'm currently playing around with the Microsoft.Web.Administration (MWA) namespace in order to adjust our application to configure IIS 7.5 with the new API. I understood that all IIS level changes should be expressed in the following file (I'm on Win2K8-R2): %WINDIR%\System32\inetsrv\config\applicationHost.config So, when I use the ServerManager object to commit the configuration changes the file should be updated accordingly. After adding a new MIME type (programmatic with MWA) I did not see any changes in the applicationHost.config file , but I do see the new MIME type in the IIS manager

HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers

☆樱花仙子☆ 提交于 2019-11-30 00:30:41
问题 i want to allow access to Anonymous.aspx page to all user, i have set Basic Authentication to Enabled , and Connect as to specific user . my problem is when trying to access http://MyIPAddress/MyAlias/Anonymous.aspx , authentication popup appears--ideally it shouldn't, and when i close popup, getting 401.2 Unauthorized error --it's obvious Error Summary HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Error Code 0x80070005 below