Subject: Parser Error
Posted By: shupiR Post Date: 1/3/2006 5:42:42 AM
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

Reply By: planoie Reply Date: 1/3/2006 11:29:35 AM
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
Reply By: shupiR Reply Date: 1/5/2006 4:22:41 AM
thanx peter for the response but how will i compile it???
shupi

Reply By: planoie Reply Date: 1/5/2006 8:58:44 AM
Are you using visual studio.net?  Use the "Build->Build Solution" menu option.

-Peter
Reply By: shupiR Reply Date: 1/5/2006 11:59:03 PM
sorry for the silly question peter and thanx again.


Go to topic 38272

Return to index page 402
Return to index page 401
Return to index page 400
Return to index page 399
Return to index page 398
Return to index page 397
Return to index page 396
Return to index page 395
Return to index page 394
Return to index page 393