iis

IIS: How can I redirect requests for one page to another?

I have written an app to replace a single page and need to redirect the requests for the old page to the new app. In IIS, how would I redirect the request for http://www.mysite.com/foo.aspx to http://www.mysite.com/bar/default.aspx Thanks! ...

How would I redirect requests for one page to another is IIS?

How would I redirect requests to a URL like http://www.mydomain.com/foo.aspx to another URL like http://www.mydomain.com/bar.aspx in IIS. Can this be done in IIS 6.0 or 7.0? ...

Why would I be seeing execution timeouts when setting $_SESSION values?

I'm seeing the following errors in my PHP error logs: PHP Fatal error: Maximum execution time of 60 seconds exceeded in D:\sites\s105504\www\index.php on line 3 PHP Fatal error: Maximum execution time of 60 seconds exceeded in D:\sites\s105504\www\search.php on line 4 The lines in question are: index.php: 01 <?php 02 session_star...

How to Synchronize Session / Security between ASP.NET and Tomcat?

I have an Asp.NET 3.5 application with security/authentication. I have a second application (built using GWT and running on Windows Tomcat) running on a different machine. I need to make the second application available to the user via a link generated from the .NET application. This part is easy, I have constructed the link in the ...

Installing Wordpress on a windows server = omg.

Hello, It's not the first time that i install wordpress on a linux hosting BUT this is the first time i have to do that on a windows server. I upload the latest version on the FTP : go to my www.mydomain.com error 500. okay.... maybe one file is corrupted, i re-upload them... go to my www.mydomain.com : error 500. If I do : www.mydo...

troubleshooting aspnet_isapi.dll deadlock detected

I'm running Windows Server 2008. My site is hanging with aspnet_isapi.dll deadlock detected. What tools/methods can i use to troubleshoot this ? I need to know why my site is going down. ...

Application_Start() gets called more than once o_O

I have an application made on asp.net mvc 2 and it is on IIS 7.5 on my pc I tried profiling it and I noticed that Application_Start gets called more than once, anybody knows why is this happening ? ...

Check IIS Application pool if its empty (C# / IIS6)

Hi, We're building an installation tool which can install applications by a configuration file. There is a lot of IIS involved and we mostly use WMI for the job. Recently we discovered that 2 of the applications use the same website and application pool. I can check the website to see if it contains any VDirs and delete it (while uninst...

In IIS can not start central administration. Getting error:

Hi, I am using W2K3 also I have IIS 6.0 installed. I have instaled the sharepoint as well as MOSS 2007. But after configuration finished , It must start automatically , but due to some Services management reason I have to start site manually. So as I go to star the Central administration site in IIS , it shows me "Page Cannot found" Why ...

Changing IIS URL Rewrite config location

Hi When used at site level, the IIS7 URL Rewrite 2 module saves its configuration in the web.config file of that site. I'm using Sitecore CMS, and best practice is to store any web.config customisations in a separate config file for ease of upgrading, staging/production setups etc. Is there any way to specify a different config file fo...

IIS permissions in C#

Hello, I'm developing a solution in C# and I need to set permissions to some folders in the file system and in the Registry for IIS. Is there a way to give permitions to the file system and to the registry for the IIS users, that work for all IIs versions? For instance, in IIS 5 the user acount is ASPNET (I think that it has the IUSR_M...

Why am I unable to get Site.State for an FTP site, when using Microsoft.Web.Administration?

Using the following C# code: using System; using Microsoft.Web.Administration; namespace getftpstate { class Program { static void Main(string[] args) { ServerManager manager = new ServerManager(); foreach (Site site in manager.Sites) { Console.WriteLine("name: " + site.Name); Console.Write...

IIS, Apache, and header()

I'm working on migrating a website from an external server (running Apache) to a local server (running IIS), and have come across an issue that I can't seem to resolve. The site is using a custom Joomla plugin that grabs some graphics stored in a mysql database (for e.g. http://www.norfolktourism.ca/index.php?option=com_bdirectory&amp;t...

IIS removing headers on unhandled Exceptions?

I'm playing with ASP.NET MVC a bit and have written a filter to compress my output (OnActionExecuting). Everything works fine except when the controller throws (and doesn't handle) an exception. The problem I'm having is that the content seems to still be compressed, but the browser never gets the content-encoding header. I've checked...

Apache Axis2 1.5.1 and NTLM Authentication

I've browsed all of the discussions here on StackOverflow regarding NTLM and Java, and I can't seem to find the answer. I'll try and be much more specific. Here's some code that returns a client stub that (I hope) is configured for NTLM authentication: ServiceStub getService() { try { ServiceStub stub = new ServiceStub( ...

Is there a certain IIS configuration required to allow a functioning .Net 4.0 ASP.Net MVC 2 Azure application?

I just installed the Azure 1.2 tools update and would like to get to work on an Azure project running locally using ASP.Net MVC and .Net 4, but I cannot get MVC pages to load. If I just create a new Azure project in VS 2010, add a ASP.Net MVC web role, and run the application, pages never load. It appears that routing is somehow at f...

Is there a website level setting in IIS that would prevent an ASP page from being served?

Trying to copy a website to a new server as the old one is dying. :( I tried copying over the files and setting it up manually, but some specific user accounts needed to be used and the guy who set all this up left the company nearly 5 years ago. And is even worse at documentation than I am. Anyway, at that point the ASP pages were...

How to migrate deploy RESTful WCF Web Service from IIS 6.0 to IIS 7.0

Hi all, I have a WCF Restful Web Service. It works find under VS and IIS 6.0. Now I want to move it to another work station with IIS 7.0 on it. I tried to copy all the deploy file from IIS 6 to IIS 7, but it cannot be accessed by other client, except for the request from it's own machine. I don't know what's wrong and I tried to enable t...

"PHP has encountered an Access Violation at 16B357F9"

hi, I'm getting the following error when I visit a specific page of my website. It stopped to work suddenly, without changing any code. THe php code is the original Drupal installation code. PHP has encountered an Access Violation at 16B357F9 I'm using Drupal on IIS Server 6. All the rest of the website works. It might be a serv...

WCF service returns error 500 on /js request

I have a wcf service that randomly begins to fail when requesting the autogenerated javascript that wcf supports making. But I have no luck tracking down why. The js thing is part of the wcf featureset, so I dont know how it can suddenly begin to fail and be unable to work until IIS is recycled. The http log gives me: 2010-06-10 09:11:...