where should i set StiOptions.Engine.FullTrust=false
thanks
FileIOPermission
FileIOPermission
You can set 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.
Code: Select all
Stimulsoft.Report.StiOptions.Engine.FullTrust = false;
P.S. In the partial trust mode you can't load file, besause IO operations in this mode is limited.
Thank you.
FileIOPermission
i got syntax error, when i set Stimulsoft.Report.StiOptions.Engine.FullTrust = false;
'Stimulsoft.Report.StiOptions.Engine' does not contain a definition for 'FullTrust'
'Stimulsoft.Report.StiOptions.Engine' does not contain a definition for 'FullTrust'
FileIOPermission
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.
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
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
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
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
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