103
Views
1
Comments
Solved
[Factory Configuration] Shared configuration referring to deleted espace
factory-configuration
Web icon
Forge asset by OutSystems
Application Type
Traditional Web

So when I try to edit a shared configuration I receive the following error;

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> ssServiceCenter.ExcptNoPermission: User must be an Administrator
at ssServiceCenter.WebServices.Operation.SharedConfiguration_CreateOrUpdate(String inWSUsername, String inWSPassword, WORCSharedConfigurationStructureRecord inWSSharedConfiguration, String inWSSharedConfigurationValue, Int32& outWSSharedConfigurationId)
   --- End of inner exception stack trace ---

It says that I need to be an Administrator, which is odd, because I am an administrator.

Prior to this error, in the monitoring it reports, "Espace with id '147' does not exist"

I traced that espace and it is indeed deleted/inactive. 

So I guess that the problem is that the shared configuration tries to access that espace that doesn't exist.
But the factory module is protected, so I can't open it to delete any referrals to that espace.

How can I solve the issue that the shared configuration tries to access a deleted espace?

Regards,

Paul

2018-11-09 09-14-06
Gonçalo Almeida
Solution

This happened to me recently.
I found the solution so I'm gonna post it here for future reference.


There's a system entity called "ossys_espace_sharedconfig" that holds the mapping between espaceId and sharedConfigurationId. I found out that there was a row that was referring to the espaceId of an espace that I had deleted some time ago. I deleted that row and.......problem solved, the error never happened again.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.