473,794 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem running deployed app

I have a VB.NET winform app that I created that uses an ActiveX control
(cwui.ocx).

I created a setup project for it and it installs fine on my machine. The
app runs fine too.

When I run it on another machine it installs fine, but when I run the
program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???
Nov 20 '05 #1
2 1286
I need HELP!!! :(

Here's more info...

My program is small and uses:
A custom class I created uses System.Timers.T imer and the timer's
constructor shows frmMain.
frmMain has an unmanaged ActiveX control on it (from the cwui.ocx file).
I've included the OCX file with the package.
The program references an XML file for it's settings. I've included the XML
file with the package.
I also configured this assembly for "Full Trust" on the the machine.

Again, the error it gets is below...

Any ideas would be appreciated. Thanks!

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:ei******** ******@tk2msftn gp13.phx.gbl...
I have a VB.NET winform app that I created that uses an ActiveX control
(cwui.ocx).

I created a setup project for it and it installs fine on my machine. The
app runs fine too.

When I run it on another machine it installs fine, but when I run the
program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???

Nov 20 '05 #2
Never mind.

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I need HELP!!! :(

Here's more info...

My program is small and uses:
A custom class I created uses System.Timers.T imer and the timer's
constructor shows frmMain.
frmMain has an unmanaged ActiveX control on it (from the cwui.ocx file).
I've included the OCX file with the package.
The program references an XML file for it's settings. I've included the XML file with the package.
I also configured this assembly for "Full Trust" on the the machine.

Again, the error it gets is below...

Any ideas would be appreciated. Thanks!

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:ei******** ******@tk2msftn gp13.phx.gbl...
I have a VB.NET winform app that I created that uses an ActiveX control
(cwui.ocx).

I created a setup project for it and it installs fine on my machine. The app runs fine too.

When I run it on another machine it installs fine, but when I run the
program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???


Nov 20 '05 #3

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

Similar topics

2
1110
by: Visually Seen # | last post by:
Hey everybody, I'm doing a project called Science Talent Search, where I had to research about a topic in which I chose nuclear energy. I chose to present this as a computer program, and I decided to use C#. The main problem is: I'm using a bit of animation, by changing the location of the image file. Now, the image files are located in a certain directory (let's say
2
2286
by: Helen Abell | last post by:
I have an ASP.Net application which works fine on the XP machine where it was developed, and also on one of the deployed machines, which is running Win2K Server and the .Net framework. However, on another laptop running XP and Visual Studio, I deployed and tested the application, and it worked fine. However, it has suddenly started coming up with an error saying Unable to load type, the first time an aspx page is called.
1
1638
by: George | last post by:
Hi. I've deployed a web application on a desktop computer running W2K and IIS. I'm using the desktop as a server. When I try to access the site, either from my development computer or if I log in to a remote machine, the site works fine for me and I'm able to access the aspx pages with no problems. When others try to access the site, it asks them for there login ID, password and domain.
2
1244
by: Sammy | last post by:
Everyone, I have this very strange problem and we spent weeks to figure out what's going on. Let me outline the configuration of our system: 1. .NET Framework v. 1.0.3705 2. SQL 2000 SP 3 3. Windows 2000 Server SP4 Web Site Setup
8
3400
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set it up as C:\domains\appA. Locally, my IIS root points to C:\domains. I don't point it to C:\domains\appA since if I have an appB under C:\domains I wouldn't be able to get to it. So to access it via my browser I go to localhost/appA.
0
1608
by: Scanner2001 | last post by:
I have a web service and a deployment project. Inside the deployment project, is a custom action to create some database related items such as stored procedures. I have this packaged as an msi, and can run the deployment on win2k, win2k server, and winxp without problems. The database related part of the custom deployment action uses integrated security to login (SSPI). When tracing the deployments using sql profiler from any of the...
4
14313
by: Brian Henry | last post by:
My project references Microsoft.MSHTML.Dll. It works perfectly fine on the development machine, but on the release machines that are in production use it says when you try to load a form that uses the reference "System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File...
1
1958
by: Mahesh Devjibhai Dhola | last post by:
Hi, Scenario: The webservice was developed on windows 2000 Pro and deployed previously on windows XP pro for testing. We have tested for many days. The client for that service was 30+ and accessing the webservice each min. It was working 100% fine. Problem: But now in actual deployment, we have deployed webservice in Win Server 2003 and we have used all the default configurations. Now the clients are accessing that service the same way...
3
5802
by: zombiechewtoy | last post by:
I'm having a problem displaying the version number of the ClickOnce deployment on my programs, but it's under odd conditions... I have a program which is distributed via ClickOnce to around 50 PC's. On a handful of these, the version number displays when it is run from the network. However, on most, it is blank. I have 2 labels. One that simply says "Version", and another that displays the actual number. Neither label is supposed to show...
3
3454
by: Janis | last post by:
I am running VB.NET 2002 on a MS XP Professional Service Pack 2 machine with .NET Framework v 2.0. I have a Crystal report in my application that has more than one table associated with it. It runs fine on the development PC. When I run it through the deployed exe version it throws 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' and 'Object reference not set to an instance of an...
0
10433
Oralloy
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...
0
9035
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...
1
7538
isladogs
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...
0
6777
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
5436
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
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4112
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
2
3720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2919
bsmnconsultancy
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...

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.