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
|