Pro ASP.NET 1.0 IBuyAdventure Case Study
Hi,
Has anyone implemented and run the accompanied codes of the IBuyAdventure case study successfully?
I've included it into Visual Studio.Net and compiled successfully. But when I run it, I keep getting compilation error something like: -
Server Error in '/IBuyAdventure' Application.
----------------------------------------------------------------------
Compilation 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: CS1595: 'IBuyAdventure.ControlBase' is defined in multiple places; using definition from 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Tempor ary ASP.NET Files\ibuyadventure\6ac91f6a\9d024e67\bc5ymfuz.dll '
Source Error:
Line 28: [System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 29: [System.Web.UI.PartialCachingAttribute(60, null, null, null)]
Line 30: public class Categories_ascx : IBuyAdventure.ControlBase {
Line 31:
Line 32: private static int __autoHandlers;
Source File: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Tempora ry ASP.NET Files\ibuyadventure\6ac91f6a\9d024e67\unbpgv6l.0.c s Line: 30
I saw something on because the codes place the CodeBehind and SRC on the same page, or something like that. Tried removing CodeBehind but still doesn't work.
Can any experts help?
Thanks very much.
Leonard
|