Click here to Skip to main content
15,179,246 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have fips-140-2 enabled in my operating system and I can't change this or use a work around nor do I want to. I have visual studio express 2012 and MSSQL express installed. How do I enable Visual studio to use the appropriate encryption algorithms so I can compile code?

I'm getting this build error:

Error 1 Unable to write to output file 'C:\Users\JoeDoe\Documents\Visual Studio 2012\Projects\Hotel Room Selection\Hotel Room Selection\obj\Release\Hotel Room Selection.pdb': This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. Hotel Room Selection

What default hashing or encryption does VB.net use in application development?

Any help would be greatly appreciated!

Regards,


Jon


There aren't any issues with the programming of this code. There is no code in this application it's just a mock up gui with objects. I'll bet you a trillion dollars opening a new windows form vb.net 2012 application project with no change won't compile either. Opening visual studio 2012 doesn't have any errors either. Appleartnly your not supposed to be able to debug code on a supposid 'server' with the FIPS-140-2 policy enabled. The reason that is enabled is due to the face I want to make sure I'm using secure encryption where applicable.

Here http://forums.asp.net/t/1265047.aspx

I'm looking for a speciffic work around for VB.net 2012 not the web server.

On debug compile here is the error:

Error 1 Unable to write to output file 'c:\users\joedoe\documents\visual studio 2012\Projects\blacknocodewindowsformapplication\blacknocodewindowsformapplication\obj\Debug\blacknocodewindowsformapplication.pdb': This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. blacknocodewindowsformapplication

here is the release error, well gee if there isn't a debug binary why would it make a release binary?

Error 1 Unable to write to output file 'c:\users\joedoe\documents\visual studio 2012\Projects\blacknocodewindowsformapplication\blacknocodewindowsformapplication\obj\Release\blacknocodewindowsformapplication.pdb': Catastrophic failure blacknocodewindowsformapplication

If I change those values in config will they apply to visual studio and vb.net?
Posted
Updated 17-Sep-13 19:49pm
v2

1 solution

Ummm....yeah.

I have fips-140-2 enabled in my operating system and I can't change this or use a work around nor do I want to.

FIPS 140-2 is the Federal Information Processing Standards PUBLICATION 140, revision 2. It's not an encryption standard, but defines the security standards that a encryption modules must adhere to.

What you have is a policy that tells Windows that any encryption algorithms it uses, be it file system encryption or whatever, must be FIPS 140-2 compliant. This is all handled at the operating system level, not in Visual Studio.


I have visual studio express 2012 and MSSQL express installed. How do I enable Visual studio to use the appropriate encryption algorithms so I can compile code?

This makes no sense at all because there is no encryption that Visual Studio uses at any time during the build process. The FIPS compliance policy covers Windows, not Visual Studio. Targets are not encrypted when built by Visual Studio or the command line compilers.

What default hashing or encryption does VB.net use in application development?

None. There's no such thing.

Unable to write to output file 'C:\Users\JoeDoe\Documents\Visual Studio 2012\Projects\Hotel Room Selection\Hotel Room Selection\obj\Release\Hotel Room Selection.pdb'

Well, this error usually has nothing to do with encryption at all. Close Visual Studio and reopen it. Open your project but DO NOT COMPILE IT. Do not do anything, but look at the Errors window. Chances are really good that your project is missing one or more files.
   

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