Author Topic: Password Change - Unable to connect to the target database  (Read 3049 times)

0 Members and 1 Guest are viewing this topic.

Tower711

  • Guest
Password Change - Unable to connect to the target database
« on: November 16, 2012, 07:12:24 PM »
I need to change the password for the administrator console, but it is giving me an error message when executing the command.


C:\Program Files\AVAST Software\Administration Console>cd\

C:\>"C:\Program Files\AVAST Software\Administration Console\Avast.Sbc.Service.exe" -c password -p new-password hello

avast! Administration Console service (version: 1.1.132.15)
Trying to set new password for the administrator account
Unable to connect to the target database.
Error encountered in service entry point.
System.ApplicationException: Error in the application.
   at Avast.Sbc.Service.PasswordResetUtility.InitDatabase()
   at Avast.Sbc.Service.PasswordResetUtility.SetNewPassword(String password)
   at Avast.Sbc.Service.Program.Main(String[] args)


Any input would be much appreciated!

wpn

  • Guest
Re: Password Change - Unable to connect to the target database
« Reply #1 on: November 19, 2012, 12:58:22 PM »
Are you running this as administrator or in an elevated cmd prompt? if not try that

Are you sure your database is reachable?
Quote
Unable to connect to the target database.

Tower711

  • Guest
Re: Password Change - Unable to connect to the target database
« Reply #2 on: November 19, 2012, 04:02:25 PM »
This is definitely an elevated command prompt, but I am not sure if the database is reachable.  I'm not sure why it wouldn't be, is there any checks I can do to verify?

Thanks

Offline Avosec-UK

  • Avosec Technical Support
  • Avast Reseller
  • Sr. Member
  • *
  • Posts: 296
    • Avosec
Re: Password Change - Unable to connect to the target database
« Reply #3 on: November 19, 2012, 05:00:08 PM »
This is definitely an elevated command prompt, but I am not sure if the database is reachable.  I'm not sure why it wouldn't be, is there any checks I can do to verify?

Thanks
SQLCMD -S (local)\AVAST_DB_INSTANCE_NAME

Tower711

  • Guest
Re: Password Change - Unable to connect to the target database
« Reply #4 on: November 19, 2012, 06:20:23 PM »
SQLCMD -S (local)\AVAST_DB_INSTANCE_NAME

Ah, got it.  Microsoft instance.  Yes the DB is running and service is started.  When I run that command it takes me to a 1> prompt.  Anything I can check on to ensure that it connects?