iis

WCF Service Hosted in IIS System.Runtime.InteropServices.SEHException

I have a WCF service, hosted in IIS returning the following error (when trying to call a method or even just browse to the service definition): "Service not available" The error log shows a bit more detail: An unhandled exception occurred and the process was terminated. Application ID: /LM/w3svc/1/ROOT/C_wcfService ...

How to give Write Permission In IIS Version5.1?

Hi all, I have developed an web application using Asp.net ( .Net Framework 3.0). In this application I have created a folder in the application directory. This folder contains an xml file to read and write data. when I tested this application in my local machine I can read and write data. But, when I deployed in IIS Ver5.1, I can read t...

What's the way to check others servers IIS status from asp.net page?

I need to check every five minutes if 4 servers are online from one asp.net page running in a fifth server, in order to redirect requests and send alert by e-mail to the network manager. Specifically I need to know if IIS is running ok in those servers. What's the best way to do it? Is there any component or socket library to use in orde...

<machineKey decryptionKey="AutoGenerate"... being ignored by IIS. Won't invalidate previous session's cookies.

(See question below for more context): Are there any situations in which <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps"/> in web.config would fail to AutoGenerate a new machineKey on App Pool recycle? This is the behavior I'm seeing... I'm using standard ASP.NET FormsAut...

Change the path of WebResource.axd

Hello, We´re are using Akamai here and I would like to know if there´s any way to change the path of WebResource.axd so we can cache the file in Akamai´s network. The ASP page automatically inserts the WebResource.axd?d=9MSi9kc8rKZ-yU_r-9KIXg2&t=633595228754539605 in our pages. I would like the change the url to another one. The WebR...

Winforms client and SSL WCF forms authentication

I am writing a console application to make calls to a wcf service that is hosted in iis and uses FormsAuthentication over SSL in production but not so in dev if possible. I have the following link http://www.zamd.net/2009/03/05/FlowingFormsAuthenticationCookieToWCF.aspx and am looking for both the server and client configs as well as th...

Configuration error after deploying asp.net files into iis server alternative

I am getting the following error which deploying my code in the production server. Code is working fine in development. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file app...

ASP.NET and dynamic Pages.

Is it possible to write a System.Web.UI.Page and stored in an assembly? And how can I make iis call that page? So I will go deeply... I'm writing a class like that: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using Syste...

Tool for analyzing IIS web logs for troubleshooting

I'm looking for some kind of tool that will let me slice and dice IIS web logs, for troubleshooting purposes... All tools I've found are designed to analyze logs for a "Google Analytics" type of output, but what I want is more like "see all hits made from some IP", "see all hits to a specific ASHX file", things like that, to troubleshoot...

Default Directory in a WCF service that is hosted in IIS6?

I have written a simple WCF service that accepts and stores messages. It works fine when hosted locally. I still works when hosted on IIS 6. But when I enable the service's ability to store the messages to xml I get the following error: Access to c:\windows\system32\inetsrv\Onno.xml has been denied (translated from dutch, so may not matc...

Will asp.net-mvc ajax related requests count as page views in IIS?

Will asp.net-mvc ajax related requests count as page views in IIS? Does it make a different on the response type of the request? i.e. json versus ... ...

Best host on Windows for UI-less processes

We're planning a system running on Windows/.Net 3.5 that has a number of "services" that need to run in the background. Some will be active all of the time, but some will only be called occassionally and can be stood-up on demand. As far as I can see, my options are: Windows Services - always running(?) IIS hosted something - called o...

IIS 7.0 URL Rewrite Module - Root URL doesn't display

Hi, I'm trying to setup a PHP website in IIS 7.0 with URL rewriting enabled using this module (http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1691) I've got the whole thing running fine for inner pages of the site, but my root URL "/" doesn't work any more. I want the structure of my URLs to be www.test.com/test-page...

Sharepoint, IIS, .net, and multithreading

I am aware that IIS is configure for multithreading as standard. I am having performance issues with my web servers hosting Sharepoint 2007. So my question is; Does Sharepoint 2007 use multithreading as standard out of the box solution, or is it only customisations using .net? And does anyone know how I could limit users creating mu...

Is it possible to turn off IIS compression from application?

We've run into a problem with IIS compression screwing up IE6. We are stuck on a shared host and we can't turn compression off at the server level. Is it possible for us to turn off IIS compression from our ASP.Net application? ...

How do I obtain the website certificate programmatically in IIS 5.1/6

I would like to be able to query the identity of the certificate that has been assigned to a particular website in IIS 5.1/6. I need to configure a WCF service hosted within that website to use the same certificate. Examples in C# are welcome; even better would be an example showing how I can integrate this with Windows Installer/Wix ...

IIS moving virtual directory to file share breaks impersonation of logged on user

We have an instance of IIS6 running an intranet website with Windows Authentication and Impersonate = true so that it uses the NT credentials passed in by the clients browser. The AppPool is set to run as a network service user: serviceAcctX so that we can undo impersonation in rare cases (to read or write a resource that the client user...

IIS web site redirection problem

Hello everyone, I asked this question before and I already know how to use ISA Server 2006 to implement this function, my current question is how to implement the same function without using ISA Server but using pure IIS only. Does anyone have any ideas? My development/deployment environment is, IIS + Windows Server 2003/2008 + .Net + ...

Basic Authentication not found in IIS 6.0

For Sharepoint Central Admin to work I need to enable Basic Authentication in IIS 6.0 http://community.bamboosolutions.com/forums/p/2287/2881.aspx For some reason I am not able to find it in IIS 6.0 on my machine. I See only Anonymous authentication, ASP.net Impersonation, Forms Authentication. Any thoughts? ...

Problems consuming webservice on ASP.NET on production(IIS) server

We've implemented some SOAP client code on our ASP.NET site that calls up a remote service. Implementation was basically done by using Visual Studio "Add Web Reference" wizard, adding proper 'using remote.service.namespace' to the code and calling the service. Code works perfect locally(from Visual Studio), but fails on production web s...