Home All Groups Group Topic Archive Search About

SQL server - cant see new backuped base

Author
22 Nov 2007 3:45 PM
piwo
Hi all!
i got problem with one program which works on sql 2003 server. We backuped
data from other base and created new base on other server. When we try to
connect from client to that base - we cant see our new base in chose base
menu. What can be wrong? Other bases works fine, we can see them.

Author
22 Nov 2007 4:45 PM
Jay
When you say "base" I assume you mean database, or DB.

If the files are moved to the new system, try to attach them. See sp_attach
in BOL.

Also, SQL Server comes in 6.?, 7.0, 2000, 2005 & 2008. 2003 is a Windows
server.

Beyond that, we would need to know the version of SQL Server and how you
backed up the databases and moved the files to the new server to be helpful.

Show quote
"piwo" <taniep***@interia.pl> wrote in message
news:fi48h4$rlj$1@nemesis.news.tpi.pl...
> Hi all!
> i got problem with one program which works on sql 2003 server. We backuped
> data from other base and created new base on other server. When we try to
> connect from client to that base - we cant see our new base in chose base
> menu. What can be wrong? Other bases works fine, we can see them.
>
Author
22 Nov 2007 4:59 PM
piwo
Oh ofcourse i mean DB when i say base:). Sql version is 2000 and its running
on windows server 2003.
This is the way it was backuped:
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ETMAC

And i think this was the way of restoring it:
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#E4JAE

But when we try to connect from aplication to the new base, we cant see it.
Other, old dbs we can see and work on it.

What is BOL?

Show quote
U¿ytkownik "Jay" <spam@nospam.org> napisa³ w wiadomo¶ci
news:eUalecSLIHA.6008@TK2MSFTNGP05.phx.gbl...
> When you say "base" I assume you mean database, or DB.
>
> If the files are moved to the new system, try to attach them. See
> sp_attach in BOL.
>
> Also, SQL Server comes in 6.?, 7.0, 2000, 2005 & 2008. 2003 is a Windows
> server.
>
> Beyond that, we would need to know the version of SQL Server and how you
> backed up the databases and moved the files to the new server to be
> helpful.
>
> "piwo" <taniep***@interia.pl> wrote in message
> news:fi48h4$rlj$1@nemesis.news.tpi.pl...
>> Hi all!
>> i got problem with one program which works on sql 2003 server. We
>> backuped data from other base and created new base on other server. When
>> we try to connect from client to that base - we cant see our new base in
>> chose base menu. What can be wrong? Other bases works fine, we can see
>> them.
>>
>
>
Author
22 Nov 2007 6:52 PM
Ekrem_Önsoy
You may not be mapped your Login to that database?

--
Ekrem Önsoy



Show quote
"piwo" <taniep***@interia.pl> wrote in message
news:fi4ct2$8uh$1@nemesis.news.tpi.pl...
> Oh ofcourse i mean DB when i say base:). Sql version is 2000 and its
> running on windows server 2003.
> This is the way it was backuped:
> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ETMAC
>
> And i think this was the way of restoring it:
> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#E4JAE
>
> But when we try to connect from aplication to the new base, we cant see
> it. Other, old dbs we can see and work on it.
>
> What is BOL?
>
> U¿ytkownik "Jay" <spam@nospam.org> napisa³ w wiadomo¶ci
> news:eUalecSLIHA.6008@TK2MSFTNGP05.phx.gbl...
>> When you say "base" I assume you mean database, or DB.
>>
>> If the files are moved to the new system, try to attach them. See
>> sp_attach in BOL.
>>
>> Also, SQL Server comes in 6.?, 7.0, 2000, 2005 & 2008. 2003 is a Windows
>> server.
>>
>> Beyond that, we would need to know the version of SQL Server and how you
>> backed up the databases and moved the files to the new server to be
>> helpful.
>>
>> "piwo" <taniep***@interia.pl> wrote in message
>> news:fi48h4$rlj$1@nemesis.news.tpi.pl...
>>> Hi all!
>>> i got problem with one program which works on sql 2003 server. We
>>> backuped data from other base and created new base on other server. When
>>> we try to connect from client to that base - we cant see our new base in
>>> chose base menu. What can be wrong? Other bases works fine, we can see
>>> them.
>>>
>>
>>
>
>
Author
22 Nov 2007 7:52 PM
piwo
You mean user account? How Can i check it?

Show quote
Uzytkownik "Ekrem Önsoy" <ek***@btegitim.com> napisal w wiadomosci
news:E01B345F-6A3E-4BB1-8268-E9E0FE913406@microsoft.com...
> You may not be mapped your Login to that database?
>
> --
> Ekrem Önsoy
>
>
>
> "piwo" <taniep***@interia.pl> wrote in message
> news:fi4ct2$8uh$1@nemesis.news.tpi.pl...
>> Oh ofcourse i mean DB when i say base:). Sql version is 2000 and its
>> running on windows server 2003.
>> This is the way it was backuped:
>> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ETMAC
>>
>> And i think this was the way of restoring it:
>> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#E4JAE
>>
>> But when we try to connect from aplication to the new base, we cant see
>> it. Other, old dbs we can see and work on it.
>>
>> What is BOL?
>>
>> U¿ytkownik "Jay" <spam@nospam.org> napisa³ w wiadomo¶ci
>> news:eUalecSLIHA.6008@TK2MSFTNGP05.phx.gbl...
>>> When you say "base" I assume you mean database, or DB.
>>>
>>> If the files are moved to the new system, try to attach them. See
>>> sp_attach in BOL.
>>>
>>> Also, SQL Server comes in 6.?, 7.0, 2000, 2005 & 2008. 2003 is a Windows
>>> server.
>>>
>>> Beyond that, we would need to know the version of SQL Server and how you
>>> backed up the databases and moved the files to the new server to be
>>> helpful.
>>>
>>> "piwo" <taniep***@interia.pl> wrote in message
>>> news:fi48h4$rlj$1@nemesis.news.tpi.pl...
>>>> Hi all!
>>>> i got problem with one program which works on sql 2003 server. We
>>>> backuped data from other base and created new base on other server.
>>>> When we try to connect from client to that base - we cant see our new
>>>> base in chose base menu. What can be wrong? Other bases works fine, we
>>>> can see them.
>>>>
>>>
>>>
>>
>>
>
Author
23 Nov 2007 9:40 AM
Ekrem_Önsoy
We use Windows Authentication or SQL Authentication to login to SQL Server
Instances... And for this purpose there are Logins. Windows Logins are
created from Windows Accounts. SQL Logins are created determining a Username
and Password. These are Server Level principals.

There are also Users in the databases. These are database level principals.

You map\link Logins to Users to reach to the content of the databases.

And the app you use to connect to your SQL Server instance has a Login too
and that Login is mapped to some databases.

As you restored a new database, that database may not be mapped to your
Login which is used by your application. So your application can not connect
to the new restored database.

Open up Enterprise Manager. Connect to your SQL Server instance and then go
to Security\Logins. Open your Login' s Properties and check out Database
Access for that Login.

If your Login is "sa" then it'll have all rights all around your SQL Server
Instance. So you'd not need to map it to anything.

--
Ekrem Önsoy



Show quote
"piwo" <taniep***@interia.pl> wrote in message
news:fi4moi$50o$1@atlantis.news.tpi.pl...
> You mean user account? How Can i check it?
>
> Uzytkownik "Ekrem Önsoy" <ek***@btegitim.com> napisal w wiadomosci
> news:E01B345F-6A3E-4BB1-8268-E9E0FE913406@microsoft.com...
>> You may not be mapped your Login to that database?
>>
>> --
>> Ekrem Önsoy
>>
>>
>>
>> "piwo" <taniep***@interia.pl> wrote in message
>> news:fi4ct2$8uh$1@nemesis.news.tpi.pl...
>>> Oh ofcourse i mean DB when i say base:). Sql version is 2000 and its
>>> running on windows server 2003.
>>> This is the way it was backuped:
>>> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ETMAC
>>>
>>> And i think this was the way of restoring it:
>>> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#E4JAE
>>>
>>> But when we try to connect from aplication to the new base, we cant see
>>> it. Other, old dbs we can see and work on it.
>>>
>>> What is BOL?
>>>
>>> U¿ytkownik "Jay" <spam@nospam.org> napisa³ w wiadomo¶ci
>>> news:eUalecSLIHA.6008@TK2MSFTNGP05.phx.gbl...
>>>> When you say "base" I assume you mean database, or DB.
>>>>
>>>> If the files are moved to the new system, try to attach them. See
>>>> sp_attach in BOL.
>>>>
>>>> Also, SQL Server comes in 6.?, 7.0, 2000, 2005 & 2008. 2003 is a
>>>> Windows server.
>>>>
>>>> Beyond that, we would need to know the version of SQL Server and how
>>>> you backed up the databases and moved the files to the new server to be
>>>> helpful.
>>>>
>>>> "piwo" <taniep***@interia.pl> wrote in message
>>>> news:fi48h4$rlj$1@nemesis.news.tpi.pl...
>>>>> Hi all!
>>>>> i got problem with one program which works on sql 2003 server. We
>>>>> backuped data from other base and created new base on other server.
>>>>> When we try to connect from client to that base - we cant see our new
>>>>> base in chose base menu. What can be wrong? Other bases works fine, we
>>>>> can see them.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
Author
23 Nov 2007 10:24 AM
piwo
Ok i think the problem resolved. Thanks to that step:
    > Open up Enterprise Manager. Connect to your SQL     Server instance
