Menu

Access denied when launching the add-in

Help
ixe13
2007-05-17
2013-04-24
  • ixe13

    ixe13 - 2007-05-17

    Hello, I installed the doxycomment plug-in in a RTM version of Visual Studio 2005 Enterprise, US English version. I changed the original installation path to "C:\Program Files\Doxycomment" when given the opportunity to do so. It installed without any warnings or errors.

    But when I launch the plug-in, I get an "Access Denied" error. The folders are registered correctly in my VS2005 settings. I took a screenshot of the error message and placed it here :

    http://ixe013.googlepages.com/doxycomment.JPG

    Anything idea on where to debug that ? Thank you !

    ixe013

     
    • Troels Gram

      Troels Gram - 2007-05-18

      It looks like Visual Studio is trying to load the add-in from a different location than you specified. You mentioned that you changed the installation path to be "c:\program files\doxycomment" and yet Visual Studio still tries to load the add-in from "c:\program files\DoxyComment add-in for Visual Studio 2005". I have verified that installation to other directories works just fine.

      Try to reinstall the add-in to the default location and verify everything works (note: you must uninstall the old one first).

       
    • ixe13

      ixe13 - 2007-05-22

      Thank you, but that difference in name is really just me being lazy typing the whole thing.

      I installed Visual Studio SP1 and I still have the problem, but now it is a file not found error.
      http://ixe013.googlepages.com/doxycomment2.JPG

      When I go in the "About box" (something like that, I don't have VS2005 installed over here), I see Doxycomment the installed product list.

      It looks like a fundamental issue... I have installed and reinstalled several times over, logging out and back in again most of the time. I only have .Net version 1.1 and 2 installed. I will install .Net version 3 and see what happens.

      I will keep you posted on my results.

       
      • Troels Gram

        Troels Gram - 2007-05-22

        DoxyComment requires only the .NET Framework 2.0.

        I have tried installing and uninstalling to different location many times without any problems. I think the error is related to an exception in DoxyComment during startup. The only advice I can give you is to get the source code and try to debug the problem in Visual Studio yourself. Visual Studio makes it possible to debug add-ins in a second instance of Visual Studio, which can be quite handy to find problems like this.

         
        • ixe13

          ixe13 - 2007-05-23

          I will try to debug the extension. I know the drill, I developped custom wizards and extensions in Visual Studio 5 and 6. Brushing up my C# will be the hardest part ;).

          I'll get back to you sometime next week.

          Thank you for your time !

           
    • ixe13

      ixe13 - 2007-06-09

      I found what is wrong. It's not you, it's me.

      I was getting nowhere with my debugging. So I started fresh with a super simple add-in, following a step by step guide for dummies (http://msdn2.microsoft.com/en-us/library/f7fb383x(VS.80).aspx)

      Turns out that simple generated add-in has the same problem ! So it must be my Visual Studio installation that is messed up somehow.

      I will reinstall VS, it should fix it. Thank you !

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.