DependOnService

Hi,
I have developed with some of the DependOnServices .. req.. as per the sequence in our project, in siebel. When I start the RVRD Service through the Services only that processes start but the other services sequenced are not starting automatically. when i start other services i get error 1075 if i remove allthe dependOnServices ..all services start except for  RVRD Services i get specific service error - 1.. I am not able to trace what's the exact. Can anyone help me out ..
Thanks  a lot,
sailaja
shailajanamadiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_nn_Commented:
C:\>net helpmsg 1075

The dependency service does not exist or has been marked for deletion.

Hmm... it seems you're not setting the DependOnService value correctly. How do you do it ? Can you show some code ?
0
_nn_Commented:
For reference, that registry value is Unicode and is composed of a list of zero-terminated strings, which is zeroterminated itself. An example : in my TapiSrv service registry key, the value of DependOnService is :

(Unicode) PlugPlay\0RpcSs\0\0

If you want to make a service dependant of RVRD, you should use : RVRD\0\0
0
shailajanamadiAuthor Commented:
Hi,
 Thanks for the info. was down all these days, back to work only today.
 fine coming back these services are already developed, but as the services were not running   as desired, I was asked to add DependOnService. so I just added the new key with hexavalues added in .
say for example.. TIB/SIEBEL Subsciber is  dependant on  TIB/SIEBEL Publisher.
soin TIB/SIEBEL Subsciber,  DependOnService is  created with the hexa values of the TIB/SIEBEL Publisher.
the codes goes like ..
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TIBSBLSubscriber_TIBSBLSubscriber]

"DependOnService"=hex(7):54,00,49,00,42,00,53,00,42,00,4c,00,50,00,75,00,62,\
  00,6c,00,69,00,73,00,68,00,65,00,72,00,5f,00,54,00,49,00,42,00,53,00,42,00,\
  4c,00,50,00,75,00,62,00,6c,00,69,00,73,00,68,00,65,00,72,00

refering to the next mail how do i user RVRD\0\0....
I am totally new with these .. cud you pl. me more clear.

Than Q..
- Shailaja
0
wjhaaseCommented:
Shailaja probably figured this out, but for others I have a more complete answer.  \0 represents 00,00, in the registry format.  The following .NET code converts a Unicode String to the registry format needed for DependOnService.  Also, you need to reboot after you update the registry.

        Dim UnicodeBytes As Byte() = [Unicode].GetBytes(txtInput.Text)
        Dim LastByte As Integer = UnicodeBytes.Length - 1
        txtOutput.Text = "hex(7):"
        For i As Integer = 0 To LastByte
            Dim b As Byte = UnicodeBytes(i)
            If b = 32 Then b = 0 'convert spaces to a null charaters
            txtOutput.AppendText(Hex(b).PadLeft(2, "0"c) & ",")
            If (i + 1) Mod 20 = 0 Then txtOutput.AppendText("\" & vbCrLf & "  ")
        Next
        txtOutput.AppendText("00,00,00,00")
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.