and then go
    > to Security\Logins. Open your Login' s Properties         and check
out Database
    > Access for that Login.

Accounts of our aplication were created in Security\Logins and there were
other access rights in our new dbase and old dbase for that 2 accounts,
created by software on sql server. When we changed it, dbs started to be
visible from client side. THANKS VERY MUCH :)



Show quote
Uzytkownik "Ekrem Önsoy" <ek***@btegitim.com> napisal w wiadomosci
news:C9DF0D36-F470-414D-B1A0-5240F9BBE58E@microsoft.com...
> We use Windows Authentication or SQL Authentication to login to SQL Server
> Instances... And for this purpose there are Logins. Windows Logins are
> created from Windows Accounts. SQL Logins are created determining a
> Username and Password. These are Server Level principals.
>
> There are also Users in the databases. These are database level
> principals.
>
> You map\link Logins to Users to reach to the content of the databases.
>
> And the app you use to connect to your SQL Server instance has a Login too
> and that Login is mapped to some databases.
>
> As you restored a new database, that database may not be mapped to your
> Login which is used by your application. So your application can not
> connect to the new restored database.
>
> Open up Enterprise Manager. Connect to your SQL Server instance and then
> go to Security\Logins. Open your Login' s Properties and check out
> Database Access for that Login.
>
> If your Login is "sa" then it'll have all rights all around your SQL
> Server Instance. So you'd not need to map it to anything.
>
> --
> Ekrem Önsoy
>
>
>
> "piwo" <taniep***@interia.pl> wrote in message
> news:fi4moi$50o$1@atlantis.news.tpi.pl...
>> You mean user account? How Can i check it?
>>
>> Uzytkownik "Ekrem Önsoy" <ek***@btegitim.com> napisal w wiadomosci
>> news:E01B345F-6A3E-4BB1-8268-E9E0FE913406@microsoft.com...
>>> You may not be mapped your Login to that database?
>>>
>>> --
>>> Ekrem Önsoy
>>>
>>>
>>>
>>> "piwo" <taniep***@interia.pl> wrote in message
>>> news:fi4ct2$8uh$1@nemesis.news.tpi.pl...
>>>> Oh ofcourse i mean DB when i say base:). Sql version is 2000 and its
>>>> running on windows server 2003.
>>>> This is the way it was backuped:
>>>> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#ETMAC
>>>>
>>>> And i think this was the way of restoring it:
>>>> http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx#E4JAE
>>>>
>>>> But when we try to connect from aplication to the new base, we cant see
>>>> it. Other, old dbs we can see and work on it.
>>>>
>>>> What is BOL?
>>>>
>>>> U¿ytkownik "Jay" <spam@nospam.org> napisa³ w wiadomo¶ci
>>>> news:eUalecSLIHA.6008@TK2MSFTNGP05.phx.gbl...
>>>>> When you say "base" I assume you mean database, or DB.
>>>>>
>>>>> If the files are moved to the new system, try to attach them. See
>>>>> sp_attach in BOL.
>>>>>
>>>>> Also, SQL Server comes in 6.?, 7.0, 2000, 2005 & 2008. 2003 is a
>>>>> Windows server.
>>>>>
>>>>> Beyond that, we would need to know the version of SQL Server and how
>>>>> you backed up the databases and moved the files to the new server to
>>>>> be helpful.
>>>>>
>>>>> "piwo" <taniep***@interia.pl> wrote in message
>>>>> news:fi48h4$rlj$1@nemesis.news.tpi.pl...
>>>>>> Hi all!
>>>>>> i got problem with one program which works on sql 2003 server. We
>>>>>> backuped data from other base and created new base on other server.
>>>>>> When we try to connect from client to that base - we cant see our new
>>>>>> base in chose base menu. What can be wrong? Other bases works fine,
>>>>>> we can see them.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
Author
23 Nov 2007 11:19 AM
Ekrem_Önsoy
You are welcome =)

--
Ekrem Önsoy



Show quote
"piwo" <taniep***@interia.pl> wrote in message
news:fi6a2l$lv1$1@nemesis.news.tpi.pl...
> Ok i think the problem resolved. Thanks to that step:
>    > Open up Enterprise Manager. Connect to your SQL     Server instance
> and then go
>    > to Security\Logins. Open your Login' s Properties         and check
> out Database
>    > Access for that Login.
>
> Accounts of our aplication were created in Security\Logins and there were
> other access rights in our new dbase and old dbase for that 2 accounts,
> created by software on sql server. When we changed it, dbs started to be
> visible from client side. THANKS VERY MUCH :)

AddThis Social Bookmark Button