all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

rsmgrpolicy.config - Hardcoded Paths



rsmgrpolicy.config - Hardcoded Paths Benjamin Pierce
8/10/2004 2:00:08 PM
sql server reporting services: Hello,

We're in the process of putting the final polish on our new Delivery =
Extension and were hoping someone would know how to remove the hardcoded =
path in the below snippet of our CodeGroup. Surely there's an $AppPath$ =
variable or something like that?

<CodeGroup=20
class=3D"UnionCodeGroup"
version=3D"1"
PermissionSetName=3D"FullTrust"
Name=3D"MSRSLiveLinkDeliveryCodeGroup"
Description=3D"Code group for LiveLink delivery extension">
<IMembershipCondition=20
class=3D"UrlMembershipCondition"
version=3D"1"
Url=3D"C:\Program Files\Microsoft SQL Server\MSSQL\Reporting =
Services\ReportManager\bin\MSRSLiveLinkDelivery.dll"
/>
</CodeGroup>

Any ideas?


As always, thanks!

Re: rsmgrpolicy.config - Hardcoded Paths Donovan R. Smith [MSFT]
8/10/2004 2:34:59 PM
For UrlMembershipCondition the .NET Framework requires an exact match. You can instead choose to
sign your assemblies and use a StrongNameMembershipCondition instead. MSDN has more information
about this class. You should also check out
http://msdn.microsoft.com/library/?url=/library/en-us/dnsql2k/html/dngrfCodeAccessSecurityInSQLServer2000ReportingServices.asp?frame=true.

--
Thanks.

Donovan R. Smith
Software Test Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]
Hello,

We're in the process of putting the final polish on our new Delivery Extension and were hoping
someone would know how to remove the hardcoded path in the below snippet of our CodeGroup. Surely
there's an $AppPath$ variable or something like that?

<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="MSRSLiveLinkDeliveryCodeGroup"
Description="Code group for LiveLink delivery extension">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportManager\bin\MSRSLiveLinkDelivery.dll"
/>
</CodeGroup>

Any ideas?


As always, thanks!

Benjamin Pierce


AddThis Social Bookmark Button