Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
(Asp.Net 2.0, VSTO First edition 8.0.50727.42, C#, Windows 2003 Server) I am getting following exception while customizing Excel file, but the same code is working fine for Word document. 1. I allowed the "trust access to visual basic projects" under Excel Macro Security But still no clue. Exception from HRESULT: 0x8004040A at Microsoft.VisualStudio.Tools.Applications.Runtime. IAppInfoDocument.SetDocument(String fileName, Byte[] bytes, FileAccess access) at Microsoft.Office.Tools.OfficeAppInfoDocument.GetOf ficeDocument() at Microsoft.Office.Tools.OfficeAppInfoDocument.Ensur eDocument() at Microsoft.Office.Tools.OfficeAppInfoDocument.Write Item(String element, String id, Byte[] item) at Microsoft.VisualStudio.Tools.Applications.Runtime. AppInfo.WriteManifest(IAppInfo appInfo, String manifest) at Microsoft.VisualStudio.Tools.Applications.Runtime. Customizer.CustomizeDocument() at Microsoft.VisualStudio.Tools.Applications.Runtime. Customizer.Customize() at Microsoft.VisualStudio.Tools.Applications.Runtime. ServerDocument.AddCustomization(String documentPath, String assemblyName, String deploymentManifestPath, String applicationVersion, Boolean makePathsRelative) at ValidationUtil.AddDocCustomization(String currentDirectory, String inputFilePath, String assembly, String manifest) in C:\AWSContentEditor\Source\ContentEditor.Common\Va lidationUtil.cs:line 349 --Line 349 ServerDocument.AddCustomization(unCustomisedDocume ntPath, assemblyName, deploymentManifestPath, defaultVersion, false); Please help. -- Regards, Nirnay |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Exception from HRESULT: 0x800A03EC | Excel Programming | |||
Exception from HRESULT: 0x800401A8 | Excel Programming | |||
Exception from HRESULT: 0x800A03EC | New Users to Excel | |||
Exception from HRESULT: 0x800AC472 | Excel Discussion (Misc queries) | |||
Exception HResult: 0x8007FA08 (VB.net) | Excel Programming |