none
Simulation cannot work on Vista

    Question

  •  

    I have met a problem, when i installed Vista Ultimate and Robotics 1.5 and run the KUKA LBR3 Arm, the simulation cannot work with the message:

     

     

    *   Service uri:  [08/18/2007 21:24:32][http://tongcx-pc:50000/directory]
    *   Service uri:  [08/18/2007 21:24:32][http://tongcx-pc:50000/constructor/5d777
    549-a333-4f04-ac50-f548336e8c43]
    *   Starting manifest load: file:///D:/Microsoft%20Robotics%20Studio%20(1.5)/sam
    ples/config/SimulationTutorial4.manifest.xml [08/18/2007 21:24:35][http://tongcx
    -pc:50000/manifestloaderclient]
    *** System.TypeInitializationException: “Dss.Transforms.TransformSimulationEngi
    ne.Transforms”的类型初始值设定项引发异常。 ---> System.IO.FileNotFoundException
    : 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)
       在 Dss.Transforms.TransformSimulationEngine.Transforms.Register()
       在 Dss.Transforms.TransformSimulationEngine.Transforms..cctor()
       --- 内部异常堆栈跟踪的结尾 ---
       在 System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(IntPtr
     type)
       在 System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(Runtime
    TypeHandle type)
       在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
    inder binder, Object[] parameters, CultureInfo culture)
       在 Microsoft.Dss.Services.Serializer.DataCache.LoadServiceTransform(AssemblyL
    ocations locations)
       在 Microsoft.Dss.Services.ContractDirectory.ContractDirectory.FinishUp(QueryS
    erviceContract query, ContractResults results, Port`1 directoryResultsPort) [08/
    18/2007 21:24:42][http://tongcx-pc:50000/contractdirectory]
    Rebuilding contract directory cache. This will take a few moments ...
    Contract directory cache refresh complete
    *** Manifest Loader: Creating service failed: http://schemas.tempuri.org/2006/06
    /simulationtutorial4.html.
    Reason: System.Reflection.TargetInvocationException: 调用的目标发生了异常。 --->
     System.IO.FileNotFoundException: 找不到指定的模块。 (异常来自 HRESULT:0x8007007
    E)
       在 Robotics.SimulationTutorial4.SimulationTutorial4..ctor(DsspServiceCreation
    Port creationPort)
       --- 内部异常堆栈跟踪的结尾 ---
       在 System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
    ct& signature, IntPtr declaringType)
       在 System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
    t signature, RuntimeTypeHandle declaringType)
       在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
    inder binder, Object[] parameters, CultureInfo culture)
       在 Microsoft.Dss.Services.Constructor.ConstructService.InvokeServiceClassCons
    tructor()
       在 Microsoft.Dss.Services.Constructor.ConstructService.ReflectAndConstructSer
    vice(ServiceCache Cache) [08/18/2007 21:24:51][http://tongcx-pc:50000/manifestlo
    ader/a2ab4f0b-dcb3-4cf2-83d2-151377a2803e]
    *   Manifest load complete [08/18/2007 21:24:51][http://tongcx-pc:50000/manifest
    loaderclient]

    Saturday, August 18, 2007 1:27 PM

Answers

  • Make sure you have administrator privileges on the machine and run the manifest with administrator privilege.  You can do that by running the MSRS command prompt as administrator by right clicking on the MSRS command prompt on the start menu and then selecting "Run as administrator".  Now run the manifest from the administrator command prompt:

     

    dsshost -p:50000 -t:50001 -m:"samples\config\simulationtutorial4.manifest.xml"

     

    If this does not work for you, it appears that the error is a FileNotFoundException but I can't read the filename in the error spew above.  Investigate why DssHost cannot open the specified file.

     

    -Kyle

     

    Monday, August 20, 2007 9:38 PM

All replies

  • Make sure you have administrator privileges on the machine and run the manifest with administrator privilege.  You can do that by running the MSRS command prompt as administrator by right clicking on the MSRS command prompt on the start menu and then selecting "Run as administrator".  Now run the manifest from the administrator command prompt:

     

    dsshost -p:50000 -t:50001 -m:"samples\config\simulationtutorial4.manifest.xml"

     

    If this does not work for you, it appears that the error is a FileNotFoundException but I can't read the filename in the error spew above.  Investigate why DssHost cannot open the specified file.

     

    -Kyle

     

    Monday, August 20, 2007 9:38 PM
  • I have basically the same problem. I am running Vista Ulitmate 64 with the Robotics Studio 1.5 Refresh. This same project works fine on a different Vista machine (32bit), but I can't get any simulation to run on the 64 bit machine.

     

    Here is the error I am getting AFTER I did what you suggested above:

     

    *****************************************************************************************************

     

    C:\Microsoft Robotics Studio (1.5)>dsshost -p:50000 -t:50001 -mTongue Tiedamples\config\s
    imulationTutorial1.manifest.xml
    *   Service uri:  [04/01/2008 08:11:25][http://dev04mobile:50000/directory]
    *   Service uri:  [04/01/2008 08:11:25][http://dev04mobile:50000/constructor/c97
    6825e-d1b5-40b7-b857-002bf7e4ab87]
    *   Starting manifest load: file:///C:/Microsoft%20Robotics%20Studio%20(1.5)/sam
    ples/config/simulationTutorial1.manifest.xml [04/01/2008 08:11:26][http://dev04m
    obile:50000/manifestloaderclient]
    *** Manifest Loader: Creating service failed: http://schemas.tempuri.org/2006/06
    /simulationtutorial1.html.
    Reason: System.Reflection.TargetInvocationException: Exception has been thrown b
    y the target of an invocation. ---> System.IO.FileNotFoundException: Could not l
    oad file or assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral,
     PublicKeyToken=6d5c3888ef60e27d' or one of its dependencies. The system cannot
    find the file specified.
    File name: 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKey
    Token=6d5c3888ef60e27d'
       at Robotics.SimulationTutorial1.SimulationTutorial1..ctor(DsspServiceCreation
    Port creationPort)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\M
    icrosoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure lo
    gging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
    ion!EnableLog].

       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
    ct& signature, IntPtr declaringType)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
    inder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.Dss.Services.Constructor.ConstructService.InvokeServiceClassCons
    tructor()
       at Microsoft.Dss.Services.Constructor.ConstructService.ReflectAndConstructSer
    vice(ServiceCache Cache) [04/01/2008 08:11:27][http://dev04mobile:50000/manifest
    loader/2418c13e-6012-4b19-887f-07b664fc7b60]
    *   Manifest load complete [04/01/2008 08:11:27][http://dev04mobile:50000/manife
    stloaderclient]

     

    *****************************************************************************************************

     

    Why can't it load the XNA framework? I verified it is installed in the GAC.

    Tuesday, April 01, 2008 1:17 PM
  • I don't think the simulator is supported on 64-bit operating systems.

     

    Please see this post:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2440121&SiteID=1

     

    Trevor

     

     

    Wednesday, April 02, 2008 8:47 AM