+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / id cannot be empty GUID

id cannot be empty GUID

9 posts, 0 answered
  1. Chris Hansen
    Chris Hansen avatar
    6 posts
    Registered:
    24 Mar 2010
    20 Apr 2011
    Link to this post
    We are receiving an error every time we try to save a page in the editor. Adding widgets is working appropriatly, but once we try to publish or save as draft, we get an error stating "id cannot be empty GUID". I looked at the ajax traffic between the browser and the server and have noticed that during the publish request, the payload is an empty array.

    We would get this error most of the time on 4.0, but after refreshing the page a few times, it would finally succeed. After upgrading to 4.1, we receive this error every time and refreshing the page does not help.

    Because of this issue, we can no longer edit any pages in our Sitefinity website. We are trying to implement sitefinity and are on a very tight timeline. Any and all help would be appreciated.
  2. Nikolay
    Nikolay avatar
    1 posts
    Registered:
    15 Feb 2011
    21 Apr 2011
    Link to this post
    I have the same problem when registering Module. When trying to load it from the content menu.
  3. Tihomir
    Tihomir avatar
    23 posts
    Registered:
    01 Jul 2016
    22 Apr 2011
    Link to this post
    Hi Chris Hansen,

    There are couple of possible scenarios in which this error message can occurs in Sitefinity 4.1. In general, the message(Id cannot be an Empty Guid) is thrown when one is trying to manipulate particular item through OpenAcces but in the same time the item's Id is an empty Guid.
    Could you provide more details about all the particulars cases when this error message appears(in Sitefinity 4.1)? Does the page you are trying to publish contain any custom widgets? Does this issue still occurs if you create new empty page and try to publish it? If you have access to the server on which Sitefinity is deployed you can check the log files inside 'Your-Sitefinity-Folder/App_Data/Sitefinity/Logs' and to send me log files. Also you could use SvcTraceViewer.exe to tract the exception and to provide us more details. You can find more info on how to use SvcTraceViewer.exe here:

    http://msdn.microsoft.com/en-us/library/ms732023.aspx

    p.s. The most often reproduced case is when one is trying to use custom module which is not properly implemented for version 4.1. There are some significant changes in way how a custom module is implemented in version 4.1 comparing to other older versions of Sitefinity. In the latest release e.g. Sitefinity 4.1, we changed the way how the persistent classes are mapped in the database and this affects to all custom modules. We’ve updated all of our built-in modules to use the new mappings, and all custom modules that use OpenAccess will have to do the same. You can find more information here:

    http://www.sitefinity.com/blogs/slavoingilizov/posts/11-04-07/changes_in_mapping_persistent_classes_in_custom_modules_with_sitefinity_4_1.aspx

    Best wishes,
    Tihomir
    the Telerik team

  4. Chris Hansen
    Chris Hansen avatar
    6 posts
    Registered:
    24 Mar 2010
    22 Apr 2011
    Link to this post
    Tihomir,

    Thank you for your response. I have actually opened a support ticket about this issue since posting this article.

    Chris
  5. Chris Hansen
    Chris Hansen avatar
    6 posts
    Registered:
    24 Mar 2010
    22 Apr 2011
    Link to this post
    After working with support, we figured out that our Database had not upgraded properly. We reverted our instance to 4.0 and upgraded again. After reupgrading, we are able to save pages.
  6. Shaka
    Shaka avatar
    11 posts
    Registered:
    07 Jan 2011
    25 May 2011
    Link to this post
    I am having the same problem. I upgraded to 4.1, and all the pages I had listed as group pages gives me the "Id cannot be a Empty Guid" error. I am sure the error is database relates, so how did you upgrade the database? Can you send me the instructions that were provided to you by the support team.
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 May 2011
    Link to this post
    Hi Shaka,

    The database is upgraded automatically and it should not be touched manually. Most probably something has failed during upgrade. You can give another try by using Project Manager. We implemented errors logging, so you can check App_Data/Sitefinity/Logs and see if the upgrade success.


    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Jaime Weise
    Jaime Weise avatar
    120 posts
    Registered:
    02 Nov 2008
    17 Jun 2011
    Link to this post
    Sorry incorrect assumption - deleted
  9. Teo
    Teo avatar
    1 posts
    Registered:
    25 Apr 2012
    17 Nov 2014
    Link to this post

    Hello guys,

    For this error you should make sure that if you set some of your widget types to show only one particular item, you should make it required field. For example you are adding taxonomy field (category) and in Limitation tab: "Only one classification item can be selected" radio button is selected, this scenario will lead you to the error if the user doesn't add category when using the widget.

     Teo

9 posts, 0 answered