Link to home
Start Free TrialLog in
Avatar of townsma
townsmaFlag for Indonesia

asked on

Crystal Reports 2008 on Visual Studio 2010 log on failed.

I have just upgraded my application, originally developed in VS2008, with CR2008, to use VS2010 and Framework 4.  The app is working great, but now all of my reports, over 100 of them, are all throwing the same error "Log on failed".

The log on detials are hard coded into the app using the SetDatabaseLogon method. I have checked access to the database using the same credentials using both SQL Management Studio, and CR2008 stand alone.  In both cases I can access the database correctly.  Nothing has changed on the database server, or in the report files, so I mst assume it is something to do with the new VS or framework I am using.

I have tested the build and run, on both my 32 bit laptop, and my 64bit desktop, I get exactly the same results. So I don;t think it is to do with that.

I would welcome any insight into this problem.
Avatar of Mike McCracken
Mike McCracken

Did you update Cr2008 to work with VS2010 and framework 4?
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of townsma

ASKER

With regards to the updates, is there a specific one I need?

With regard to not supported, prior to upgrading to VS2010, I did some research and most people on the net said that had no problems,  Typical that I am the only person that it doesn't work for.
I don't know.  

Were they running in .Net 4.0 or staying in a previous version.  CR2008 also only supports up through .Net 3.5

mlmcc