Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDataTypeExpressionEmail Error thrownDataTypeExpressionEmail Error thrown
Previous
 
Next
New Post
2/13/2017 1:02 PM
 

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

 
New Post
2/13/2017 6:49 PM
 
I guess DataTypeExpression fields are no longer allowed in DNN.   We commented out the   <!--<dataType name="Expression" typeName="DataTypeExpressionEmail"/>--> in the datatypes.config file and this resolved our issue.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDataTypeExpressionEmail Error thrownDataTypeExpressionEmail Error thrown


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND