TJudge

I've just started working with this version of Visual studio. We are interested in profiling our application, so I thought that the People Trax example would be a good place to start learning this, but I'm having a problem running Performance Tools on it. I downloaded and opened up the People Trax solution but when I select Performance Tools > Performance Wizard, I get the error box "That assembly does not allow partially trusted callers." Do I have some setting wrong The help on "partially trusted callers" seems to have nothing to do with what I am currently doing. If it matters at all, I am running over a remote desktop connection.

Thanks in advance for any advice you can provide.



Re: Visual Studio Performance Tools (Profiler) Performance Tools Troubles

Ian Huff

TJudge,

This is a new issue that I have not seen before. Are you seeing this when trying to lauch the profiler or just when trying to start up the performance wizard Also have you checked if PeopleTrax launches correctly without the profiler and if this issue also repros not over remote desktop

Thanks,

Ian






Re: Visual Studio Performance Tools (Profiler) Performance Tools Troubles

TJudge

Ian:

Thanks for your reply. The problem occurs when trying to launch the wizard. The PeopleTrax application does launch correctly on its own.

I have since found out that one of my colleagues does not have the same problem when trying to launch the performance wizard (remotely, on the same computer and with the same visual studio installation) and that the "partially trusted callers" error also comes up for me if I select Tools > Import and Export Settings ... So, I have to assume that I have some setting that it doesn't like.

We have resorted to having this colleague set up a perfomance session and then close the project. Then I go in and access the same project. The performance session will be available and I can launch the profiler.

TJ





Re: Visual Studio Performance Tools (Profiler) Performance Tools Troubles

Ian Huff

TJ,

With you seeing the same error when going to Tools->Import and Export Settings I'm pretty sure that this is an error with configuration as opposed to an error with the profiler. Since this works for your co-worker have you verified that both of you are running at the same user level I.e. are you both admins (or running VS as an admin) on the machine that you are seeing this error on That's the only thing that I can think to check offhand.

~Ian






Re: Visual Studio Performance Tools (Profiler) Performance Tools Troubles

TJudge

That was the first thing we checked. We are both admins on that machine.

I don't generally play around with the preferences. We all have to have the same library, etc. paths here, so that mustn't be the issue. The only thing that I've ever knowingly changed is the keyboard mapping scheme to VC++ 6. I wouldn't think that would be the problem.

TJ