Re: ASP.NET Deployment

From: Rick Strahl [MVP] (rickstrahl_at_hotmail.com)
Date: 02/24/05


Date: Thu, 24 Feb 2005 12:19:40 -1000

Hi Ann,

Are you copying the assemblies in the BIN directory? index.aspx.cs will be
in your Web Project assembly and must exist on the server.

Also, make sure you set up your application properly as a virtual
directory/application in IIS. Sometimes these types of errors occur because
the root application directory is up a few levels. I notice the app is
showing the root directory of the server? Is that where your bin directory
lives?

That's where ASP.NET will look for the support assemblies.

+++ Rick ---

-- 
Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
http://www.west-wind.com/wwThreads/
----------------------------------
Making waves on the Web
"Ann Marinas" <ka_marinas.noSPAM@xtra.co.nz> wrote in message
news:#qWTuKrGFHA.2588@TK2MSFTNGP09.phx.gbl...
> Hello, all!
>
> I am having troubles deploying my ASP.NET Deployment on a virtual
webserver.
> The webserver has 3 different web applications installed (all of them are
> ASP.NET web apps), and whenever I install my app, it keeps on showing the
> message below.
>
> Tried compiling and removing the unecessary files for deployment, removed
> the old web app files and replaced it with a new one, but still this error
> keeps on showing up.
>
> Please help!
>
> Many Thanks!
>
>
> --Ann
>
> ================================================
> Server Error in '/' Application.
> --------------------------------------------------------------------------
------
>
> Parser Error
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
>
> Parser Error Message: Could not load type 'NZTravelSite.index'.
>
> Source Error:
>
>
> Line 1:  <%@ Page Language="c#" ContentType="text/html"
> ResponseEncoding="gb2312" CodeBehind="index.aspx.cs"
AutoEventWireup="false"
> Inherits="NZTravelSite.index" %>
> Line 2:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> Line 3:  <html xmlns="http://www.w3.org/1999/xhtml">
>
>
> Source File: E:\wwwroot\content\n\z\t\nztravelsite_com\index.aspx    Line:
1
>
>
>
> --------------------------------------------------------------------------
------
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
> Version:1.1.4322.2032
> ==============================================
>
>
>
>
>


Relevant Pages

  • Re: soapsuds
    ... > the 'server' assembly, then the soapsuds extraction falls over. ... > in .Net that namespaces cannot span assemblies? ... > interface defined in a shared assembly (which can be implemented my other ... dll which sits both on the server and the client allowing objects to talk to ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: FAX virus
    ... to loading a virus" to be disingenuous. ... he has a fax server (this will convert from ... Need to secure your web apps NOW? ... buy it or download a solution FREE today! ...
    (Pen-Test)
  • RE: Web Application Testers.
    ... programmed to remain on the original server. ... Achillesor subwebwhen breaking web apps; ... This list is provided by the SecurityFocus Security Intelligence Alert ...
    (Pen-Test)
  • RE: External Pentests Obsolete?
    ... documented services/hosts. ... On Behalf Of Yiannis Koukouras ... only have a few servers on their DMZ (web server, mail server, SSL ... Need to secure your web apps NOW? ...
    (Pen-Test)
  • Re: "Insufficient state to deserialize the object" error
    ... The delegate itself is a serializable object, so both client and server need ... > that requires serialization? ... >> If any of the assemblies are being loaded from the mapped drive, ...
    (microsoft.public.dotnet.framework.remoting)