DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 10 Aug 2007 10:50:58 +0100,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Rob Meade


Could not load type   
Hi all,

I have an application which has been running successfully on our old Windows 
2000 Server .Net 1.1.

We have on several occasions tried to rebuild our infrastructure, and even a 
demonstration laptop using Windows Server 2003, and each time we have we 
always face the same problem.

Any of our .Net 1.1 applications always produce this error: Could not load 
type

an example is below taken from a rebuilt version of the application, copied 
to the new build server....

 Server Error in '/cds' Application.


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: Could not load type 'CDSTraining._Default'.

Source Error:

Line 1:  <%@ Page Language="vb" AutoEventWireup="false" 
Codebehind="Default.aspx.vb" Inherits="CDSTraining._Default" %>
Line 2:  <%@ Register TagPrefix="uc1" TagName="Application" 
Src="WebUserControls/Application.ascx" %>
Line 3:  <%@ Register TagPrefix="uc1" TagName="Domain" 
Src="WebUserControls/Domain.ascx" %>

It highlights line one.

We have changed the name of the class and this line to see if it makes any 
difference, ie _Default to DefaultPage but nothing changes.  As far as I can 
see the server is configured correctly.  ASP.Net is definately set to 1.1 
for this application, in IIS the virtual directory has an application 
created and its own application pool.

Any information would be really appreciated.

Regards

Rob
Date:Fri, 10 Aug 2007 10:50:58 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us