Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Beginning Components with ASP.Net


Message #1 by "Hugh McLaughlin" <hugh@k...> on Fri, 25 Jan 2002 02:34:35
Hello Everyone and thanks for your help in advance.  I am working through 

the examples in the beginning ASP.Net using VB.Net book and have 

encountered a problem.  In Chapter 16, there is an example on page 560 to 

develop a simple ASP.Net component.  I created all of the files per the 

instructions and then compiled them using Visual Studio rather than a 

command-line compile.  This created a folder "Component1" within which the 

bin directory with the component dll is found.  From what I can tell, the 

bin directory needs to be within the webroot.  I then copied the bin 

directory to the webroot, but am still getting the following error message:



Compiler Error Message: BC30002: Type is not defined: 'HelloVB'



I then downloaded the sample code from the WROX site and ran the WROX 

code.  I received the same error.  I have verified that the dll exists and 

that no errors were generated during the compile.  The only difference 

between the example in the book and my code is not using the command-line 

compile, but I cannot imagine there is a difference between the code 

generated.  I suspect that it is a simple configuration issue, but can't 

seem to locate the problem.



Any help that you can give would be greatly appreciated.  Thank you.

  Return to Index