iis

I want to debug an ASP.NET MVC app in IIS using a custom URL defined in HOSTS

I am having trouble setting up VS2010 so I can debug in IIS: I have added some custom URL's to HOSTS I have edited the application properties to use local IIS I have created a virtual directory in IIS Any good resources fro setting this up? ...

Hosting non web based application in IIS 7

I have heard that you can host non-web based applications in IIS7 similar to windows services. Basically I want a C# app that is just a process running all the time to perform a specific function. I want to create a process that connects to the database at an interval and does some work. I would like this whole app to be housed inside ...

DNS failover takes time

I have a C# web service on IIS acting like a proxy. My problem is that when the IP address of one of the backend servers change, the windows DNS cache is correctly updated (checked with nslookup) but the service continues to do some requests on the old IP for about 40 minutes. I noticed that the failover works if I stop hitting the prox...

Why is ASP.NET MVC asking me to re-authenticate for .PNG files but not .gifs or .jpegs?

What am I missing here??? For some reason, anytime I reference a .png from my application.css file I get prompted for credentials. BUT, I can reference .gifs, .jpegs, etc... from my images directory no problem. Routes are set up right now like this ... public static void RegisterRoutesTo(RouteCollection routes) { routes.Igno...

How to get the "originally requested" URL when using IIRF URL Rewriting Engine

I am using Iconic's IIRF URL Rewriting Engine on IIS and the "fancy" URLs are something like this: http://some-website.com/some-function/418/some-keyword-rich-filename.html This example URL corresponds to: http://some-website.com/some-function.asp?SOME-ID=418 Now inside the some-function.asp file I need to know the page that was re...

URL Rewriting Domain Root to Subfolder

I'm trying to figure out how to write an IIS URL rewrite rule that will take my domain (mysite.com) and rewrite it as (mysite.com/cms). I would also like www.mysite.com to rewrite to mysite.com/cms. I'm using a Windows shared hosting account with GoDaddy. ...

How to protect a web server FROM a reverse proxy server.

I have a website "www.website.com". Recently I found out that somebody has set up a reverse proxy with an almost identical url "www.website1.com" in front of my website. I'm concerned of those users who came to my website through that reverse proxy. Their username and passwords might be logged when they login. Is there a way for me ...

How to read Windows loged in username with PHP/IIS

Hello I am runnig a network. Here I have a domain controller (DC) I just installed IIS6 , PHP and Mysql on it. every thing is working fine.:) Now I want to bring up a script on this local website. The first problem is that I want to detect which one of network users (active directory users) are logged in with PHP. I mean it is enough f...

IIS, APACHE, YAWS runtime environment

Recently I gone through a an article explaining potentiality of YAWS server and the number of requests it processes per second. It was mentioned that YAWS can handle 80K requests per second and it also run in multi threaded environment to improve request processing limit. How can we compare IIS, Apache with YAWS? Which one will process ...

What's a feasible method of implementing a "tasks" application that runs alongside an ASP.NET MVC site in Medium Trust?

I'm writing an ASP.NET MVC site where I need to have a "Tasks" application that runs alongside the website. Such a "Tasks" application would collect data at set intervals and insert it into the database. Of course, I could write a simple Console Application and use the Windows Task Scheduler to run it, but my site is being hosted by GoD...

In process web-server for MVC2

I'm working on a project that requires an in process web server to run the web based UI. The best option I have come across is CassiniDev EDIT: did some tests and noticed that issue isn't synchronous way of processing requests, it has to do with tcp-connects. fiddler shows 1 second as the tcp-connect time. Are there any alternatives? ...

When to create a web garden

I have an application that is currently running on IIS 6.0 with one worker process (the default). I am trying to determine if creating a web garden will improve performance. I have read a bunch of articles that say that a web garden is not the right approach for everyone (since it duplicates resources, cache is not shared, etc). I cou...

How and when to perform ASP.NET server side clean-up operations

I have an ASP.NET website with ASPX pages and ASMX web-services. I want to perform a server side clean-up operation which can be relatively time-consuming (deleting temporary files). For reasons I won’t go into, it is important that no requests (ASPX or ASMX) are processed whilst this operation is in progress. Ideally I’d like to perfo...

creating new web site in IIS that only shows FTP sites

I was successfully able to deploy my .net web app by copying all bin contents to the server I was assigned. Now the next step I was told was to create a new website in IIS manager and direct the virtual directory to the folder where the bon contents are. Now IIS only show FTP sites so I was wondering if I can still run a web application ...

IIS 6/7 Threading - Long running aspx page keeps other aspx pages from loading

I wrote a test page that does a bunch of busy work in a method called at page load. This process as I have it now takes around 12 seconds. If I try to load another page while the first long running page is loading, this second page doing nothing except writing out a hello world, it doesn't load until the first long running page is finis...

MS SQL 2008 - Create a copy of the database without the data

In MS SQL Server 2008 R2, how do i create a new database based on the schema of the old one, but without copying any of the data along with it? I am using SQL Server management studio. Sorry if this is a duplicate. I looked around and wasn't finding what i wanted. I assume this is pretty simple to do. ...

How to attach debug IIS native module with VS 2010

I am getting difficulty debugging my custom IIS module written in C++, using VS 2010. The problem is that IIS worker process (w3wp.exe) starts too quickly and there is no way to catch it at the beginning in VS "attach to process" dialog. Is there a good skill to do this? Thanks. ...

httpRuntime executionTimeout value not applied

Hi, I'm working on Windows 2008R2 with IIS 7.5. In web.config there is config value: httpRuntime executionTimeout="90" Now, web request calls WCF service, which is very time consuming (timeouts for WCF are set to 5minutes). Whilst waiting for WCF to finish, web application throws exception: Exception Type: System.Web.HttpExce...

IIS 7.5 and mixed-mode authentication (single sign on)

Has anyone managed to achieve this? Application should work like this: App admin can add AD users App admin can define users not from AD If user is added from AD and trying to access to application from same AD - application should log him in automatically (single sign on). If user is not from AD, or not added as application user - ap...

IIS response not reaching back to client

Hello, I got a strange issue after hosting the my site in IIS 7.5, Windows server 2008 64 bit The applicaion is created in ASP.Net 2.0 The page with issue has following workflow: Upload a file from browser (may be very large size ~50 MB) Perform some process (May take very long time: up to 30 minuits) Notifies the client that proce...