iis

Cakephp change URL behaviour

Hi, We are developing a site using CakePHP. We have a windows IIS server (shared hosting) with PHP5, that does not support .htaccess or mod_rewrite but still we have the site up and running and developed a lot of things. The current URL structure is something like this: mydomain/index.php/user/add We want to change this to something l...

Getting 404 with locall IIS 7 served page

My setup: Vista 64-bit PC (my local PC) IIS 7 obviously VS 2008 I setup a new "Application" manually under the IIS default site. It's running. The application is pointing to the correct directory (where my default.aspx exists) I've setup this same exact setup on our dev server running Server 2008 and it runs fine But for me, when I g...

Is HTTP Authentication possible with PHP on IIS FastCGI?

I've just migrated from PHP 5.2.3 using php5isapi.dll to PHP 5.3.0 using FastCGI and php-cgi.exe. On this site I have hooks for windows/ntlm/http authentication doing something like this: if(empty($_SERVER["REMOTE_USER"])) { header("HTTP/1.1 401 Unauthorized"); exit; } $winuser = $_Server["REMOTE_USER"]; //parse $winuser to make sur...

Site with Windows authentication - sometimes gives password prompt

Hi there, I have a local site (IIS6, although similar issue with a totally different site using IIS5.1) which uses integrated windows authentication, from what I can tell - using IE7 if a user enters the URL into the address bar, everything works OK and the user is logged in automatically. However, if the user clicks on a hyperlink wi...

Request.Form not working when IIS is set to anonymous authentication

My asp.net form handler only receives form method post data when IIS is configured for integrated windows authentication. When I switch it to anonymous authentication the request.form collection is empty. I would like IIS configured for anonymous authentication. What could be causing this? I have included my code below: Here's my for...

trouble hosting asp.net on iis

I'm doing some test hosting of an asp.net program I created I can access it fine from the local machine (both debugging and pointing the virtual directory to it) I can also access (local) by using the localhost or using the ip however when i get on a different machine on the same network (i can ping my machine) I get the following er...

php_printer.dll & IIS

PHP 5.2.5 Microsoft IIS 6.0 Windows Server 2003 R2 I have just enabled php_printer.dll in my php.ini file, and it works correctly from the command line. However, running the same commands within a script running on IIS gives me a "call to undefined function printer_open() ...". My boss says we shouldn't have to restart IIS to get it t...

IIS6 Virtual Directory 500 Error on Remote Share

We have our servers at the server farm in a domain. Let's call it LIVE. Our developer computers live in a completely separate corporate domain, miles and miles away. Let's call it CORP. We have a large central storage unit (unix) that houses images and other media needed by many webservers in the server farm. The IIS application poo...

Why do web.config override MetaBase.xml?

This might be a borderline Server Fault-question, but here goes. I have a IIS 6 where AspMaxRequestEntityAllowed="204800" in MetBase.xml, suggesting the upload file limit is 200kb, while <httpRuntime maxRequestLength="20192"/> in web.config allows for a 20mb upload - and the latter is what the application allows. Why do web.config over...

IIS anonymous authentication issue in Windows Search Server

Hello everyone, I am setting up Windows Search Server Express on Windows Server 2008. Here is Windows Search Server Express information. By default, it is using Windows authentication which needs server local Windows user name and account when access the search service from a remote machine. http://www.microsoft.com/enterprisesearch/se...

What is the max number of websites / virtual directories one can host on IIS?

Can someone tell me the maximum number of websites / virtual directories I can host on a single IIS? Is there's a difference between IIS 6 and IIS 7? ...

Response.Redirect with virtual path (~) and IIS

I'm experiencing a strange error in my deployed web app. I dont have much control or insight into how IIS has been set up so I'm in the dark a bit. (When I tested I used virtual directories) It appears that when I call Response.Redirect("~/") from one page the domain of the page that is being redirected to changes e.g. when I call Res...

no symbols have been loaded for this document

My ASP.NET WAP project in VS 2008 is set to debug=true in the web config The in solution's properties, all assemblies are set to option Debug in the Configuration Manager I compiled and reran this site using IIS mode. Not sure why I still get this. I set my debug to the firefox process. ...

Should you code ASP.NET sites so they can live in a VDIR?

Back in the days before Visual Studio Web Server we would host our local dev inside IIS. If you have a workstation version of IIS that means only 1 website. What if you are working on several websites. Easy: create them in VDIRs, e.g. http://localhost/ProjectA, http://localhost/ProjectB. Living in a VDIR doesn't sound so hard. Make...

self-signed certificate issue in IIS 7.0

Hello everyone, I am setting up IIS 7.0 on a Windows Vista box. I am using self-signed certificate (by using built-in Create Self-Signed Certificate feature of IIS 7.0) on a web site. The I can browse from the local machine (the machine with IIS and web site) for the https address, for example, https://machinename/test.html, it works. ...

ASP.NET Brackets In Url stopping forms authentication / cookies working

I have a ASP.NET website deployed under IIS uisng virtual directories. I'm using forms authentication. For some reason my client has deployed it under a strange virtual directory name which has lots of brackets http://localhost/(DirectoryName(1))/ This seems to stop forms authentication working. Does anyone know why? ...

ASP.NET Website Slow Performance on production server

My problem is that my ASP.NET website is running slower on my production server comparatively on my development server. A page that executes in 120ms in my development environment takes 400ms to execute on the server. I've monitored the SQL server with the profiler and the query being run on the page taking 400ms on the server only take...

Create a virtual folder from ASP.NET

Is it possible to create a virtual folder in IIS from an ASP.NET site? Sample: I have a website http://www.example.com/myApp and from within that application, I want to create http://www.example.com/userfiles123 (and point it to a actual folder somewhere else on the machine) If not, any other suggestions on how to schedule a "create vi...

Logging all yellow screen of deaths, even when its a compilation problem

Earlier today we experienced a YSOD on one of our MVC sites running on IIS on Windows Server 2003. Usually, these are reported via e-mail using ELMAH (using this setup), but since this was a compilation issue (of some sort), it did not get reported via e-mail. The specific error was: "The directory 'App_GlobalResources' is not a...

ASP.NET Web Development Server

Can someone explain how the ASP.NET Web Development Server work? I don't have IIS installed on my development machine. So Visual Studio 2008 is debugging my web app project in the built-in web server. I want to know where do all the files get deployed to for debugging. Is there any folder similar to \inetput\wwwroot? Thanks. ...