iis6

COM dll error when tried from IIS

I have an ASP.NET 3.5 application where I am using an ActiveX control. When I try to run the website from Visual Studio 2008 using built-in web server it is working like a charm. When I publish the same code to IIS I get the following error: Retrieving the COM class factory for component with CLSID {ADAACEC8-D9F2-4E05-A5F3-D29E5C9C82F9...

What's a cross-browser compatible way to right-align child divs and make the parent div get its width from the children?

I have a bunch of child <div>'s of variable width, which I want to right-align within a parent . I also want the parent <div> to be no wider than it needs to be to contain the children. (I don't know in advance how wide the children will be -- they'll contain dynamically generated content.) Here's an example that works correctly in IE ...

Classic ASP: How to check if ASPSESSIONID* cookie has been marked as secure?

Hi All, I am trying to mark the ASP session ID cookie as HttpOnly but can't seem to find a way to tell if it is working. The environment I am trying this in is as follows: OS: Windows Server 2003 IIS: 6 ASP Version: ASP 3 (Classic ASP) In order to mark the cookie as http only, I followed MS KB As per our architect's suggestion, to tes...

Custom VirtualPathProvider unable to serve URLs ending with a directory

As part of a CMS, I have created a custom VirtualPathProvider which is designed to serve a single file in place of an actual file structure. I have it set up such that if a file actually exists on the server, that file will be served. If the file does not exist, the virtual content stored for that address will be served instead. This ...

IIS 6.0 Application Pool Identity Being Ignored

I am using IIS 6.0 on Windows 2003 in a workgroup, and have created a web which runs in its own pool to connect to a Sqlserver 2005 Analysis Services database using msmdpump.dll. I have set the pool up with its own identity, but when I look on the Analysis Services server using Sqlserver Profiler, I can see that the requests are being m...

C# HttpHandler to accept PUT requests to upload content

Hi, I've written an HTTPHandler (in C#) to accept GET and PUT requests, to basically allow resource to be retrieved and updated by a remote client. The handler works fine locally on my dev machine however I run into issues running it on the server. The web server server is IIS6 (running on a W2K3 Server box). I've configured NTFS ...

MVC content cut off resulting in blank page

I have the strangest problem that I simply cannot solve by myself. I have this ASP.NET MVC 1 application that works flawelessly on my local development machine, using IIS5. I made the appropriate changes to get MVC to work on IIS5 by adding a route for .mvc controllers and an aspnet_isapi.dll filter as documented in http://haacked.com/...

ASP .NET MVC and ASPX files Hosting issue on IIS 6

Hello; I have a ASP .NET MVC 1.0 application which contains few ASPX files located instead Reports folder (located on root) of application. My Global.asax contains following lines: routes.IgnoreRoute( "{resource}.axd/{*pathInfo}" ); routes.IgnoreRoute( "{resource}.aspx/{*pathInfo}" ); routes.MapRoute( "Default", // Route nam...

Django on IIS with Multiple Sites: How To Make ISAPI.py Cooperate

Python 2.6.2 / Django 1.0.2 on Win 2003 Standard IIS 6. IIs is running two django sites with the following directory structure: root/http/WEBSITE1 root/http/WEBSITE2 Both sites have their own application pools; each site has it's own pyISAPIe.dll instance. WEBSITE1 is accessible (serving test django page). However, the browser produc...

Use WMI to create IIS Application Directory with C#

We have a web application that is installed on Windows 2003 and Windows 2008 systems. In the past, our install code used ADSI to create a couple of application directories in IIS, but this requires the IIS 6 management components to be installed in Windows 2008. I have been trying to use WMI to create the application directories so we ca...

Are virtual servers quirky with Windows Server 2003, IIS 6, ASP.NET MVC?

For several months I've been working on a customer site building a web site using ASP.NET MVC with C#, SQL Server 2005, ADO.NET Entity Framework, JQuery and some ESRI web APIs and geodatabases. The test server is running IIS6 on Windows Server 2003. Over this time I've seen some weird things that have caused a lot of rework: JavaScript...

IIS6 - Users login and then get redirected to login page, have to reboot their PCs to break this loop, then fine

This is an odd issue. We have forms auth for a site, and we recently adjusted the forms auth in web.config to include: <authorization> <deny users="?" /> </authorization> <authentication mode="Forms"> <forms name="ourCookie" loginUrl="~/../Default.aspx" protection="All" path="/" domain="ourdomain.com"/> </authentication> ...

Is it possible to have different StructureMap configurations for ASP.NET and IIS-Hosted WCF?

I just followed this example to bootstrap WCF with StructureMap. At the same time I've been using StructureMap in my ASP.NET application (IIS6), which is initialized in Global.asax.Application_Start(). The two configurations have different requirements. Unfortunately, StructureMap is configured statically, and contrary to my expecta...

How to make CLI timers in Windows Server 2003+IIS6+FastCGI+PHP5.3.1 environment?

For the PHP-CLI timer mentioned in the title, I mean the Travian/Ikariam-like background timers that schedule players' actions. I would like to know how to make such timers in mentioned platform (PHP5.3.1, FastCGI, Windows Server 2003, IIS6). Also, on the other hand, if I deploy the program to a Linux server, will it be easier? ...

Why does IIS6 Accept-Encoding value equal null when attempting compression with ASP.Net MVC

I have plugged in the HttpCompress module to enable compression for my MVC web application. If I run my site through the development web server (Cassini) I have no troubles with the execution of compression. However when I deploy the site to IIS6 the compression is not executing. I have checked the source code of the compression librar...

asp.net localhost or ip issues

Hi, This is my current situation: Im trying to execute a website that access to some files in my hardisk. Im into a network of a company with an ip. I have IIS 5.1. This is the problem that im having: When i try with localhost, there isnt any problem, but when i try with the ip of my network computer, i get "file not found", an...

Custom error pages shown using IIS6 rather than web.config settings

Hi, this is my first post on this great source of programming information. I have developed new site for client and just doing some finishing touches. I am trying to create custom error pages which would be read from web.config <system.web> <customErrors mode="RemoteOnly"> <error statusCode="404" redirect="404.aspx" />...

Baffling ASP.NET Macintosh Firefox page hangs

We host a site on IIS 6 with use of the ajaxcontrol toolkit on asp.net 3.5 and use forms authentication. We have a large Mac user base and since moving to the the ajaxcontrol toolkit have had many complaints about our website hanging on our servers. I've tried mulitple things to elminate the problem, including the shutting of partial p...

Hosting MVC2 on IIS6

Hi I need a little help. I'm trying to host an MVC 2 application on IIS6. On my dev machine (XP) it runs perfectly in Cassini or as web site in IIS. First i tried to reference the .mvc extension to aspnet_isapi but when that didn't work i went with the aspx extension instead. Any ideas? I've probably missed something obvious. public ...

Is there an equivelent of Microsoft.Web.Administration for IIS versions prior to 7.0?

Seems this namespace is limited to IIS7 and upwards. Are there any managed libraries from Microsoft or elsewhere that enable you to survey the configuration (just looking for read only config) for a given set of IIS installations? Otherwise one would have to poke through web.configs, the metabase, and try to cobble it all together. ...