LockedMS SQL Restore problem

Author
farabord
Junior Member
2007/04/25 14:00:45 (permalink)

MS SQL Restore problem

I have mssql restore problem, When I backup my database localy and upload it and then restore my db, the website gives me sql connection error that user ( that I defined for that db in HC) dows not have access to db, does anyone know what is the problem?
In addition I didn't have this problem with HC6 and MSSQL 2005!!!
#1

4 Replies Related Threads

    HC Team
    Hosting Controller
    RE: MS SQL Restore problem 2007/04/30 11:46:02 (permalink)
    Are you sure SQL Db user has sufficient permissions on User Database and there is no problem in connection string as well?

    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419
    #2
    farabord
    Junior Member
    RE: MS SQL Restore problem 2007/02/05 10:35:54 (permalink)
    The SQL Db user removes form DB after restoring and it doesn't have permission then.
    I have to add the user manually on server.
    please help me on this issue.
    reards
    quote:
    Originally posted by HC Support
    [br]Are you sure SQL Db user has sufficient permissions on User Database and there is no problem in connection string as well?

    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419



    Domain & Hosting Department
    Farabord Communications
    --
    Host@farabord.com
    Tel: (+98)311-6632981
    Fax: (+98)311-6630050
    Address: No. 5, 3rd Fl., Golestan Complex, Mir St., Esfahan
    Iran
    #3
    HC Team
    Hosting Controller
    RE: MS SQL Restore problem 2007/03/05 10:50:15 (permalink)
    quote:
    Originally posted by farabord
    [br]The SQL Db user removes form DB after restoring and it doesn't have permission then.
    I have to add the user manually on server.
    please help me on this issue.
    reards

    quote:
    Originally posted by HC Support
    [br]Are you sure SQL Db user has sufficient permissions on User Database and there is no problem in connection string as well?

    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419



    Domain & Hosting Department
    Farabord Communications
    --
    Host@farabord.com
    Tel: (+98)311-6632981
    Fax: (+98)311-6630050
    Address: No. 5, 3rd Fl., Golestan Complex, Mir St., Esfahan
    Iran



    1- Please create a new db with its user from HC panel.
    2- Now restore your local db .bak file on the SQL Server by using HC db restore option provided at Tools--->Database Manager.
    3- Make sure you are using above SQL Db user and password for connectivity through your code.

    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419
    #4
    farabord
    Junior Member
    RE: MS SQL Restore problem 2007/08/05 09:38:30 (permalink)
    yes, the problem occures after restoring the DB, that then the SQL db user removes from DB.

    Domain & Hosting Department
    Farabord Communications
    --
    Host@farabord.com
    Tel: (+98)311-6632981
    Fax: (+98)311-6630050
    Address: No. 5, 3rd Fl., Golestan Complex, Mir St., Esfahan
    Iran
    #5
    Jump to: