cancel
Showing results for 
Search instead for 
Did you mean: 

Operation failed when trying to Save a Custom Function to the Repository

Former Member
0 Kudos

When attempting to save a Custom Function to the Repository in Crystal Reports XI R2, I get the following error message:

"Operation failed: You do not have edit right on: "Default folder for custom functions".

Where is the default folder for custom functions and how do I grant it the "Edit" right?

Thanks,

Jim

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Patrick,

I checked the permissions on the root folder as well, they are the same i.e. everyone as well the group which I am using have the edit rights.

The other thing which you have pointed probably could be the reason

I am using Crystal Reports version 10.0.53327 for creating and editing the reports. And Crystal Report 11 server - 11.0.0.12825

Could this be the problem ?

Is it that storing repository function will work only for Crystal report 11 version?

Regards

Nabeel

patrick_genest
Advisor
Advisor
0 Kudos

Hi Nabeel,

This is exactly why you are having this issue: Crystal Reports 10 cannot save repository objects to BusinessObjects XI R1 or Crystal Reports Server XI.

In order to save your custom function to the repository, you will need to use Crystal Reports XI.

Patrick

patrick_genest
Advisor
Advisor
0 Kudos

Hi Jim,

To give rights to a user or a group to save custom function in the Repository:

1. Open the Business View Manager

2. Logon to your BusinessObjects Enterprise as the Administrator

3. In the "Repository Explorer", right click on the "Custom Functions" folder, and in the contextual menu, select "Edit Rights"

4. In the "Edit Rights" window, add the user or group that you want to give the right to save a custom function to the repository, and set the "Edit" right to "Granted". Finally, click on the "OK" button to accept the change.

The user will then be able to save a Custom Function to the Repository in Crystal Reports XI R2.

Also, note that it is important that the "Everyone" group "Edit" right isn't set to "Denied" as every user is part of the "Everyone" group.

If the group "Everyone" is set to denied, it will take precedence to the user rights, so nobody will be able to save custom function. So ensure the "Everyone" group right is either set to "Inherited" or "Granted".

Former Member
0 Kudos

Hi Patrick,

I checked the rights on the "Custom Functions" folder following are the rights given

Name>View>Edit-->Set Security

Administrator>G>G-->X

Administrators>G>G-->G

Everyone>G>G-->G

where G= Granted

X=Not granted.

I am using the user "Administrator" to connect to the repository.

When I try to add Report Custom Function from the rpt file to the repository, it is still giving me the same error u201COperation Failed: You do not have edit right on: Default folder for custom functionu201D

Thanking you

Regards

Nabeel

Edited by: Nabeel Patel on Jul 17, 2008 7:39 AM

patrick_genest
Advisor
Advisor
0 Kudos

Hi Nabeel,

When you have the rights to Edit on the "Custom Functions" folder, but still receiving the message that you do not have the right to save the cutom function, it is probably because the Administrator doesn't have the "Edit" right at the root level. The rights setup at a higher folder level take precedence to the one you set at a lower level.

To Grant the "Edit" right at the root level:

1. In the Business View Manager, in the "Repository Explorer", right click on the root level, and select "Edit Rights..." in the contextual menu.

2. In the "Edit Rights" window, verify that the user "Administrator" have the "Edit" right granted, as well as the "Everyone" group.

If you are still unable to save your Custom Function afterwards, then I will suggest to ensure you have the same update applied to Crystal Reports XI R2, as the one you have applied on the Enterprise Server.

( You can verify which Fix Pack and Service Pack you have applied by going in "Add/Remove Programs" in MS Windows Control Panel. It will show which update you have installed. )