OK...I think I finally got it!
First problem is the folder permissions...if most of you were like me, I didn't put all this stuff directly at the root level as suggested by the book. So, make sure that whatever folder you created is accessible to ALL users...I created a folder called c:\xmlexample on the root level and opened it completely.
Second problem is running the scripts using SSEUtil. I finally figured out that even if I set the console session to 'Use "c:\xmlexample\Rich.mdf"', running the scripts from within SSEUtil, executed the desired actions against the master database.
To check this, after you run the script...
1> Use master
2> Go
1> select * from sys.xml_schema_collections
2> Go
So, to get around all this, I opened up SQL Server 2005 Management Studio Express, attached to my database (the reason for the open permissions) made sure that Rich.mdf was the focus of the scripts and executed ALL (throughout the entire chapter) mentioned scripts from within the Management Studio.
This worked for me...good luck!
I was finally able to complete the chapter successfully.
No thanks to any of the authors or Wrox, of course.
Regards,
Greg
|