Hi,
I have a MSCOMM object on my VB.NET project. When I run the program in
development environment, everything is running fine. So I added a setup
project to create a setup program, when I was adding it, it said:
The following files may have dependencies that cannot be determined
automatically.
Please confirm that all dependencies have been added to the project.
c:\windows\syst ems32\mscomm32. ocx
However, the file is under Detected Dependencies in the setup project. I
used depends.exe as it recommended to check the ocx file, and it listed a
lot of dlls (depends.exe actually exist in the old visual studio folder).
Then, I installed using the setup program on a different computer, and I got
Exception Error:
*************** PASTE *************** *************** *************** **
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime. InteropServices .COMException (0x800A1F52): Exception from
HRESULT: 0x800A1F52.
at MSCommLib.IMSCo mm.set_Output(O bject pvarOutput)
at AxMSCommLib.AxM SComm.set_Outpu t(Object value)
at TestApp.frmIOSe rver.Modbus_Req uest(Int32 Addr, Int32 NumReg)
at TestApp.frmIOSe rver.btnStart_C lick(Object sender, EventArgs e)
at System.Windows. Forms.Control.O nClick(EventArg s e)
at System.Windows. Forms.Button.On Click(EventArgs e)
at System.Windows. Forms.Button.On MouseUp(MouseEv entArgs mevent)
at System.Windows. Forms.Control.W mMouseUp(Messag e& m, MouseButtons
button, Int32 clicks)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.ButtonBas e.WndProc(Messa ge& m)
at System.Windows. Forms.Button.Wn dProc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
TestApp
Assembly Version: 1.0.1780.20613
Win32 Version: 1.0.1780.20613
CodeBase:
file:///C:/Documents%20and %20Settings/Shell/Desktop/Setup1/test.exe
----------------------------------------
System.Windows. Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.windows. forms/1.0.5000.0__b77 a5c561934e089/system.windows. forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77 a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03 f5f7f11d50a3a/system.drawing. dll
----------------------------------------
AxInterop.MSCom mLib
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase:
file:///C:/Documents%20and %20Settings/Shell/Desktop/Setup1/AxInterop.MSCom mLib.DLL
----------------------------------------
Interop.MSCommL ib
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase:
file:///C:/Documents%20and %20Settings/Shell/Desktop/Setup1/Interop.MSCommL ib.DLL
----------------------------------------
Microsoft.Visua lBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase:
file:///c:/windows/assembly/gac/microsoft.visua lbasic/7.0.5000.0__b03 f5f7f11d50a3a/microsoft.visua lbasic.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config ) must have the
jitDebugging value set in the system.windows. forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog. 0 2492 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Angela |
last post by:
http://support.microsoft.com/default.aspx?scid=KB;EN-
US;Q324906&
>-----Original Message-----
>I'm trying to create a Web SetUp Project for a web
>application my team recently developed.
|
by: Tom L |
last post by:
I have a vb.net app that I created a setup for. I can install it and run it
just fine on my XP box, but I'm having problems ont he NT4 workstation box.
the nt4 box has sp6a, the .net 1.1 clr, and also mdac 2.8.
the installation goes through fine, not one warning or error.
When I run the program exe, I get this error:
"myprogram.exe - Common Language Runtime Debugging Servi..."
Application has generate an expcetion that could not be...
|
by: Mads |
last post by:
Hi
we see some strange behavior with the latest version of our deployment package
Background
We have a .Net product that is deployed via a website. Developed with VS.Net 2003, the deployment project uses a "Web bootstrapper" and has a valid signature
On the download site we have to files
- the product.ms
- the Setup.Exe (encoded with the url to the product.msi file)
|
by: StevenBarnes |
last post by:
I have a solution with 6 or so projects, some dts dll's, a couple
images, etc. I have a working setup project that creates a nice
installation msi. Cool.
Now I want to obfuscate my .exe and my .dll's, & have the Setup project
build using the obfuscated files. I manually copy the obfuscated files
back into each project's obj/release folder. Then I build the setup
project (while not re-building anything else, of course). That seems to...
|
by: santhosh_176 |
last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even
installer creation. I could run the setup and install it into the actual
device and worked fine. The application enables syncronization with remote
database using merge replication.
I found contradictory results while installing the application. I will
mention here all the steps that I done while creating and installing setups.
Result: Case 1: worked fine. ...
| |
by: vj |
last post by:
When I run the setup.py script , it throws an error
Traceback (most recent call last):
File "C:\vijay\db2\utils\PyDB2-1.1.0-2.tar\PyDB2-1.1.0\setup.py",
line 57, in -toplevel-
libraries=,
File "C:\Python24\lib\distutils\core.py", line 137, in setup
raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: usage: setup.py cmd1 ...]
or: setup.py --help
|
by: Adam Clauss |
last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having
completed it, I am now looking to create a setup project and install it on
another machine.
I created a setup project and added it to my solution (selecting the
"Primary Output" as the files to include from my project). However, when I
attempt to build the setup project (assuming a clean output directory), I
get "Unrecoverable build error" - and NO other...
|
by: Richard L Rosenheim |
last post by:
I have an application that works, which is written in VB using Visual Studio
2003. Now, I'm trying to create a setup application for it. As the
application uses Crystal Reports, I followed the instructions provided by
Microsoft in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystalmn/h
tml/crtskdeployingwindowsapplications.asp
When I attempt to build the setup application, I'm getting the following
error in the...
|
by: sheridans |
last post by:
I have setup a Web Setup Project to my Solution by going to Add New
Project => Setup and Deployment => Web Setup Project. Everything
builds correctly and I get a working Setup.exe and .msi file. The
install process runs exactly as expected and all of my files are placed
into whatever directory I specified.
Then I open IE, point it to my new website and get this error:
"Configuration Error
Description: An error occurred during the...
|
by: vedran |
last post by:
Hello again,
Before few months,I write to this mailing list with python script
install problem,but nobody give me right solution.I work on windows
XP,and Python 2.4.
Now,when I write in Python 2.4:
I got the error:
|
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...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |