Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Could not load type "namespace.class" Parser Error

Reply
Thread Tools

Could not load type "namespace.class" Parser Error

 
 
Kris
Guest
Posts: n/a
 
      12-18-2003
Hey everyone,

I am trying to make a multi-project web application in
visual studio that uses the server.transfer method in C#
to get to the different aspx pages.
However, when I call out to the page it gives me the
Could not load type "MainConsole.Default". The code was
working before when i had it all in one project. I want
to seperate the one big project and create little ones to
communicate to each other, just like a desktop
application. Which would give me an easier time when I
do bug fixes/upgrades/etc... If you want more code
please let me know, I don't think it is the problem as
much as the programmer's lack of knowledge.


Line 1: <%@ Page language="c#"
Codebehind="Default.aspx.cs" AutoEventWireup="false"
Inherits="MainConsole.Default" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN" >
Line 3: <HTML>

Thanks so much in advance,
-Kristopher


 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      12-19-2003
Are project references OK and have you compiled the whole solution ebfore
running the Page?

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist


"Kris" <> wrote in message
news:021401c3c5af$e6865da0$...
> Hey everyone,
>
> I am trying to make a multi-project web application in
> visual studio that uses the server.transfer method in C#
> to get to the different aspx pages.
> However, when I call out to the page it gives me the
> Could not load type "MainConsole.Default". The code was
> working before when i had it all in one project. I want
> to seperate the one big project and create little ones to
> communicate to each other, just like a desktop
> application. Which would give me an easier time when I
> do bug fixes/upgrades/etc... If you want more code
> please let me know, I don't think it is the problem as
> much as the programmer's lack of knowledge.
>
>
> Line 1: <%@ Page language="c#"
> Codebehind="Default.aspx.cs" AutoEventWireup="false"
> Inherits="MainConsole.Default" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN" >
> Line 3: <HTML>
>
> Thanks so much in advance,
> -Kristopher
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Parser Error Message: Could not load type 'Esolve_DEV.Global'. Jacob Yang [MSFT] ASP .Net 3 11-21-2003 07:20 AM
Parser Error Could not load type 'dotnettest.Global' Jerry Tovar ASP .Net 1 10-21-2003 06:03 PM
'Could not load type' Parser Error Kevin ASP .Net 1 10-16-2003 08:35 PM
Re: Parser Error: Could not load type Bernard Willingham ASP .Net 0 08-14-2003 03:54 PM
Parser Error: Could not load type BW ASP .Net 2 08-14-2003 03:54 PM



Advertisments