Solved

DependOnService

Posted on 2003-11-28
6
2,563 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Toshiba Satellite C55-B550 - not booting in normal mode 26 102
Changing the installation path of this MSI 5 93
unable to send emails 3 50
URL to download Windows 10 Home 2 131
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 …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now