Crystal Reports

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/8/2010 8:59:06 AM
Gravatar
Total Posts 34

Crystal Reports

Hi Joe/All,

I have had so much "fun" installing the latest Crystal Reports plug-in for VS2010 and trying to use it it is beyond believe.  I have finally got the plug in fully installed without it breaking the build of my pre-compiled versions of Mojo, but thats a different story.

Now the plug-in is installed and all the pre-reqs I cannot get it to work in any way, shape or form inside Mojo portal.  I can get it up and running instantly in a seperate project and have also tried copying the DLL and aspx from that project over and it doesn't work.

I have now tried everything I can think of including

a) As a plug-in and adding straight to the CMS

b) As a seperate non CMS page inheriting the Non CMS base class and using the correct Master template.

c) As a  seperate project using the Mojo full source download and after build copy, with both the methods above.

Everything compiles properly and I can even see the data preview in the report page in VS2010, but in a browser it just says

Error
Load report failed.

I know this isn't my install or .NET files missing as I can get working first time in a blank project.  I feel it has something to do with the Masterpage or maybe something in the web.config?

If you have any ideas, please please let me know, as I am going to have to give up soon, otherwise I will still be trying to get this to work in 2011 :-)

Thanks

Matt

 

 

12/8/2010 9:48:09 AM
Gravatar
Total Posts 34

Re: Crystal Reports

Hi All,

Whenever I post here, after 2 days of trying, I then miraculously stumble upon the answer. It would seems no matter how blunt your axe if you keep hitting the tree for long enough, eventually you will cut it down :-)

Just for anyone elses benefit if they have this issue, the "great" built in GUI for selecting your report adds it into the markup from the base of the site i.e /Reports/MyReport.rpt

However, if you are coming from a page that is not in the base of the site this wont work as it uses relative directories.  So if you are in say /web the address would be ../Reports/MyReport.rpt and if you were already in the Reports folder it would simply be MyReport.rpt

Hope this helps someone.

Thanks

 

You must sign in to post in the forums. This thread is closed to new posts.