locked
Can't create a new Project with VS 2010 RRS feed

  • Question

  • I am having an issue with VS 2010 on windows vista 32 bit. I try to create a new project and i just get the error:

    "Access to the path 'C:\Users\<myusername>\AppData\Local\Temp\l4uwxuvv.1fl\Temp\WindowsFormsApplication1.csproj' is denied.

     

    Now what?

    Friday, March 25, 2011 4:34 PM

Answers

  • Hi mscheaf,

    Welcome to the MSDN Forum.

    There are several things I would like to clarify with you:

    • Did you run the Visual Studio 2010 with Administrator privilege (right-click the program -> Run as administrator)?
    • Have you tried to create the project in other folder/partition?

    To resolve the Visual Studio IDE issues, we can collect the log files and analyze them. Would you please follow the steps below to get the log files?

    1. Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010  -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
    2. Enable Visual Studio log to logs all activity to the specified log path.Please try running Devenv.exe /log <log path> in Command Prompt, the log files will be generated in the <log path>. Then you can check and analyze the log file to see if there is anything incorrect.

    Also, please try:

    • Running devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
    • Reboot the machine into Safe Mode. This can isolate some third party application/driver's interference.
    • Switch to try a new user account. This can rule out the possibility of corrupted user profile.

    Additionally, another useful tool is the Process Monitor tool:
    http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx which can capture the access log.
    Filter on the process name devenv.exe in the log so that you see only the related list.
    This should give you more info on what are the registry keys/ files being accessed when the error happens.

    If you have any concerns, please feel free to let me know.

    Best Regards,


    Andrew Wu [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.

    • Marked as answer by Andrew.Wu Sunday, April 3, 2011 1:50 PM
    Monday, March 28, 2011 6:14 AM