I'm a newbie to DPlot and VS2005. I planned on starting an example using Project1.net as a starting point. Per VS2005 documentation I copied the files to a new location and opened the project. When i try and run the project I get the following Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
The example project ran fine before I copied it to a new spot. Is this related to the fact that I have a trial version of DPlot? (In the process of purchasing a license) Or is there some other issue here?
Using example VB.net project as a template (security issue)
Moderator: DPlotAdmin
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
That's not due to anything I've done in the example... at least not intentionally. And it is unrelated to the trial version vs. the licensed version. I'll have to look into this more. The only thing that I can think of at the moment is that you don't have permission to write to the folder where the project is located. But I'd think if that were the problem you couldn't have copied the project there in the first place.
Visualize Your Data
support@dplot.com
support@dplot.com
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
I was probably being thickheaded before; it occurs to me that the problem might be in the Form_Load event with the ChDir command. The example changes the working directory to 3 levels above the project folder, where dplotlib.dll is located. If your project isn't at least 3 levels below the root, then this will at the very least give you an error message.
Visualize Your Data
support@dplot.com
support@dplot.com