i have this big bug on asp.net guest book ,pls help me out
-
hello there, pls am a newbie to asp.net, Sometimes ago i bought a book "The joy of dreamweaver" by paul newmann,a great book that taught me asp and php. he however supplied the asp.net code version of every project,recently i tried using the codes for asp.net guest book and it tthrew the followin errors,pls what can i do,or have i not done,kindly hep me as his bog at www.newmanzone.com/forum is currently under attack,thanks very much abiola it gave the following errors Server Error in '/' Application. -------------------------------------------------------------------------------- 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: File or assembly name DreamweaverCtrls, or one of its dependencies, was not found. Source Error: Line 1: <%@ Page Language="VB" ContentType="text/html" %> Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %> Line 3: Line 4: CommandText='<%# "SELECT * FROM Guestbook WHERE Active <>0 ORDER BY PostDate DESC" %>' Source File: c:\inetpub\wwwroot\guestbook\TMPx9u06nqd0.aspx Line: 2 Assembly Load Trace: The following information can be helpful to determine why the assembly 'DreamweaverCtrls' could not be loaded. === Pre-bind state information === LOG: DisplayName = DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a (Fully-specified) LOG: Appbase = file:///c:/inetpub/wwwroot LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: Publisher policy file is not found. LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet.config). LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config. LOG: Post-policy reference: DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a LOG: Attempting download of new URL file:///C
-
hello there, pls am a newbie to asp.net, Sometimes ago i bought a book "The joy of dreamweaver" by paul newmann,a great book that taught me asp and php. he however supplied the asp.net code version of every project,recently i tried using the codes for asp.net guest book and it tthrew the followin errors,pls what can i do,or have i not done,kindly hep me as his bog at www.newmanzone.com/forum is currently under attack,thanks very much abiola it gave the following errors Server Error in '/' Application. -------------------------------------------------------------------------------- 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: File or assembly name DreamweaverCtrls, or one of its dependencies, was not found. Source Error: Line 1: <%@ Page Language="VB" ContentType="text/html" %> Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %> Line 3: Line 4: CommandText='<%# "SELECT * FROM Guestbook WHERE Active <>0 ORDER BY PostDate DESC" %>' Source File: c:\inetpub\wwwroot\guestbook\TMPx9u06nqd0.aspx Line: 2 Assembly Load Trace: The following information can be helpful to determine why the assembly 'DreamweaverCtrls' could not be loaded. === Pre-bind state information === LOG: DisplayName = DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a (Fully-specified) LOG: Appbase = file:///c:/inetpub/wwwroot LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: Publisher policy file is not found. LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet.config). LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config. LOG: Post-policy reference: DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a LOG: Attempting download of new URL file:///C
well the error message tells you where the eror is: on line 2. And line 2 is where the DreamweaverCtrls library (dll) is referenced - so I can only assume that you haven't referenced and/or copied it into your application's bin/ folder. I further assume that this dll has either been built earlier in the book, or came with it on a CD, or is downloadable off the book's website.