Wrox Programmer Forums
|
BOOK: Expert One-on-One Visual Basic 2005 Database Programming
This is the forum to discuss the Wrox book Expert One-on-One Visual Basic 2005 Database Programming by Roger Jennings; ISBN: 9780764576782
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One Visual Basic 2005 Database Programming 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 March 21st, 2006, 09:20 PM
Wrox Author
 
Join Date: Feb 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fix Missing Microsoft.VisualBasic 2.0.0.1 Errors

If you receive an error resulting from a missing Microsoft.VisualBasic 2.0.0.1 file when attempting to run a project from the Chapter01 folder or other early chapter folders, do the following:

1. Right-click the project entry in Solution Explorer and choose Properties to open the tabbed Properties window.

2. Click the References tab.

3. If a Microsoft.VisualBasic item is present and its check box is marked in the Imported Namespaces list, clear the check box.

4. Build and run the project.

The next time you open the project, the item (a User Import for a Visual Basic 9.0 ["Orcas"] LINQ preview version) should be missing from the list.

See the message regarding the OleDBDataObjects.sln project for more details on this issue.

Sorry for the inconvenience,

--rj
 
Old April 9th, 2006, 03:50 PM
Wrox Author
 
Join Date: Feb 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alternatively, you can use Notepad to replace
<ProductVersion>8.0.50727</ProductVersion>
with
<ProductVersion>8.0.50110</ProductVersion>
in the ProjectName.vbproj file

--rj
 
Old May 28th, 2006, 06:29 AM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is my technique for fixing the error: Could not load file or assembly 'Microsoft.VisualBasic, Version=2.0.0.1, Culture=neutral, PublicKeyToken=6315780d5082271f' or one of its dependencies. The system cannot find the file specified.

I double-click My Project in Solution Explorer. Choose References. In the References list click System. Click Remove. Click Add. In the Add Reference dialog on the .Net tab choose System then clik OK. This correctly sets the VisualBasic reference to the assembly on my machine.

To set the connection to SQLEXPRESS I had to double-click Settings in Solution Explorer. Click the connect string under the Value column. Click the elipsis (...). Change the Server Name from LocalHost to .\SQLEXPRESS. Test the connections then click OK.

Thanks Roger for all the great training through the years!

 
Old June 12th, 2006, 10:59 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Following DeveloperDan2's instructions, I've managed to fix the "Could not load file error...." when opening the main form in OrdersByCustomerV3 - Final but when i try to set the connection to SQLEXPRESS from Settings it tells me "This project does not contain a default settings file". Both version 1 and 2 of the OrdersByCustomers projects had a connection string that could be modified to ".\SQLEXPRESS". How do i set the connection string for SQLEXPRESS in OrdersByCustomerV3 - Final?

Thanks....






Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing code and errors dba BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 January 15th, 2008 01:34 PM
error with Microsoft.VisualBasic.Compatibility ACE2084 VS.NET 2002/2003 9 September 20th, 2007 08:40 AM
Microsoft SQL isapi extension ERROR - FIX proslambano BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 January 6th, 2007 10:25 AM
Microsoft Update fix? larry Flash (all versions) 0 April 19th, 2006 05:50 PM





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