Showing posts with label documents. Show all posts
Showing posts with label documents. Show all posts

Tuesday, March 20, 2012

Can not attach SQL Server 2005 Express database

I got the folllowin error while trying to attach database. The directory is there...

TITLE: Locate Database Files - H001335\SQLEXPRESS

C:\Documents and Settings\Administrator.H001335\My Documents\Visual Studio 2005\WebSites\Import\App_Data
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists.

If you know that the service account can access a specific file, type in the full path for the file in the File Name control in the Locate dialog box.


BUTTONS:

OK

Moving thread to a more appropriate forum.|||where is it?|||please help, no idea why I can't attach this database|||Make sure you do not have VS open (as server manager creates a connection to sql server), and try stopping and restarting the sqlserver agen service. Then try to attach the database. Is the nme the same as the db name? You may need to copy over the log file aswell (daname_log.ldf).|||

Are you using "User Instance=True" in your connection string?

If so, you need to make sure that the user who is running the task has appropriate permissions to access files in that directory (by the looks ASPNET might be the user).

If you're not, then I try running the the sql server service as "Local System" instead of the default "Network Service", or give "Network Service" appropriate permissions for that location.

|||Yes you are right, seems this was related to the user ASP.NEt not having enough rights in the directory...

Can not attach SQL Server 2005 Express database

I got the folllowin error while trying to attach database. The directory is there...

TITLE: Locate Database Files - H001335\SQLEXPRESS

C:\Documents and Settings\Administrator.H001335\My Documents\Visual Studio 2005\WebSites\Import\App_Data
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists.

If you know that the service account can access a specific file, type in the full path for the file in the File Name control in the Locate dialog box.


BUTTONS:

OK

Moving thread to a more appropriate forum.|||where is it?|||please help, no idea why I can't attach this database|||Make sure you do not have VS open (as server manager creates a connection to sql server), and try stopping and restarting the sqlserver agen service. Then try to attach the database. Is the nme the same as the db name? You may need to copy over the log file aswell (daname_log.ldf).|||

Are you using "User Instance=True" in your connection string?

If so, you need to make sure that the user who is running the task has appropriate permissions to access files in that directory (by the looks ASPNET might be the user).

If you're not, then I try running the the sql server service as "Local System" instead of the default "Network Service", or give "Network Service" appropriate permissions for that location.

|||Yes you are right, seems this was related to the user ASP.NEt not having enough rights in the directory...sql

Can not attach SQL Server 2005 Express database

I got the folllowin error while trying to attach database. The directory is there...

TITLE: Locate Database Files - H001335\SQLEXPRESS

C:\Documents and Settings\Administrator.H001335\My Documents\Visual Studio 2005\WebSites\Import\App_Data
Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists.

If you know that the service account can access a specific file, type in the full path for the file in the File Name control in the Locate dialog box.


BUTTONS:

OK

Moving thread to a more appropriate forum.|||where is it?|||please help, no idea why I can't attach this database|||Make sure you do not have VS open (as server manager creates a connection to sql server), and try stopping and restarting the sqlserver agen service. Then try to attach the database. Is the nme the same as the db name? You may need to copy over the log file aswell (daname_log.ldf).|||

Are you using "User Instance=True" in your connection string?

If so, you need to make sure that the user who is running the task has appropriate permissions to access files in that directory (by the looks ASPNET might be the user).

If you're not, then I try running the the sql server service as "Local System" instead of the default "Network Service", or give "Network Service" appropriate permissions for that location.

|||Yes you are right, seems this was related to the user ASP.NEt not having enough rights in the directory...

Wednesday, March 7, 2012

Can I use SQL server 2005 manager to schedule backups?

Can I use SQL server 2005 manager to schedule backups?
Any documents for that?
Thanks in advance.
Sean wrote:
> Can I use SQL server 2005 manager to schedule backups?
> Any documents for that?
> Thanks in advance.
Create a SQL Agent job that executes the BACKUP command...
Tracy McKibben
MCDBA
http://www.realsqlguy.com
|||Hi,
You could also use the Maintenance plans from SQL Server Management studio
to configure the database backup. The wizard itself will guide you to steps
to setup the backup job.
Thanks
Hari
SQL Server MVP
"Sean" <Sean@.discussions.microsoft.com> wrote in message
news:F1DC9D76-2519-42A4-807A-1D788D9B8A3F@.microsoft.com...
> Can I use SQL server 2005 manager to schedule backups?
> Any documents for that?
> Thanks in advance.

Can I use SQL server 2005 manager to schedule backups?

Can I use SQL server 2005 manager to schedule backups?
Any documents for that?
Thanks in advance.Sean wrote:
> Can I use SQL server 2005 manager to schedule backups?
> Any documents for that?
> Thanks in advance.
Create a SQL Agent job that executes the BACKUP command...
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Hi,
You could also use the Maintenance plans from SQL Server Management studio
to configure the database backup. The wizard itself will guide you to steps
to setup the backup job.
Thanks
Hari
SQL Server MVP
"Sean" <Sean@.discussions.microsoft.com> wrote in message
news:F1DC9D76-2519-42A4-807A-1D788D9B8A3F@.microsoft.com...
> Can I use SQL server 2005 manager to schedule backups?
> Any documents for that?
> Thanks in advance.

Can I use SQL server 2005 manager to schedule backups?

Can I use SQL server 2005 manager to schedule backups?
Any documents for that?
Thanks in advance.Sean wrote:
> Can I use SQL server 2005 manager to schedule backups?
> Any documents for that?
> Thanks in advance.
Create a SQL Agent job that executes the BACKUP command...
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Hi,
You could also use the Maintenance plans from SQL Server Management studio
to configure the database backup. The wizard itself will guide you to steps
to setup the backup job.
Thanks
Hari
SQL Server MVP
"Sean" <Sean@.discussions.microsoft.com> wrote in message
news:F1DC9D76-2519-42A4-807A-1D788D9B8A3F@.microsoft.com...
> Can I use SQL server 2005 manager to schedule backups?
> Any documents for that?
> Thanks in advance.

Friday, February 10, 2012

Can I install SQL 7 and MSDE on the same machine?

can someone please help me find any documents on this question or answer the
question please.
Thanks in advance
Ray
hi Ray,
Ray wrote:
> can someone please help me find any documents on this question or
> answer the question please.
>
you can install SQL Server 7.0 and MSDE 2000 on the same pc... the SQL
Server 7.0 server will be the default instance as the 7.0 version had no
concept of named instances, where the MSDE 2000 instance will be a named
instance..
just a caveat... MSDE 2000 will install MDAC 2.6 at least (sp4 installs 2.8
sp1) and all COM objects like SQL-DMO, SQL-NS ant the like will be upgraded
at 2000 version, where the client tools like Enterprise Manager, Query
Analyzer, Profiler and so on will remain at 7.0 level as MSDE does not
provide them...
hope EM will still work...
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.15.0 - DbaMgr ver 0.60.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply