George Chrysanthakopoulos

If you see this error in the console of DssHost.exe:


*** Error creating service type
http://schemas.tempuri.org/2007/02/mybrokenservice.html. FaultTongue Tiedervice not
found: http://schemas.tempuri.org/2007/02/mybrokenservice.html
[http://localhost:50000/constructor/97ee660d-0afa-4cff-9596-c33091a7b5a6]

  • Delete the store\contractDirectoryCache.xml file, restart dsshost with your manifest, which will force us to research all dlls for your service
  • make sure your service dll, proxy and transform dlls are under the bin directory, or if they are in some other directory, update the the store\contractDirectory.State.xml file and add the path the LocalPaths element
  • Run DssInfo.exe on your service dll and check that you see the contract identifier as expected, and that the contract string matches what you used in the manifest file


Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

Don

I don't have a store\contractDirectoryCache.xml. I have a store\contractDirectoryCache.bin, is this what you are refering to

Ah, I found that the transform.dll does not exist in the bin\service directory, and I cannot find it anywhere. Any idea why

Thanks,

Don





Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

George Chrysanthakopoulos

Yes, I meant store\contractDirectoryCache.bin.

On the missing transform dll: if you just use a generic contract and define no new types in your service (Other than the COntract class), we dont need to create a transform dll and that is ok.

Btw, did you use DssNewservice to create your service If you create a service with DssNewService, do you get the same issue





Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

Don

I tried deleting the contractDirectory file and it didn't help.

I did not create this service using dssnewservice on this machine. I am working on a large project with many services, which are shared using SourceSafe. I downloaded this service that was created using dssnewservice on another machine.

I have not experienced this problem with any other service, which includes services created on my machine.





Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

Don

It suddenly started working, and I don't know what (if anything) I changed to make it work. It was an odd problem. Now I have new problems but I will post them in another thread.

Thanks,

Don





Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

sam

Hello

I have the same problem. I delete the files under /store but get the same error.

when i try dssinfo, i get all information about my service. it prove that my service is well coded.

another thing, i did not create my service with dssnewservice but like Don, i work on a great project...

i work only with the xxx.Y2006.M09.dll, the other dll's proxy and transform are already generated by another person and are on the service directory. I work with visual studio 2005 to generate only the file xxx.Y2006.M09.dll

*** Error creating service type http://schemas.tempuri.org/2006/09/xxx.html
. FaultTongue Tiedervice not found: http://schemas.tempuri.org/2006/09/xxx.html [htt
p://issam-tablet/constructor/8a0c1930-b16b-4c7a-8e62-6c57c52a3971]
*** Manifest Loader: Creating service failed: http://schemas.tempuri.org/2006/09
/pcbotgui.html.
Reason: Service not found: http://schemas.tempuri.org/2006/09/xxx.html [htt
p://issam-tablet/manifestloader/3f28826c-3a36-4e64-9ff5-c44118b4b747]





Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

Henrik F Nielsen

Projects can come from different places but you should then run dssprojectmigration on them to ensure that they drop the binaries into the right folder and have the proper post build step.

The simplest way to run dssprojectmigration is to open an MSRS command prompt. You should first look at the full options for running dssprojectmigration by doing this

dssprojectmigration /

To convert all projects, type

dssprojectmigration "."

where the "." means run from the current folder and down. There is more documentation included in the MSRS docs.

Let us know how this works.

Henrik






Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

sam

I have the same problem even if i migrate with the dssprojectmigration command.

I generate also the proxy and the transform dll's with this command

"C:\Microsoft Robotics Studio (1.0)\bin\dssproxy.exe" /dll:"$(TargetPath)" /proxyprojectpath:"$(ProjectDir)Proxy " /keyfile:"C:\Microsoft Robotics Studio (1.0)\samples\mrisamples.snk" /binpath:". " @(ReferencePath->'/referencepath:"%(RootDir)%(Directory) "', ' ')

and i get another problem :

C:\Microsoft Robotics Studio (1.0)>dsshost /p:80 /t:81 /m:"config/xxx.manif
est.xml"
* Service uri: [http://issam-tablet/directory]
* Service uri: [http://issam-tablet/constructor/6119ae01-664f-4219-af07-e9fa2
1984dc7]
* Starting manifest load:
file:///C:/Microsoft%20Robotics%20Studio%20(1.0)/config/xxx.manifest.xml [http://issam-tablet/manifestloaderclient]
* Manifest load complete [http://issam-tablet/manifestloaderclient]

when i go to the directory, i see that the service partner are started but my service is not. when i try to start manualy from the control panel the service, i get this error:

7 *** Manifest Loader: Creating service failed: http://schemas.tempuri.org/2006/09/xxx.html. Reason: dssp.tcp://issam-tablet:81/xxx
Category Activation
Level Error
Time 2007-04-10T20:11:13+00:00
Subject Manifest Loader: Creating service failed: http://schemas.tempuri.org/2006/09/xxx.html. Reason: dssp.tcp://issam-tablet:81/xxx
Source http://issam-tablet/manifestloader/0f9a19f9-bb99-437c-aa78-b97bb92bc974
CodeSite Void <CreateServiceAllHandler>b__9(W3C.Soap.Fault)() at line:0, file
8 *** Creating service with contract(http://schemas.tempuri.org/2006/09/xxx.html) failed. Please make sure the contract element in the manifest is identical to the field Contract.Identifier in the type definition source.
Category StdError
Level Error
Time 2007-04-10T20:11:13+00:00
Subject Creating service with contract(http://schemas.tempuri.org/2006/09/xxx.html) failed. Please make sure the contract element in the manifest is identical to the field Contract.Identifier in the type definition source.
Source http://issam-tablet/manifestloader/0f9a19f9-bb99-437c-aa78-b97bb92bc974
CodeSite Boolean MoveNext()() at line:0, file




Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

Henrik F Nielsen

Hmm, does your service use native (unmanaged) DLLs or have external dependencies that could cause trouble at load time

If you start the node in the VS debugger, do you see any assembly load problems or other things that look like errors

Henrik






Re: Microsoft Robotics - Decentralized Software Services (DSS) Troubleshooting the "Service Not Found" error on node start

Uri Kartoun

I had the same problem. I think that it's related to the new installation of the "Microsoft Robotics Studio (1.5)" version.

The previous was: "Microsoft Robotics Studio 1.5 (CTP May 2007)".

Still, both exist on my computer.

I removed "store\contractDirectoryCache.xml" and it almost solved the problem. A tiny little thing left was that the dashboard couldn't recognize the SimulatedLRF anymore, so I had to remove it and add it to the project.