473,385 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

VB.Net Deployment problem / BUG(?)

1) VB6 application has been converted to VB.NET using wizard. Application works as expected on Development system.
2) Deploy application by taking the Bin directory and copying it to another system. This system is fully up to date and has the .NET framework 1.1 Service Pack 1 loaded, but DOES NOT have the .NET development environment installed.
3) Get a protect abort starting application. After adding some "try / Catch code" into the application, I'm getting the following additional info:

System.IO.FileNotFoundException: File or assembly name Microsoft.VisualBasic.Compatibility, or one of its dependencies, was not found.
File name: "Microsoft.VisualBasic.Compatibility"
at Project1.TestForm.InitializeComponent()
at Project1.TestForm..ctor() in C:\Temp\vb to NET Barf test\Project1.NET\TestForm.vb:line 25

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualBasic.Compatibility, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = C:\Temp\bin\
LOG: Initial PrivatePath = NULL
Calling assembly : Project1, Version=1.0.2025.21455, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\ machine.config.
LOG: Post-policy reference: Microsoft.VisualBasic.Compatibility, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.VisualBasic.Compatibility.DLL.
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.VisualBasic.Compatibility/Microsoft.VisualBasic.Compatibility.DLL.
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.VisualBasic.Compatibility.EXE.
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.VisualBasic.Compatibility/Microsoft.VisualBasic.Compatibility.EXE.

To me this says that the contents of the "Bin" directory are incomplete, or there is some sort of other missing component in the .Net Framework. My assumption (good, bad or otherwise) is that the Bin directory has everything it needs for the application deployment. Any one else seen this problem, or can offer a solution as to what is needed???

Steps to duplicate:
Create a VB6 form with two labels in a control array.
Convert this project using the .NET conversion wizard.
Build the converted project, and copy the resultant Bin directory to another system, and then execute the app.
It (for me) blows up at the call to InitializeComponent(). Adding Try / Catch code around this call, and printing out the exception produced the above dump.

Jul 22 '05 #1
0 1312

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Binoy | last post by:
Hello, I am new to .NET, so if my questions is dumb, please excuse me. We are moving our ASP model site to ASP.NET and I would like to know the best deployment strategy that we can use (we...
5
by: Robbie De Sutter | last post by:
Hello, When I use the dotfuscator (Community Edition), all my delegate functions no longer work. I understand the reason why (the function in my delegate no longer exists under the name I try...
2
by: David | last post by:
Everyone, Windows 2000/XP ..NET Framework 1.1 ..NET Development Environment 2003 I am having an issue with the .NET deployment wizard. I go and setup the Add/Remove programs icon in my...
3
by: Vishwanathan Raman | last post by:
I am trying to deploy my Smart Client (it accesses a Web Service) on to a server.It works fine in my machine and also works when others access it from my machine But when deployed to another server...
3
by: Dicky Cheng | last post by:
Hi, I have a BUSY web site and I made modification in the dll file of the web site. I just replace the dll in the bin folder (from v1 to v2) and the web request queueing up and stop responding....
4
by: NaterPotater | last post by:
I can't seem to get my head around the Visual Studio's Deployment Projects: I want the user, at install-time, to be able to specify if they want a icon placed on the desktop or not (I'm trying to...
0
by: kunallalwani | last post by:
Hi friends, I had a functional requirement of my project to get the text content of any Microsoft Office (xp) related file and show it to the user. I downloaded the Office Xp Primary Interop...
1
by: Jo | last post by:
I am having a real problem with the Launch conditions in VS .NET and can only come to the conclusion that it is a bug. It states quite emphatically in the MSDN that Launch Conditions WILL be...
1
by: Nak | last post by:
Hi there, I have come across a bit of an annoying bug, all of a suddent VB.NET is packaging old versions of my assemblys into the into my deployment package. I can confirm that it is doing this...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.