• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 748
  • Last Modified:

Directory Locaction .rpt


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

We have had a interface developed (using ASP.net 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.


1 Solution
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
WHy does he need to know the location of the rpt files?

tom_optimumAuthor Commented:
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.
Kurt ReinhardtCommented:
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.
tom_optimumAuthor Commented:
Thanks for the info - I have passed this on to the developer and he said it helped.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now