Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

MSSQLServer dependent service startup

 
   Database Help (Home) -> Connect RSS
Next:  SAN Array setup  
Author Message
Shipra Gupta

External


Since: Feb 16, 2005
Posts: 2



(Msg. 1) Posted: Wed Feb 16, 2005 11:39 am
Post subject: MSSQLServer dependent service startup
Archived from groups: microsoft>public>sqlserver>connect (more info?)

Hello,

I have some services that are dependent on MSSQLServer serivce but when the
computer is restarted, my services don't start and I get an error message
"Cannot open database requrent in login 'database name'. Login fails'.

It seems like to me that these services come up before SQL Server even
though I have the dependencies set right.

Any help is appreciated.
Thanks

 >> Stay informed about: MSSQLServer dependent service startup 
Back to top
Login to vote
Neeraj

External


Since: Feb 16, 2005
Posts: 9



(Msg. 2) Posted: Wed Feb 16, 2005 6:01 pm
Post subject: RE: MSSQLServer dependent service startup [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Shipra,
From the error it looks like the sql server is up when your application
is trying to connect. Since it will not give login failure. if the SQL Server
is not up it will give a error "could not connect or something". Is your
application by default using any id to connect to the database. It seems that
the ID doesn't have access to the default database.

Neeraj

"Shipra Gupta" wrote:

 > Hello,
 >
 > I have some services that are dependent on MSSQLServer serivce but when the
 > computer is restarted, my services don't start and I get an error message
 > "Cannot open database requrent in login 'database name'. Login fails'.
 >
 > It seems like to me that these services come up before SQL Server even
 > though I have the dependencies set right.
 >
 > Any help is appreciated.
 > Thanks
 >

 >> Stay informed about: MSSQLServer dependent service startup 
Back to top
Login to vote
Shipra Gupta

External


Since: Feb 16, 2005
Posts: 2



(Msg. 3) Posted: Wed Feb 16, 2005 6:11 pm
Post subject: RE: MSSQLServer dependent service startup [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, that's true. But the login ID being used has all the required
permissions, I think it is a timing issue because later when I start the
services, they all start without a problem.

Thanks

"Neeraj" wrote:

 > Shipra,
 > From the error it looks like the sql server is up when your application
 > is trying to connect. Since it will not give login failure. if the SQL Server
 > is not up it will give a error "could not connect or something". Is your
 > application by default using any id to connect to the database. It seems that
 > the ID doesn't have access to the default database.
 >
 > Neeraj
 >
 > "Shipra Gupta" wrote:
 >
  > > Hello,
  > >
  > > I have some services that are dependent on MSSQLServer serivce but when the
  > > computer is restarted, my services don't start and I get an error message
  > > "Cannot open database requrent in login 'database name'. Login fails'.
  > >
  > > It seems like to me that these services come up before SQL Server even
  > > though I have the dependencies set right.
  > >
  > > Any help is appreciated.
  > > Thanks
  > >
 >> Stay informed about: MSSQLServer dependent service startup 
Back to top
Login to vote
Neeraj

External


Since: Feb 16, 2005
Posts: 9



(Msg. 4) Posted: Wed Feb 16, 2005 6:25 pm
Post subject: RE: MSSQLServer dependent service startup [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Its possible that database SQL Server is up but default database is going
through the recovery. Adding a bit of delay might help. In Sybase we can
chage the order in which the databases get recovered, i don't know if we can
do the same in sql server or not. If yes then you can set it such that the
database gets recovered before any other database.

Neeraj



"Shipra Gupta" wrote:

 > Yes, that's true. But the login ID being used has all the required
 > permissions, I think it is a timing issue because later when I start the
 > services, they all start without a problem.
 >
 > Thanks
 >
 > "Neeraj" wrote:
 >
  > > Shipra,
  > > From the error it looks like the sql server is up when your application
  > > is trying to connect. Since it will not give login failure. if the SQL Server
  > > is not up it will give a error "could not connect or something". Is your
  > > application by default using any id to connect to the database. It seems that
  > > the ID doesn't have access to the default database.
  > >
  > > Neeraj
  > >
  > > "Shipra Gupta" wrote:
  > >
   > > > Hello,
   > > >
   > > > I have some services that are dependent on MSSQLServer serivce but when the
   > > > computer is restarted, my services don't start and I get an error message
   > > > "Cannot open database requrent in login 'database name'. Login fails'.
   > > >
   > > > It seems like to me that these services come up before SQL Server even
   > > > though I have the dependencies set right.
   > > >
   > > > Any help is appreciated.
   > > > Thanks
   > > >
 >> Stay informed about: MSSQLServer dependent service startup 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Cannot generate SSPI context - Hi All, I am experiencing problems with a remote user (w2k pro,sql 7) attempting to connect and replicate with a Sql Server 7 on NT server. They are receiving 'Cannot generate SSPI context' messages when trying to use a vb app over a vpn. This problem..

connection string does not work for a different server - Hi all, I currently have an ASP .Net project running locally, and accessing a local SQL server 2000 database. The project runs fine since it is able to open the connection to the database, and perform operations on it locally using a connection dtata..

IIS 6 and Windows Authentication to SQL Server 2000 - I am running a Windows Server 2003 machine as my web server. I would like to use Windows authentication for connections to my SQL Server 2000 instance on a Windows 2000 server. I've read where mirroring the ASPNET account and password on the web server...

SSL Security error -ConnectionOpen(SECDoClientHandshake) - Please help. On my default instance of SQL Server 2000, which could be accessed OK with both Windows and SQL server authentication, I now get the error in the subject line above. The message in the error window - in SQL server enterprise manager- suggest...

Connecting client to SQL Server via Cisco VPN - We are having one client PC running Win XP. SQL Server has been set to Windows Authentication, TCP/IP 1433, Windows 2003 (!). Via Cisco VPN we are making a connection. IAS has been configurated, so the local user profile doesn't matter. The server..
   Database Help (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]