iis-7.5

What is the difference between customErrors and httpErrors?

Hi All What is the difference between the customErrors and httpErrors sections of the web.config file in ASP.NET MVC applications? What are the guidelines for using each section? Thanks. Alan T ...

How to Setup IIS 7.5 Website Physical Path to a Network Share?

How to Setup IIS 7.5 Website Physical Path to a Network Share? When I point the physical path to a network share and try to access the page, I get the following error: ...

SecurityException after adding ELMAH to WCF project

I'm having a problem with a WCF (.Net 3.5) site using ELMAH on IIS 7.5. This is the exception message: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. To verify that it was the combination of W...

ASP.NET Session State Error only on default document

I have a site where when accessing via site.com/default.aspx everything is fine, however when accessing via site.com/ I get a session error as follows: "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModu...

IIS 7.5 refuses to load 64-bit assembly - possible CAS problem?

Hi, I just downloaded the Orchard CMS, opened it up in VS2008 and hit F5: Everything runs fine. I then created a website in IIS 7.5 and pointed it to the web project's directory and set up permissions correctly (I hope). I downloaded the 64-bit version System.Data.SQLite as suggested here: Orchard Work Item 14798 and here: SO: Could n...

ColdFusion 9 Cluster with IIS7.5

Does anyone know of a step by step process of setting up a ColdFusion 9 cluster using IIS 7.5? Either failover or network load balance would be nice. Without IIS being clusterable in Windows 2008 R2, I'm not sure of the best means to configure the web server and ColdFusion service. Some of the things I'm looking for are..... With lo...

IIS 7.5 Enabling Test Certificate

For Testing x509 certificate.I expanded the Default Website node in IIS 7.5.When i right click there is no properties option in popup menu.How to include it? ...

Unstable ActiveX components on IIS 7.5

We have moved an existing website from IIS 6 to Windows Server 2008 64-bit + IIS 7.5. The website consists of Classic ASP, ASP.NET, and the Classic ASP uses several 32-bit ActiveX components. The website's app pool is running Classic Pipeline Mode and we have enabled 32-bit applications for the app poll too. In Task Manager i can see tha...

IIS 7.5 can't access file from managed code

I am working on a project that is click-once deployed from an IIS 7.5 web server. After installing the parent application (i.e. setting up the IIS site) I am able to hit the url for the click-once app's config file from a remote box. HOWEVER, when I attempt to do the same thing from my app (and the stub app below), I get a 401 Unauthori...

How to (pre)start xamlx workflow service

Related to this question. I have a xamlx workflow service that loads part of its definition from a database when it runs (using ActivityXamlServices.Load). Reason for this is that I need versioning, see the related question. I'll use WCF routing to direct calls to the right service. The part that I load dynamically contains a Receive a...

How to give ASP.NET access to a private key in a certificate in the certificate store?

I have an ASP.NET application that accesses private key in a certificate in the certificates store. On Windows Server 2003 I was able to use winhttpcertcfg.exe to give private key access to the NETWORK SERVICE account. How do I give permissions to access a Private Key in a certificate in the certificate store (Local Computer\Personal) on...

Site not displaying properly

Hi, I created a webforms asp.net site. When I run the site from VWD 2008 express the site displays fine. But I setup the site on IIS 7.5 on localhost. Now when I browse the site I get a page filled with symbols. Eg. ��{���{��;�N'��� What is going on here? ...

missing duration in iis 7.5 Failed Request Tracing on server core

We have Failed Request Tracing working on IIS7.5 (Windows 2008 Server Core) and our rule has ASP.NET checked off and verbose logging set. However, on many googled screenshots of what a typical failed request trace looks like, we see the actual duration of each subpart in milliseconds shown to the right of the word verbose on the "reques...

ASP.Net - sending SMTP mail via IIS 7.5 SMTP Server

I have recently configured IIS 7.5 to use the SMTP server. Now, I have my ASP .Net application that was running in IIS 6 fine, moved over to IIS 7.5. The website had email functionality, but this has no stopped working. Has anyone else managed to get IIS 7.5 SMTP working with ASP.Net? EDIT: The website is load balanced, would this ma...

HELP!!! Upgrading to windows 2008 R2 server has caused major issue with screen scraping remote server pages.

I have three servers. One is Windows 2003(A) and another is Windows 2008(B) and third one is also Windows 2008 (C). All of them are web servers. A and B contains classic asp pages and they are 32 bit servers and C contains asp.net pages and is 64 bit server. The asp pages of A and B use the screen scraping technology to render the asp.ne...

Detailed 500 error message, ASP + IIS 7.5

Hi there! IIS 7.5 , 2008rc2, classic asp, 500 error msg: The page cannot be displayed because an internal server error has occurred. I need to know how to configure iis to get detailed error. I've tried setting to true all of debugging options into ASP configuration. Now I need help. Can anyone help me? thank u. ...

IIS: No Session being handed out, but only in production

I've reproduced this in a simple project - details below. It's a WCF service in ASP.NET compatibility mode. What I'm seeing is that when run on the dev machine (Win7), a HTTP session id is available inside the service operation (HttpContext.Current.Session is non-null). But when deployed to the server (Win2k8R2), I get "No session". On b...

Can't run ASP.NET MVC 2 web app on IIS 7.5

I'm trying to run an ASP.NET MVC 2 web application under IIS on Windows 7, but I get a 403.14 error. Here are the steps to reproduce: Open Visual Studio 2010 Create a new ASP.NET MVC 2 project called MvcApplication1 Shift+F5 to run the app. You should see http://localhost:{random_port}/ and the page will render correctly. Click on MvcA...

IIS 7.5 powershell module usage issues

Has anyone managed to use this module with success, i'm running 32bit Windows 7, where i have opened an administrator shell using run as administrator, i have imported the WebAdministration module and then attempted to use the commands with some issues, have provided two examples here Websites I created a web site with the following co...

Can a page opt out of IIS 7 compression?

My pages are automatically being compressed by IIS7 with GZIP. That is great... but, for one particular page, I need to stream it to the user, using Response.Flush() when needed. But when the output is being compressed, the IIS server seems to collect all my output until the page is done before compressing and sending it to the client....