Microsoft Content Management Server - Re: "Server error. Contact the site administrator." on Searches.GetByGuid in

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > February 2007 > Re: "Server error. Contact the site administrator." on Searches.GetByGuid in





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: "Server error. Contact the site administrator." on Searches.GetByGuid in
Stefan Goßner [MSFT]

2007-02-16, 7:16 am

Hi Soren,

either this GUID is not valid - or there is a database inconsistany.
For the latter you would need to open a support case to get it fixed.
Btw: please check for the method below if the braces are in URL encoded form
or not.

Cheers,
Stefan


<sorenander@gmail.com> wrote in message
news:1171624235.044999.24960@v45g2000cwv.googlegroups.com...
> 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
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com