Solved

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

Posted on 2007-04-11
11
623 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:
lem2802 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now