Link to home
Start Free TrialLog in
Avatar of shanj
shanj

asked on

creating filegroups on a db

getting the following error:
1. ALTER DATABASE [xx] ADD FILEGROUP [FG_Trade_2010]
GO

OK
2.
ALTER DATABASE [xx] ADD FILE ( NAME = N'FG_Trade_2010',
FILENAME = N'E:\SQLDATA\DATA\XX_Trade_2010_1.ndf' , SIZE = 51200KB ,
 MAXSIZE = unlimited , FILEGROWTH = 5000KB ) TO FILEGROUP [FG_Trade_2010]
GO
"failed with the operating system error 3(failed to retrieve text for this error. Reason: 15105)"

ASKER CERTIFIED SOLUTION
Avatar of tigin44
tigin44
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"operating system error 3" means "The system cannot find the path specified."
You can find out the messages for the operating system errors with NET HELPMSG.
Make sure that the specified path exists on the server (and that it's not a mapped network drive).
It's always been a file level issue iwth me on os error 3.  Make sure:
-Your SQL Server service acct has write access to the listed folder
-Review NTFS permissions
-Make sure the folder exists
-Make sure it's not a 'mapped drive' as the other service user won't share your mapped drives
-Check it for physical disk errors