-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting reports using internal data - no DB connect attempt #29
Comments
Unless there is something special about your ODBC connection it should work. What kind of a database are you connecting to? Can you post the parameters you are passing into ninja? You can try my fork of ninja. It expands some of the features and fixes a few issues. |
It's an IBM Informix ODBC connection. I am confidant the ODBC is working, as I am able to use regular Crystal Reports to view and edit. I don't actually need the the database connection to be made, though - I have a Crystal Reports Server that generates a .rpt with all the information needed in it. That said, the feature you add to being able to email the report is exactly what I am attempting to do - and it would make me laugh to no end if it turns out I didn't actually need Crystal Reports Server. |
I've worked with Informix a lot before so that will help in troubleshooting this. Does crystal prompt you for credentials when you run the report in developer? Are the login credentials saved in the ODBC DSN? Are you passing the credentials for the database into ninja using the parameters? If your end goal is to take a crystal report, run it through ninja and have it email the results to the users then I do not think you'l need Crystal Reports Server. I have never used Crystal Reports Server before and I have dozens and dozens of crystal reports that are emailed out to users daily. The users typically want the results in PDF but I also do a lot of Excels. |
Haha, based on that, I bet we are using it in similar scenarios! I appreciate the assistance. Initially, in order, Yes, No, Yes. I went ahead and added my creds to the DSN, and now the report no longer prompts for the creds, but CRN has the same issue as before - with or without credentials in the command. I'll go-ahead and give your fork a shot and let you know how it turns out. |
Oh, wow, I'm an idiot. The informix DSN is 32-bit. I was using all 64-bit Crystal libraries and CRN. I still think it should be a feature to skip the DB connection, and just process the report with the data in it. |
Yeah a lot of people get hung up the 64/32 for ODBC connections and the crystal runtime. So does that mean it is working for you now? If you want that feature added, open an issue ticket on my fork and I will look into it the next time I have time to work on the project. |
Hi, Just something else to look for : |
I've since noticed about the above, that Informix crystal reports do not automatically refresh, due to the 'save data within the report' field ticked. SQL reports simply loads, work fine and auto refreshes as it should. I simply can't break any of our tens of SQL crystal reports. |
For some reason, the reports we are using cannot be converted with CrystalReportsNinja. My guess is that it's because the Database used in our reports is an ODBC connection. That said all the data needed to convert the rpt to a pdf is already in the report - I just need CRN to convert it to a PDF for me. For some reason 100% of my reports return the following error log:
Any advice would be appreciated!
The text was updated successfully, but these errors were encountered: