iis7

ASP.Net Response.Close issue

Hello everyone, I am using ASP.Net + .Net 3.5 + VSTS 2008 + IIS 7.0 + C# to develop a web application. I find when debugging in VSTS 2008, if I call Response.Close() method in page_load (please refer to code below), there will be error (from IE when accessing the page) like can not connect to server. My question is, Normally when sho...

URLRewrite IIS 7

Hi, I am trying to perform a simple URLRewriting. if you visit azamsharp.com it will take to some folder browsing structure it should go to http://www.azamsharp.com/AzamSharpWebApps/Default.aspx. I don't want to see the AzamSharpWebApps in the URL: Here is the URL Rewrite I am using: <system.webServer> <rewrite> <rules> ...

How can I see incoming Requests in IIS7?

I have a created web service that takes 2 complex types as parameters. I can use the auto-generated WSDL to create a new application that calls my web service and it works perfectly. However, a 3rd party consumer is having trouble calling my web service. I see their incoming request in the IIS7 log file and a 500 error is being return...

create a link for a word document on windows server and IIS 7

I need to create a http link for a document i have on windows sever, do i need to configure something with IIS? ...

REST methods not accessible when hosting wcf service in IIS

I have a WCF REST service that exposes a method in class GreetService: [ServiceContract] public class GreetService { [WebGet(UriTemplate = "greet/{name}")] public String GreetName(string name) { return "Hello " + name; } } Also, I registered a route in Global.asax: RouteTable.Routes.Add(new ServiceRoute("Greet...

WMI error when connecting to IIS7

I am getting the same error described here: http://forums.iis.net/p/1033115/1700749.aspx I have a PowerShell cmdlet that tries to control our web application running on Windows Server 2008 SP2 and IIS 7. One of the first things it tries to do is try to connect to the remote machine using WMI. It does this using code like this: Conne...

WCF streamed response failing on large data

I'm currently experiencing an issue using WCF streaming to return a large set of serialized objects over the internet while hosted through IIS. I'm not sure if it is a network issue or a WCF issue, but the symptoms are hard for me to justify as network issues, as I'll describe below. The objects are a variety of different objects sent o...

.Net 4.0 application running in IIS 7.0 - Hanging under load

Hey, My company is running a .NET 4.0 site in IIS 7 on a windows 2008 server machine. Our site hits are steadily increasing and now we're getting issues during peak usage periods. The site will hang for a time making requests that should be nearly instantaneous take long periods of time (up to 30 seconds). We run a load balanced envi...

No asp.net features on IIS 7.5

Hi, I thought I could see an ASP.NET features panel (I don't know the exact name, though, some of them are .Net Compilation, .Net Roles, .Net Users and so on) on the IIS7 manager when I click a site node in the nodes list of the IIS7 manager. Now, I can see only IIS and Management, but no ASP.NET. I first installed .NET Framework 4.0, ...

IIS7: Internet explorer cannot display a web page

Hallo, I am tryiing to migrate an application written with visual studio 2008 from windows XP IIs 6.0 To Windows 7 with IIS 7.5 and I have this problem: Sometimes when I post the page, the server does not respond and after some minutes i receive e message "Internet explorer can not display a web page" With IIS 6.0 the application wor...

How can I modify a POST request using a custom IHttpModule and an HttpRequest filter?

Overview I want to be able to modify request parameters and content to 3rd party web services (ArcGIS Server). This will be used to create a security layer that exists between any client application and the server application. I think that I have found a solution but I am current having some difficulties in the implementation. Pote...

RIA Services IIS 7 AppPool SQL Server Silverlight Failure

I'm using custom authentication, works fine. When I try to do an insert from another part of my code I get a DomainOperationException error in my Silverlight App. I traced it back to a SQL Server (2k5) error which is Login Failed for XXX\XXX [Client: ]. The web server and db server are different machines, same domain. I've tried a do...

XCOPY/Publish ASP.NET 3.5 Website in x86 onto a 64-bit Server

I have a ASP.NET "website" which uses a 32-bit dll. When I XCOPY to our 64-bit server, the page which uses this 32-bit dll throws an exception. I've already set the "Enable 32-Bit Applications" to True for the App Pool the site runs on but that doesn't help. I'm also trying to set the target platform to x86 but the Website has no option...

IIS7 URL rewrite + subdomain + ASP.Net MVC2

So I am working on a project with multiple areas and we would like to configure IIS to rewrite our requests to make the urls nicer. I have been messing around with the URL rewrite module all day and I cannot get the desired results. Example: I currently have a long url like 'http://register.example.com/Registration/Register/New' where...

What is the difference between httpCompression and urlCompression?

Looking at the node in a Web.config, I see that it allows both httpCompression and urlCompression elements. What's the difference between the two? I just want to do standard gzip, which one should I use? ...

How do I expose local IIS to other PCs on Windows 7?

Hi, I found the good article to do that http://msdnbangladesh.net/blogs/munnacs/archive/2009/06/13/exposing-your-local-iis-to-network-in-windows-xp.aspx ,but it's for Windows XP and I'm using Windows 7 which gets extremely complicated Firewall settings. So here is my question, how can I achieve the same thing on Windows 7 as the articl...

True start/stop with msbuild task regardless of error

I was wondering if it's possible to have something like a try, catch, finally in an msbuild script. I'm trying to set it up so that I can stop an IIS site and app pool, do some building, copy over files and then make sure that even if something goes wrong during the build and files don't get copied it can at least bring the site back up...

ASP.NET MVC 404 Errors for IIS 7 Integrated mode

Hey everyone. I am getting 404 errors when I try to access my ASP.NET MVC 2 site. I'm hosting this site using II7, and I have my site set to use the DefaultAppPool Intergrated pipeline mode. Here's my routes, it's a pretty basic site: routes.MapRoute( "DefaultRoute", // Route name "{controller}/{action}/{...

ASP.NET script combiner returns blank response at times.

I am using a script manager for ASP.NET MVC to combine and compact CSS files and JavaScript files for pages on a website. For the most part this works as expected, however there are times (couple of times per week) when the HTTP handler responsible for returning the content returns an empty response and so pages load without any CSS - th...

The main differences between IIS6 and IIS7

Hi, I am writing a installer using WiX that will create a website and virtual directory, amongst other things, in IIS. I have been having trouble ensuring that the installer will work on both Windows Server 2003 with IIS6, Windows Server 2008 with IIS7 and Windows Server 2008 R2 with IIS7.5. One of the first problems that I came across...