Trouble moving servers with asp.net

From: Ron Weldy (ronweldy_at_msn.com)
Date: 12/02/04


Date: Thu, 2 Dec 2004 11:57:25 -0800

In moving a ASP.NET site from a W2K IIS5 server to a new W2K3 IIS6 server,
we are having trouble with what appears to be ASP.NET server side includes
in the .shtml files. I did not set up the old server or code the site and
have just been brought onto this project so I'm hoping someone out there
with a tad more experience can help me.

The code in the shtml file looks like this:

<%@ Page language="c#" AutoEventWireup="false"
Inherits="MySite.Web.BasePages.MySiteBasePage" %> <%@ Register
TagPrefix="MS" TagName="Header" Src="~/Controls/BasePagesl/Header.ascx" %>
<%@ Register TagPrefix="MS" TagName="Footer"
Src="~/Controls/BasePages/Footer.ascx" %>

I have mapped the .shtml files on the site to use the aspnet_isapi dll which
matches the settings on the old server. Once I did this, I got an error:

"Server cannot access application directory <my directory>. The directory
does not exist or is not accessable due to security settings".

Fine. I went and granted rights to the folder to my ASPNET account as per
documentation. Still same error. Then I looked at the old server and noticed
that the Everyone account has access to the web folders. Fine. I granted
that permission. When I did that, the server dumps the the whole file to the
browser and does not interpret anything. Its just like it read it like a
text file.

Any ideas?

- Ron



Relevant Pages

  • Trouble moving servers with asp.net
    ... we are having trouble with what appears to be ASP.NET server side includes ... in the .shtml files. ... I went and granted rights to the folder to my ASPNET account as per ... that the Everyone account has access to the web folders. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Trouble with ASP.NET
    ... we are having trouble with what appears to be ASP.NET server side includes ... in the .shtml files. ... I went and granted rights to the folder to my ASPNET account as per ... that the Everyone account has access to the web folders. ...
    (microsoft.public.inetserver.iis)
  • Re: Trouble with ASP.NET
    ... > we are having trouble with what appears to be ASP.NET server side includes ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ... I went and granted rights to the folder to my ASPNET account as per ... > noticed that the Everyone account has access to the web folders. ...
    (microsoft.public.inetserver.iis)
  • Re: Upgrading server - ss includes not working
    ... I think that you can set it at server level (right click the "folder" Web ... Sites in IIS Manager, and click Properties). ... >>> includes in the .shtml files. ... >>> It appears that we are running the same version of the .NET framework on ...
    (microsoft.public.inetserver.iis)
  • KeycodeV2.dll not found - QueryInterface for interface CrystalKeyCodeLib.IKeyDecoder failed - Crysta
    ... install CR reports for the first time on a deployment server. ... What is the version of the .Net framework on the production server ... the ASPNET account is different on the various systems! ...
    (microsoft.public.vb.crystal)

Loading