iis

ASP.NET and Virtual Directories

We have an ASP system that we are going to replace with ASP.NET. This system is used by several different entities as an extension of their website (external of this system) using virtual directories, CSS, etc. Is this architecture still sound in the .NET world? Is there a better way of doing this? ...

overwriting a web.config root file to enable customerrors tag

I have a situation where I want to catch 404 errors fired by HTML pages (not just aspx pages) but I only have access to the web.config of the root folder of my website, and all sub directories (note, i don't have access to the actual IIS server and I cannot create applications or change settings) So I did try the web.config customerrors...

Why is IIS forwarding my www request to the TLD without www host name?

I just setup 2 host names in my IIS web-site identity advanced configuration tab. They are: port 80 www.mydomain.com port 80 mydomain.com Whenever I go to www.mydomain.com it forwards me to mydomain.com How do I fix it so that it's the other way around, all requests go to www.mydomain.com? Thank you! ...

How to improve startup performance on IIS / ASP.Net

Hi, I am using a particularly slow virtual web host (name withheld!) where disk performance can be very bad. Thus, the first hit to my ASP.Net web sites can take 1+ minutes to load. (After initial load, it's all in RAM and fine.) I am wondering if anyone knows a way to instruct IIS to pre-load the site? Is essence, emulate the first hit...

Does window.opener work when on different domains?

Will window.opener work if the child window is on a different domain than the parent window? What about when it's the same domain on IIS7, but on a different application/virtual directory? ...

Load balanced websites on IIS 7

Looking at implementing load balancing for Windows hosted web sites on IIS, but want to know of the issues involved in doing so. Website are ASP.NET - with a mix of custom authentication and ASP.NET Authentication. For example: Files : store on networked share obvious choice, but I expect it will put a lot of demand on the file server,...

ASMX Page: Unable to see available operations remotely

I'm trying to consume a webservice and while trying to add a web reference to the .asmx page where it details the operations available, I'm getting the formatted page but no operations are listed. However, when I'm hitting the same page locally, I can see all the operations available. It appears that I cannot consume the webservice rem...

Uploading files to my site

I have an ASP.NET application. I want users to be able to upload documents. Where in the file system should I store those documents? Users should be able to upload them and see the hyperlinks to them on the site, but UserA should not be able to see UserB's documents, but the administrator role should be able to see all of them. I'm a...

Uable to access sharepoint site

I turned on directory browsing (in IIS) for my sharepoint site, then turned it off again and now every time I try to access the site through a web browser I get 404 error, page cannot be found. I know it's something to do with authentication but don't know where to start looking/fixing ? ...

using viewstate across servers in a farm

with Asp.net 2.0 can a viewstate generated on Server1 be used by server2 in the same farm? ...

How to support custom user domains (like WordPress) in IIS/ASP.NET

I would like to know if it is possible using IIS and ASP.NET (and ideally something that might be employed on a shared hosting account, but this isn't required) to mimic WordPress.com's ability to allow end users to use their own domain names. WordPress has users who own their own domains change the domain's DNS settings to point to Wor...

Web Forms based web application URLs without the ".aspx" linke stackoverflow.com

I'd like to know how it is possible to have the URLs of the pages of a Web Forms based web application without the ".aspx" extension. For instace, "http://stackoverflow.com/questions/ask" instead of "http://stackoverflow.com/questions/ask.aspx" Many thanks! ...

bundle an ASP.Net app to be distributed as an installable on client desktops

Is it possible in anyway to bundle an ASP.Net as an installable application which users can download and install on their desktops without getting into the modalities of downloading IIS, etc & installing all that stuff. I do understand that IIS is compulsory for asp.net so how can i bundle it as part of the setup to save the business use...

Exec() in PHP on Windows without opening up cmd.exe Security weakness ?

Hi, I have the requirement for a web script to execute an exe file and then return the results on the exe to the web request. I can either echo back the result of the exe or modify the exe to save it's results to a file, and then read the file to echo back the web request. The problem is that using php under IIS all exec() shell_execu...

IP address changes "automagically" for Default Web Site in IIS

I am having a really weird issue with IIS on one of our servers. Occasionally it seems to change the IP address from (All Unassigned) to 127.0.0.1, causing everything that uses our web service to fail. Does IIS log the configuration changes somewhere? Did anyone have similar experiences? Many people have access to this server, so despite...

Sync Content on Multiple Servers

We have a site which sits on two load balanced application servers (Win 2K3) which comprises a C#/ASP.NET app and a bunch of static content which changes on a daily basis. My question is, what's the best way to keep the static content in sync. In Win2K8 we'd be able to point both servers at a shared directory but not in Win2K3. Ther...

WCF WebService / IIS Hosting & Configuration Issue Behind a Firewall

I have a simple WCF Web service. It's hosted on IIS under the default website in our production domain. (local address: 10.10.20.100) By default this default website was setup for "All Unassigned" IP's on Port 80: however, I noticed that this caused the WCF Service to generate it's WSDL using the servers local DNS name. i.e. all the URI...

how to configure memory size for asp.net inproc cache

I do not want asp.net to take decision on when the items in the cache should be invalidated, rather the business logic should trigger the cache clean up. Asp.net automatically invalidates some items from the cache when the cache usage reaches a particular threshold value (inbuilt optimization in the framework). As of now the virtual m...

C# and IIS - SSL dropping connections, fine over HTTP

In a testing environment, I self-signed a cert and installed it on a web site in IIS 6. This is using .NET 2.0. Cert seems fine (minus the fact that client services don't fully trust it as one would expect). I can do whatever I want to by hitting the site locally from the server on HTTPS or HTTP. The problem is coming in when accessing ...

Simple Failover for IIS and MS SQL server

I have a client with a .Net 1.0 web app that uses IIS and a SQL 2000 database. It is hosted with a shared hosting service and does get not much traffic (a few visitors a day tops). The hosting has occasional downtime, of course, and the client has asked me if I can setup a redundant system to reduce downtime to negligible. What is the s...