Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: classbrowser compliation error


Message #1 by "Henry Petersen" <henry@d...> on Tue, 13 Nov 2001 11:49:56
I've been trying to run the classbrowser installed with the .NET Framework 

SDK.  I copied the quickstart and bin directories directly under the 

default web directory.  This allowed me to move through the quickstart 

pages.  I am fine until I try to execute the classbrowser in vb mode.  I 

continue to get the following error:



Description: An error occurred during the compilation of a resource 

required to service this request. Please review the following specific 

error details and modify your source code appropriately. 



Compiler Error Message: BC30002: Type is not defined: 'SortTable'



Source Error:



 



Line 89: 

Line 90:                     If CorClasses(x).Namespace = CurrentNameSpace 

And CorClasses(x).IsPublic

Line 91:                         Dim props As New SortTable("GetType")

Line 92:                         props("GetType") = CorClasses(x).Name

Line 93:                         props("Namespace") = CorClasses

(x).Namespace

 

It looks like the Import of the ClassInfoVB name space is not being 

imported, (this is where SortTable is defined).



Has anyone else experienced this or do you have any ideas?



tia
Message #2 by mbreeve@r... on Mon, 26 Nov 2001 17:24:38
> I've been trying to run the classbrowser installed with the .NET 

Framework 

> SDK.  I copied the quickstart and bin directories directly under the 

> default web directory.  This allowed me to move through the quickstart 

> pages.  I am fine until I try to execute the classbrowser in vb mode.  I 

> continue to get the following error:

> 

> Description: An error occurred during the compilation of a resource 

> required to service this request. Please review the following specific 

> error details and modify your source code appropriately. 

> 

> Compiler Error Message: BC30002: Type is not defined: 'SortTable'

> 

> Source Error:

> 

>  

> 

> Line 89: 

> Line 90:                     If CorClasses(x).Namespace = 

CurrentNameSpace 

> And CorClasses(x).IsPublic

> Line 91:                         Dim props As New SortTable("GetType")

> Line 92:                         props("GetType") = CorClasses(x).Name

> Line 93:                         props("Namespace") = CorClasses

> (x).Namespace

>  

> It looks like the Import of the ClassInfoVB name space is not being 

> imported, (this is where SortTable is defined).

> 

> Has anyone else experienced this or do you have any ideas?

> 

> tia



Sorry I can't offer a solution, but I have experienced exactly this 

problem. Also, if you run the classbrowser in C# mode, you get the 

following error:



Compiler Error Message: CS0246: The type or namespace name 'ClassInfo' 

could not be found (are you missing a using directive or an assembly 

reference?)



Source Error:



 



Line 1:  <%@ Page Language="C#" Debug="True" %>

Line 2:  <%@ Import NameSpace="ClassInfo" %>

Line 3:  <%@ Import NameSpace="System.Collections"  %>

Line 4:  <%@ Import NameSpace="System.Collections.Specialized" %>

 



Source File: C:\Program 

Files\Microsoft.NET\FrameworkSDK\Samples\quickstart\aspplus\samples\classbr

owser\cs\classbrowser.aspx    Line: 2 



This seems to be approximately the same problem.
Message #3 by "Henry Petersen" <henry@d...> on Tue, 27 Nov 2001 09:37:09
> I've been trying to run the classbrowser installed with the .NET 

Framework 

> SDK.  I copied the quickstart and bin directories directly under the 

> default web directory.  This allowed me to move through the quickstart 

> pages.  I am fine until I try to execute the classbrowser in vb mode.  I 

> continue to get the following error:

> 

> Description: An error occurred during the compilation of a resource 

> required to service this request. Please review the following specific 

> error details and modify your source code appropriately. 

> 

> Compiler Error Message: BC30002: Type is not defined: 'SortTable'

> 

> Source Error:

> 

>  

> 

> Line 89: 

> Line 90:                     If CorClasses(x).Namespace = 

CurrentNameSpace 

> And CorClasses(x).IsPublic

> Line 91:                         Dim props As New SortTable("GetType")

> Line 92:                         props("GetType") = CorClasses(x).Name

> Line 93:                         props("Namespace") = CorClasses

> (x).Namespace

>  

> It looks like the Import of the ClassInfoVB name space is not being 

> imported, (this is where SortTable is defined).

> 

> Has anyone else experienced this or do you have any ideas?

> 

> tia



I solved my own problem.  To execute the quickstart pages you must execute 

the setup up proceedure in the starthere.htm page first.  It installs all 

classes automatically in the web server main path.

  Return to Index