index > SQL Server Everywhere Edition > operating system does not support encryption

operating system does not support encryption

Hi All,

Iam using HP iPAq hw6500 series PDA. My application in installed in the PDA and when i try to open the application by taping on the application icon, Iam getting the following error.

Error: 0x80004005 E_FAIL
Native Error: (25080)
Description: The operating system does not support encryption. [,,,,,]
Interface defining error: IID_IDBInitialize
Param. 0: 0
Param. 1: 0
Param. 2: 0
Param. 3:
Param. 4:
Param. 5:

The application is builded on embedded VC++4.0

Can anyone help to figure out the possible reason for this error?

Thanks & Regards

Rajeev




RajeevP5
RajeevP5

It appears this is coming from SQL Server CE, moving to respective forum.

Ilya Tumanov

Hi,

Thanks for replying.

Below mentioned is the code snippet (in red) where we are encountering the error:

void CStartUp::CreateDatabase(){
CString path = Application.GetDatabasePath();
path = path.Left(path.ReverseFind('\\'));
CreateDirectory(path, NULL);
CWaitCursor cur;
TRY{
// Create database
DeleteFile(Application.GetDatabasePath());
{
CComVariant vtConn;
CComQIPtr<_Catalog> catalog;
ThrowADOException(catalog.CoCreateInstance(__uuidof(Catalog)), constSourceFile);
CString str;
#if defined(_WIN32_WCE_EMULATION) || defined(_WIN32_WCE_CEPC)
str.Format(L"provider=microsoft.sqlserver.oledb.ce.2.0;data source=%s", Application.GetDatabasePath());
#else
str.Format(L"provider=microsoft.sqlserver.oledb.ce.2.0;data source=%s;SSCE:Database Password='test';SSCE:Encrypt Database=TRUE", Application.GetDatabasePath());
#endif
ThrowADOException(catalog->Create((WCHAR*)(LPCTSTR) str, &vtConn));
}
m_Database->Open(Application.GetDatabasePath());

.....

.....

......

Regards

Rajeev




RajeevP5
RajeevP5

OK, so it is SQL CE. It looks like your device does not support encryption you've requested in the connection string. Normally PPC 2003 should have required 128 bit encryption pack, but perhaps this one does not (e.g. due to export restrictions).

Ilya Tumanov

Hi All,

I am working on a PPC 2003 application.

The problem that I am encountering is that,when I install my application the root certificates on the PDA are getting deleted.

In my application, I am using an encrypted database(.sdf),So the application is not working,instead the database is getting deleted.

My application istallation package consists of :

The application,adoce 3.1 and ssce 2.0.

But When I uninstall my application,the root certificates are re-appearing on the PDA.

Please let me know what could be the possible reason for this scenario.

Any suggestion to resolve this will be greatly helpful.

Thanks & Regards

Rajeev




RajeevP5
RajeevP5
reply 5

You can use google to search for other answers

 

More Articles

• RDA SQL MOBILE ERROR 28037 HResult = -2147012867
• SQl Server CE question..
• Problems installing SQL Server 2005 Mobile on device
• Failure to create first Replicated Database (SQL Mobile/SQL Serve...
• SQLMobile replication to SQL Server 05 64bit
• Replication with filter
• Replication Error 28559
• sql server CE supported classes
• ISSCEStatusReporting interface - replication progress in C++
• SQL 2005 Mobile : The file is not a valid database file
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• System.AccessViolationException in Syste
• ibuyspy 2005 distribution sample: missin
• Mobile Line of Business Solution Acceler
• Should I use Merge Replication ahead 3rd
• SQL CE 2.0 performance diffence on WM5 a
• CeWriteRecordProps failling with a empty
• EDB record limits and EDB vs RAPI
• Inserting images
• SQL Mobile 2005 NVarChar Truncation Prob
• Using Select In Push Command
• data application blocks for windows mobile
• Relational Data and RDA
• InvalidProgramException on Adapter.Fill
• SQL CE & @@IDENTITY
• Using Everywhere/Mobile from a service

Hot Articles

• How to retrieve the GUID value of a SQL
• Maximum length sql statement that can be
• Open connection in sql server
• Beginner Q: Pocket PC access to SQL Serv
• SQL Mobile query hangs PPC 2003 device
• An incorrect or unsupported HTTP functio
• Walkthrough Failure: "Creating a Mo
• How to make synchronize once instead of
• How do I drop sql server mobile database
• A request to send data to the computer r
• Inserting Server Collation on a connecti
• synchronization for PPC w/o internet
• Inner workings of RDA
• Will PPC 2003 DLL's for SQL CE work on W
• SQL Server Mobile and isqlw20

Recommend Articles

• SQL Server Everywhere: 64-bit compatible?
• RDA pull problem
• SqlCeRemoteDataAccess Pull issue with Co
• SQL Server 2005 Everywhere Edition: Repl
• Using Crystal Reports with SQL Server Ev
• (SQL Mobile)Can SELECT, but cannot INSER
• Creating database build scripts and USE
• Maximum length sql statement that can be
• Connecting Database Engine (SQl server 2
• creating tables
• Mobile Application Enquiry
• Recover SDF-File
• Synchronizing Data Within SQLCE and SQL
• RDA and replication
• SQL Server Everywhere - Retrieve Identit