×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

viewrpt.cwr needs access codes after server change!

viewrpt.cwr needs access codes after server change!

viewrpt.cwr needs access codes after server change!

(OP)
I have build my own webinterface for showing reports on the web and all was working perfect. Then I installed Crystal Enterprise on the hosting server and copied the files from my test server to the hosting server. All still seemed to work right up until the piont where I call viewrpt.cwr. Then I get the following error:

The report you are trying to access (ID = 124) has recently been removed from the server, it never existed, or you do not have the right to see this report. Please select a different report. [On Page Server: HOSTSERVER.cacheserver]

When I view the reports from Crystal Enterprise's ePortfolio or the Control Management Console I don't have any problems! What is wrong? Any help would be apreciated

RE: viewrpt.cwr needs access codes after server change!

What likely happened is that when you re-published the reports to the new server, a new object ID was created for the report that you are trying to view.

TO ensure this doesn't happen, you should dynamically get the object id instead of hardcoding it.

If you drag your mouse over the report in eportfolio you will see the object id at the buttom of the browser window -or you can use the CSP query builder to find out what the ID is for the object.

RE: viewrpt.cwr needs access codes after server change!

(OP)
The problem is not that I have hardcoded the id's of the reports. The only thing I copied was the csp-files I generated and they do not contain hardcoded id's og path's. I re-published the reports I wanted to see, but the problem also came when I tried to view the sampel reports installed by the Crystal Enterprise installation! Thats whats confusing me.

It has to be something else...

RE: viewrpt.cwr needs access codes after server change!

(OP)
SUCCESS!

Found the problem!

As "IdRatherBeGolfing" sugested the problem did reside in a hardcoded reference. It was not id's or path's no it was in one file where the name of the APS had been hardcoded, and as a result of this the name was wrong when I changed the server.

So now everything is working fine again and I can be happy

/Lars

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close