I am trying to get the "PrinterDeliverySample" Extension sample to work. I
assume that the result of compiling then deploying (following all of the
deployment steps) will be another option titled "Printer Delivery Sample" in
the subscription page.
I compiled the solution and copied the .dll to the appropriate directories
then made the updates to the respective files:
RSReportServer.config
---
<Delivery>
<Extension Name="Printer Delivery Sample"
Type="Microsoft.Samples.ReportingServices.PrinterDeliverySample.PrinterDeliveryProvider,Microsoft.Samples.ReportingServices.PrinterDeliverySample">
<Configuration>
<Printers>
<Printer>\\MED-FP-001\MED-PR-LIC01</Printer>
<Printer>\\MED-FP-001\MED-PR-DLP01</Printer>
</Printers>
</Configuration>
</Extension>
---
RSWebApplication.config
--
...
<Extensions>
<DeliveryUI>
<Extension Name="Printer Delivery Sample"
Type="Microsoft.Samples.ReportingServices.PrinterDeliverySample.PrinterDeliveryProvider,Microsoft.Samples.ReportingServices.PrinterDeliverySample"/>
--
rsmgrpolicy
--
...
version="1"
PermissionSetName="CodeGenDirPermissionSet">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="$CodeGen$/*"
/>
</CodeGroup>
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="PrinterDeliveryCodeGroup"
Description="Code group for my delivery extension">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer\bin\Microsoft.Samples.ReportingServices.PrinterDeliverySample.dll"
/>
</CodeGroup>
--
rssrvrpolicy.config
--
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="$CodeGen$/*"
/>
</CodeGroup>
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="PrinterDeliveryCodeGroup"
Description="Code group for my delivery extension">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer\bin\Microsoft.Samples.ReportingServices.PrinterDeliverySample.dll"
/>
</CodeGroup>
---Can anyone help here?
"DaveM" wrote:
> I am trying to get the "PrinterDeliverySample" Extension sample to work. I
> assume that the result of compiling then deploying (following all of the
> deployment steps) will be another option titled "Printer Delivery Sample" in
> the subscription page.
> I compiled the solution and copied the .dll to the appropriate directories
> then made the updates to the respective files:
> RSReportServer.config
> ---
> <Delivery>
> <Extension Name="Printer Delivery Sample"
> Type="Microsoft.Samples.ReportingServices.PrinterDeliverySample.PrinterDeliveryProvider,Microsoft.Samples.ReportingServices.PrinterDeliverySample">
> <Configuration>
> <Printers>
> <Printer>\\MED-FP-001\MED-PR-LIC01</Printer>
> <Printer>\\MED-FP-001\MED-PR-DLP01</Printer>
> </Printers>
> </Configuration>
> </Extension>
> ---
>
> RSWebApplication.config
> --
> ...
> <Extensions>
> <DeliveryUI>
> <Extension Name="Printer Delivery Sample"
> Type="Microsoft.Samples.ReportingServices.PrinterDeliverySample.PrinterDeliveryProvider,Microsoft.Samples.ReportingServices.PrinterDeliverySample"/>
> --
> rsmgrpolicy
> --
> ...
> version="1"
> PermissionSetName="CodeGenDirPermissionSet">
> <IMembershipCondition
> class="UrlMembershipCondition"
> version="1"
> Url="$CodeGen$/*"
> />
> </CodeGroup>
> <CodeGroup
> class="UnionCodeGroup"
> version="1"
> PermissionSetName="FullTrust"
> Name="PrinterDeliveryCodeGroup"
> Description="Code group for my delivery extension">
> <IMembershipCondition
> class="UrlMembershipCondition"
> version="1"
> Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportServer\bin\Microsoft.Samples.ReportingServices.PrinterDeliverySample.dll"
> />
> </CodeGroup>
> --
> rssrvrpolicy.config
> --
> class="UnionCodeGroup"
> version="1"
> PermissionSetName="FullTrust">
> <IMembershipCondition
> class="UrlMembershipCondition"
> version="1"
> Url="$CodeGen$/*"
> />
> </CodeGroup>
> <CodeGroup
> class="UnionCodeGroup"
> version="1"
> PermissionSetName="FullTrust"
> Name="PrinterDeliveryCodeGroup"
> Description="Code group for my delivery extension">
> <IMembershipCondition
> class="UrlMembershipCondition"
> version="1"
> Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportServer\bin\Microsoft.Samples.ReportingServices.PrinterDeliverySample.dll"
> />
> </CodeGroup>
> ---
>
>
No comments:
Post a Comment