Moving forum from MSSQL 2000 to MSSQL 2008 - نوشته شده در (3249 Views)
Starting Member
kdefilip
مطلب: 4
4
Hi
Attempting to move forum from MSSQL 2000 to MSSQL 2008. Restored forum database on new server. I of course do not want to loose the data in the forum. In any event, when I do try to connect to the forum, I get the error: You need to create all the tables in the database before you can start using the forum. What am I missing about this move?
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Snitz Forums Admin
ruirib
مطلب: 26364
26364
Great, glad you solved it :).
نوشته شده در
Starting Member
kdefilip
مطلب: 4
4
Thanks a bunch. Got it. Had to issue the following and all is well:

USE MyDatabase;
ALTER USER MyUser WITH DEFAULT_SCHEMA = MyUsersSchema;

where MyDatabase is the forum DB
where MyUser is the forum user
where MyUsersSchema is the schema associated with the forum/user

Thanks again.
نوشته شده در
Snitz Forums Admin
ruirib
مطلب: 26364
26364
Doesn't matter if he is the schema owner, the default schema for the user is what matters, as the new tables "would" be created under this default schema.
نوشته شده در
Starting Member
kdefilip
مطلب: 4
4
Hi Again
Yes, I checked to insure the db user is also the schema owner, table prefix is schema owner/user, yet I still get the "you must create the tables ..." error.
نوشته شده در
Snitz Forums Admin
ruirib
مطلب: 26364
26364
I would check that the user has the same default schema that he had before. Probably if you use SQL Server Management Studio to access the server, you will see the tables with a different "prefix". If you can do that, ask the host. They can change the default schema really quick and the problem will be solved.
نوشته شده در
Starting Member
kdefilip
مطلب: 4
4
The database user name is the same and the user is not orphaned.
نوشته شده در
Snitz Forums Admin
ruirib
مطلب: 26364
26364
Is your database username the same, or was it changed?