using a local copy of MS SQL database

Hi,
I have copied a MS SQL database to my local machine and am testing it
with ASP pages, locally, on IIS. I have a db connect page that keeps
the current connections for the live database. My question is, as the
local db is named 'local,' is there another name I need to give it and
thus call from the connection page?
Also, when copying a db, are the permissions (username and pass)
copied over with it?

Thanks,
Louis
ll [ Do, 10 Januar 2008 20:48 ] [ ID #1904673 ]

RE: using a local copy of MS SQL database

You can use the machine name instead of (local).
About the user name and password is depends how do you copy the db

"ll" wrote:

> Hi,
> I have copied a MS SQL database to my local machine and am testing it
> with ASP pages, locally, on IIS. I have a db connect page that keeps
> the current connections for the live database. My question is, as the
> local db is named 'local,' is there another name I need to give it and
> thus call from the connection page?
> Also, when copying a db, are the permissions (username and pass)
> copied over with it?
>
> Thanks,
> Louis
>
Wualdo [ Fr, 11 Januar 2008 00:43 ] [ ID #1905471 ]

Re: using a local copy of MS SQL database

On Jan 10, 5:43 pm, wualdo <wua... [at] discussions.microsoft.com> wrote:
> You can use the machine name instead of (local).
> About the user name and password is depends how do you copy the db
>
> "ll" wrote:
> > Hi,
> > I have copied a MS SQL database to my local machine and am testing it
> > with ASP pages, locally, on IIS. I have a db connect page that keeps
> > the current connections for the live database. My question is, as the
> > local db is named 'local,' is there another name I need to give it and
> > thus call from the connection page?
> > Also, when copying a db, are the permissions (username and pass)
> > copied over with it?
>
> > Thanks,
> > Louis


I currently export wizard and select 'copy tables and views' from the
source database. Would this carry the username/password settings as
well?
Thanks,
Louis
ll [ Fr, 11 Januar 2008 17:44 ] [ ID #1905492 ]

Re: using a local copy of MS SQL database

ll wrote:
> On Jan 10, 5:43 pm, wualdo <wua... [at] discussions.microsoft.com> wrote:
>> You can use the machine name instead of (local).
>> About the user name and password is depends how do you copy the db
>>
>> "ll" wrote:
>>> Hi,
>>> I have copied a MS SQL database to my local machine and am testing
>>> it with ASP pages, locally, on IIS. I have a db connect page that
>>> keeps the current connections for the live database. My question
>>> is, as the local db is named 'local,' is there another name I need
>>> to give it and thus call from the connection page?
>>> Also, when copying a db, are the permissions (username and pass)
>>> copied over with it?
>>
>>> Thanks,
>>> Louis
>
>
> I currently export wizard and select 'copy tables and views' from the
> source database. Would this carry the username/password settings as
> well?

I think the wizard has options to copy logins. There may be issues with
orphaned users. This is out-of-scope of this group. You should bring
your questions to a sqlserver group.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
reb01501 [ Fr, 11 Januar 2008 17:57 ] [ ID #1905494 ]
Webserver » microsoft.public.inetserver.asp.general » using a local copy of MS SQL database

Vorheriges Thema: More Date Confusion
Nächstes Thema: Using ASP to generate XML documents from SQL