Solved

vb6: unexpected error(50003) ????

Posted on 2004-09-29
9
1,247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

756 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