![]() |
Simple problem with beta 2.0
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 |
Re: Simple problem with beta 2.0
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" <wernfried.nospam@schwenkner.de> 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 |
| All times are GMT. The time now is 04:00 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.