Re: Device activation error
- From: "Geoff N. Hiten" <sqlcraftsman@xxxxxxxxx>
- Date: Tue, 31 May 2005 09:06:35 -0400
Do not install SQL data files on a mapped network drive or a UNC share or
even an NAS box. The restriction is to prevent severe data corruption and
performance issues. Use local drives or SAN connected drives only for SQL
database files. The trace flag is for use with a very small set of NAS
servers only and can cause major problems if used anywhere else.
Geoff N. Hiten
Microsoft SQL Server MVP
"Pradeep" <Pradeep@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ACFEB1C7-4C27-4D7E-9D7D-10AB645FAC0C@xxxxxxxxxxxxxxxx
> Hi all,
> According to the requirement I need to install the database files
> on
> U:\ and T:\ which are mapped network drives. It is giving me the error
> "Device activation error. The physical file name
> 'T:\MSSQL$SQL01\data\product.mdf' may be incorrect."
>
> I found an article on knowledge base which says for security reasons SQL
> Server installation is not allowed in Mapped network drives but we can
> disable it temporarily with the help of Trace Flag 1807 using DBCC
> command.
>
> I tried that, after that also its not working.
>
> I used the following query
>
> USE MASTER
> DBCC TRACEON(1807)
> IF NOT EXISTS
> (
> SELECT name FROM master.dbo.sysdatabases WHERE name = N'ATEMS'
> )
> CREATE DATABASE ATEMS ON
> (NAME = ATEMS1, FILENAME='T:\MSSQL$SQL01\data\product.mdf', SIZE = 5,
> MAXSIZE = 6, FILEGROWTH = 1)
> LOG ON
> (NAME = ATEMSLOG1, FILENAME='U:\MSSQL$SQL01\Tlog\prdouctlog.ldf' , SIZE =
> 1,
> MAXSIZE = 2,FILEGROWTH = 1)
>
> also from the kb article I found that the SQL Server 2000 should give an
> error number 5110 but it is giving an error number 5105 which is the
> number
> for SQL Server 7.0
>
> any idea why it is not working or any tips I can overcome this error?
>
> By the way I am using MS SQL Server 2000 personal edition on Windows XP,
> the
> KB article I found is
> http://support.microsoft.com/default.aspx?scid=kb;en-us;304261
>
> Thanks
> Pradeep
.
- References:
- Device activation error
- From: Pradeep
- Device activation error
- Prev by Date: Device activation error
- Next by Date: Re: Altering smalldatetime to datetime
- Previous by thread: Device activation error
- Index(es):
Relevant Pages
|