Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / July 2005

Tip: Looking for answers? Try searching our database.

NorthwindOleDb sample

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nirmal - 22 Mar 2004 07:01 GMT
Hi

Im VERY new to embedded application development and Im trying to run the NorthWindOleDb sample using EVC++4.0 and SQL Server CE 2.0 on the PPC 2003 emulator
I've managed to compile the code after installing the hotfix (with 3 warnings) and the emulator starts, but when i try to launch the application, I get the following error message....'Error - Initialize database
I have read other posts and the solution given is to install product cabs on the emulator.
If this is the case, then can somebody please explain where I would find them and how to install them, else if theres something else im not doing any advice would be appreciate

Thanks a hea

Nirma
Prasanna Sampath [MSFT] - 22 Mar 2004 20:40 GMT
Can you give this a try?
Copy the ssce20.dll from the SQL CE setup directory under "C:\program
files\microsoft sql server ce 2.0\device\x86\i486" to the emulator. Then
register ssce20.dll using regsvrce.exe located under "C:\Program
Files\Microsoft eMbedded C++ 4.0\EVC\WCE400\TARGET\X86". Now run the
NorthWindOleDb  sample.

-Prasanna
Signature

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: NorthwindOleDb sample
| thread-index: AcQP0xIRILn3Pwq8SJOSP38LwOXnEA==
[quoted text clipped - 20 lines]
|
| Hi,

Im VERY new to embedded application development and Im trying to run the
NorthWindOleDb sample using EVC++4.0 and SQL Server CE 2.0 on the PPC 2003
emulator.
I've managed to compile the code after installing the hotfix (with 3
warnings) and the emulator starts, but when i try to launch the
application, I get the following error message....'Error - Initialize
database'
I have read other posts and the solution given is to install product cabs
on the emulator.
If this is the case, then can somebody please explain where I would find
them and how to install them, else if theres something else im not doing
any advice would be appreciated

Thanks a heap

Nirmal
Rama Krishna P - 21 Jul 2005 11:09 GMT
Hi Prasanna,

Ur reply for this post really worked for me. I was able to run my
NorthWindOleDb sample on PocketPC 2003 emulator. I am really thankful to u
for such an useful information.

What i did is, I copied the ssce20.dll to the emulator using "RemoteFile
Viewer" in Windows folder.But i need to register that dll.So i have
downloaded a register tool (regsvr.exe)  from  "
http://www.pocketpcdn.com/articles/regsvr.html".  I copied that exe
(regsvr_x86) in the same place where i have copied the ssce20.dll. Then in
the emulator i have launched the regsvr_x86 exe and I have selected the
ssce20.dll and i could register the dll. Then I could run the NorthwindOleDb
sample. Everything is fine till now. Then again after some time when i am
trying to do the same thing... to my surprise i am unable to register the dll.
I am getting error " Can't Load "\Windows\ssce20.dll", GetLatError returned:
193: %1 is not a valid Win32 application".

May be it is simple for any other but, as i am new to EVC and pocketpc i am
unable to find the mistake.

can u please help me in solving this.

thanks alot
krishna.

>Can you give this a try?
>Copy the ssce20.dll from the SQL CE setup directory under "C:\program
[quoted text clipped - 27 lines]
>
>Nirmal
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.