Wrox Programmer Forums
|
BOOK: Beginning VB.NET Databases
This is the forum to discuss the Wrox book Beginning VB.NET Databases by Thearon Willis; ISBN: 9780764568008
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning VB.NET Databases 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 July 27th, 2005, 07:30 AM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 10 system exception error

Hi,

I have completed chapter 10 "Building Business and Data Access Components" but when I run the project I receive the following error message.

An unhandled exception of type 'System.Exception' occured in
wroxdataaccess.dll

Additional: Bad Data.


More specifically the program falls over on the connection string. I'm trying to connect without intergrated security as this worked ok in earlier chapters and the code for opening the registry keys works fine (the key & initialization byte arrays match the create registry chapter) so I would expect this to work?

Someone suggested that the dll should be registered, hence the error, but when I try and register in regsvr32 I receive the following error message.

WroxDataAccess.dll was loaded, but the DllRegisterServer entry point was not found.

This file cannot be registered.


Do I need to install the latest service pack for xp to register and load this dll?

Thanks to anyone who can help?

Cheers,

Dan

 
Old July 28th, 2005, 04:07 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Dan,

The DLL does not need to be registered as it is not a COM DLL. Check out this topic to see if it provides some more insite to your problem: http://p2p.wrox.com/topic.asp?TOPIC_ID=32599

Thearon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10: Appointment Booking System shong BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 August 21st, 2008 04:04 AM
Chapter 10: Appointment Booking System shong BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 11 July 21st, 2008 01:38 PM
Chapter 10 exception error JohnBoy BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 4 August 1st, 2007 03:27 PM
how to fix the error : Exception Details: System.D khaink ASP.NET 1.0 and 1.1 Basics 2 October 9th, 2005 12:24 AM





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