iis

How would you compare IIS & Cassini as production servers?

I have an ASP.NET website which is running currently on IIS. Now I want to move that site to run on Cassini. What are the advantages of Cassini over IIS? What are its disadvantages? What are your experiences using Cassini as a production web-server? ...

Webpages cannot access folders. (IIS)

Hi there, What setting must I change under IIS to allow access to the folders? I am looking for that settings for hours, nothing found. It seems like it is giving a 403 error when I tried to access the folder. PS, I am only using localhost. Regards ...

Sink on IIS SMTP Windows Server 2008 / 2008R2

I need help. I wrote simple sink by sample in http://msdn.microsoft.com/en-us/library/ms998610.aspx. On IIS Smtp Windows server 2003 it work fine. But on IIS Smtp Windows Server 2008 or 2008R2 it don't work. I try other sample from Internet. None of them don't work on IIS Smtp Windows Server 2008 / 2008R2. Any idea? ...

How do I enable upload of large files in classic ASP on IIS 7?

Recently I had to get an old ASP application working in IIS 7.5 on a W2K8 server. Almost everything works fine, except that I can't seem to get it to accept uploads larger than ~200kB. I did find a setting, that from what I can understand should to the trick, in the applicationHost.config, I set the max request size to 100 MB like this: ...

Catch IIS level error to handle in ASP.NET

I am developing an ASP.NET site with C# on IIS 7, but I hope for an answer that will apply to IIS 6 as well. Part of this site is the ability to upload up to 5 images at a time. I have a nice algorithm to resize the image that is uploaded to my optimal size and ratio. So the only real size limitation I have is during the initial upload...

SPItemEventReceiver Context SiteId/WebUrl Incorrect

I have created a SharePoint Event Receiver, that fires on Item Update. The receiver needs access AfterProperties and ListItem. When firing the event receiver from a SharePoint web application using an IP address (http://10.0.4.50/sites/), it throws a FileNotFoundException, when accessing SiteId And WebUrl in SPItemEventProperties. The W...

Is there a Server Side Javascript engine for IIS?

I am looking for a solution similar to Aptana's Jaxer where I can execute javascript server side. ...

Leverage browser caching

I have a website and when I check page speed with Google plug-in, I receive: Leverage browser caching The following resources are missing a cache expiration Searching only returns information on using htaccess under Apache, but my site is running on Windows 2003 Server, in plain HTML language, and I don't even have access to the ...

ASP.NET site deployment on local network

I've created an ASP.NET application and want to deploy it on an XP Pro. machine so it will be available from other computers in the same local network. What is the right configuration to achieve that? I've tried to create the application on IIS 7 in Win 7 machine (at home, before going to the customer), but wasn't able to load it from ...

Enable 32-bit Applications On SharePoint

Hello I have one sharepoint application is running. Now, I want to run this application in 32bit mode for some backward compatibility I have Window Server2008 with IIS 7 with MOSS 2007 running. I have changed application pool advance setting and enabled Enable 32-bit Applications After enabling this SharePoint Site working previously ...

Redirect loop in ASP.NET app when used in America

Hi all, I have a bunch of programs written in ASP.NET 3.5 and 4. I can load them fine (I'm in England) and so can my England based colleagues. My American colleagues however are suffering redirect loops when trying to load any of the apps. I have tried myself using Hide My Ass and can consistently recreate this issue. I'm stumped. What...

Unable to use IIS ADSI Provider after IIS installation if ADsOpenObject was called before install

My .Net application actively uses Active Directory and installs IIS if its absent. If IIS wasn't installed on application startup and any of Active Directory-related methods were called then IIS ADSI Provider stills unavailable after IIS installation (after application restart it becomes available). Unfortunately i cannot change the oper...

Mapping Handler to Static Extension

What are some unintended consequences associated with mapping an ASP.NET HTTP Handler to a static extension like *.css? <add verb="*" path="handler.css" type="Web.HttpHandler.ThemeCssHandler" /> By default, *.css is registered as static content in applicationHost (under IIS7): <staticContent lockAttributes="isDocFooterFileName"> ...

Drawback to creating a separate IIS application pool for each website / application

Currently, on our production IIS web farm, we host about 15 applications in a single App Pool (Default App Pool). There are two websites and about 13 virtual directories. A colleague has recommended that we change our IIS configuration so each application is a separate App Pool (with identical settings). Is there any drawback or potent...

PHP has encountered an Access Violation at ***

Win 2003, PHP 5.2.12 and IIS 6. I have PHP configured as ISSAPI and it is serving PHP pages. When I try a page that requires MySQL I am getting just: PHP has encountered an Access Violation at (and a RANDOM number) What does this mean? I have mysql extension uncommented in php.ini, iUSR_ has write permissions. I have specified the ph...

How can I add extra information to IIS logfile though ISAPI filter?

I am writing an ISAPI filter which provides authentication services. I would like to ensure that any requests I allow through have some additional information logged in the IIS logfile. This will include details on the logged in user to allow later stats generation. In Apache, I have accomplished this by adding a named "note" the the re...

Response.ContentType sporaticly changes for IE8 using ASP.NET MVC

We are running ASP.NET MVC on IIS6. We have started to notice a problem with IE8 clients. Almost all the time, the ContentType returned is 'text/html' but occasionally, it will be returned as 'application/xhtml+xml'. This is causing IE8 to try and download the file instead of rendering the contents in the browsers. I can't find any re...

Can I put a + sign in a folder with IIS?

I'm pretty sure this can't be done, but I'm looking for a hack or way to put a + in a folder name, like http://www.mysite.com/cats+dogs/Default.aspx I'm using IIS 7, and have tried creating a virtual directory to achieve this, and it didn't work. I am not allowed to put %2B in the explorer folder or virtual folder name. Any ideas how...

How to create new website in IIS using Web Setup Project in Visual Studio 2008 SP1

Hi I have a Web Application Project and a Web Setup Project in my Solution. When I run the MSI created by the Web Setup Project it only gives me the option to use an already existing website in the IIS on the local machine. How can I get the installer to give me the option to create a new website in IIS? Thanks ...

how to change appliocation URL in IIS

Hi All, My web application URL is http://Domain.com/ParentVirtualDirName/ChildVirtualDirName/Controller/View this is how i have configured in my local IIS. Now when it goes for Quality Assurance the Url is http://Domain.com/ChildVirtualDirName/Controller/View They don't have Parent Vritual Directory name. This causing relat...