I am trying to add a new page to my episerver site by using the PageStoreService. But I am getting errors when I try to get the default page data. Below is the code I am using to get page data.
System.ServiceModel.FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null. Parameter name: pageGuid at EPiServer.Core.PageObjectManager..ctor(Guid pageGuid, String pageLanguageBranch, Int32 workPageId, IPageObjectRepository repository) at EPiServer.Core.PageData.ToRawPage() at EPiServer.WebServices.PageStoreService.GetDefaultPageData(PageReference parentPageLink, Int32 pageTypeID, LanguageSelector selector, AccessLevel access)
Is there any other way of getting default page data from PageStoreService?
Hi,
I am trying to add a new page to my episerver site by using the PageStoreService. But I am getting errors when I try to get the default page data. Below is the code I am using to get page data.
I am getting the below error:
System.ServiceModel.FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: pageGuid
at EPiServer.Core.PageObjectManager..ctor(Guid pageGuid, String pageLanguageBranch, Int32 workPageId, IPageObjectRepository repository)
at EPiServer.Core.PageData.ToRawPage()
at EPiServer.WebServices.PageStoreService.GetDefaultPageData(PageReference parentPageLink, Int32 pageTypeID, LanguageSelector selector, AccessLevel access)
Is there any other way of getting default page data from PageStoreService?
Any help would be great..
Many Thanks.