Re: Error when running site remotely
From: John (John_at_nospam.infovis.co.uk)
Date: 10/07/04
- Next message: Guadala Harry: "Redirect Options"
- Previous message: John: "Re: Error when running site remotely"
- In reply to: Grant Harmeyer: "Re: Error when running site remotely"
- Next in thread: Grant Harmeyer: "Re: Error when running site remotely"
- Reply: Grant Harmeyer: "Re: Error when running site remotely"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 7 Oct 2004 21:26:38 +0100
Using code behind and uploaded the bin folder. When I got this error on the
local server, I had to go to 'my default web' under 'Internet Information
Services', right click on the relevant asp.net app folder, select properties
and create application. Because remote server is with a hosting company I
don't have control over it to check this.
Regards
"Grant Harmeyer" <net@internetapollo.com> wrote in message
news:eV37DcKrEHA.536@TK2MSFTNGP11.phx.gbl...
> Are you placing the associated .dll file in the bin directory of the
> application that WebForm1.aspx resides in?
>
> Upload both:
> -----------------------------
> [AppRoot]
> bin\Staff_Application.dll
> WebForm1.aspx
> -----------------------------
>
> Or, if you are not using CodeBehind, use JIT compilation by changing the
> CodeBehind attribute of your Page directive to a Src attribute:
> -----------------------------
> <%@ Page Language="vb" AutoEventWireup="false" Src="Application.aspx.vb"
> Inherits="Staff_Application.WebForm1"%>
> -----------------------------
>
> Then, upload both files to the Application root
> -----------------------------
> [AppRoot]
> WebForm1.aspx
> WebForm1.aspx.vb
> -----------------------------
>
> Grant
>
> "John" <John@nospam.infovis.co.uk> wrote in message
> news:utqHqSKrEHA.4044@TK2MSFTNGP09.phx.gbl...
> > Hi
> >
> > I have a perfectly fine running webform on the local server. When I
upload
> > the webform to a remote shared server I get the below error. Any idea
what
> > is causing this?
> >
> > Thanks
> >
> > Regards
> >
> >
> > Parser Error Message: Could not load type 'Staff_Application.WebForm1'.
> >
> > Line 1: <%@ Page Language="vb" AutoEventWireup="false"
> > Codebehind="Application.aspx.vb" Inherits="Staff_Application.WebForm1"%>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <HTML>
> >
> > Source File: D:\Webs\...\Staff_Application\Application.aspx Line: 1
> >
> >
>
>
- Next message: Guadala Harry: "Redirect Options"
- Previous message: John: "Re: Error when running site remotely"
- In reply to: Grant Harmeyer: "Re: Error when running site remotely"
- Next in thread: Grant Harmeyer: "Re: Error when running site remotely"
- Reply: Grant Harmeyer: "Re: Error when running site remotely"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|