6
Vote

Error when running as non-admin

description

If I start VLP as a non-administrator (i.e. "normal user"), right after the start the following error occurs:

 

Ein Aufrufziel hat einen Ausnahmefehler verursacht.
bei System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.Reflection.RuntimeConstructorInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
bei Microsoft.Practices.ObjectBuilder.CreationStrategy.InitializeObject(IBuilderContext context, Object existing, String id, ICreationPolicy policy)
bei Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUpNewObject(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.ReflectionStrategy1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.ReflectionStrategy
1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.ReflectionStrategy1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
bei Microsoft.Practices.ObjectBuilder.BuilderBase
1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
bei Microsoft.Practices.ObjectBuilder.BuilderBase1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
bei Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection
1.BuildFirstTimeItem(Type typeToBuild, String idToBuild, Object item)
bei Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection1.Build(Type typeToBuild, String idToBuild, Object item)
bei Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection
1.AddNew(Type typeToBuild, String id)
bei Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection1.AddNew[TTypeToBuild]()
bei Microsoft.Practices.CompositeUI.CabShellApplication
2.OnRootWorkItemInitialized()
bei Microsoft.Practices.CompositeUI.BuilderStrategies.RootWorkItemInitializationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.CompositeUI.BuilderStrategies.CommandStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.CompositeUI.BuilderStrategies.EventBrokerStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.MethodExecutionStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.PropertySetterStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.ReflectionStrategy1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.ReflectionStrategy
1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.ReflectionStrategy1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
bei Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
bei Microsoft.Practices.ObjectBuilder.BuilderBase
1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
bei Microsoft.Practices.ObjectBuilder.BuilderBase1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
bei Microsoft.Practices.CompositeUI.WorkItem.BuildUp()
bei Microsoft.Practices.CompositeUI.CabApplication
1.Run()
bei Serialcoder.VisualLogParser.SqalpApplication.Main()
InnerException
Sicherheitsfehler (= Security exception)
bei Serialcoder.Win32.FileAssociation.Create()
bei Serialcoder.VisualLogParser.Forms.MainForm.RegisterFileType()

bei Serialcoder.VisualLogParser.Forms.MainForm..ctor()

OK

 
 
Seems like this is caused by the creation of a file association that writes to HKEY_LOCAL_MACHINE instead of HKEY_CURRENT_USER.

comments

lkuhn65 wrote Apr 17, 2008 at 6:54 PM

the only way i could figure out how to get this to run on Vista was to run a command window as administrator, then cd to
C:\Users\<profilename>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\SerialCoder.Net>

and then run "Visual LogParser.appref-ms"

wrote Aug 16, 2010 at 11:51 PM

wrote Feb 14, 2013 at 8:13 PM