Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1216 Causes Startup Error w/ CodeSmith 2.5
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jdonnici
New Member

3 Posts

Posted - Feb 28 2004 :  3:04:30 PM  Show Profile
Early in the week I installed the latest release of the CodeSmith add-in -- v2.5.

At startup, it throws an error:

System.UnauthorizedAccessException: Access is denied.
at EnvDTE.Command.get_Name()
at CodeSmith.VisualStudio.AddIn.CodeSmithExplorerAddIn.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom).

In trying to track it down, I disabled all my other add-ins and it was fine. I added them back in, one at a time, and enabling VAX 1216 was the one that triggers the error.

I've node idea what the underlying scoop is and I have reported it to the author of CodeSmith as well. He's going to look into it also, but I wanted to give you guys the heads up, as I hope to be able to use both down the road.

Thanks,

JD

FYI -- WinXP Pro - All Updates, with VS.NET 2003

support
Whole Tomato Software

5566 Posts

Posted - Apr 30 2004 :  10:18:16 AM  Show Profile
Will be fixed in 1234.

Other addin's really should put a try{} around EnvDTE.Command.get_Name() because some of the VS.NET commands are securely protected. We rearranged VA's code so that the objects that contain these protected commands are no longer loaded at startup, hence fixing the exceptions in the addins.

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000