Hi, running EF 5.0.18 and DNN 5.1.4
Trying to import data in the Archive page, the file contains 2789 records. When attempting to import, an error appears on the page:
"An error has occurred while importing: Exception of type 'System.OutOfMemoryException' was thrown.. Check Event Viewer for more details. "
and the event log is:
AssemblyVersion: 5.1.4
PortalID: 0
PortalName: Universities South West
UserID: 1
UserName: host
ActiveTabID: 150
ActiveTabName: Form Templates
RawURL: /HerdaAdmin/FormTemplates/tabid/150/ctl/DataImportExport/mid/741/id/1/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.universitiessouthwest.ac.uk/HerdaAdmin/FormTemplates/tabid/150/ctl/DataImportExport/mid/741/id/1/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.3; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e43c0cc8-597b-47de-851c-455287750dbe
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.GetStringForStringBuilder
StackTrace:
Message: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount) at System.IO.StreamReader.ReadToEnd() at System.IO.File.ReadAllText(String path, Encoding encoding) at NMH.DNN.Modules.EntForms.DataImportExport.lnkImport_Click(Object sender, EventArgs e)
Source:
Server Name: CARBON
We really need to get this data into the system soon so your help will be much appreciated.
Regards
Dan