cholly

// Add a directional light to simulate the sun.
LightSourceEntity sun = new LightSourceEntity();

Hello,
I have downloaded/installed msrs 1.5, c# express and ageia physics engine.
hoping to start off with a simulation tutorial 1 - i built (no complaints) and ran the project in debug.

It looks like things are going well. the DSSHost starts - but an exception is thrown when the sun is created - i knew this was a difficult thing, givin that a critical mass must be reached in order to ignite the hydrogen - but this issue appears to be a versioning or worse possibly a hardware deficiency Any help would be appreciated.
Regards,
cholly


Could not load file or assembly 'PhysicsEngine, Version=1.0.2673.28543, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)




Re: Microsoft Robotics - Simulation failure to create SUN - and god said there would be light

George Chrysanthakopoulos

Hi, do tutorials you did not recompile, load fine (use start menu shortcuts to start them Also. consider doing a full recompile of the samples\ directory



Re: Microsoft Robotics - Simulation failure to create SUN - and god said there would be light

Greg Bogumil

I have the same problem on one of my machines running MSRS 1.5. I have tried reinstalling MSRS but get the same result. Are there any COM dependencies that may have been stepped on by another application

* Service uri: [12/18/2007 09:02:47][http://gbogumil-xp:50000/directory]
* Service uri: [12/18/2007 09:02:48][http://gbogumil-xp:50000/constructor/aa5b3d9b-d7ee-4448-b0dd-094ffea56700]
* Starting manifest load: file:///C:/Microsoft%20Robotics%20Studio%20(1.5)/samples/config/SimulationTutorial5.manifest.xml [12/18/2007 09:02:49][http://gbogumil-xp:50000/manifestloaderclient]
* Manifest load complete [12/18/2007 09:02:52][http://gbogumil-xp:50000/manifestloaderclient]
* Service uri: [12/18/2007 09:02:56][http://gbogumil-xp:50000/simulationtutorial5]


*** System.IO.FileLoadException: Could not load file or assembly 'PhysicsEngine, Version=1.0.2739.39726, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
File name: 'PhysicsEngine, Version=1.0.2739.39726, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.Runtime.InteropServices.COMException 0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
at Microsoft.Robotics.Simulation.Engine.SimulationEngine.Start()
at Microsoft.Dss.ServiceModel.DsspServiceBase.DsspServiceBase.<StartService>d__4f.MoveNext()

[12/18/2007 09:02:56][http://gbogumil-xp:50000/simulationengine]
*** System.IO.FileLoadException: Could not load file or assembly 'PhysicsEngine, Version=1.0.2739.39726, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
File name: 'PhysicsEngine, Version=1.0.2739.39726, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.Runtime.InteropServices.COMException (0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
at Microsoft.Robotics.Simulation.Engine.VisualEntity.set_Position(Vector3 value)
at Microsoft.Robotics.Simulation.Engine.LightSourceEntity..ctor()
at Robotics.SimulationTutorial5.SimulationTutorial5.AddSky()
at Robotics.SimulationTutorial5.SimulationTutorial5.PopulateWorld()
at Robotics.SimulationTutorial5.SimulationTutorial5.Start()
at Microsoft.Dss.ServiceModel.DsspServiceBase.DsspServiceBase.<StartService>d__4f.MoveNext()





Re: Microsoft Robotics - Simulation failure to create SUN - and god said there would be light

Greg Bogumil

Ok. Prior to my previous post I had only done a Reinstall option. Since the post I uninstalled MSRS and reinstalled (including AGEIA). Now the simulations are working. I forgot to save a copy of the directory to do a compare and try to find the problem.