all groups > sql server reporting services > may 2006 >
You're in the

sql server reporting services

group:

errors in rssrvpolicy.config


errors in rssrvpolicy.config taz
5/5/2006 3:24:01 AM
sql server reporting services:

i was tweaking the <CodeGroup> sections in rssrvpolicy.config
last week and seem to have corrupted something. i get 100
errors as below.

can anyone please help (or send me a default-install version of
the file).

thanks.

t.

---

Could not find schema information for the element 'policy'.
Could not find schema information for the element 'PolicyLevel'.
Could not find schema information for the attribute 'version'.
Could not find schema information for the element 'SecurityClasses'.
Could not find schema information for the element 'SecurityClass'.
Could not find schema information for the attribute 'Name'.
Could not find schema information for the attribute 'Description'.
Could not find schema information for the element 'SecurityClass'.
Could not find schema information for the attribute 'Name'.
Could not find schema information for the attribute 'Description'.
Could not find schema information for the element 'SecurityClass'.
Could not find schema information for the attribute 'Name'.
Could not find schema information for the attribute 'Description'.
Could not find schema information for the element 'SecurityClass'.
Could not find schema information for the attribute 'Name'.
Could not find schema information for the attribute 'Description'.
Could not find schema information for the element 'SecurityClass'.
Could not find schema information for the attribute 'Name'.
Could not find schema information for the attribute 'Description'.

Re: errors in rssrvpolicy.config Thomo
5/5/2006 7:58:29 AM
I have put the contents of the default file here:

<configuration>
<mscorlib>
<security>
<policy>
<PolicyLevel version="1">
<SecurityClasses>
<SecurityClass Name="AllMembershipCondition"
Description="System.Security.Policy.AllMembershipCondition, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="AspNetHostingPermission"
Description="System.Web.AspNetHostingPermission, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="DnsPermission"
Description="System.Net.DnsPermission, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="EnvironmentPermission"
Description="System.Security.Permissions.EnvironmentPermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="FileIOPermission"
Description="System.Security.Permissions.FileIOPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="FirstMatchCodeGroup"
Description="System.Security.Policy.FirstMatchCodeGroup, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass
Name="IsolatedStorageFilePermission"
Description="System.Security.Permissions.IsolatedStorageFilePermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="NamedPermissionSet"
Description="System.Security.NamedPermissionSet"/>
<SecurityClass Name="PrintingPermission"
Description="System.Drawing.Printing.PrintingPermission,
System.Drawing, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
<SecurityClass Name="ReflectionPermission"
Description="System.Security.Permissions.ReflectionPermission,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="RegistryPermission"
Description="System.Security.Permissions.RegistryPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="SecurityPermission"
Description="System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="SocketPermission"
Description="System.Net.SocketPermission, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="SqlClientPermission"
Description="System.Data.SqlClient.SqlClientPermission, System.Data,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass
Name="StrongNameMembershipCondition"
Description="System.Security.Policy.StrongNameMembershipCondition,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="UnionCodeGroup"
Description="System.Security.Policy.UnionCodeGroup, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="UrlMembershipCondition"
Description="System.Security.Policy.UrlMembershipCondition, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="WebPermission"
Description="System.Net.WebPermission, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<SecurityClass Name="ZoneMembershipCondition"
Description="System.Security.Policy.ZoneMembershipCondition, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</SecurityClasses>
<NamedPermissionSets>
<PermissionSet
class="NamedPermissionSet"
version="1"
Unrestricted="true"
Name="FullTrust"
Description="Allows full access to all
resources"
/>
<PermissionSet
class="NamedPermissionSet"
version="1"
Name="Nothing"
Description="Denies all resources,
including the right to execute"
/>
<PermissionSet
class="NamedPermissionSet"
version="1"
Name="Execution">
<IPermission
class="SecurityPermission"
version="1"
Flags="Execution"
/>
</PermissionSet>
</NamedPermissionSets>
<CodeGroup
class="FirstMatchCodeGroup"
version="1"
PermissionSetName="Nothing">
<IMembershipCondition
class="AllMembershipCondition"
version="1"
/>
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="Execution"

Name="Report_Expressions_Default_Permissions"
Description="This code group grants
default permissions for code in report expressions and Code element. ">
<IMembershipCondition

class="StrongNameMembershipCondition"
version="1"

PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100512C8E872E28569E733BCB123794DAB55111A0570B3B3D4DE3794153DEA5EFB7C3FEA9F2D8236CFF320C4FD0EAD5F677880BF6C181F296C751C5F6E65B04D3834C02F792FEE0FE452915D44AFE74A0C27E0D8E4B8D04EC52A8E281E01FF47E7D694E6C7275A09AFCBFD8CC82705A06B20FD6EF61EBBA6873E29C8C0F2CAEDDA2"
/>
</CodeGroup>
<CodeGroup
class="FirstMatchCodeGroup"
version="1"
PermissionSetName="Execution"
Description="This code group grants
Re: errors in rssrvpolicy.config taz
5/5/2006 8:54:02 AM

thanks for that mate. still got the same problem though... any other ideas ?

[quoted text, click to view]
Re: errors in rssrvpolicy.config taz
5/5/2006 9:19:01 AM

weird seems to work now - all i did was remove all references to the
assembly from the expression and now those 100 errors are gone.

i still got the problem of not being able to get to the code in the
assembly though as i am not sure what to put in the class name and instance
bits....

[quoted text, click to view]
Re: errors in rssrvpolicy.config Thomo
5/5/2006 9:26:58 AM
Hmm that is interesting, am I right in assuming you are using the
assembly within a report? ie in an expression field?

If so is the right version of the assembly included under Report
Properties \ References?
Re: errors in rssrvpolicy.config taz
5/8/2006 1:45:02 AM

yes i am using the assembly within a report in an expression field.

there is only one version of the assembly, each time i rebuild i dont
change the version number as this is just a test assembly to prove
the concept. could that be the problem ...

[quoted text, click to view]
AddThis Social Bookmark Button