application configuration is incorrect error using VB in VS2010

ล็อกแล้ว application configuration is incorrect error using VB in VS2010

  • 18 กันยายน 2554 5:10
     
     

    I have recently downloaded and installed VS2010 evaluation copy. I loaded a VS2002 programme I have been working on and until today it compiled and ran fine. Now I get this error. "Error while trying to run project: Unable to start programme "c:\CreateF1Screens\bin\CreateF1Screens.exe.

    This application has failed to start because the application configuration is incorrect. Review etc etc"

    Done what it suggested - still errors.

    Any ideas?

    Ted

ตอบทั้งหมด

  • 19 กันยายน 2554 6:16
     
     

    hi,

     

    did you convert the source?

    or you maybe check your References / Application Reference.

     

     


    Regards, Ryan Lambatan
    Please "Mark as Answer" or "Vote as Helpful"
  • 19 กันยายน 2554 13:28
     
     
    did you convert the source?

    or you maybe check your References / Application Reference.


    Also try "clean" and then "rebuild" your project. (in the build menu )

    Please mark those posts as answer which answers your question. Faraz
  • 19 กันยายน 2554 14:54
    ผู้ดูแล
     
     

    Check the project target framework, I think it uses .Net 1.0 as its target. Please ensure you have installed the .Net 1.0 in your machine. And if it is possible, I recommed you to upgrade this project to .Net 2.0 or 4.0 target.

    Sincerely,


    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • 16 สิงหาคม 2555 1:18
     
     

    I ran into this recently.  There is something wrong in your app.config file.  Who knows what it is.  I opened MyProject and added a seeting on the settings tab.  This rewrote the app.config file, and my application started working.

    Todd