iis

INTEGRATING Silverlight with PHP

Hi I have a PHP website i want to integrate it with silverlight for some rich experience ,how can i do it ,.. is it necessary to host the website on IIS if we want silverlight integration.Please suggest ways ? ...

Localhost subdomain on XP Pro IIS?

Is there a way to setup subdomains udner Xp Pro IIS for something like test.localhost Can it be done via IIS or the hosts file? Need to do a tets on a site that uses pathign back to the root so having the site ina virtual directory like localhost/test causes issues. ...

Creating a new website on IIS: Application vs. Virtual Directory. Whats the difference?

When you create a new website on IIS, you get to choose between an "Application" and a "Virtual Directory". What is the difference between those two options? ...

ASP.NET/IIS: Windows Authentication, setting max attempts and redirecting

We have an internal web app running on IIS6 and we use the integrated windows authentication for domain users to login to the app before they can use it. What we would like to do is redirect the user to an error page if they fail to login to the domain 3 times. Where should i be looking to configure this? My first thought was in IIS, ...

Escaping double hyphens in Javascript?

I have a Javascript bookmarklet that, when clicked on, redirects the user to a new webpage and supplies the URL of the old webpage as a parameter in the query string. I'm running into a problem when the original webpage has a double hyphen in the URL (ex. page--1--of--3.html). Stupid, I know - I can't control the original page The javas...

Will running aspnet_regiis.exe -ir create any problems?

Hi there. I've asked a question about changing the version of .Net sites in the IIS. If it affects classic asp sites etc (See Does asp.net setting affect classic asp (IIS 6 settings)) And that seems fine. So my follow-up question is, will running this command get me fired? What it does is changing the default value (and all existing?) of...

Can you create sub-applications within applications in IIS/ASP.Net

We have a global application (well out of my control) that runs a lot of sites. I'd like to create a new application (as I cant extend etc) within a folder so it could be accessed as follows. http://www.domain.com/ < Global App http://www.domain.com/newapp < New App Is this actually possible or just a pipe dream; I'm aware that its p...

ASP.NET MVC Urls and IIS Integrated Windows Authentication

I have an ASP.NET MVC app which is completely behind Forms Authentication. However there is one set of routes (/report/%) I need to force integrated windows authentication on, as those pages need to impersonate the current user (for security reasons). If I set the whole site to integrated windows authentication this all works, except t...

IIS not serving shtml files properly, instead the browser tries to download the file

Hey Everyone. Okay, so I'm at a temporary office and they've given me a machine with XP to do dev on. Awesome. I've set the site up in IIS and I need it to serve shtml files. Problem is, when I browse to the shtml file, the browser tries to download the file, rather than display it properly. I've tried a few things that I've found on...

Why does JavaScript not work on my site under an existing virtual directory?

I deployed my ASP.NET application under an existing virtual directory. The new deployment will have some features using JavaScript. The new features are not working. If I deploy this build under a new virtual directory, the features using JavaScript are working. I restarted the IIS Admin service. The problem continues. What could be ...

Why does IIS respond to a secure(SSL) page request with a 302 to its non-secure version?

I have SSL installed at the root of a server. I have a page whose code behind code is supposed to redirect after certain validation to a secure page. Here's the redirect code: switch (PageBase2.GetParameterValue("Environment")) //Retrieves App Setting named Environment from web.config { case "Server": ...

Proxying IIS

I'm getting XSS errors when trying to consume a .NET web service and I'm sure I can fix it with a bit of proxying. However, I've never proxied IIS before. Can anyone point me in the right direction for a good guide/tutorial please? UPDATE First off my apologies for being so vague! I have a website that is calling a web service in orde...

Why is IIS not serving aspx pages?

I'm deploying an ASP.NET application to Windows Server 2003 under IIS IIS is serving html pages fine but I get a page not found when I try and serve IIS pages ...

PHP5 on IIS6 - The specified CGI application misbehaved

PHP v5.2.8 Windows Server 2003 SP2 (IIS 6, I believe, though I can't find a version # anywhere in IIS manager) The full error is: "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers." I installed the WAMP stack from bitnami.org, and the PHP pages work completely fine when visiting via...

PassivePortRange problem in IIS6 (FTP)

I'm trying to specify the passive port range for an ftp server running on IIS6 in Windows Server 2003. I've used: adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5600" I've checked in the metabas file and the changes are applied to it. I can also use: adsutil.vbs get /MSFTPSVC/PassivePortRange and it returns the range I've set. A...

IIS 6 compression on Urlrewritten pages doesn't work

I'm developing a asp.net site (running .net 3.5 SP 1) and using UrlRewriter.Net (http://urlrewriter.net/) for urlrewriting. The site is hostet on a Windows 2003 server with all servicepacks and so forth. It runs IIS 6. In order to enable url rewriting I've setup a wildcard handler for *, which means all requests are sent through the a...

https to http redirection when ssl is not installed

We have a site which was https enabled. After a site revamp we have removed the certificate and https://www.foo.com is not http://www.foo.com. There are many links in other sites, which link to th old https site, which we have no control. Is there something we can do in out side to redirect these links to home page atleast? Will url r...

How do I Programatically add a Web Site (C#) to IIS 6.0?

Hello everyone, We have a web application that until now installed under the "Default Web Site" in IIS. A customer now wants us to install it under a different web site, and we want to do that from the installer. My question is in 2 parts: A) How do I programatically add another web site alongside the 'default web site'? B) We are using...

When would you get a 404 when a page actually exists?

I've got an aspx page with a simple databound datagrid on it; some users get the page just fine. Others get 404s. If there was something wrong with the page, wouldn't I get an asp.net error, instead of a 404? ...

IE Randomly Doesn't Display Images

When I load my site up in IE (I'm using 8 but I've seen this happen on 7 and 6 too) every now any then it will show the "red x" for some images. I know those images exist so I refresh the page. When it renders again those images that had a "red x" are now displaying properly, but other images, even ones that were displaying properly in t...