Click here to Skip to main content
16,013,338 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to solve the Windows security features test and Supported API test when it has failed launching the certification.
Posted

1 solution

You do it by understanding the problem it's describing, examining your code, considering how the problem applies to the design of your code and reworking the design of your code to correct the problem.

Honestly, what were you expecting for an answer to such a vague question??
 
Share this answer
 
Comments
Tshego21 11-Jan-14 12:07pm    
Hi Dave Kreskowiak,

Thanks for your reply the problem is there is a linker in vs2012 that i have to use to enable APPCONTAINER and SAFESEH but that linker it's not available when using C# language so can you please assist me with that.
Dave Kreskowiak 11-Jan-14 16:37pm    
I have no idea what you're talking about. You haven't given any context information about exactly what you're doing and what got you to this point. We can't read your mind or see your screen, so you have to describe what it is your doing.
Tshego21 12-Jan-14 1:26am    
Dave I developed a windows 8 store app, it uses sqlite database the problem that i have is before you can upload it
in store you have to create app packages by doing so it request you to launch for certification. After it's done launching
for certification it gives me feedback that it has failed so when i view full report it shows me it has failed certain
things like Windows security features test : has failed the AppContainerCheck check and Supported API test : Error Found: The supported APIs test detected the following errors:

API CryptAcquireContextW in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptCreateHash in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptDecrypt in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptDeriveKey in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptDestroyHash in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptDestroyKey in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptDuplicateKey in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptEncrypt in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API CryptHashData in advapi32.dll is not supported for this application type. SQLite.Interop.dll calls this API.
API AreFileApisANSI in kernel32.dll is not supported for this application type. SQLite.Interop.dll calls this API.

so in order for me to fix this for windows security feature test i have Apply the required linker options - SAFESEH, DYNAMICBASE, NXCOMPAT, and APPCONTAINER
So my question is how can i apply that on my app because i uses C# and Linker isn't available for C# apps but in C++ it's there

thanks again hope you get my problem now
Dave Kreskowiak 12-Jan-14 12:03pm    
No, you don't need to use linker options. The problem is probably that you're missing a reference in your app. See this[^].

When all else fails, look at these[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900