2017-10-04 4 views
0

고객에게 내 응용 프로그램을 배포했습니다. 4 대의 컴퓨터에서 내 앱을 테스트하고 완벽하게 작동하지만 내 고객 컴퓨터에서는 작동하지 않습니다.오류가 지정되지 않았습니다. sqlcese40.dll

SQL Compact를 사용하여 코드에 .NET Framework 4.0을 사용하고 있으며 고객에게 .NET Framework 4.7이 설치되어 있습니다. 또한 필자의 경우 컴퓨터에 SQL Compact를 설치했습니다.

팝업 오류가 다음 텍스트로 표시됩니다 .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 프레임 워크 4.7을 제거 할 수있다 : 나는 마이크로 소프트 웹 사이트 https://support.microsoft.com/en-us/help/2715304/error-message-when-you-try-to-validate-a-copy-of-windows-the-cryptogra에서 결국이 오류에 대한 답을 찾고 후

The cryptographic operation failed due to a local security option setting

을과했다 그들이 말하는 것처럼 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 값을 변경 한 후 앱이 즉시 작동하기 시작했습니다.

관련 문제