More in this section
Forums / Developing with Sitefinity / Template Export error

Template Export error

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Michael
    Michael avatar
    31 posts
    07 Sep 2007
    29 Aug 2010
    Link to this post
    I am trying to export a template of my site, but I keep receiving this error: "Site template has not been exported : Input string was not in a correct format.Couldn't store in Name Column. Expected type is Int32.: Input string was not in a correct format." I have the sitefinity.log that has the stack trace of the error, but I still can't find what is causing the error.

    8/29/2010 3:09:12 PM [EXCEPTION]
    ID: 250168bc-ed0e-4a34-81ac-12bc3f08a069; Code: 100103; Occurrence: 1; Sequence: 52
    Application information:
        Machine name: MACHINE
        OS Version: Microsoft Windows NT 6.1.7600.0
        Product Version: 3.7.2096.3
        Application Path: C:\inetpub\wwwroot\synodouth_web\
        Debug: True
    Process information:
        Process ID: 4980
        Process Name: w3wp
    Request information:
        Request URL: /synodouth_web/Sitefinity/Admin/CmsAdmin/Tools.aspx
        Is Authenticated: True
        Authentication Type: Forms
        User: admin
        User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4
        User Address: ::1
        AspSession: System.Web.SessionState.HttpSessionState
        RadControlRandomNumber: 0
        AspSessionIDManagerInitializeRequestCalled: True
        CmsHttpRequest: /synodouth_web/Sitefinity/Admin/CmsAdmin/Tools.aspx
    - L0 -------------------------------------------------------------------------------
    Exception Type: System.ArgumentException
    Message: Input string was not in a correct format.Couldn't store <Chrysanthemum> in Name Column.  Expected type is Int32.
    Source: System.Data
    Stack Trace:
       at System.Data.DataColumn.set_Item(Int32 record, Object value)
       at System.Data.DataRow.set_Item(DataColumn column, Object value)
       at System.Data.DataRow.set_Item(String columnName, Object value)
       at Telerik.Cms.Engine.ContentProviderBase.Export(DataSet dataSet)
       at Telerik.Libraries.Data.DefaultProvider.Export(DataSet dataSet)
       at Telerik.Cms.Engine.GenericContentModule.Export()
       at Telerik.Cms.Tools.SiteExporter.Export(IExportSettings settings)
       at Telerik.Cms.Tools.WebControls.SiteExporterPanel.btnExport_Command(Object sender, CommandEventArgs e)
    - L1 -------------------------------------------------------------------------------
    Exception Type: System.FormatException
    Message: Input string was not in a correct format.
    Source: mscorlib
    Stack Trace:
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
       at System.Data.Common.Int32Storage.Set(Int32 record, Object value)
       at System.Data.DataColumn.set_Item(Int32 record, Object value)

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    30 Aug 2010
    Link to this post
    Hello Michael,

    It looks like you have added a custom filed - Chrysanthemum which could not be properly exported, because its value is not correct for a given IContent item of Images and Documents module. The stack trace does not contain information which is the problematic object.


    1. You can check  sf_GCMetaData where Application equals to the provider name and KeyValue equals to your custom metafiled. The query will return all items that uses your custom key and you can check the KeyValue data

    2. Directly proceed with database backup - do not use the exporter, backup your database and restore it on another project.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered