Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.1
This is the forum to discuss the Wrox book Beginning ASP.NET 1.1 with Visual C#.NET 2003 by Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry; ISBN: 9780764557088
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 11th, 2005, 04:37 PM
Authorized User
 
Join Date: Jun 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 13 Runtime Compilation Error

Greetings,

Regarding the first Try It Out on pp.475-479:

I'm running the examples on my Win2K3/IIS6/.NET/ASP server.

My Chapter 13 folder has my HelloWorldExample.aspx file. The HelloWorld.vb file was compiled successfully to Chapter 13\bin\HelloWorld.dll (it was necessary to amend the Path attribute in the environment variables).

When I hit the aspx file in my browser, I get this error message:

Type 'WroxComponents.HelloVB' is not defined.

Just as a check, I downloaded the code for this chapter from the Wrox site and compiled that version of HelloWorld.vb. I still get the same error message.

In addition, I tried adding the <%@ Import Namespace=WroxComponents" %> tag; same error message.

Next, after adding this import statement, I tried altering the first line of the page_load() sub to read: "Dim MyVBComponent as New HelloVB()". This changes the error to read: "Type 'HelloVB' is not defined."

Evidently the .dll file is not registered with the .NET server, which would explain why it doesn't recognize the WroxComponents namespace or any of the classes or methods.

Suggestions?






Similar Threads
Thread Thread Starter Forum Replies Last Post
getting runtime error 13: type mismatch rita9 Beginning VB 6 2 March 14th, 2008 04:36 AM
hi i got runtime error 13 Type Mismatch error sriharsha345 Access VBA 2 February 21st, 2008 09:30 AM
Runtime error-'13' med_bill5 VB Databases Basics 1 March 14th, 2006 03:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.