Vb6 and Crystal Reports 9 Program not run on windows8 64 Bit

Hi,

I have application developed in Visual basic 6 and Crystal Report 9.2. I have to distribute and setup on Windows 8 64 bit Machine.

But my program give error Code 50003. while execute program to show crystal report.

Any one help me to resolve the error and run program on windows 8 64 bit machine.

Thank and regards,

Daxesh
daxpatelAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
If your forms use high resolution (256x256) icons, replace them with low-resolution versions.
If that was not the issue, use Dependency Walker to see if you have missing dependencies.
0
mlmccCommented:
Does the program run and only when you try to display a report that you get the error?

What code are you using to display the report?

How are you connecting to the database?
If it is ODBC did you install 32-bit ODBC  connections?

mlmcc
0
daxpatelAuthor Commented:
hi,

There is no odbc connection error.

Program run on windows xp and windows7 both but in windows 8 64 for bit, it gives error while loading crystal report in viewer. rest of program run properly without error.

Only error, show while loading crystal report in viewer.

Please fin snap for your ref.

Regards,

Daxesh
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

mlmccCommented:
Are your XP and Win7 32 or 64 bit?

Look at this thread.  Be sure to read all the way to the end.  It is similar except trying to use WIn7 64-bit.  The trick is in how you build the install package.  You have to include the Crystal msm files in the install.

http://scn.sap.com/thread/1767336

mlmcc
0
daxpatelAuthor Commented:
Hi,

I have followed link provided by you and try installed setup. but the error is 50003 remains same.

If i install crystal report 9.2 then work fine without error and on removal of crystal report, it gives error again.

Program run on windows 32 bit version.

Regards,

Dax
0
mlmccCommented:
Unfortunately it may be time to upgrade Crystal and Visual Studio.

mlmcc
0
daxpatelAuthor Commented:
Hi experts,

Thanks for your suggestions and support.

I have resolved my problem and now Crystal report run on windows 8 64bit successfully.

Regards,

Dax
0
mlmccCommented:
What was the resolution?

mlmcc
0
daxpatelAuthor Commented:
Hi,

solution :

I have follow crystal report distribution help from crystal report 9.2.

As per help you have use merge module(msm files) for distribution or files that is require to run crystal at run time.

I have prepared setup using package and distribution wizard. and installed it on windows 8 64bit machine.

I have Manually register files,

C:\Windows\SysWOW64\regsvr32 /s "C:\Program Files (x86)\Crystal Decisions\Report Designer Component\craxdrt9.dll"

C:\Windows\SysWOW64\regsvr32 /s "C:\Program Files (x86)\Common Files\Crystal Decisions\2.0\crystalreportviewers\ActiveXViewer\crviewer9.dll"

After register files on above location, program run successfully.

Before registering crviewer9.dll,craxdrt9.dll , both files must be on above location and not other location.

if files on other location (ie other than program folder) and you try to register then program gives error code 50003.

Regards,

Dax
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.