iis

HTTP Authentication (Basic or Digest) in ASP Classic via IIS

I want to develop a website in ASP classic that uses HTTP Authentication against a database or password list that is under the control of the script. Ideally, the solution should involve no components or IIS settings as the script should be runnable in a hosted environment. Any clues/code deeply appreciated. ...

How long to retain an archive of web server traffic logs?

We've currently got four web servers in a farm generating IIS web logs about 100Mb per day. These can be compressed pretty effieciently down to somewhere around 5% of their size. We are planning to use waRmZip to move them off the servers and onto a SAN. After a week or so we can be confident we don't have any technical issues to invest...

Capturing data from a .Net web-service that fails with an HTTP 500 error code

I have a .net web-service hosted in IIS 6.0 that periodically fails with an http 500 because a client connects to it with data that does not match the wsdl. Things like having an element specified in a method as being of type int and the inbound xml element contains a decimal number. WSDL element definition: <s:element minOccurs="1" m...

What is the aspnet_client folder for under the IIS structure?

I notice that there's frequently an aspnet_client folder under the standard IIS web folder structure. What is this used for? Is it needed? ...

Using MS Access to return on-demand reports in a web server?

I have built a MS Access 2007 application that can create reports files in various formats (PDF, XLS, CSV, XML). I would like to allow the creation of these reports to be accessible from a web page where users would just click on a link and get a download of the report produced by my Access application. I would like to keep it simple an...

Is there any performance hit involved in choosing gzip over deflate for http compression?

We recently switched some of our sites from deflate to gzip and noticed a significant increase in cpu load on our servers. ...

Is there an IIS setting to get rid of extra '/' characters in a requested URL?

The general problem: We have urls coming to our IIS web servers formatted like: http://www.server.com/page.aspx We are also seeing that urls like this are coming in: http://www.server.com//page.aspx We would like to get rid of that extra path character because when the user agent is Internet Explorer, this is resolving as ...

When it says put crossdomain.xml in the root where would that be on IIS?

Would it be wwwroot, C, the root virtual directory where the assets are hosted, or the same folder that the assets are in? Meaning if I have a virtual directory 'virdir' with a sub directory 'swf', which is really like C:\somedir\assets\swf\, where would the crossdomain.xml need to go so that my swf app on a different server can access ...

Application Pool IIS7

I'm trying to assign application pool to one web site in IIS7 using vb script: ' Connect to the WMI WebAdministration namespace.' Set oWebAdmin = GetObject("winmgmts:root\WebAdministration") ' Retrieve the application and display its Web site name and path.' Set oApp = oWebAdmin.Get("Application.SiteName='Default Web Site',Path='/site'...

How do I make virtual URLs point to .aspx pages in asp.net deployed on an IIS? (preferably without IIS)

What's the best way to get a nice clean URL structure like stack overflow has? Do I need to use IIS for this? Or is there a way I can do it with some sort of mapping file in asp .net? The site I want this for has hundreds of pages, and is already deployed. I would like a method that requires the least amount of changes possible. Not...

How to generate an 401 error programatically in an ASP.NET page

As you can see this is a question from a none web developer. I would like to have an aspx page which, under certain circumstances, can generate a 401 error from code.Ideally it would show the IIS standard page. Any ideas are welcome. ...

Visual Studio project type for a WCF app to work under IIS?

Is there a special project type for creating a WCF to be hosted in IIS? ...

IIS hosted WCF-service + Windows auth in IIS + TransportCredentialOnly/Windows auth in basicHttpBinding

Hello. I've asked already on MSDN forum, now have a try here. I wanted to do what I guess tried many. I wanted to create a WCF-service hosted in IIS6 and disable anonymous authentication in IIS. And don't use SSL. So only way I have is to use basicHttpBinging with TransportCredentialOnly, itsn't it? I create a virtual directory, set W...

How much sustained data should a dedicated server be able to serve?

We have a dedicated godaddy server and it seemed to grind to a halt when we had users downloading only 3MB every 2 seconds (this was over about 20 http requests). I want to look into database locking etc. to see if that is a problem - but first I'm curious as to what a dedicated server ought to be able to serve. ...

ASP.NET and IIS6: trapping ALL application errors

Our groups legacy ASP 3.0 web apps were able to take advantage of a global error file by setting up a custom error file within IIS's Custom Error's tab. I'm unable to find a similar solution for ASP.NET apps. Does anyone know if there is a way to have a centralized "Error.aspx" page (for example) that will trap errors for an entire a...

Load testing WCF service (hosted on IIS)

Hi, What tools are there that I can test out a WCF service? I am expecting allot of load so I want to have an idea how much a single server can handle. ...

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

ASP.Net tab in IIS missing.

Hmm. I'm trying to deploy a web service to a new server and there is no ASP.net tab. I've tried running aspnet_regiis from ASP.Net 2.0 directory but this doesn't seem to work. Any ideas anyone? ...

Want to host WCF Webservice as Windows Service as against to Hosting in IIS

I want to expose few web services but thinking of hosting those as Windows Service as against hosting in IIS. Is it a good practice? If yes? How do I make it secured? I want to authenticate the users who are accessing it (against our custom security database and also want to make sure that the request is originating from our busines...

My images ask for a password to the local network (Under ASP/IIS)

Not quite sure how to troubleshoot this. I'm maintaining an ASP site, its mostly static, but there's this one include page which brings the menu. Just recently I replaced some images, but now when I try the site, I get a prompt for a password as if It were looking for something on the local network! I checked, all image paths are writ...