PDA

View Full Version : Issues running in Vista 64x OS


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[] )

LouisJ
05-05-2009, 02:52 PM
CRJolin,

The error is: Access to the
path 'C:\Program Files (x86)\Digital Building Solutions\BIMHighway
Beta\Assembly\Tasks' is denied. --->

The general reason for this is, you installed the software as one user, and run it as another user. (It happens E.g. if you've installed BIMHighway as Administrator and you're not running it as the Administrator user.)

The easiest fix here is to give all users full permissions to the BIMHighway folders, because we are creating files, folders etc to serialize BIMHighway.

Please check the following:
Goto the 'Digital Building Solutions' folder and set the permissions on it:
Generally - Right-click on the Digital Building Solutions folder name in Explorer and select [Properties]
In the Properties dialog, select the [Security] tab
Below the [Group or user names] section, select [Edit...]
In the [Group or user names] section, select 'Users '
In the 'Permissions for Users' box, select [x] Full Control in the [Allow] column
Click [Apply]
Click [OK]
Click [OK]

Try again.

You can do a simple test in that folder to see if you do have full permissions... try to create a file in that folder, if you can, it worked, if you can't, changing permissions failed, you might have to try setting permissions again.

Marek
05-05-2009, 03:02 PM
BTW - BIMHighway is not yet fully compatible with 64-bit Revit. For example, 'Process Content' will not function. 32-Bit Revit on Vista 64 is fine however.