Simple problem with beta 2.0

Discussion in 'ASP .Net' started by Wernfried Schwenkner, Apr 24, 2005.

  1. I've run an site with beta 1.0 without any problems. Today I've
    installed Beta 2.0 and can't even run a simple empty page.

    Creating an empty site, adding a Default.aspx form. This runs on the
    temporary IIS started from within the studion.

    But copying the site to the real IIS site, I get the error

    Der Typ 'Default_aspx' konnte nicht geladen werden.
    (Translation: The type '_Default' could not be loaded) within the line
    <%@ Page Language="C#" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

    What am I missing?


    --
    Sleepless in Berlin
    W. Schwenkner
     
    Wernfried Schwenkner, Apr 24, 2005
    #1
    1. Advertising

  2. Wernfried Schwenkner

    TDAVISJR Guest

    If your aspx page is name Default.aspx, then usually your Inherits should be
    something like Inherits="Default_aspx". The is what VS does by default.
    Make sure your codebehind page is inheriting from the proper class.

    --
    TDAVISJR
    aka - Tampa.NET Koder


    "Wernfried Schwenkner" <> wrote in message
    news:MPG.1cd5a3c0394b4079896d9@merlin...
    > I've run an site with beta 1.0 without any problems. Today I've
    > installed Beta 2.0 and can't even run a simple empty page.
    >
    > Creating an empty site, adding a Default.aspx form. This runs on the
    > temporary IIS started from within the studion.
    >
    > But copying the site to the real IIS site, I get the error
    >
    > Der Typ 'Default_aspx' konnte nicht geladen werden.
    > (Translation: The type '_Default' could not be loaded) within the line
    > <%@ Page Language="C#" AutoEventWireup="true"
    > CodeFile="Default.aspx.cs" Inherits="_Default" %>
    >
    > What am I missing?
    >
    >
    > --
    > Sleepless in Berlin
    > W. Schwenkner
     
    TDAVISJR, Apr 25, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Oliver

    install Beta 2 after Beta 1?

    Mark Oliver, Jan 25, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    414
    Scott Allen
    Jan 25, 2005
  2. Replies:
    1
    Views:
    2,211
    Bruce Barker
    May 3, 2005
  3. Eugene Toporov
    Replies:
    0
    Views:
    766
    Eugene Toporov
    Jul 15, 2004
  4. David Dorward
    Replies:
    0
    Views:
    590
    David Dorward
    Jul 12, 2005
  5. SMichal
    Replies:
    0
    Views:
    644
    SMichal
    Nov 30, 2006
Loading...

Share This Page