When I use VB2005EE to add a database to my project. See Ch.3 - Page 46. I get the following error.
Quote:
quote:
Microsoft Visual Basic 2005 Express Edition
The file "H:\MyDocuments\Visual Studio 2005\Projects\MyFirstApp\MyFirstApp\Database2.mdf" is on a network path that is not supported for database files.
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
User does not have permission to alter database 'D2F7C226-9B40-4F31-8093-52B099626AD1' or the database does not exist.
ALTER DATABASE statement failed.
User does not have permission to alter database 'D2F7C226-9B40-4F31-8093-52B099626AD1' or the database does not exist.
ALTER DATABASE statement failed.
The database 'D2F7C226-9B40-4F31-8093-52B099626AD1' does not exist. Use sp_helpdb to show available databases.
|
What is the cause and the remedy for this problem?
Rand