472,796 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 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
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 1293

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

Similar topics

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...
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...
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...
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...
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....
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...
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...
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...
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...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
How does React native implement an English player?
by: Mushico | last post by:
How to calculate date of retirement from date of birth
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.