Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS2013 FIPS Error

VS2013 FIPS Error

Scheduled Pinned Locked Moved Visual Studio
wpfhelpquestioncsharp
9 Posts 3 Posters 34 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #1

    I started a new WPF app, and when I compile it, I get this error in the XAML files.

    Unknown build error, 'This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.

    I'm on a DoD system, so I don't think I'll be able to disable FIPS, so how do I fix it?

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    Richard DeemingR 1 Reply Last reply
    0
    • realJSOPR realJSOP

      I started a new WPF app, and when I compile it, I get this error in the XAML files.

      Unknown build error, 'This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.

      I'm on a DoD system, so I don't think I'll be able to disable FIPS, so how do I fix it?

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Can you modify the msbuild.exe.config file, or get someone to do it for you?

      Can't build a wpf project on a FIPS enabled system[^]:

      You should add the same entry, namely

      <enforceFIPSPolicy enabled="false"/>

      to the config file for msbuild; typically that's found at C:\Windows\Microsoft.Net\Framework\v4.0.30319\msbuild.exe.config


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      realJSOPR 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Can you modify the msbuild.exe.config file, or get someone to do it for you?

        Can't build a wpf project on a FIPS enabled system[^]:

        You should add the same entry, namely

        <enforceFIPSPolicy enabled="false"/>

        to the config file for msbuild; typically that's found at C:\Windows\Microsoft.Net\Framework\v4.0.30319\msbuild.exe.config


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        I think I read that this doesn't work for VS2013.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        Richard DeemingR 1 Reply Last reply
        0
        • realJSOPR realJSOP

          I think I read that this doesn't work for VS2013.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          Further down the thread, it suggests you might also need to modify the config file in C:\Program Files (x86)\MSBuild\12.0\Bin; I've also got a copy under 14.0\Bin. Failing that, check Task Manager (if you're allowed to!) to find the path of the running MSBuild.exe process, and look for the config file there.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          realJSOPR 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Further down the thread, it suggests you might also need to modify the config file in C:\Program Files (x86)\MSBuild\12.0\Bin; I've also got a copy under 14.0\Bin. Failing that, check Task Manager (if you're allowed to!) to find the path of the running MSBuild.exe process, and look for the config file there.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            Richard Deeming wrote:

            if you're allowed to

            DoD system. The FIPS setting is part of the group policy. I don't have admin rights, so I can't do it, but I don't think even the admins can change it. I'm waiting on an answer... The weird thing is that console and Winform apps don't do this, and I can run existing WPF apps without an issue...

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            Richard DeemingR 1 Reply Last reply
            0
            • realJSOPR realJSOP

              Richard Deeming wrote:

              if you're allowed to

              DoD system. The FIPS setting is part of the group policy. I don't have admin rights, so I can't do it, but I don't think even the admins can change it. I'm waiting on an answer... The weird thing is that console and Winform apps don't do this, and I can run existing WPF apps without an issue...

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #6

              From what I've read, it's an msbuild + WPF bug, which would explain why it doesn't affect existing WPF applications, or other application types. With the config file change, you should be able to disable the FIPS policy checking for msbuild, without affecting the rest of the computer. Hopefully that should make it easier to get past the security goons. :)


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              realJSOPR 1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                From what I've read, it's an msbuild + WPF bug, which would explain why it doesn't affect existing WPF applications, or other application types. With the config file change, you should be able to disable the FIPS policy checking for msbuild, without affecting the rest of the computer. Hopefully that should make it easier to get past the security goons. :)


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #7

                Someone deep in the bowels of the IT dept fixed me.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                Richard DeemingR D 2 Replies Last reply
                0
                • realJSOPR realJSOP

                  Someone deep in the bowels of the IT dept fixed me.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                  Richard DeemingR Offline
                  Richard DeemingR Offline
                  Richard Deeming
                  wrote on last edited by
                  #8

                  But did they have time to look at your computer as well? :-D


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Someone deep in the bowels of the IT dept fixed me.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #9

                    The funny part is Microsoft has been recommending against using FIPS for the last few years.

                    Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
                    Dave Kreskowiak

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups