.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 28th, 2004, 05:43 PM
ltnuke ltnuke is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 ltnuke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Deployment Problems!

I've completed my first .NET application, written in Visual BASIC .NET. I am able to install and run the program on my computer (which has visual studio .net installed on it). However, when I run it on someone else's computer they immediately recieve the following error:

Title: Common Language Runtime Debugging Services

Application has generated an exception that could not be handled.

Process id= (something) Thread Id=(something)

I've built the setup portion of the
program and i've included the following merge modules:

crystal_database_access2003.msm
crystal_managed2003.msm
Microsoft.VisualBaisc.Compatibility.dll
stdole.dll
Crystal_Database_Access2003_enu.msm
Crystal_regwiz2003.msm
VC_User_CRT71_RTL_X86_---.msm
VC_User_STL71_RTL_X86_---.msm

The program displays a main form with a button that launches another form with a crystal viewer on it. The program also runs sql queries on an odbc data source. Like I mentioned, everything works fine when I run it from my computer, but on others it won't work! I tried it on another computer that has visual studio installed on it and it worked.

On the computers where it won't work, I download .NET Framwork 1.1 on the computers (it prompts to be installed when I run my setup program).

Any help would be greatly appreicated!!!

Reply With Quote
  #2  
Old June 29th, 2004, 11:20 AM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
ltnuke,

Would you mind posting a sample of the exact error message (ie: screenshot). It'll help debug the problem.


Thanks,
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #3  
Old June 29th, 2004, 05:35 PM
ltnuke ltnuke is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 ltnuke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I worked out the issue, thanks anyway!

Reply With Quote
  #4  
Old July 1st, 2004, 03:11 PM
mmanwani mmanwani is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 mmanwani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi ITnUKe

I am facing the saem problem, can you please share with me waht the resolution is?

Thanks
MUkesh

Reply With Quote
  #5  
Old July 1st, 2004, 03:22 PM
ltnuke ltnuke is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 ltnuke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
My Problem

Mukesh -

My problem seemed to be linked to the crystal viewer. Be careful with your code when you are linking the crystal viewer to the report source.

If you are using crystal reports in your project try commenting that part out and then running it, and then debugging by process of elimination.

If the source of your error isn't crystal, then I suggest the following:

1. Make sure under the .NET framework configuration (under control panel --> system administration ---> .NET Framework configuration) that you security zones (for the local machine) set to full trust. Your unhandled exception error could be occuring because of your .NET not being allowed to run (especially if its running of a shared network drive on a server). You must set network security to be full trust for running off of the network.

2. Go to this website http://www.codeproject.com/dotnet/ExceptionHandling.asp Download the exception handling program and implement it in to your own. This allows you to view the source of unhandled exception errors (a lot of the time). This is how I found out what was causing my error!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Deployment Problems!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT