Solved

vb6: unexpected error(50003) ????

Posted on 2004-09-29
9
1,210 Views
Last Modified: 2012-08-14
hi.........
i have an application written in vb 6, crystal reports 10. it worked well on one pc. I copied it on USB storage drive and then tried to run the source code on my pc. it gave multiple errors..... most of them were of crystal reports.... and lastly an error " unexpected error (50003)"
and when i try again to run the source code only this error is displayed. after this the run mode is terminated.

waiting for help.
0
Comment
Question by:khankejan
9 Comments
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12180804
Do you have Crystal report files installed (registered) on your PC?
0
 
LVL 32

Expert Comment

by:Erick37
ID: 12180856
You cannot simply run the executable on any computer.  VB programs need a whole bunch of support files which need to be installed properly on the target machine.  

You can use a tool like the Package and Deployment Wizard to create a Setup program which will install all of the files your program needs to run.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12180906
Which edition of CR10.  You need at least the developer edition to do what you want.

Look at

http://support.businessobjects.com/communityCS/TechnicalPapers/rdc10_deployment.pdf.asp

mlmcc
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:khankejan
ID: 12181316
friends..... let me make it clear..... I am not running the exe file.  Its the source code that i try to run. i have installed visual studio. and i am trying to execute the source code using vb6 on my PC.
Second.... the reports were created in CR 8.0 and then upgraded to CR10. But i have CR8.5 on my PC. I will try to install CR10 on my system as well. But i dont think it s the real cause.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 12185683
CR 8.5 cannot read CR10 reports so if you upgraded them you will need to install CR10.

Also if the code was copied from the other PC and was working with CR10, the references will need to be changed to reflect CR8.5 before it will run.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12559805
Installing CR10 probably solved the problem.   As my comment stated CR8.5 cannot read CR10 reports.

mlmcc
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now