iis7

How do you Install a SSL Certificate

Is there a tool or programmatic way to install an SSL cert to the default website in iis 6 and 7? Ideally I am looking for something that can be done via unmanaged code or .net managed code. ...

WebResource.asd giving 403 error in ASP.Net Post backs using IIS7

I installed a ASP.Net website on a Windows 2008 server, which is by default using IIS7. The website seems to work fine, but the post backs on my forms do not work. After a few hours of debugging, I realized that when I manually try to hit the WebResource.axd file in my browser (e.g. I type http://www.domain.com/WebResource.axd in the a...

Hitting Webservice on Different Subnet

Hello, I know this is somewhat of a server question, but I wanted to ask anyways in case someone has done this before. I have a web service that is on our internal 172.x.x.x subnet and a web server that is on our internal 10.x.x.x subnet. The webserver needs to hit the 172 web service, but is unable to route there. The real solution ...

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

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 eac...

Change .NET Framework version of application pool to 3.5?

I've installed .NET Framework 3.5 SP1 on web server (Server 2008 Enterprise), so running IIS 7.0. I want to change the version of .NET Framework used by an existing site. So I right-click on appropriate Application Pool and selected Edit Application Pool. The .NET Framework dropdown does not include an explicit entry for framework 3.5...

How do you know if the HTTP Compression is Working?

How do you know if the HTTP Compression setup is working? Is there any tool I can use to see the compressed page before it is uncompressed by the browser? are there any tools to measure the amount compressed and response speed? ...

State Service when using system.web.routing in WebForms

I am using the System.Web.Routing assembly in a WebForms application. When running the application deployed on win2008/IIS7 I got the following message. 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...

UnauthorizedAccessException with IIS7

I'm trying to write a log file from an ASP.NET application under IIS7, but keep getting the following exception: UnauthorizedAccessException "Access to the path 'C:\Users\Brady\Exports' is denied." I have given write access to the iis_iusrs, iis_wpg, and aspnet users, based on various advices found by Google, but still get the er...

BizTalk Server BAM Portal on x64 Windows 2008/IIS 7.0

We are attempting to install BizTalk Server 2006 R2 on a fresh server with x64 Windows 2008. The basic configuration is complaining that the “Default Web Site” we select for the BAM Portal installation is not validated due to “IIS is not 32-bit enabled.” Despite setting the appPool (Classic mode) 32-bit property to True, BizTalk configur...

What are optimal settings for Recycling of Application Pools in IIS7 in shared environment?

Hello! What are optimal settings for Recycling of Application Pools in IIS7 in shared environment? Thanks in advance ...

Is there a way to access both a root App_Code folder and an App_Code folder in a sub directory in IIS 7.0?

I would love to be able to have a common set of Classes in my root App_Code folder, which is how we are set up right now. However, it doesn't make sense to put specific code there for some application residing in a sub directory. Root Folder App_Code SubDirApp1 App_Code SubDirApp2 App_Code We currently have each production ap...

iis7 / asp.net mvc deployment problem

I am having trouble deploying an asp.net MVC app to IIS7. I have an MVC project created with asp.net mvc beta 1. It consists of nothing more than the default template unmodified. The app runs just fine within VS2008, but when I publish it to a local IIS7 website (http://localhost), I get the following server error: The incoming r...

IIS 7.0 Multiple Domain Site Bindings

I've got three web sites each with its own domain going to my one Windows Server 2008 IIS 7.0 web server. example1.com example2.com example3.com The site bindings for each: When I navigate to example1.com, then I see my example1 web site. When I navigate to example2.com, then I see my example2 web site. But, when I navigate ...

Setting up SMTP under IIS 7 on Windows Server 2008

Website started life originally under IIS 6 and the site worked great there. Now after relocating to a new server running W2K8S, everything but mail delivery from the website now works great under IIS 7. Researched briefly on the Web to see if anybody had a good resolution, but no avail... Not even a glimmer of hope on Microsoft's own s...

IIS7 writing to a share over a network.

I am developing an application from windows vista machine. The web application is hosted in IIS. From that application i try to write to a network share on another vista machine but i keep getting the access denied error. On the share i gave everyone, guest, network, anonymous logon full control share and ntfs access. But still access is...

CSS not working with IIS7

I have a rails application that I am running with Vista,IIS7 and SQL 2005. For some reason the CSS is not being rendered. The CSS works fine when I use Webrick. Any ideas how to get CSS working correctly with IIS7. I have uninstalled and reinstalled windows components "Common Http Features" with no luck. ...

IIS v7 disabling SSL v 2.0

I am attempting to disable SSL v2.0 protocol on IIS 7. The following article refers to IIS v6: http://support.microsoft.com/kb/187498 It doesn't seem to apply because the only protocol listed in the registry is SSL 2.0 (not all the others) and the setting "DisabledByDefault=1" is already in there, which would seem to imply that it is d...

How can I setup iis with an ssl cert?

Is there a way to programaticaly install a ssl cert for iis 6 and 7? ...

Using WPF in IIS7 or a windows service?

We currently do a fair amount or dynamic image generation of png's in ASP.NET using the GDI+ classes in .Net with a no major issues. I had hoped to take advantage of many of the new drawing, FormattedText, RenderTargetBitmap, optimization algorithms, etc. in WPF in our ASP.NET application, but apparently this is not supported and came to...

See which sites are using which IPs in IIS 7

Is there a way to quickly list which sites are on which IP address in IIS 7? If I remember correctly you could sort a view of domains by IP in IIS 6 which was a big help to me in seeing which IPs I had available. ...