We are using Evoq Content V9 with the latest FnL module. We are using the FnL module to store our content. Then using the Razor script to render our data. Similar to what this link discusses.
http://www.dnnsoftware.com/community-...
The first time the Razor script is executed (since the last Application restart), nothing is returned on the screen and the error below is thrown in the log. After the initial error, we can refresh the page and the Razor script executes with no errors and the content is shown on the page.
The line that the error message is referring to is line 10.
09 DataSet ds = null;
10 ds = (new UserDefinedTableController(moduleId, tabId, new UserInfo())).GetDataSet(true);
Error message in log:
2017-02-11 16:04:04,084 [webdev][Thread:12][ERROR] DotNetNuke.Framework.Reflection - DataTypeExpressionEmail
System.Web.HttpException (0x80004005): Could not load type 'DataTypeExpressionEmail'.
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throw , Boolean ignoreCase)
at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)
2017-02-11 16:04:04,115 [webdev][Thread:12][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at DotNetNuke.Modules.UserDefinedTable.DataType.get_DataTypes()
at DotNetNuke.Modules.UserDefinedTable.DataType.ByName(String dataTypeName)
at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.BuildMainDataSet(DataTable fieldsTable, IDataReader dr, Boolean rowMode)
at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.GetDataSet(Boolean withPreRenderedValues)
at ASP._Page_DesktopModules_RazorModules_RazorHost_Scripts__COS_LIbrary_Databases_cshtml.Execute() in e:\dnnevoq_salemva\DesktopModules\RazorModules\RazorHost\Scripts\_COS_LIbrary_Databases.cshtml:line 10
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at DotNetNuke.Web.Razor.RazorEngine.Render(TextWriter writer)
Scott