Re: Connection to SQL Server CE Windows Service via C# - Error 250
- From: Blue Fish <BlueFish@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 08:41:01 -0700
Encryption is not specified in the connection string. This is SQL Server
Compact 3.1 (2005).
I am explicitly provinding the Data Source and Password attributes in the
connection string.
I have since created a new database, with an empty password. I am able to
connect to it via the windows service under the Local Service account.
However, I would like to have the database password protected.
"Paul G. Tobey [eMVP]" wrote:
Is encryption specified in the connection string? How are you requesting.
access, user name and password explicit in the connection string?
Paul T.
"Blue Fish" <BlueFish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D21D3EBD-9561-40A9-A21D-C2C62A5020A7@xxxxxxxxxxxxxxxx
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2
I'm using SQL Server Compact Edition as a private data store.
The reason I mentioned a permissions issue is that I can connect to the
same
DB via C# in a Windows application that is not running as a service under
the
Local Service account.
So my theory was that the Local Service account is somehow restircted in a
way that prevents it from accessing the appropriate encryption mechanism
to
connect to the DB.
"Paul G. Tobey [eMVP]" wrote:
Funny, I'd assume that the problem is that the operating system doesn't
support encryption. What is the connection string? What version of
Windows
CE is running and what's built into it?
Paul T.
"Blue Fish" <Blue Fish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3453930-4081-46F8-B488-337DDC5CC97E@xxxxxxxxxxxxxxxx
SQL Server CE 2005, Visual Studio 2005, C#
I have a windows service that I wrote that runs under the Local Service
account. I cannot connect to my SQL Server CE database. Every call to
_dbConnection.Open();
yields Error 25080 - The operating system does not support encryption.
Now
I assume that the issue is permissions, but does anyone know of how to
resolve this issue?
- Follow-Ups:
- Re: Connection to SQL Server CE Windows Service via C# - Error 250
- From: ErikEJ
- Re: Connection to SQL Server CE Windows Service via C# - Error 250
- From: Paul G. Tobey [eMVP]
- Re: Connection to SQL Server CE Windows Service via C# - Error 250
- References:
- Connection to SQL Server CE Windows Service via C# - Error 25080
- From: Blue Fish
- Re: Connection to SQL Server CE Windows Service via C# - Error 25080
- From: Paul G. Tobey [eMVP]
- Re: Connection to SQL Server CE Windows Service via C# - Error 250
- From: Blue Fish
- Re: Connection to SQL Server CE Windows Service via C# - Error 250
- From: Paul G. Tobey [eMVP]
- Connection to SQL Server CE Windows Service via C# - Error 25080
- Prev by Date: Re: Connection to SQL Server CE Windows Service via C# - Error 250
- Next by Date: Re: Connection to SQL Server CE Windows Service via C# - Error 250
- Previous by thread: Re: Connection to SQL Server CE Windows Service via C# - Error 250
- Next by thread: Re: Connection to SQL Server CE Windows Service via C# - Error 250
- Index(es):
Relevant Pages
|
Loading