The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

doracer (1) [Avatar] Offline
#1
I've followed your directions, but keep getting this security error message. We're using vs2003 with a windows 2003 server. Works fine in vs, but will not work when deployed to the server.
Had to run vjredist.exe for java. Modified the rssrvpolicy.config file as follows:
<SecurityClass Name="VJSPermission" Description="com.ms.vjsharp.util.VJSPermission, vjslib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<PermissionSet >
class="NamedPermissionSet"
version="1"
Unrestricted="true"
Name="MyPermissionSet">
<IPermission >
class="VJSPermission"
version="1"
Flags="FullTrust"
/>
</PermissionSet>
<CodeGroup >
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="AWCLibrary">
<IMembershipCondition >
class="UrlMembershipCondition"
version="1"
Url="Csmilierogram FilesMicrosoft SQL ServerMSSQLReporting ServicesReportServerinAWC.RS.Library.dll"
/>
</CodeGroup>
<CodeGroup >
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="OpenForecast">
<IMembershipCondition >
class="UrlMembershipCondition"
version="1"
Url="Csmilierogram FilesMicrosoft SQL ServerMSSQLReporting ServicesReportServerinOpenForecast.dll"
/>


Exception: System.Security.SecurityException: Security error.
at net.sourceforge.openforecast.DataSet..ctor()
at AWC.RS.Library.RsLibrary.GetForecastedSet(Double[] dataSet, Int32 numberForecastedPoints)
at CustomCodeProxy.GetValue(Int32 productCategoryID, DateTime orderDate, Double sales, Parameters reportParameters, TextBox txtRange)