iis

IIS: How to disable Data Execution Prevention in Windows Server 2008?

I've been trying to disable DEP on my windows 2008 dev box and have not succeeded. I've tried: System Properties->Performance Options->Data Execution Prevention->Turn on DEP for essential Windows programs and services only (still happens) System Properties->Performance Options->Data Execution Prevention->Turn on DEP for all programs...

What's the maximum number of HTTP connections I can have open in one Windows Server 2008 box?

I have a web server hosting an HTTP chat application that works with long-polling. This means a client browser "polls" for new info and the server does not respond until there is info to send back, so the HTTP connection is left open for a long time, up to a minute. My question is how many of these connections the server can handle ope...

Correct way to develop a large application

We are developing a very large web application in .Net 3.5. Two separate vendors are involved having expertise in different areas. Both the vendors are located remotely and working on separate functional area of the same web application. I was wondering what is the best way to handle the development of UI. The UI have a master structure...

How to Install IIS through Code

Hi, In My application i have to install IIS automatically when my application install in User machine (Vista / XP) with out using OS Cd's. Can any one please guide me how to do this. ...

ASP.NET has no access to IIS metabase

How to solve this problem? I am using asp.net 2.0, vs2005 and IIS 5.1. Using Windows XP SP3. Failed to access IIS metabase. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Det...

ASP.NET MVC deployment to IIS 5/6 with Virtual Directory

Hi All, I have an asp.net MVC App that I want to deploy to IIS 5 and/or 6 using a Virtual Directory. I have already performed the wildcard routing, but I have a problem with relative paths. Imagine I have created a virtual directory called myApp. After deploying I can go to http://localhost/myApp and am greeted by the index page. My...

Are there any resources that demonstrate encryption of content in IIS using ISAPI filters?

I'm looking to port over an Apache module to IIS 6.0 that does some custom encryption on data that is being sent to the client. A TechNet document that deals with configuring IIS 6.0 suggests that this can be done with ISAPI: For example, a filter could be notified when a Read or Write event occurs and then encrypt the raw data ...

Windows Server 2003 - Leave running when idle

Hi there, I'm currently moving a website to a new server, whilst doing so i've noticed the option to set com+ application components running when idle. This option is currently set to true on all components, but it sounds to me like there would be some sort of trade off (page load time vs strain on server). Does anybody know what the ...

iis wildcard redirect - wix issue

<Component Id="WebVirtualDirComponentX86" Guid="E6995A18-BC79-4A72-BD82-F3961D72EC00"> <WebVirtualDir Id="WebVirtualDirX86" Alias="TestWebApp" Directory="INSTALLDIR" WebSite="OurWebSite"> <WebApplication Id="WebApplicationX86" Name="TestWebApp" > <WebApplicationExtension CheckPath="no" Script="yes" Executable="C:\WINDOWS\Microsof...

WCF Service hosted in IIS - Can't seem to cache or retain state?

Hello, I'm trying to cache some application data that only needs to be instantiated when the application starts. I've tried using HttpRuntime.Cache, creating a static object that is instantiated only when the service starts, and I've tried making the service singleton and using global variables. Every time a new request hits the servic...

How to determine how long IIS takes to deliver a web page?

We use IIS servers and would like to know if there is a performance counter or something else which could help us determine how long it's taking to serve web pages (average, actual, whatever)? From the time the page is requested, to the time it has been sent out, how long was it? Is there anything in IIS which can give me this informat...

Session timing out on ASP.NET app after visiting PHP app on same server

I'm working with a client's proprietary ASP.NET app, to which we added a PHP wiki to a subdirectory on the same server. The PHP app authenticates against the cookies that the .NET app uses. This all works fine. When you login to the .NET app and then visit the PHP app (Dokuwiki), and then visit any page on the .NET app, it reports that...

How to handle the End Request event in class ASP

In ASP.NET there is the Application_EndRequest event in global.asax. In classic ASP however there is no such equivalent event in global.asa Is there any other built in way of handling the end request event, or any way of somehow hooking into IIS to accomplish the same thing? Thanks ...

Dynamic URL from WCF Web Service

I'm trying to serve up Excel documents that I have stored in a database via a WCF RSS feed (the user clicks a link in the feed and it sends down a specific Excel document). The Excel files aren't sitting in a directory any where (in which case I could just give each user a static URL). So what I'd like to do is have a dynamically ge...

Plesk deleting IIS log files?

So I got this Windows 2003 dedicated virtual server from GoDaddy for a client's sites. I'm troubleshooting a problem that requires looking at IIS log files going back two weeks. Unfortunately, when I looked into c:\windows\system32\logfiles\W3SVC[site #], I only found log files for the past five days. When I checked the following day,...

WCF host a service in IIS for Silverlight and AJAX

I'm trying to host a WCF service in IIS7 that works with both Silverlight and for GET requests. I have the Silverlight endpoint working but can't work out how to create an additional endpoint on the same service that will handle GET requests from AJAX clients. I have a second service that is for GET requests only and it works fine so my...

Is there a way to share the same .NET 1.1 web.config file accross IIS5 and IIS7

I am using Vista, but most of the other developers working on the same projects as me are still using XP. Some of our projects have wildcard script mappings for handling vanity URLs, so each time I work on those sites, my IIS 7 adds a system.webServer/handlers section to the web.config file and when one of the other developers do an upda...

Avoiding 401 response for each request using NTLM

HI, We have here an asp.net 3.5 application using NTLM based windows authentication. The system runs on a private network that actually distributed over different geographic places (connected via VPN). We are now trying to optimize the website's performance. Because the way NTLM works, every new request to the IIS is composed with 3 di...

WebDAV "PROPFIND" exception in IIS due to network share?

Hi all, We're finding continuous exceptions in our event viewer on our live box to the following exception: [snippet] Process information: Process ID: 3916 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpException Exception message: Path 'PROPFIND' is forbidden. Th...

Restart IIS / Recycle App Pool after X num of errors?

My company is plagued by the infamous "Hashtable insert failed. Load factor too high" error on our webfarm [6 Server 2003 SP2 boxes w/IIS 6.0]. I realize that there is a kb update that will resolve this error (see link), however others in the department are not contacting Microsoft in a timely fashion (and I don't have the authority to ...