"Type abstract" error when I try to open default.aspx (DNN3.1.1)

Hi, I am new in DNN and I having face following problem: when I open DotNetNuke Project's default.aspx with vs2003, it pop up error message

"The file could not be loaded into the web forms designer. Please correct the following error and then try loading it again: "
"Type Abstract"
"Make sure all of the classes used in the page are built or referenced in the project. Click Help for more information"

I have tried to solve this problem by search on Google and this discussion forum. I did find some information but I still can't get around this problem. I would really appreciate if someone would give me advice to deal this problem.

10/17/2005 6:33:38 AM
asp.net.dotnetnuke 25171 articles. 0 followers. Follow

4 Replies

Similar Articles

[PageSpeed] 44

The default page of DotNetNuke inherits from an abstract base class which cannot be designed.  This is a limitation of the VS designer and there is not much you can do about it.

A work-around is to design your web form on a new page, then copy and paste the relevant HTML into the page that can't be displayed in the designer by switching to HTML view.

I'm not sure why you would want to use the designer on the default page as this page is just the container that loads modules.  If you change this page, then you will need to remember that when you upgrade, because it will be overwritten.

BTW, if you are annoyed at that message popping up all the time you can go into options on the editor and set the default display option for opening web forms so that it starts with the HTML view instead.


John M.

DotNetNuke Module for Performance
10/17/2005 12:40:13 PM
Thanks John. I though I didn't setup DNN correctly and cause it pop up
such message. If this is a standard message, then I will just ingore
it. Once again, thanks for your help.

10/17/2005 11:06:59 PM

How about adopting this syntax:

#If (Debug) Then
Public Class CDefault
Public MustInherit Class CDefault
#End If
Inherits DotNetNuke.Framework.PageBase

I think this would allow the designer, yet enforce more security on the runtime...

12/13/2005 11:40:19 PM
How about that inline script quotes issue in the same Default.aspx?
12/14/2005 3:57:05 PM

Similar Artilces:

Developed C#.net WebService 1.1 for Client C#.net 1.1. Getting error "Server was unable to process the Request" Pls Help
Hi., I developed Microsoft C#.net Web Services2003 for the Client Application C#.net 2003. When it runs in 5 machines it gives good performance and has no errors. But if i run the same application in about 80 client machines. Getting error "Server was unable to process the request". I use Sql Server 2005 as my database. I get error even when i login at a time for about 25 users. Tried modifying machine.config too. But went unsuccessful. Live Server is 2003 using IIS 6.0 I use very expensive data handling.  Its very urgent pls help. Have to post in Live Server. Thank u., ...

"Error loading XML file :\windows\microsoft.net\framework\v1.0.3705"...does this mean v.1.1 code trying to run in a v.1.0 app?
I uploaded some new files into my existing third-party hosted site, including a .DLL into \BIN\, which is running AS.NET v.1.0. I got the following error message when browsing to one of the pages using the code in the namespace defined in the DLL: Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. (c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config) ...

Can anyone tell me the diff between .net framework versions "1.1.4322.573" and "1.1.4322.903"
Production environment is running 1.1.4322.573 Pre Production environments are running 1.1.4322.903 We are seeing some javascript errors that are only happening in our production environment. All of our pre production environments for testing, development and what not seem to be running fine. We get the generic client side error that says which line, which char number and the brief description. The actuall error states "Expected ';' " . Here is the line of code that it's complaining about. "theform = document._ctl6:Form1;" This is microsoft ge...

Retrograding httpHandler from .NET 2.0 to 1.1, get "Parser Error Message: Could not create type" message
Hi there,I have written a httpHandler using VS2005 and .NET 2.0 that builds and works fine.However, I am now having to convert it to .NET 1.1, which I hoped would just be a case of changing the runtime used by the web app (as in running the 1.1 version of aspnet_regiis, with a "-s" switch pointing at my web apps folder). After doing this though (and fixing a few minor differences with web.config), if I then navigate to my handler I get the following error message:Server Error in '/Path/To/MyWebApp' Application.Parser ErrorDescription: An error occurred during the parsing of...

Migration from .net 1.1 to .net 2.0 and deployed in server: error "Server Application Unavilable"
Hi, I have upgraded one .net 1.1 application to .net 2.0. though locally the application is running fine, when deployed in the server it is giving the following error : Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused thi...

"Copy Project" results in: HTTP:/1.1 500 "Internal Server Error"
Hi all,   I have tried finding a fix to this error on Google, etc. to no avail. Does anyone know what it means and/or know how I can fix this. I have had no problem uploading other webApps to hosting co.'s (although I haven't tried "copy project" to GoDaddy until now). Is this a problem with the hosting Co., or my configs? I know there is an easy answer to this question, but I am perplexed.   -cmf...

