CRJolin
05-05-2009, 02:28 PM
I followed the help subjects on this issue but still get an error.
Unhandled Exception
thrown by the target of an invocation. --->
System.InvalidOperationException: An error occurred creating the form.
See Exception.InnerException for details. The error is: Access to the
path 'C:\Program Files (x86)\Digital Building Solutions\BIMHighway
Beta\Assembly\Tasks' is denied. --->
System.UnauthorizedAccessException: Access to the path 'C:\Program
Files (x86)\Digital Building Solutions\BIMHighway
Beta\Assembly\Tasks' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String
path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity
directorySecurity)
at BIMHighway.frmMain.GetTasksAndResources()
at BIMHighway.frmMain..ctor()
--- End of inner exception stack trace ---
at BIMHighway.My.MyProject.MyForms.Create__Instance__[T](T
Instance)
at BIMHighway.My.MyProject.MyForms.get_frmMain()
at BIMHighway.My.MyApplication.OnCreateMainForm()
at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBa
se.OnRun()
at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBa
se.DoApplicationModel()
at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBa
se.Run(String[] commandLine)
at BIMHighway.My.MyApplication.Main(String[] Args)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Objec t target,
Object[] arguments, SignatureStruct& sig, MethodAttributes
methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target,
Object[] arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture)
at.(Object , Object , Object )
at.(String[] , Byte[] )
Unhandled Exception
thrown by the target of an invocation. --->
System.InvalidOperationException: An error occurred creating the form.
See Exception.InnerException for details. The error is: Access to the
path 'C:\Program Files (x86)\Digital Building Solutions\BIMHighway
Beta\Assembly\Tasks' is denied. --->
System.UnauthorizedAccessException: Access to the path 'C:\Program
Files (x86)\Digital Building Solutions\BIMHighway
Beta\Assembly\Tasks' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String
path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity
directorySecurity)
at BIMHighway.frmMain.GetTasksAndResources()
at BIMHighway.frmMain..ctor()
--- End of inner exception stack trace ---
at BIMHighway.My.MyProject.MyForms.Create__Instance__[T](T
Instance)
at BIMHighway.My.MyProject.MyForms.get_frmMain()
at BIMHighway.My.MyApplication.OnCreateMainForm()
at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBa
se.OnRun()
at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBa
se.DoApplicationModel()
at
Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBa
se.Run(String[] commandLine)
at BIMHighway.My.MyApplication.Main(String[] Args)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Objec t target,
Object[] arguments, SignatureStruct& sig, MethodAttributes
methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target,
Object[] arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags invokeAttr, Binder binder, Object[] parameters,
CultureInfo culture)
at.(Object , Object , Object )
at.(String[] , Byte[] )