This is a migrated thread and some comments may be shown as answers.

Security exception issue

2 Answers 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
francois
Top achievements
Rank 1
francois asked on 24 Mar 2011, 06:37 PM
Hi,

I'm trying to edit a row of a gridview in my xbap. If I run my application in full trust mode I don't have any problem, but if I run it in partial trust mode I always get a security exception

Locating source for 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs'. Checksum: MD5 {b c4 c7 29 2c b1 86 4f e7 9a ae 68 9f bb e1 f1}
The file 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs' does not exist.
Looking in script documents for 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs'...
Looking in the projects for 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs'.
The file was not found in a project.
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs.
The debugger could not locate the source file 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.cs'.

I' m running the project on visual studio 2010 sp1, any help will be greatly appreciated since I really don't know what is happening


François

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 25 Mar 2011, 08:05 AM
Hi,

 How the grid is bound in your case? Do you have any custom styles and/or templates? Our demos are also with partial trust however everything is working as expected. 

Kind regards,
Vlad
the Telerik team
0
francois
Top achievements
Rank 1
answered on 28 Mar 2011, 04:42 PM
Hi Vlad,

thank you for your answer, It seems that the issue was created by launching the project directly from visual studio. When I launched the project directly from the browser the problem seems to disapear.

Francois
Tags
GridView
Asked by
francois
Top achievements
Rank 1
Answers by
Vlad
Telerik team
francois
Top achievements
Rank 1
Share this question
or