Ticket Hash: | 701aa7c3c6fa54c7b097e2945701cc538514efd0 | |||
Title: | Windows Platform FIPS Error | |||
Status: | Closed | Type: | Feature_Request | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Legacy_CryptoAPI | Resolution: | External_Bug | |
Last Modified: | 2016-02-15 19:27:41 | |||
Version Found In: | 1.0.74 | |||
Description: | ||||
I get the following error: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
OS: Windows XP (32bit) .NET 4 Framework Visual Studio 2010 SP1 To reproduce: 1. go to registry (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa) and set fipsalgorithmpolity to 1. 2. Go to devenv.exe.config (for your version of VS) and add "<enforceFIPSPolicy enabled="false"/>" to the runtime section. (it won't build without this) 3. Create console application (.NET 4) 4. Add System.Data.SQLite & System.Data.SQLite.Linq references 5. Add new "ADO.NET Entity Data Model", generate from database, choose northwindEF.db, select all tables, views, and SPROCs, wait for data model generation. 6. Add the following method to Program.cs : private static void RunIt() { var t = new northwindEFEntities(); var customers = t.Customers.Where(c => c.CompanyName.StartsWith("a")); foreach (var customer in customers) { Console.WriteLine(customer.CompanyName); } } 7. Add "RunIt();" to Program.Main. 8. Hit F5 mistachkin added on 2011-07-09 18:39:21 UTC: mistachkin added on 2011-07-09 19:10:46 UTC: anonymous added on 2011-07-27 20:28:38 UTC: |