Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DependOnService

Posted on 2003-11-28
6
Medium Priority
?
2,646 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
4 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 1000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
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.

773 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