Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2004

Tip: Looking for answers? Try searching our database.

error - microsoft.visualbasic.compatibility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Picine Karppehd - 10 Oct 2004 18:43 GMT
Can any of you guru's help me with the following:

When I run a WinForms exe on another machine I get the following error:
System.IO.FileNotFoundException: File or assembly name
Microsoft.VisualBasic.Compatibility, or one of its dependencies, was not
found.

A search of MSDN for this error does not return any useful info

The C:\Windows\Microsoft.Net\Framework\v1.1.4322 folder did not contain
Microsoft.VisualBasic.Compatibility.dll nor
Microsoft.VisualBasic.Compatibility.Data.dll so I copied them in.  Got the
same error.  
Signature

Picine Karppehd
A newbie to VB.Net,
pretty good with VB6,
Certified with SQLServer

Sijin Joseph - 11 Oct 2004 05:34 GMT
This KB might help
http://support.microsoft.com/?kbid=834610

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

> Can any of you guru's help me with the following:
>
[quoted text clipped - 9 lines]
> Microsoft.VisualBasic.Compatibility.Data.dll so I copied them in.  Got the
> same error.
Picine Karppehd - 11 Oct 2004 13:39 GMT
Thank you, Sijin, for your quick reply.
I have seen the info this kb incident and tried the techniques recommended
therein.  It did not help.  I get the same error.  I guess the problem is
that:
1. The compatibility DLL's are not installed when the Framework 1.1 is
installed.  They are installed on development computers when Visual Studio
2003 is installed.
2. I cannot find any instruction on how to install them when a WinForm exe
is deployed.
3. The XCOPY method of copying the DLL's to the target computer will not fix
the problem, as I have done that.
4. I tried using RegSvr32 to register them but RegSver32 gives an error.

I don't know what else to do other than go thru my code and remove all
references to anything in the compatibilty namespace.

> This KB might help
> http://support.microsoft.com/?kbid=834610
[quoted text clipped - 16 lines]
> > Microsoft.VisualBasic.Compatibility.Data.dll so I copied them in.  Got the
> > same error.
Sijin Joseph - 13 Oct 2004 05:00 GMT
Hi,

Have you tried installing the DLL's in the GAC using gacutil.exe?

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

> Thank you, Sijin, for your quick reply.
> I have seen the info this kb incident and tried the techniques recommended
[quoted text clipped - 32 lines]
>>>Microsoft.VisualBasic.Compatibility.Data.dll so I copied them in.  Got the
>>>same error.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.