index > SQL Server Everywhere Edition > SQL Everywhere - Can't connect from VS.NET after create DB w/ Mgm...

SQL Everywhere - Can't connect from VS.NET after create DB w/ Mgm...

I have created a SQL Everywhere database using SQL Server Management Studio (because I couldn't figure out a way to create it with VisualStudio.NET).

Then, I try to open it in Visual Studio.NET, using the following steps:

  1. Add New Data Source
  2. Pick type Database
  3. Click New Connection
  4. Pick Data Source "<other>", and Data Provider ".NET Framework Data Provider for OLE DB".
  5. Pick OLE DB Provider "Microsoft SQL Server 2005 Everywhere Edition OLE DB Provider for Windows".
  6. Enter a full path to the filename as the Server or File Name. (I've tried it with and without doubling the backslashes in the pathname - no difference.)
  7. Click Advanced and enter the Password that I assigned to the DB.
  8. Click Test Connection - it says it succeeded.
  9. Click OK. It says "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done."

Now what? Thanks.

DanCooperstock

OK, I figured this out. When I installed VS.NET, I had omitted the option "Smart Device Programmability" under Visual C#. That means it didn't install the SQL Server Mobile stuff. (I thought I didn't need it because I wasn't actually programming smart devices.)

I re-ran the setup and added that option. Now, when I go into Add New Data Source and get to New Connection, by default it comes up with the Data Source "Microsoft SQL Server Mobile Edition (.NET Framework Data Provider for SQL Server CE)", which is apparently what I want. That has prompts for the database file and the password, and it works when I click OK.

DanCooperstock
reply 2

You can use google to search for other answers

 

More Articles

• When will SQL Everywhere integrate to the Windows Kernel?
• Data Access Application Block for SQLClient
• How to retrieve the GUID value of a SQL NewID() identity column a...
• SQL Everywhere, ntext & ADO Classic
• RDA and replication
• Visual Studio Configure Sync Settings dialog
• Synchronize SQL Mobile 2005 using ActiveSync
• Insert error on existing table
• sqlev maintenance utility
• Is there something similar to SQL 2005 row_number() in sql mobile...
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Select Indexes on Sql CE
• Using Merge Replication, Parameterized F
• SEM v1.01 - Error Connecting to database
• Emulator Error to replicate data on SQL
• SSev and Enterprise Library
• Application hangs on SqlCeConnection.Dis
• Inserting images
• Adding Table to Dataset for SQL Server M
• Id getting generated differently
• Ole DB Example For Windows Mobile 5.0
• SQL 2005 Mobile vs .NET CF 2.0 SP1?
• Database Sort Order / Collation
• SQL CE Err 80004005 "Unspecified Er
• Version number for SQL Server 2005 mobil
• Question: Can i synchronize the mobile d

Hot Articles

• Very newbie question
• installing sql server mobile in an hp ip
• RDA and sql server mobile database
• String truncate error
• SOS, please help
• Id getting generated differently
• RDA Pull from Windows Server 2003 gives
• Behavior difference between SQL Mobile P
• 0x80040e21 error running SQLCE 2.0 on Wi
• CeWriteRecordProps failling with a empty
• SQL CE & @@IDENTITY
• Can I use SQL_Mobile as PC desktop serve
• Best way to learn SQL Mobile?
• An incorrect or unsupported HTTP functio
• Background replication

Recommend Articles

• SQL CE 2.0 performance diffence on WM5 a
• Visual Studio 2005 The remote connection
• An instance of the SQL Server Reconciler
• DataBase Connection for VS2005 C++ for D
• Could not load file or assembly 'System.
• Relational Data and RDA
• SQl Server CE database connection issue
• A request to send data to the computer r
• SQLEv & blobs
• Converting bytes [] to an SQL CE 3 image
• Problem adding new Database in Smart app
• connecting to sql server from mobile dev
• SqlServerCe.dll
• Insert error on existing table
• Obtain sqlceresultset table schema with