loading
 
MRDS setup
Robobill from United States  [2 posts]
12 year
I've just dl'd RR to give it a try and after ollowing the directions under the MRDS docs, I get a bunch of errors after step #9 ( I did step 8 before step 7)

Here are the errors. I hope someone can make sence of all this


Microsoft DSS Command Prompt

C:\Users\Bill\Microsoft Robotics Dev Studio 4>bin\dsshost /p:50000 /t:50001 /m:"
samples\config\Interface.manifest.xml"
*   Rebuilding contract directory cache. This will take a few moments ... [11/27
/2012 04:40:41][]
*   Contract directory cache refresh complete [11/27/2012 04:40:43][]
*   Service started [11/27/2012 04:40:43][http://127.0.0.1:50000/directory]
*   Service started [11/27/2012 04:40:43][http://127.0.0.1:50000/constructor]
*   Service started [11/27/2012 04:40:43][http://127.0.0.1:50000/console/output]

*   Service started [11/27/2012 04:40:43][http://127.0.0.1:50000/console/output]

*** Error reflecting assembly for service contract (use 32 bit only host for all
32 bit only assemblies): http://www.roborealm.com/2008/12/interface.html
System.IO.FileLoadException: Could not load file or assembly 'file:///c:\users\b
ill\microsoft robotics dev studio 4\bin\interface.y2008.m12.proxy.dll' or one of
its dependencies. Operation is not supported. (Exception from HRESULT: 0x801315
15)
File name: 'file:///c:\users\bill\microsoft robotics dev studio 4\bin\interface.
y2008.m12.proxy.dll' ---> System.NotSupportedException: An attempt was made to l
oad an assembly from a network location which would have caused the assembly to
be sandboxed in previous versions of the .NET Framework. This release of the .NE
T Framework does not enable CAS policy by default, so this load may be dangerous
. If this load is not intended to sandbox the assembly, please enable the loadFr
omRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for mo
re information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String cod
eBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppre
ssSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName as
semblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntr
ospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Ev
idence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm,
Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackM
ark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadAssemblyFile(Uri location,
Boolean cache, Boolean& inCache)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceProxy(AssemblyLocat
ions locations)
   at Microsoft.Dss.Services.Serializer.DataCache.ExtractServiceSummaryFromProxy
(String contract, ContractResults results, Func`2 serviceSummaryFilter, Boolean
includeReferencedContracts, List`1 referencedContracts, AssemblyLocations locati
ons)

[11/27/2012 04:40:44][]
**  Common Create Handler ExceptionSystem.InvalidOperationException: Service not
found: http://www.roborealm.com/2008/12/interface.html
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceAssemblies(ServiceI
nfoType createRequest)
   at Microsoft.Dss.Services.Constructor.ConstructorService.CommonCreateHandler(
DsspOperation create) [11/27/2012 04:40:44][http://127.0.0.1:50000/constructor]
*   Rebuilding contract directory cache. This will take a few moments ... [11/27
/2012 04:40:44][]
*   Contract directory cache refresh complete [11/27/2012 04:40:45][]
*** Error reflecting assembly for service contract (use 32 bit only host for all
32 bit only assemblies): http://www.roborealm.com/2008/12/interface.html
System.IO.FileLoadException: Could not load file or assembly 'file:///c:\users\b
ill\microsoft robotics dev studio 4\bin\interface.y2008.m12.proxy.dll' or one of
its dependencies. Operation is not supported. (Exception from HRESULT: 0x801315
15)
File name: 'file:///c:\users\bill\microsoft robotics dev studio 4\bin\interface.
y2008.m12.proxy.dll' ---> System.NotSupportedException: An attempt was made to l
oad an assembly from a network location which would have caused the assembly to
be sandboxed in previous versions of the .NET Framework. This release of the .NE
T Framework does not enable CAS policy by default, so this load may be dangerous
. If this load is not intended to sandbox the assembly, please enable the loadFr
omRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for mo
re information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String cod
eBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppre
ssSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName as
semblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntr
ospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Ev
idence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm,
Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackM
ark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadAssemblyFile(Uri location,
Boolean cache, Boolean& inCache)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceProxy(AssemblyLocat
ions locations)
   at Microsoft.Dss.Services.Serializer.DataCache.ExtractServiceSummaryFromProxy
(String contract, ContractResults results, Func`2 serviceSummaryFilter, Boolean
includeReferencedContracts, List`1 referencedContracts, AssemblyLocations locati
ons)

[11/27/2012 04:40:45][]
**  Common Create Handler ExceptionSystem.InvalidOperationException: Service not
found: http://www.roborealm.com/2008/12/interface.html
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceAssemblies(ServiceI
nfoType createRequest)
   at Microsoft.Dss.Services.Constructor.ConstructorService.CommonCreateHandler(
DsspOperation create) [11/27/2012 04:40:45][http://127.0.0.1:50000/constructor]
*** Error creating service. Service type:http://www.roborealm.com/2008/12/interf
ace.html [11/27/2012 04:40:45][http://127.0.0.1:50000/constructor]
*** Service creation failure most common reasons:
    - Service contract identifier in manifest or Create request does not match C
ontract.Identifier
    - Service references a different version of runtime assemblies
    Additional information can be found in the system debugger log.
[11/27/2012 04:40:45][http://127.0.0.1:50000/manifestloader/870065ee-add4-4083-
9736-7ae669bd198d]
Steven Gentner from United States  [1446 posts] 12 year
RoboBill,

Can you confirm that you are using a 32 bit system? It seems that the dlls are having issues being loaded since they were compiled on a 64 bit system. Csharp is normally quite good about switching as needed but apparently not in this case. If you are using a 32 bit system we'll find an older 32 bit and compile the dll's for that platform. Alternatively, you can recompile them on your system and copy the final dlls over the current ones.

STeven.
Robobill from United States  [2 posts] 12 year
I'm running W7-64. with MRDS 4 and Parallax Eddie "stuff"

Maybe I copied something wrong. Is it true that step #5 is really not necessary since all xml's are copied over to the samples/config directory per step #8? And should step 7 and 8 be switched?

BTW I used the 32bit MRDS command prompt to get the above errors, so I just ran the MRDS 64bit command prompt and got the following: (the errors seems similar)



Microsoft DSS Command Prompt

C:\Users\Bill\Microsoft Robotics Dev Studio 4>bin\dsshost /p:50000 /t:50001 /m:"
samples\config\interface.manifest.xml"
*   Service started [11/27/2012 23:03:12][http://127.0.0.1:50000/directory]
*   Service started [11/27/2012 23:03:12][http://127.0.0.1:50000/constructor]
*   Service started [11/27/2012 23:03:12][http://127.0.0.1:50000/console/output]

*   Service started [11/27/2012 23:03:12][http://127.0.0.1:50000/console/output]

*** Error reflecting assembly for service contract (use 32 bit only host for all
32 bit only assemblies): http://www.roborealm.com/2008/12/interface.html
System.IO.FileLoadException: Could not load file or assembly 'file:///c:\users\b
ill\microsoft robotics dev studio 4\bin\interface.y2008.m12.proxy.dll' or one of
its dependencies. Operation is not supported. (Exception from HRESULT: 0x801315
15)
File name: 'file:///c:\users\bill\microsoft robotics dev studio 4\bin\interface.
y2008.m12.proxy.dll' ---> System.NotSupportedException: An attempt was made to l
oad an assembly from a network location which would have caused the assembly to
be sandboxed in previous versions of the .NET Framework. This release of the .NE
T Framework does not enable CAS policy by default, so this load may be dangerous
. If this load is not intended to sandbox the assembly, please enable the loadFr
omRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for mo
re information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String cod
eBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppre
ssSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName as
semblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntr
ospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Ev
idence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm,
Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackM
ark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadAssemblyFile(Uri location,
Boolean cache, Boolean& inCache)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceProxy(AssemblyLocat
ions locations)
   at Microsoft.Dss.Services.Serializer.DataCache.ExtractServiceSummaryFromProxy
(String contract, ContractResults results, Func`2 serviceSummaryFilter, Boolean
includeReferencedContracts, List`1 referencedContracts, AssemblyLocations locati
ons)

[11/27/2012 23:03:13][]
**  Common Create Handler ExceptionSystem.InvalidOperationException: Service not
found: http://www.roborealm.com/2008/12/interface.html
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceAssemblies(ServiceI
nfoType createRequest)
   at Microsoft.Dss.Services.Constructor.ConstructorService.CommonCreateHandler(
DsspOperation create) [11/27/2012 23:03:13][http://127.0.0.1:50000/constructor]
*   Rebuilding contract directory cache. This will take a few moments ... [11/27
/2012 23:03:13][]
*   Contract directory cache refresh complete [11/27/2012 23:03:14][]
*** Error reflecting assembly for service contract (use 32 bit only host for all
32 bit only assemblies): http://www.roborealm.com/2008/12/interface.html
System.IO.FileLoadException: Could not load file or assembly 'file:///c:\users\b
ill\microsoft robotics dev studio 4\bin\interface.y2008.m12.proxy.dll' or one of
its dependencies. Operation is not supported. (Exception from HRESULT: 0x801315
15)
File name: 'file:///c:\users\bill\microsoft robotics dev studio 4\bin\interface.
y2008.m12.proxy.dll' ---> System.NotSupportedException: An attempt was made to l
oad an assembly from a network location which would have caused the assembly to
be sandboxed in previous versions of the .NET Framework. This release of the .NE
T Framework does not enable CAS policy by default, so this load may be dangerous
. If this load is not intended to sandbox the assembly, please enable the loadFr
omRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for mo
re information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String cod
eBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppre
ssSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName as
semblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntr
ospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Ev
idence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm,
Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackM
ark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadAssemblyFile(Uri location,
Boolean cache, Boolean& inCache)
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceProxy(AssemblyLocat
ions locations)
   at Microsoft.Dss.Services.Serializer.DataCache.ExtractServiceSummaryFromProxy
(String contract, ContractResults results, Func`2 serviceSummaryFilter, Boolean
includeReferencedContracts, List`1 referencedContracts, AssemblyLocations locati
ons)

[11/27/2012 23:03:14][]
**  Common Create Handler ExceptionSystem.InvalidOperationException: Service not
found: http://www.roborealm.com/2008/12/interface.html
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceAssemblies(ServiceI
nfoType createRequest)
   at Microsoft.Dss.Services.Constructor.ConstructorService.CommonCreateHandler(
DsspOperation create) [11/27/2012 23:03:14][http://127.0.0.1:50000/constructor]
*** Error creating service. Service type:http://www.roborealm.com/2008/12/interf
ace.html [11/27/2012 23:03:14][http://127.0.0.1:50000/constructor]
*** Service creation failure most common reasons:
    - Service contract identifier in manifest or Create request does not match C
ontract.Identifier
    - Service references a different version of runtime assemblies
    Additional information can be found in the system debugger log.
[11/27/2012 23:03:14][http://127.0.0.1:50000/manifestloader/f9d96baa-a62c-42ac-
b2ac-704dc162a238]

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index