Solved

DependOnService

Posted on 2003-11-28
6
2,581 Views
Last Modified: 2010-08-05
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
0
Comment
Question by:shailajanamadi
  • 2
6 Comments
 
LVL 16

Expert Comment

by:_nn_
ID: 9837649
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
 
LVL 16

Expert Comment

by:_nn_
ID: 9837688
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
 

Author Comment

by:shailajanamadi
ID: 9911071
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
 

Accepted Solution

by:
wjhaase earned 250 total points
ID: 11616405
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

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RDP Disconnect Problem with W8.1 5 36
Windows 10: do I need to have a data partition for maximum security? 10 82
Windows doesn't download updates 26 103
z/OS IO Benchmark 3 39
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question