Showing posts with label adatabase. Show all posts
Showing posts with label adatabase. Show all posts

Tuesday, March 27, 2012

Easy User Question

I have a user set up on a SQL 200 server, which I am using to connect to a
database from an ASP.NET application I am making.
When I run the application from the same system as the database is on, the
connection works correctly ( my connection string is:
user id=BlueMaster;data source=BLUE;initial
catalog=BlueSky;password=bluerocks
)
but when I try to connect when running the application off another system,
the connection fails. What do I have to do to set up the user so the
connection will work from remote systems'
ThanksCheck you are using SQL server and Windows authentication in SQL Server (the
defualt is Windows only)
Do this from Enterprise manager - right click the server name, go to
properties and the Security tab. If you do have to change the mode you will
be prompted to restart SQL Server - this is necessary for the security
setting to take effect. If this is not the problem, can you please post the
error message coming back
"Ryan" <web@.balancestudios.com> wrote in message
news:e5321K71DHA.1100@.TK2MSFTNGP10.phx.gbl...
quote:

> I have a user set up on a SQL 200 server, which I am using to connect to a
> database from an ASP.NET application I am making.
> When I run the application from the same system as the database is on, the
> connection works correctly ( my connection string is:
> user id=BlueMaster;data source=BLUE;initial
> catalog=BlueSky;password=bluerocks
> )
> but when I try to connect when running the application off another system,
> the connection fails. What do I have to do to set up the user so the
> connection will work from remote systems'
> Thanks
>
|||What error message do you get when it fails?
Rand
This posting is provided "as is" with no warranties and confers no rights.

Thursday, March 22, 2012

Easy database dump to a file

Hi everyone,
Using SQL Server 2000, what would be the best way to get a dump of a
database that is on a server at a client? I need to be able to say "Here,
run this script/app/command" and it has to be simple enough so that the
person there is able to complete the task. Then, the person will ship me
the dump file so I can have a look at it.
Thanks in advance for any suggestions.
Ericbackup database and the copy the file (.bak) to your workstation
"Eric Caron" <ecaron.nospam@.quebecaffaires.com> wrote in message
news:eEPoz9CbFHA.2520@.TK2MSFTNGP09.phx.gbl...
> Hi everyone,
> Using SQL Server 2000, what would be the best way to get a dump of a
> database that is on a server at a client? I need to be able to say "Here,
> run this script/app/command" and it has to be simple enough so that the
> person there is able to complete the task. Then, the person will ship me
> the dump file so I can have a look at it.
> Thanks in advance for any suggestions.
> Eric
>|||Hi
T-SQL command BACKUP DATABASE and give it to them as a file to run against
OSQL.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Uri Dimant" wrote:

> backup database and the copy the file (.bak) to your workstation
>
> "Eric Caron" <ecaron.nospam@.quebecaffaires.com> wrote in message
> news:eEPoz9CbFHA.2520@.TK2MSFTNGP09.phx.gbl...
>
>