Solved

Parser Error Message: Could not load type 'randomSites.banner'

Posted on 2007-04-11
11
624 Views
Last Modified: 2013-12-25
Parser Error
 
Question: Can somebody tell me what this means...
--------------------------------------------------------------------------
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 'randomSites.banner'.

Source Error:


Line 1:
Line 2:   <%@ Page Codebehind="banner.aspx.vb"  Language="vb"  AutoEventWireup="false" Inherits="randomSites.banners" %>
Line 3:   <script>
Line 4:   var tdate = new Date();
 

Source File: c:\inetpub\wwwroot\randomsites\banner.aspx    Line: 2

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
0
Comment
Question by:cybertekcomputers
  • 6
  • 4
11 Comments
 
LVL 17

Accepted Solution

by:
Elvio Lujan earned 250 total points
ID: 18890219
look into banner.aspx.vb if the class name is "randomSites.banners"... may be its "randomSites.banner"
0
 

Author Comment

by:cybertekcomputers
ID: 18890451
Correction to my initial post, there isn't an S after inherits="randomSites.banner", the line is this

Line 2:   <%@ Page Codebehind="banner.aspx.vb"  Language="vb"  AutoEventWireup="false" Inherits="randomSites.banner" %>
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 18891154
Did you change the default namespace for the project?  Is it supposed to be 'randomSites'?

Bob
0
 

Author Comment

by:cybertekcomputers
ID: 18891333
The extra S was at the end of Line 2 where it said banners instead of banners, that was a typo by me, here are the correct lines:

Parser Error Message: Could not load type 'randomSites.banner'.

Source Error:


Line 1:
Line 2:   <%@ Page Codebehind="banner.aspx.vb"  Language="vb"  AutoEventWireup="false" Inherits="randomSites.banner" %>
Line 3:   <script>
Line 4:   var tdate = new Date();
 

Source File: c:\inetpub\wwwroot\randomsites\banner.aspx    Line: 2
0
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 250 total points
ID: 18891384
Yes, but what is the namespace for the project?

Bob
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:cybertekcomputers
ID: 18891492
I am not sure what you are asking, this is an error on a machine running XP, what do you mean the namespace?
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 18891703
I mean the project’s default namespace, which is defined on the Application tab of the Project properties, accessed by right-clicking on the Project node in the Solution Explorer.

Bob
0
 

Author Comment

by:cybertekcomputers
ID: 18892445
This error related to vb could be spyware causing an error while trying to load a web page from a downloaded application
0
 

Author Comment

by:cybertekcomputers
ID: 18893384
Any resolution to this problem would be greatly appriciated.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 18893493
Did you look at what I asked you for?

Bob
0
 

Author Comment

by:cybertekcomputers
ID: 18904733
turned out that the downloaded program added spyware, both people brought me to my conclusion and ultimate fix.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now