Solved

DependOnService

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

759 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

16 Experts available now in Live!

Get 1:1 Help Now