error while importing page and PageTemplates

May 26, 2011 at 6:24 AM

I tried to convert my Sitefinity 3.7 SP4 site to Sitefinity 4.1.

For PageTemplates :

1) It imports all templates from old site but each pages gives below error.  Migration tool must able to handle this kind errors. should i manually add codebehind file for all templates?

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The file '/CSK/App_Master/CSK_Inner_ar.master.cs' does not exist.

Source Error:

Line 1:  <%@ Master Language="C#" AutoEventWireup="true" CodeFile="CSK_Inner_ar.master.cs"
Line 2:      Inherits="App_Master_CSK_Inner_ar" %>
Line 3:  


Source File: /CSK/App_Master/CSK_Inner_ar (1).master Line: 1

 

 

For Pages (Error in MigrationLog):

1) Skipping "احمِ أبناءك", already exists.

Messege shows but not abel to find in pages.

2)  Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.


Importing normal page "التقييم الذاتي", language AR.
Adding Generic content block to container Top_LeftCorner.
Adding Ascx control ~/UserControls/Custom/QuizViewAr.ascx to container MainContentsArea.
Adding Generic content block to container FlashArea.
Error migrating page التقييم الذاتي:

Insert of '21558530-92da7982-0343-4fdd-b694-fa4e76fbc1d0' failed: Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
The statement has been terminated.
   at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
   at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
   at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
INSERT INTO [sf_page_data] ([html_title_], [html_title_ar], [html_title_en], [keywords_], [keywords_ar], [keywords_en], [buffer_output], [cache_duration], [cache_output], [cache_profile], [code_behind_type], [comments_count], [crawlable], [culture], [enable_event_validation], [enable_session_state], [enable_theming], [enable_view_state], [enable_view_state_mac], [error_page], [external_page], [head_tag_content], [include_script_manger], [is_auto_created], [last_control_id], [localization_strategy], [locked_by], [maintain_scroll], [master_page], [page_languagelink_id], [require_ssl], [response_encoding], [sliding_expiration], [template_id], [theme], [trace], [trace_mode], [translation_initialized], [ui_culture], [url_evaluation_mode], [validate_request], [view_state_encryption], [description_], [description_ar], [description_en], [title_], [title_ar], [title_en], [url_name_], [url_name_ar], [url_name_en], [allow_comments], [allow_track_backs], [app_name], [approve_comments], [content_id], [content_state], [date_created], [default_page_id], [draft_culture], [email_author], [expiration_date], [last_modified], [last_modified_by], [original_content_id], [ownr], [post_rights], [publication_date], [source_key], [status], [vrsion], [views_count], [visible], [votes_count], [votes_sum], [voa_version]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
(set event logging to all to see parameter values) Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
The statement has been terminated.
   at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
   at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
   at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
at DynamicModule.ns.Wrapped_OpenAccessPageProvider_911e418d16dd4af7bf201abc69760ffb.CommitTransaction() at Telerik.Sitefinity.Data.ManagerBase`1.SaveChanges() at Telerik.Sitefinity.Modules.Pages.PageManager.SaveChanges() at Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent) at Migration.MigrationModule.ImportPages()
3) 
Error migrating page إرشادات وتقنيات للمراهقين:
You are trying to access item that no longer exists. The most probable reason is that it has been deleted by another user.
at DynamicModule.ns.Wrapped_OpenAccessPageProvider_911e418d16dd4af7bf201abc69760ffb.GetPageNode(Guid id) at Telerik.Sitefinity.Modules.Pages.PageManager.GetPageNode(Guid id) at Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent) at Migration.MigrationModule.ImportPages()
4)
Importing normal page "ارسل لصديق", language AR. 
Adding Generic content block to container AddresContents.
Adding Generic content block to container Top_LeftCorner.
Adding Ascx control ~/UserControls/Custom/SendtoFriend_ar.ascx to container FormsFieldsArea.
Adding Ascx control ~/UserControls/Custom/SendtoFriend_ar.ascx to container MainContentsArea.
Adding Generic content block to container FlashArea.
Error migrating page ارسل لصديق:
Row not found: GenericOID@d4cf9808 PageTemplate id=445dd9b9-2b92-4e7a-989e-bb1654414422
UPDATE [sf_page_templates] SET [last_modified]=?, [voa_version]=? WHERE [id] = ? AND [voa_version]=?
(set event logging to all to see parameter values)
at DynamicModule.ns.Wrapped_OpenAccessPageProvider_911e418d16dd4af7bf201abc69760ffb.CommitTransaction() at Telerik.Sitefinity.Data.ManagerBase`1.SaveChanges() at Telerik.Sitefinity.Modules.Pages.PageManager.SaveChanges() at Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent) at Migration.MigrationModule.ImportPages()