help! can not create any project in visual c++ 2005 express edition

when i try to generate any project in visual c++ 2005 express edition, it always told me that the operation could not be completed and can not find the required module!

Answer this question

help! can not create any project in visual c++ 2005 express edition

  • J Ma

    i use Menu selection New | Project | and then select a installed template such as CLR empty project. After I give the name to project and press the button OK. I got the error "the operation could not be completed and can not find the required module!".
  • greenleaves

    Lejing wrote:
    i use Menu selection New | Project | and then select a installed template such as CLR empty project. After I give the name to project and press the button OK. I got the error "the operation could not be completed and can not find the required module!".

    Thank you. It looks like there might be a problem with your installation.

    Two questions (with many parts [;-):

    1. Any Project That Works

    Select New | Project ...

    with General project type and Empty Project template.

    Project name "Hello" (or other simple project name, in Roman letters)

    Location: the default used by the installed VC++
    (should be "%HOMEPATH%\My Documents\Visual Studio 2005\Projects"
    where %HOMEPATH% is your local counterpart of the active user directory,
    such as "C:\Documents and Settings\orcmid")

    Create directory from solution is not checked.

    Does this simplest case work

    2. How VC++ Was Installed and Starts Up

    Did you install VC++ 2005 Express Edition from

    • the Web
    • a downloaded CD-ROM image
    • a CD-ROM obtained another way (with a book, etc.)

    Did you install everything (MSDN library, SQL 2005 Express Edition)

    Did you install under the account that you are now using it from

    Are you now running as administrator or as limited user

    When you ran VC++ the first time in the current account, were you running as administrator (to allow settings and configuration to be completed, if needed)

    When you start VC++, are there any tones or beeps from your PC during the start-up

    3. Standard Advice

    I think the typical advice is to uninstall and then reinstall VC++ 2005.

    I recommend that you obtain a full CD-ROM, if you do not have one, so that you can restore VC++ and also change the configuration in the future.

    There are other items that we might check first. Let us know what you choose to do. Also, others who have seen this problem may have advice about remedies that worked for them. I have not personally observed this condition.

    - Dennis



  • erik v

    Thank you for your reply:

    I uninstalled the vc++ 2005 express edition. then installed the Visual Studio 2005 prof and just installed the C++ component.

    I can create any project except for CLR template projects.


  • Nojjy

    the Microsoft .NET Framework SDK v2.0 is installed


  • Ashwani Kumar Verma

     Lejing wrote:

    I can create any project except for CLR template projects.

     

     Lejing wrote:

    the Microsoft .NET Framework SDK v2.0 is installed

     

    Ahah! 

    1. There is a difference in how the CLR templates work.

    I just did the following:

    New | Project ... with CLR project type and the CLR Console Application project template.

    What happened, after I named the project ("ClrCon") and clicked OK, is the following Norton AntiVirus alarm:

    Malicious script detected
    High Risk
    Your computer is halted and needs to do something about this script.
    Object: FileSystem Object
    Activity: GetSpecialFolder
    File: VCExpress.exe

    I usually allow the entire script once.  Other options are to quarantine the script and to authorize the script.  Authorization fails, because I am a limited user, so I will allow the entire script once. 

    Once I do that, I get an initial project that wants to use pre-compiled headers and uses the C++/CLI template for main(), filled out with a default Unicode Hello World body.

    [I just see one reason why I prefer the C++/CLI approach over Java/C#, and that has to do with supporting plain functions and procedures as well as objects.  It's not persuasive, but it makes for a better learning progression, in my opinion.]

    2. An Experiment for You:

    Is it possible that you have antivirus or other security provisions in place that prevent running of local scripts from applications

    Is it possible that the script has been previously quarantined and is silently being prevented from running

     - Dennis

    PS: I'm not sure why authorization fails, but I think it might have to do with the limited privileges I am running under.  I do have evidence that NAV is a bit hair-triggered with regard to locally running scripts.



  • Brandan C

    Lejing wrote:

    I uninstalled the vc++ 2005 express edition. then installed the Visual Studio 2005 prof and just installed the C++ component.

    I can create any project except for CLR template projects.

    I'm curious about one thing. Can you determine that the .NET 2.0 Framework and SDK were installed on your machine



  • Mark Delderfield

    Lejing wrote:
    when i try to generate any project in visual c++ 2005 express edition, it always told me that the operation could not be completed and can not find the required module!

    Please. This is not enough information to visualize what is happening.

    What operation, please

    Are you using Menu selection New | Project | ... Or is it later

    - orcmid



  • help! can not create any project in visual c++ 2005 express edition