error "Failed to get datetime data" using dw.net 1.0.1
Hello, My situation: I have a vs2005 project with dw.net version 1.0.1 (build 5502), database is asa10. When my regional settings are Dutch(Belgium) I have no problems at all. When the settings are Italian(Italy) I get a "Failed to get datetime" error when I retrieve when my data contains dates. When the date fields are not filled in then I do not get the error. A date of '2008-1-1 08:00:00' also gives errors. When I try to retrieve the same data in the datawindow painter I also get no error. Can anyone help me? Greetings, Mich=E8le DW.net 2.5 is now th...

Paging Repeater treating page 11 as "1" and "1" not "11"
Dear AllI have a paging repeater, and I am displaying pages according to the amount of records I am retreiving from the database.  My code is as follows:-ASPX           <asp:Repeater runat="server" ID="rptPageNumbers" OnItemCommand="rptPageNumbers_ItemCommand">              <ItemTemplate>                <asp:LinkButton ID="LinkButton1" runat=&quo...

Parser Error
What do I make to solve that problem? 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: Stream is not a valid resource file.Source Error: Line 1: <?xml version="1.0" encoding="utf-8" ?> Line 2: <locales> Line 3: <inactive>Source File: /dotnetnuke320/App_GlobalResources/Locales.Portal.xml.resources    Line: 1 Version Information: Microsoft .NET Framework Versio...

Method "UrlPathEncode" available in .NET 1.1 but VS.NET 2003 not seeing it
I'm trying to reference HttpUtility.UrlPathEncode(SomeStr) in my VB code but I get a build error saying "'UrlPathEncode' is not a member of 'System.Web.HttpUtility'."I've included "Imports System.Web.HttpUtility" at the codebehind page though it won't build. Appearently, when I use HttpUtility.UrlPathEncode(SomeStr) in a page with no codebehind page, it is interpreted fine. Is this because I am trying to build the code behind using VS.Net2003? Is there a way around this short of creating these pages with no code behind?King Hi Kelder, I think it should be ser...

ldap error -602 when choosing "manager"
begin 755 manager error.jpg M_]C_X``02D9)1@`!``$`8`!@``#__@`?3$5!1"!496-H;F]L;V=I97,@26YC M+B!6,2XP,0#_VP"$``@%!@<&!0@'!@<)"`@)#!0-#`L+#!@1$@X4'1D>'AP9 M'!L@)"XG("(K(AL<*#8H*R\Q,S0S'R8X/#@R/"XR,S$!"`D)#`H,%PT-%S$A M'"$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q M,3$Q,3$Q,?_$`:(```$%`0$!`0$!```````````!`@,$!08'"`D*"P$``P$! M`0$!`0$!`0````````$"`P0%!@<("0H+$``"`0,#`@0#!04$!````7T!`@,` M!!$%$B$Q008346$'(G$4,H&1H0@C0K'!%5+1\"0S8G*""0H6%Q@9&...

KDE4 unstable "openSUSE_11.1+Qt45" OR "openSUSE_11.1"
I'm using qt from 'Index of /repositories/KDE:/Qt45/openSUSE_11.1' (http://download.opensuse.org/repositories/KDE:/Qt45/openSUSE_11.1/) Should I use 'this' (http://tinyurl.com/bkcfpp) repo or I can use 'this' (http://tinyurl.com/668yyh) repo? -- aleksei_timofeev ------------------------------------------------------------------------ hi, openSUSE_11.1+Qt45 repo contains KDE packages compiled against QT4.5 and openSUSE_11.1 repo QT4.4 so would be better to use the first one. But i don't recommend you to use KDE4:/UNSTABLE repo which is ...

.NET 1.1 version of "Previous Page?"
I have a web app built in ASP.NET 1.1 and C#.  I need to base some controls on a page on what page the user has navigated there from, e.g. a button's text and On_Click function will depend on how the user got to the page.  I know that in .NET 2.0 I could use an "if (Page.PreviousPage == "PageName.aspx") statement, but is there an equivalent in 1.1? No previous page on 1.1 as far as I know.CheersAlMy BlogMapStats.NETPlease click on 'Mark as Answer' if this post answered your question! Perhaps if I explain in more detail what I need to accomplish, you or someone else can ...

Swap a "1" or "0" for a "Y" or "N"
I have a sql query that returns rows of data and one field returns a 1 (which means yes) or a 0 (which means no).  On my vb.net page, how do I replace the 1 with a Yes and the 0 with a No?  Or do I do this in the sql?  How do I do this in sql?Never make important decisions on a Monday! By default, VB.Net can understand 1 as Yes and 0 as No.I believe you are using those DB values for your Boolean Operations.Try to use If <DBValue> then <Operation>. If you are really need Yes/No .... Declare boolean variable in VB.net and set those variables. Thanks and R...

Web resources about - "Type abstract" error when I try to open default.aspx (DNN3.1.1) - asp.net.dotnetnuke

Resources last updated: 12/17/2015 2:08:04 AM