[quoted text, click to view] >Does this have to use VB.NET?
No, you can use whatever language you want.
[quoted text, click to view] > Am I missing something? Should I sign the assembly and deploy it to
> the GAC? I can't understand why it finds it on the IDE, but not on the
> server.
No, you don't have to. What is probably missing is granting your assembly
CAS rights in rssrvpolicy.config,e .g.
<CodeGroup class="UnionCodeGroup" version="1"
Name="SecurityExtensionCodeGroup" Description="Code group for the
AdventureWorks Utils library" PermissionSetName="FullTrust">
<IMembershipCondition class="UrlMembershipCondition" version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting
Services\ReportServer\bin\AdventureWorks.dll"
/>
</CodeGroup>
--
HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog:
http://www.prologika.com/ -------------------------------------------------
[quoted text, click to view] <scott.hunley@cox.net> wrote in message
news:1134071050.650651.38270@o13g2000cwo.googlegroups.com...
> Does this have to use VB.NET? The component I am using is written in
> C#. I am trying to the code that I downloaded from your site:
> AdventureWorks.Utils.ConnectionString. I am attempting to check the
> querystring for a parameter (DB=name) to decide which connection string
> to pull from the web.config file on the Report Server. Currently I
> just have it where it should default to returning me the connection
> string that I have declared as a constant, just to prove that it works
> on the server. However, I am getting the following error when I deploy
> the report and try to run it:
>
> An error has occurred during report processing.
> Error during processing of the ConnectString expression of datasource
> 'AdventureWorksPrivate'.
>
> I deployed the private assembly to the bin folder on the report server:
>
> C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting
> Services\ReportServer\bin
>
> Am I missing something? Should I sign the assembly and deploy it to
> the GAC? I can't understand why it finds it on the IDE, but not on the
> server.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Scott
>