I have recently moved our project to a new server and keep getting the following message:
Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String
I have scriptet out the database with all the tables, views, procedures etc, and our app is built in .net 4 and the database used is SQL Server 2008 R2.
The front-end of the app works perfectly, although my images are missing.
The EPi site works fine except for the "EDIT MODE".
So, when we try to enter the edit mode where the tree of data exist we keep getting the above message.
Is there any tips that you guys might share with me?
I actually have no idea how to go on.
Server Error in '/' Application. Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[InvalidOperationException: Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String] EPiServer.Data.Dynamic.StoreDefinition.GenerateMappings(IEnumerable`1 typeBag, StoreDefinitionParameters parameters, Int32 version, IList`1 existingMappings, IDictionary`2 pendingRenames) +2903 EPiServer.Data.Dynamic.StoreDefinition.Remap(IDictionary`2 typeBag, StoreDefinitionParameters parameters) +711 EPiServer.Editor.AutoSave.DraftStore.GetStore() +281 EPiServer.Editor.AutoSave.AutoSaveRepository.GetNotNotifiedDraftList() +36 EPiServer.UI.Edit.AutoSaveControl.DraftsList() +59 ASP.episerver_cms_edit_autosavecontrol_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\IIS\websites\GuiderummetTest\2012-10-15\episerver\cms\edit\AutoSaveControl.ascx:144 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48 ASP.episerver_cms_masterpages_episerverui_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\IIS\websites\GuiderummetTest\2012-10-15\episerver\cms\MasterPages\EPiServerUI.Master:9 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.Page.Render(HtmlTextWriter writer) +40 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290
Hi all,
I have recently moved our project to a new server and keep getting the following message:
Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String
I have scriptet out the database with all the tables, views, procedures etc, and our app is built in .net 4 and the database used is SQL Server 2008 R2.
The front-end of the app works perfectly, although my images are missing.
The EPi site works fine except for the "EDIT MODE".
So, when we try to enter the edit mode where the tree of data exist we keep getting the above message.
Is there any tips that you guys might share with me?
I actually have no idea how to go on.
Server Error in '/' Application.
Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[InvalidOperationException: Could not map property LanguageBranch - table tblBigTable does not contain any columns that map to DbType.String]
EPiServer.Data.Dynamic.StoreDefinition.GenerateMappings(IEnumerable`1 typeBag, StoreDefinitionParameters parameters, Int32 version, IList`1 existingMappings, IDictionary`2 pendingRenames) +2903
EPiServer.Data.Dynamic.StoreDefinition.Remap(IDictionary`2 typeBag, StoreDefinitionParameters parameters) +711
EPiServer.Editor.AutoSave.DraftStore.GetStore() +281
EPiServer.Editor.AutoSave.AutoSaveRepository.GetNotNotifiedDraftList() +36
EPiServer.UI.Edit.AutoSaveControl.DraftsList() +59
ASP.episerver_cms_edit_autosavecontrol_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\IIS\websites\GuiderummetTest\2012-10-15\episerver\cms\edit\AutoSaveControl.ascx:144
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
ASP.episerver_cms_masterpages_episerverui_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\IIS\websites\GuiderummetTest\2012-10-15\episerver\cms\MasterPages\EPiServerUI.Master:9
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Page.Render(HtmlTextWriter writer) +40
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290