G
Guest
Hi,
I am using the Open Doc sdk that in turn uses the 3.0 packaging library for
a mailmerge program that merges a docx with a dataset. Everything works great
unless I try to merge 500+ records. When I try this I get the error message
below which seems to indicated the Isolated STorage is running out of space.
I am running this on ASP.net and have tried to increase the Isolated storage
file in the various asp machine/security config files to no avail.
Please help!
Server Error in '/WordMerge' Application.
--------------------------------------------------------------------------------
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
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.ApplicationException: Access is denied. (Exception
from HRESULT: 0x80070005 (E_ACCESSDENIED))
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[ApplicationException: Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))]
System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir(IsolatedStorageScope scope) +0
System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser(IsolatedStorageScope scope) +97
System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope
scope) +132
System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope scope) +317
System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope
scope) +45
System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope
scope, Type domainEvidenceType, Type assemblyEvidenceType) +61
MS.Internal.IO.Packaging.PackagingUtilities.GetDefaultIsolatedStorageFile()
+119
MS.Internal.IO.Packaging.PackagingUtilities.CreateUserScopedIsolatedStorageFileStreamWithRandomName(Int32 retryCount, String& fileName) +122
MS.Internal.IO.Packaging.SparseMemoryStream.SwitchModeIfNecessary() +329
MS.Internal.IO.Packaging.SparseMemoryStream.Write(Byte[] buffer, Int32
offset, Int32 count) +232
MS.Internal.IO.Packaging.CompressEmulationStream.Write(Byte[] buffer,
Int32 offset, Int32 count) +59
MS.Internal.IO.Packaging.CompressStream.Write(Byte[] buffer, Int32
offset, Int32 count) +134
MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Write(Byte[] buffer,
Int32 offset, Int32 count) +173
MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Write(Byte[] buffer, Int32
offset, Int32 count) +87
System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
+139
System.IO.StreamWriter.Write(Char value) +24
System.Xml.XmlTextWriter.WriteStartAttribute(String prefix, String
localName, String ns) +1067
System.Xml.XmlDOMTextWriter.WriteStartAttribute(String prefix, String
localName, String ns) +34
System.Xml.XmlAttribute.WriteTo(XmlWriter w) +49
System.Xml.XmlElement.WriteTo(XmlWriter w) +109
System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
System.Xml.XmlElement.WriteTo(XmlWriter w) +152
System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
System.Xml.XmlElement.WriteTo(XmlWriter w) +152
System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
System.Xml.XmlElement.WriteTo(XmlWriter w) +152
System.Xml.XmlDocument.WriteContentTo(XmlWriter xw) +128
System.Xml.XmlDocument.WriteTo(XmlWriter w) +7
System.Xml.XmlDocument.Save(Stream outStream) +67
Utilities.WordXML.MergeXML(String documnetTemplatePath, DataTable data,
String outputDirectory, String userName, String outputFileName) in
C:\Documents and Settings\dbranscombe\My
Documents\ApplicationDevelopment\vs2005\Utilities\Utilities\WordXML.cs:59
WordMerge.WordMerge.Page_Load(Object sender, EventArgs e) in C:\Documents
and Settings\dbranscombe\My
Documents\ApplicationDevelopment\vs2005Web\SHRAWebs\WordMerge\WordMerge.aspx.cs:48
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o,
Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
I am using the Open Doc sdk that in turn uses the 3.0 packaging library for
a mailmerge program that merges a docx with a dataset. Everything works great
unless I try to merge 500+ records. When I try this I get the error message
below which seems to indicated the Isolated STorage is running out of space.
I am running this on ASP.net and have tried to increase the Isolated storage
file in the various asp machine/security config files to no avail.
Please help!
Server Error in '/WordMerge' Application.
--------------------------------------------------------------------------------
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
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.ApplicationException: Access is denied. (Exception
from HRESULT: 0x80070005 (E_ACCESSDENIED))
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[ApplicationException: Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))]
System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir(IsolatedStorageScope scope) +0
System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser(IsolatedStorageScope scope) +97
System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope
scope) +132
System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope scope) +317
System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope
scope) +45
System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope
scope, Type domainEvidenceType, Type assemblyEvidenceType) +61
MS.Internal.IO.Packaging.PackagingUtilities.GetDefaultIsolatedStorageFile()
+119
MS.Internal.IO.Packaging.PackagingUtilities.CreateUserScopedIsolatedStorageFileStreamWithRandomName(Int32 retryCount, String& fileName) +122
MS.Internal.IO.Packaging.SparseMemoryStream.SwitchModeIfNecessary() +329
MS.Internal.IO.Packaging.SparseMemoryStream.Write(Byte[] buffer, Int32
offset, Int32 count) +232
MS.Internal.IO.Packaging.CompressEmulationStream.Write(Byte[] buffer,
Int32 offset, Int32 count) +59
MS.Internal.IO.Packaging.CompressStream.Write(Byte[] buffer, Int32
offset, Int32 count) +134
MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Write(Byte[] buffer,
Int32 offset, Int32 count) +173
MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Write(Byte[] buffer, Int32
offset, Int32 count) +87
System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
+139
System.IO.StreamWriter.Write(Char value) +24
System.Xml.XmlTextWriter.WriteStartAttribute(String prefix, String
localName, String ns) +1067
System.Xml.XmlDOMTextWriter.WriteStartAttribute(String prefix, String
localName, String ns) +34
System.Xml.XmlAttribute.WriteTo(XmlWriter w) +49
System.Xml.XmlElement.WriteTo(XmlWriter w) +109
System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
System.Xml.XmlElement.WriteTo(XmlWriter w) +152
System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
System.Xml.XmlElement.WriteTo(XmlWriter w) +152
System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
System.Xml.XmlElement.WriteTo(XmlWriter w) +152
System.Xml.XmlDocument.WriteContentTo(XmlWriter xw) +128
System.Xml.XmlDocument.WriteTo(XmlWriter w) +7
System.Xml.XmlDocument.Save(Stream outStream) +67
Utilities.WordXML.MergeXML(String documnetTemplatePath, DataTable data,
String outputDirectory, String userName, String outputFileName) in
C:\Documents and Settings\dbranscombe\My
Documents\ApplicationDevelopment\vs2005\Utilities\Utilities\WordXML.cs:59
WordMerge.WordMerge.Page_Load(Object sender, EventArgs e) in C:\Documents
and Settings\dbranscombe\My
Documents\ApplicationDevelopment\vs2005Web\SHRAWebs\WordMerge\WordMerge.aspx.cs:48
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o,
Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061