I've got a VB.Net viewer application that works fine as long as the user has elevated privilages - not an option on a work server in mass deployment.
Is there some way to get it to run otherwise??
the error being thrown is this (not a lot of use probably):
System.InvalidOperationException was unhandled
HResult=-2146233079
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Error HRESULT E_FAIL has been returned from a call to a COM component.
Source=PDFStamperInterface
StackTrace:
at PDFStamperInterface.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at PDFStamperInterface.My.MyProject.MyForms.get_FrmLoadedPdfs()
at PDFStamperInterface.My.MyApplication.OnCreateMainForm() in Y:\Calibre Design Software Development\BCDocManager V0.1.8.1\PDFStamperInterface\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel( )
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at PDFStamperInterface.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
InnerException: System.Runtime.InteropServices.COMException
ErrorCode=-2147467259
HResult=-2147467259
Message=Error HRESULT E_FAIL has been returned from a call to a COM component.
Source=System.Windows.Forms
StackTrace:
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at PDFStamperInterface.FrmLoadedPdfs.InitializeComponent() in Y:\Calibre Design Software Development\BCDocManager V0.1.8.1\PDFStamperInterface\frmLoadedPdfs.Designer.vb:line 386
at PDFStamperInterface.FrmLoadedPdfs..ctor() in Y:\Calibre Design Software Development\BCDocManager V0.1.8.1\PDFStamperInterface\frmLoadedPdfs.vb:line 40
InnerException: