Directory Locaction .rpt

Posted on 2012-08-15
Last Modified: 2012-10-04

We use Crystal Reports Server XI here to enable our customers to run reports against their data.

We have had a interface developed (using and C#, I believe) that uploads the reports we design to the web-server. When I look on the web-server for the .rpt file, I have noticed that Crystal Reports Server XI changes the name of the .rpt file to something like this: 98071b04da62112.rpt. It also  saves the newly named .rpt file to a location such as this: C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\FileStore\Input\a_036\003\000\804

All the above is working fine for us, however - We have a new web developer here who is trying to find the location the .rpt files. So, my questions are:

1) Does anyone know of any code that will allow us to grab the file location within the FileStore?

2) And/or does anyone know the logic behind the directory name/structure?

Any help or advice will be much appreciated.


Question by:tom_optimum
    LVL 4

    Expert Comment

    What you would want to use is a Virtual Directory and save the uploaded file to the Virtual Directory, if you are using IIS to host your ASP.NET Website. Once you have that location, you can upload the file there and  you can use a database to store the file path and use some sort of ID to keep track of the different files (customer number and transID as a primary key?)  You could also save the original file name in the DB!

    Ryan F
    LVL 100

    Expert Comment

    WHy does he need to know the location of the rpt files?


    Author Comment

    Because - in that same location Crystal Reports Server automatically stored a .jpeg of the report.

    Our users have requested that when they hover over a report name, they would like a small thumbnail of the report to appear. So I would like the developer to use the automatically generated .jpeg rather than use going through all our reports and upload a .jpeg.
    LVL 26

    Accepted Solution

    1)  Nope, sorry

    2)  The file structure is based on the folder and report structure within Crystal Reports Server.  The path corresponds to each folder report and instance within CRS.  The actual numbers used are assigned when the object is created on the server, so they're not necessarily in any recognizable order.

    I would recommend your developer read up on the .NET sdk, especially as it pertains to the Query Builder.  This will give you the opportunity to build something that will correlate the physical file structure of the object in the FRS to the folder\path name in Crystal Reports Server.  You can find examples of various downloadable files here.

    Author Closing Comment

    Thanks for the info - I have passed this on to the developer and he said it helped.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now