Re: Error when running site remotely

From: John (John_at_nospam.infovis.co.uk)
Date: 10/07/04


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
> >
> >
>
>



Relevant Pages

  • RE: Error when running site remotely
    ... "John" wrote: ... > I have a perfectly fine running webform on the local server. ... When I upload ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error when running site remotely
    ... > Hi John, ... >> I have a perfectly fine running webform on the local server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Upload Access Data to Web
    ... Basically I would need to upload data from an Access Database Table on a ... local server to a sql table on a web server. ... ¤ Curently we have to transfer the information from Access to the web site by ... Don't think I understand where on the web site you want to upload the data to but you may also want ...
    (microsoft.public.vb.com)
  • Error when running site remotely
    ... 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. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error when running site remotely
    ... Did you upload the bin directory with the compiled dlls to the new server? ... > I have a perfectly fine running webform on the local server. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading