iis

Determine if browser supports windows integrated authentication

Is there a way to determine if a browser supports NTLM without having NTLM enabled for the particular site or directory in IIS and without showing a login dialog/pop-up? Preferably, determine this using ColdFusion or perhaps some combination of JS and CF. I'd prefer not to restrict this to just IE as other browsers (such as FF) support N...

The connection to the server was reset while the page was loading

Whenever I upload a huge file to the server (10MB). I get the following error on FireFox: The connection to the server was reset while the page was loading I am using Classic ASP on a Windows 2003 machine running IIS6. Does anyone know why this is happening, and what a work around is? ...

PHP, URL rewriting with htaccess, and Microsoft IIS Url Rewriting

I am used to working with Apache servers, so when mod_rewrite is enabled, I can create an htaccess file and use URL rewriting. Here's my htaccess file: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php ...

System.Net.WebClient doesn't work with Windows Authentication

I am trying to use System.Net.WebClient in a WinForms application to upload a file to an IIS6 server which has Windows Authentication as it only 'Authentication' method. WebClient myWebClient = new WebClient(); myWebClient.Credentials = new System.Net.NetworkCredential(@"boxname\peter", "mypassword"); byte[] responseArray = myWebClient...

How to prevent cross domain issues by proxying in IIS?

I have a site written in Delphi that needs to get data from a .NET web service. In order to consume the web service I am attaching to a .NET web site first that contains a wizard that the end user has to fill out, which in turn is then calling the web service in order to populate AJAX drop-down lists and to return data to the calling Del...

Install client certificate for IIS App Pool account

Scenario: A client calls WebService A on the LAN. WebService A is running under an App Pool with Identity "Network Service". WebService A does some work, prepares to call WebService B. WebService B requires a client cert (*.cer) and SSL. WebService A is on a dedicated Windows 2003 server. Everything works in the Dev environment as it s...

How can I tell what user a VB.Net application is running as and how can I change it?

We have an app that needs to access network resources. It's written in VB.Net. The application can't access the files on another server via a UNC path. How can we find out what user the application is truly running as and how can it be changed? We tried this KB from Microsoft... but it didn't work. ...

Im trying to setup IIS and get a 404.4 Error, don't have StaticFileModule

(Note: This is with IIS7) When I go to http://localhost/MyApp, I get a 404.4 error, HTTP Error 404.4 - Not Found The resource you are looking for does not have a handler associated with it. Going to http://localhost/MyApp/default.aspx it works. I have searched and think I need to enable my StaticFileModule, but under Handler Mappings ...

Assembly reference not resolving in the Web.config

I am developing WCF service hosted by IIS. I need to add KnownType attribute to my base class. One way of adding KnownType attribute is to add a section into the Web.config file like this: <system.runtime.serialization> <dataContractSerializer> <declaredTypes> <add type="MyBase, MyBaseDll"> <knownType type="MyDerived, MyDeri...

encrypting web.config failed error

hi guys, I know that ppl have already asked questions regarding encrypting web.config. im also trying to encrypt my test config file, but im getting this error. aspnet_regiis -pef "connectionStrings" "C:\encryptedWeb.config" Encrypting configuration section... The configuration for physical path 'C:\EncryptedWeb.config' cannot be opene...

SharePoint 2007 WebPart not accessible to any user unless a local user accesses it first.

Hi, We are facing an issue with a SharePoint webpart we have developed. After every app pool process recycle, thw webpart is not accessible to any users unless a local user accesses the webpart page first. We recycle our application pools daily and unless a local user hits the webparty page, it is unavailable for all other users. The e...

Asp.net crashing in mscorlib

This is related to another question of mine After eliminating the obvious (or so I thought) and biggest memory consumer (images in asp.net cache), not much has changed. We use Enterprise Library Exception Handling in this web (don't know why, but we do) and these exceptions do not get logged. Just for the record, server has 4 GB of memo...

High Disk Write on server

I have 2 identical servers and currently I am monitoring both of them by setting up performance counters. IIS 6 with .NET Framework 2 I am noticing that one server has high disk writes of ~3300 Writes/Sec and the other server has ~199 Writes/Sec Anyone encountered the same problem? What may cause high disk writes? These servers a...

Custom 404 Issue IIS6

We have taken over a site from another vendor so details on the current setup are few and far between unfortunately. They had a custom 404 page set in IIS that pointed to a basic html page in the root of the website. We have since created a 404.aspx page and set IIS to use this instead with /404.aspx as the 404 setting. The issue howe...

What is the relationship between IIS settings HTTP Keep-Alives Enabled and Connection Timeout?

What is the relationship between IIS settings HTTP Keep-Alives Enabled and Connection Timeout ? Is it the same relationship in different versions of IIS? I am using XP Pro (2002 service pack 3) using IIS 5.1 running aspnet 3.5 applications. We have been getting 'There are too many people accessing the Web site at this time' error. I...

Force PNG to download instead of opening in browser with IIS

I need to be able to have a subdirectory of images all PNG's to be downloaded instead of opened in the browser window. I am using IIS for the web server. Is there a way to force a PNG to be downloadable? ...

Moving from one https page to another with a different certificate

Hello Imagine a bog-standard Signup page, which captures some user info like Name, Address etc. It has a Buy Now button on it, which transfers to a payment site (WorldPay). Now, the requirement is that everything should be secure, so that means (and correct me if I'm wrong) A) I need to get and install an SSL certificate on IIS. B) I...

How do I convert RTF to PDF from my PHP web page using OpenOffice?

My OS is Windows XP, and I'm using IIS 5.1 and PHP 5.2.9. I'm trying to call a PHP script from my PHP page in order to convert an RTF doc to a PDF, using OpenOffice. The script works just fine when I call it directly from the command line, but I'm not having any success getting the very same script to work when launched from my PHP w...

A Designer Friendly Way To Update a WSS 3.0 Theme

Sometimes I love MOSS 2007, and sometimes I want to throw it right out the window. This is one of those times it should go out the window. Im trying to come up with an easy way for a designer to update a WSS 3.0 Theme for our site. This theme is used by every site in the site collection. The following is not designer friendly (specif...

Setting up Railo in the same way as Multiple Instance Adobe CF

I'm looking to install Railo in the same way we currently do for Adobe CF. At present we run Adobe CF8 on top of JRUN 4, in a multiple instance setup. On our local sandboxes we use Apache as the web server. We then use Apache Virtual Directories to point to our codebase which exists outside of the CF Context. This gives us ultimate fle...