Page 1 of 1

FileIOPermission

Posted: Tue Aug 07, 2007 4:50 am
by abs
where should i set StiOptions.Engine.FullTrust=false

thanks

FileIOPermission

Posted: Tue Aug 07, 2007 6:36 am
by Guest
You can set

Code: Select all

Stimulsoft.Report.StiOptions.Engine.FullTrust = false;
for example, on page load, before call all methods.

P.S. In the partial trust mode you can't load file, besause IO operations in this mode is limited.

Thank you.

FileIOPermission

Posted: Tue Aug 07, 2007 7:16 am
by abs
i got syntax error, when i set Stimulsoft.Report.StiOptions.Engine.FullTrust = false;

'Stimulsoft.Report.StiOptions.Engine' does not contain a definition for 'FullTrust'

FileIOPermission

Posted: Tue Aug 07, 2007 9:44 am
by Guest
Possibly, you use the older version of StimulReport, which hasn't FullTrust option. If so, try to download one of the last build. Then you must refresh GAC:
1. remove older dll (Start - Control Panel - Administrative Tools - Microsoft .NET Framework 2.0 Configuration - Manage the Assembly Cache -View List of Assemblies in the Assembly Cache)
2. add new (Start - Control Panel - Administrative Tools - Microsoft .NET Framework 2.0 Configuration - Manage the Assembly Cache - Add an Assembly to the Assembly Cache)

If your application has a reference to Stimulsoft.Report.dll and in GAC you also have Stimulsoft.Report.dll then all must work.

Thank you.

FileIOPermission

Posted: Wed Aug 08, 2007 8:00 am
by abs
i use StimulReport.Net 2007.1 Trial version

still i get the error message

'Stimulsoft.Report.StiOptions.Engine' does not contain a definition for 'FullTrust'

Which Build Should I Use to resolve this problem?

Thank You

FileIOPermission

Posted: Wed Aug 08, 2007 8:18 am
by Brendan
Hi,
You can find the latest trial pre-releases here:
http://www.stimulsoft.com/DownloadsSR.aspx

Then follow Pavel's instructions on registering new dll's to the GAC