|
|
|
date: Fri, 30 Nov 2007 09:18:55 -0800 (PST),
group: microsoft.public.sqlserver.ce
back
Re: Upgrade SQLServer CE database to 3.5
Ginny and Simon, thank you for your replies.
All of these ideas for creating or upgrading SSCE 3.5 DBs sound
reasonable. Strangely, none of them are working for me (though for
completely different reasons) --
1. Use VS 2008 Data Tools
--> This is verified by the VS2008 Help docs, which say explicitly
that in Server Explorer you can create a new SS-CE 3.5 database.
However all db creation in VS2008 Server Explorer appears to be for
traditional Win32 SQL Server connectivity -- even "Create New SQL
Server Database" requires specification of a Server name.
2. Use SqlCeEngine.Upgrade in a .NET CF app
--> This was simple to build and deploy, but when I tried to run it on
the emulator, it gets to the Upgrade line and says "SQL Server Compact
made an unsupported request to the host operating system." I tried
simply calling CreateDatabase instead of Upgrade and got the same
message, and that implies something isn't installed correctly.
However I verified that the install came from the VS2008 CAB files
(dated 10/2/2007) so I'd expect it to be right.
3. Use SQL Server 2008 Management Studio (Beta)
--> This one wouldn't even install! On machines which never had SQL
Server installed before, the install exits before even bringing up the
Wizard - no message. On machines which DID have SQL Server 2005, I
uninstalled 2005 first (readme says they cannot coexist) and then 2008
installs but Management Studio is not available - only Configuration
Manager.
This is not my day, is it?
Any insight into any of these roadblocks would be greatly
appreciated. Note I only need one of these approaches to work -- any
one!
Thanks again
Dave
date: Tue, 4 Dec 2007 08:48:29 -0800 (PST)
author: unknown
Re: Upgrade SQLServer CE database to 3.5
Dave,
Try this in VS 2008:
From Tools menu select Connect to Database. This should bring up the Add
Connection dialog. Click the Change... button to see all the database types
you can connect to. You should see Microsoft SQL Server Compact 3.5 listed.
Choose that then click OK. Now you should be able to create a new SSCE 3.5
database or browse to an existing one. If you browse to an existing sdf file
that is SSCE 3.0 or 3.1, when you click OK you should get an Upgrade to SQL
Server Compact 3.5 Database dialog that allows you to upgrade the file to
3.5. Once you are working with a SSCE 3.5 database, you can then use the VS
2008 data tools with it.
HTH,
--
Ginny Caughey
Device Application Development MVP
wrote in message
news:cbdf0e60-39fa-4874-b47a-0009641aa8ea@y43g2000hsy.googlegroups.com...
>
> Ginny and Simon, thank you for your replies.
>
> All of these ideas for creating or upgrading SSCE 3.5 DBs sound
> reasonable. Strangely, none of them are working for me (though for
> completely different reasons) --
>
> 1. Use VS 2008 Data Tools
> --> This is verified by the VS2008 Help docs, which say explicitly
> that in Server Explorer you can create a new SS-CE 3.5 database.
> However all db creation in VS2008 Server Explorer appears to be for
> traditional Win32 SQL Server connectivity -- even "Create New SQL
> Server Database" requires specification of a Server name.
>
> 2. Use SqlCeEngine.Upgrade in a .NET CF app
> --> This was simple to build and deploy, but when I tried to run it on
> the emulator, it gets to the Upgrade line and says "SQL Server Compact
> made an unsupported request to the host operating system." I tried
> simply calling CreateDatabase instead of Upgrade and got the same
> message, and that implies something isn't installed correctly.
> However I verified that the install came from the VS2008 CAB files
> (dated 10/2/2007) so I'd expect it to be right.
>
> 3. Use SQL Server 2008 Management Studio (Beta)
> --> This one wouldn't even install! On machines which never had SQL
> Server installed before, the install exits before even bringing up the
> Wizard - no message. On machines which DID have SQL Server 2005, I
> uninstalled 2005 first (readme says they cannot coexist) and then 2008
> installs but Management Studio is not available - only Configuration
> Manager.
>
> This is not my day, is it?
>
> Any insight into any of these roadblocks would be greatly
> appreciated. Note I only need one of these approaches to work -- any
> one!
>
> Thanks again
> Dave
date: Tue, 4 Dec 2007 13:01:12 -0500
author: Ginny Caughey [MVP]
|
|