2017-10-04 10 views
0

私は自分のアプリケーションを私の顧客に配備しました。私は4つの異なるコンピュータで私のアプリをテストし、完璧に動作しますが、私の顧客のコンピュータでは動作しません。エラーが指定されていませんsqlcese40.dll

私はSQL Compactで自分のコードに.NET Framework 4.0を使用しています。顧客は.NET Framework 4.7がインストールされています。また、SQLコンパクトを自分のコンピュータにインストールしました。

ポップアップエラーは次のテキストで示されている.EXE私は私のアプリをクリックします。データベースへの接続時に

System.Data.SqlServerCe.SqlCeException (0x80004005): Error not specified [ sqlcese40.dll ] 
    in System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr) 
    in System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent) 
    in System.Data.SqlServerCe.SqlCeConnection.Open() 
    in LongStoryShort.LoadAllByItems(String[] columns) 

ので、エラーが発生します。私は何が欠けているか何か手がかり?

答えて

0

解決済み

私はエラーを得ていたので、私も私の顧客のPCでの.NET Framework 4.7をアンインストールすることができませんでした:

The cryptographic operation failed due to a local security option setting

このエラーについての答えを探していた後、私は、マイクロソフトのWebサイトhttps://support.microsoft.com/en-us/help/2715304/error-message-when-you-try-to-validate-a-copy-of-windows-the-cryptograで終わるとしました彼らが言うようにregeditの手順。

This error occurs when the 'State' value of below mentioned registry key is incorrectly set. This value corresponds to the Internet Explorer security setting "Check for publisher’s certificate Revocation" and "Check for signatures on downloaded programs"

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing You can find a key with the name ‘State’. By default the values is set to – ‘23c00’ Resolution To resolve this problem, change the registry key to a valid setting, e.g.

State = 0x00023e00 - ‘Check for publisher’s certificate Revocation’ unchecked

State = 0x00023c00 - ‘Check for publisher’s certificate Revocation’ Checked

regeditの値を変更した後、私のアプリは即座に動作し始めました!

関連する問題