Running CreateAllObjects.sql (not)
This is probably one of those head-slappers once I hear the solution, but I'm stumped at the moment. A year ago maybe, I downloaded the source code, got everything working on my computer here, and was stymied when I tried to upload the web site to my shared server due to the well known shared server issues. The hosting company has now changed some things and all should be fine.
So I download the source again, unzip it all, and create a db in my SQL Server 2005. I run the scripts in the /Windows/Microsoft.Net/Framework/... folder to create the aspxdb and it's objects. So far so good.
Now I try to run CreateAllObjects.sql via Microsoft SQL Server Management Studio Express and get tons of errors because there are no sys. objects. Or rather no sys. namespace anywhere. Nothing in the master db, nothing in any of the dbs. I'm connected as sa, so they should be there no? dbo.sysobjects exists, but no sys.
That's fine, the aspx objects are all there so I delete those lines from the script, and the rest are just selecting on sys. to see if the objects exist, so I delete those lines too.
Now I'm down to a large number of errors in the lines that are creating the constraints. So it's time to ask what obvious thing have I done wrong or not done? This shouldn't be this hard, eh?
|