02-16-07 12:16 PM
Hi,
I'm facing a "Server error. Contact the site administrator." when
executing Searches.GetByGuid([guid correctly formatted in braces]).
Searches.GetByGuid is executed on a CmsApplicationContext in
unpublished mode.
Relevant code lines:
Guid archivedNewsItemGuid = new
Guid(Request.QueryString["ArchivedNewsItemGuid"]);
CmsApplicationContext cmsContext =
BrowseContext.CreateUnpublishedMode(); // Custom method
Posting unpublishedPosting =
(Posting)cmsContext.Searches.GetByGuid(archivedNewsItemGuid.ToString()); //
Error!
What causes this error, please?
Kind regards,
Soren
[ Post a follow-up to this message ]
|