Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 3rd, 2006, 06:42 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parser Error

while accessing the home page by giving this URL http://localhost/shopcart/home.aspx, I am getting this error.I have downloaded the code from a site.

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 'ShopCart.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="ShopCart.Global" %>



Source File: C:\Inetpub\wwwroot\shopcart\global.asax Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

kindly help.
Shupi

  #2 (permalink)  
Old January 3rd, 2006, 12:29 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This error usually occurs when you try to access a page in an application that hasn't yet been compiled.

The "Inherits" attribute is telling the ASP.NET runtime to inherit the class "ShopCart.Global" which it can not find in any of the available assemblies. Once you compile the application, that class will be available within the "ShopCart.dll" assembly found in the application's /bin directory.

-Peter
  #3 (permalink)  
Old January 5th, 2006, 05:22 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanx peter for the response but how will i compile it???
shupi

  #4 (permalink)  
Old January 5th, 2006, 09:58 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are you using visual studio.net? Use the "Build->Build Solution" menu option.

-Peter
  #5 (permalink)  
Old January 6th, 2006, 12:59 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry for the silly question peter and thanx again.

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parser Error rwalker Crystal Reports 0 May 8th, 2006 03:47 PM
Parser Error ashokparchuri General .NET 0 June 3rd, 2005 03:14 AM
global.asax parser error exarkuun General .NET 3 February 24th, 2005 01:56 AM
SAX Parser Error dpan168 XML 0 October 26th, 2004 04:53 PM
Parser Error on Biztalk mandla Access 0 August 13th, 2003 07:03 AM



All times are GMT -4. The time now is 04:07 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.