473,951 Members | 6,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.FileN otFoundExceptio n: File or assembly name Microsoft.Visua lBasic.Compatib ility, or one of its dependencies, was not found.
File name: "Microsoft.Visu alBasic.Compati bility"
at Project1.TestFo rm.InitializeCo mponent()
at Project1.TestFo rm..ctor() in C:\Temp\vb to NET Barf test\Project1.N ET\TestForm.vb: line 25

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Visua lBasic.Compatib ility, Version=7.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
(Fully-specified)
LOG: Appbase = C:\Temp\bin\
LOG: Initial PrivatePath = NULL
Calling assembly : Project1, Version=1.0.202 5.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\Micros oft.NET\Framewo rk\v1.1.4322\co nfig\machine.co nfig.
LOG: Post-policy reference: Microsoft.Visua lBasic.Compatib ility, Version=7.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.Visua lBasic.Compatib ility.DLL.
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.Visua lBasic.Compatib ility/Microsoft.Visua lBasic.Compatib ility.DLL.
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.Visua lBasic.Compatib ility.EXE.
LOG: Attempting download of new URL file:///C:/Temp/bin/Microsoft.Visua lBasic.Compatib ility/Microsoft.Visua lBasic.Compatib ility.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 InitializeCompo nent(). Adding Try / Catch code around this call, and printing out the exception produced the above dump.

Jul 22 '05 #1
0 1339

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

Similar topics

1
2341
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 have a pretty big site). I got the following information from a web site -
5
1912
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 to called it due to the obfuscation process), but I don't know how to solve the problem except by excluding the classes I delegate to...
2
409
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 setup project and when i install the program under windows XP the icon i selected is displayed
3
1954
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 1)Locally on the server just double clicking the exe it runs fin 2)But when accessed on the server via browser it fail 3)It fails when accessed via other machines using the browse In this case it fails with "An exception...
3
1235
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. I rollback the deployment (use back v1 dll) and the request queue goes down and back to normal. I am not sure this behavior is normal, or any recommendation for deployment guideline (constraint is that i only have one web server).
4
1745
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 use Checkboxes(A)). Seemingly you can just place the Checkbox1Property Name into the User's Desktop Condition but that does not work. I actually saw an article that highlighted this process as "the way to do it", so I downloaded the source and...
0
1322
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 Assemblies from the microsoft site. I use Microsoft Visual Studio.NET 2003 for development including ..NET Framework 1.1. The application runs perfectly at the developers end. Now i need to deploy this application at the customer's box,so i made a...
1
4484
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 executed in the order added. This statement holds true if every Condition has a InstallURL value set. but not if there is no InstallURL value. For Example : I want to check that W2K exists on the target machine before installing SP4. So, I add a...
1
1057
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 deleting the assemblys from the projects Bin folder as well as the output of the deployment projects build and then recompile. The files are replaced but for some strange reason they do not match! This is very irritating a quite similar to...
0
10173
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9994
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
11377
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10703
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9907
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7445
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6237
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6357
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4968
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.