volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Exception when querying PageStoreService

Hi everyone,

 

Is there an example that shows how to use the PageStoreService web service ? I have configured the server in order to enable web services and I can access the web service and invoke it without any problem. Sadly, whenever I try to call GetPage or GetChildren, I get the following exception :

Server was unable to process request. ---> Unable to generate a temporary class (result=1).
error CS0272: The property or indexer 'EPiServer.Core.LanguageSelector.SelectionSource' cannot be used in this context because the set accessor is inaccessible

I think that it might simply be that I do not correctly use the API but I've found very little documentation around the PageStoreService and its method parameters.

Any help would be greatly appreciated,

Thanks

#53418
Sep 07, 2011 20:38
Vote:

Hi Guillaume!

There is a bug reported about this: Bug #72114: Runtime compiler error CS0272 when using the PageStoreService

It has been fixed for the next upcoming release, so you can ask EPiServer Support about creating a hotfix request for you. 

#53419
Sep 07, 2011 20:58

Thanks for the quick response. Glad to know that this issue is being addressed.

#53420
Sep 07, 2011 21:07

Is this still a "get in touch with the support for a hotfix"-situation or is this no longer an issue when I download and install a fresh copy of Episerver CMS 6 R2 from world.episerver.com/downloads ?

#84974
Apr 10, 2014 13:15

@Robin: 

Bug #72114 was fixed and released in version 6.1.379.500 of CMS-6R2. Downloade the latest software and follow the patch intstructions

In latest updated software package (6.1.379.1000), following bug fixes are also included .
http://world.episerver.com/Articles/Items/EPiServer-CMS-6-R2--Update/

edited:
If you do a fresh install, you should NOT see this problem then. 

#84985
Edited, Apr 10, 2014 14:07

Shahid: Thanks! How do I  go about patching an old site running an earlier version of 6 R2? (6.1.379.1)

#85066
Apr 14, 2014 10:34

Here are the instructions to patch an existing CMS-6R2 site with latest (6.1.379.1000) version. 

http://world.episerver.com/Articles/Items/About-the-Latest-Updates-for-EPiServer-CMS-and-Relate/

#85068
Apr 14, 2014 11:08

Shahid: Awesome, worked great! :)

#85127
Apr 16, 2014 9:32
error This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.