Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Registering a Data Processing Extension

369 views
Skip to first unread message

Munk@discussions.microsoft.com ALex Munk

unread,
Jul 2, 2004, 12:46:01 PM7/2/04
to
I created an DPE When I attempt to use it in a report is get the following message:
"An attempt has been made to use a data extension 'AR' that is not registered for this report server. (rsDataExtensionNotFound) "

I created the following entries:

In RSReportServer.Config and in RSReportDesigner.Config:
<Extension Name="AR" Type="Abc.Efg.Xyz.ARDPE.ARConnection,Abc.Efg.Xyz.ARDPE.ARDPE" />

In srsrvpolicy.config
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="ARCodeGroup"
Description="This code group grants AR full trust. ">
<IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\Abc.Efg.Xyz.ARDPE.dll" />
</CodeGroup>

I also copied the Abc.Efg.Xyz.ARDPE.dll to C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\ directory.

Do I need to do anything else to register the DPE?

Please help.

Regards,
Alex

Bryan Keller [MSFT]

unread,
Jul 2, 2004, 2:33:51 PM7/2/04
to
Your extension element Type should be:

<Extension Name="AR" Type="Abc.Efg.Xyz.ARDPE.ARConnection,Abc.Efg.Xyz.ARDPE"
/>

It appears you have an extra ARDPE at the end. The second value of the comma
separated type attribute is simply the name of the dll without the file
extension.
--
Bryan Keller
Developer Documentation
SQL Server Reporting Services

A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.


"ALex Munk" <ALex Mu...@discussions.microsoft.com> wrote in message
news:0178B42F-AAD6-47F8...@microsoft.com...

ALex Munk

unread,
Jul 2, 2004, 2:51:02 PM7/2/04
to
Thakyou Bryan, this is just a typo in my email, the duplicate ARDPE does not exist in the config files.

Bryan Keller [MSFT]

unread,
Jul 2, 2004, 6:34:07 PM7/2/04
to
In that case everything looks good to go. Where did you place the code group
in the policy file? Under what other code group?

--
Bryan Keller
Developer Documentation
SQL Server Reporting Services

A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.


"ALex Munk" <ALex...@discussions.microsoft.com> wrote in message
news:B970A222-879F-4DE9...@microsoft.com...

Bryan Keller [MSFT]

unread,
Jul 2, 2004, 6:34:39 PM7/2/04
to
Also, check the report server log files and please post any error messages
you see.

--
Bryan Keller
Developer Documentation
SQL Server Reporting Services

A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.

"ALex Munk" <ALex...@discussions.microsoft.com> wrote in message
news:B970A222-879F-4DE9...@microsoft.com...

Bryan E.

unread,
Sep 16, 2004, 5:11:02 PM9/16/04
to
I have a related issue. that benerates the Same error:
An error has occurred during report processing. (rsProcessingAborted)
An attempt has been made to use a data extension 'DATASET' that is not
registered for this report server. (rsDataExtensionNotFound)

My rssrvpolicy.config has this setting:


<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust"

Name="AWCExtensionsCodeGroup">


<IMembershipCondition class="UrlMembershipCondition" version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting

Services\ReportServer\bin\AWC.RS.Extensions.dll" />
</CodeGroup>

my RSReportServer.config has this setting:
<Extension Name="DATASET"
Type="AWC.RS.Extensions.DataExtensions.DsConnectionWrapper,AWC.RS.Extensions"/>

I also copied the AWC.RS.Extensions.dll into the

C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer\bin

Directory.

Here is the Error from the Reportserver{Date}.LOG:

aspnet_wp!library!6a0!09/16/2004-16:56:07:: i INFO: Call to RenderFirst(
'/ReportTest/TermPartXML' )
aspnet_wp!extensionfactory!6a0!9/16/2004-16:56:08:: e ERROR: Exception
caught instantiating report server extension: System.IO.FileLoadException: ?
File name: "AWC.RS.Extensions"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(String assemblyString)
at
Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.LoadAssembly(String name)
at
Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.GetNewExtensionInstance(String extensionName, String extensionType)

=== Pre-bind state information ===
LOG: DisplayName = AWC.RS.Extensions
(Partial)
LOG: Appbase = file:///C:/Program Files/Microsoft SQL Server/MSSQL/Reporting
Services/ReportServer
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: AWC.RS.Extensions
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/reportserver/94eb9a55/49df36c9/AWC.RS.Extensions.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/reportserver/94eb9a55/49df36c9/AWC.RS.Extensions/AWC.RS.Extensions.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL
Server/MSSQL/Reporting Services/ReportServer/bin/AWC.RS.Extensions.DLL.
.
aspnet_wp!processing!6a0!9/16/2004-16:56:08:: e ERROR: The connection object
of the data source type DATASET does not implement any of the required
interfaces.
aspnet_wp!library!6a0!9/16/2004-16:56:08:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.DataExtensionNotFoundException:
An attempt has been made to use a data extension 'DATASET' that is not
registered for this report server., ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.DataExtensionNotFoundException:
An attempt has been made to use a data extension 'DATASET' that is not

registered for this report server.

aspnet_wp!processing!6a0!9/16/2004-16:56:12:: e ERROR: Data source
'TermPartDataSet': An error has occurred. Details:
Microsoft.ReportingServices.Diagnostics.Utilities.DataExtensionNotFoundException:
An attempt has been made to use a data extension 'DATASET' that is not

registered for this report server.

at
Microsoft.ReportingServices.DataExtensions.ReportDataSource.CreateConnection()
at Microsoft.ReportingServices.ReportProcessing.s.a(DataSource A_0, z A_1)
at Microsoft.ReportingServices.ReportProcessing.s.a()
aspnet_wp!processing!6a0!9/16/2004-16:56:12:: e ERROR: An exception has
occurred in data source 'TermPartDataSet'. Details:
Microsoft.ReportingServices.Diagnostics.Utilities.DataExtensionNotFoundException:
An attempt has been made to use a data extension 'DATASET' that is not

registered for this report server.

at Microsoft.ReportingServices.ReportProcessing.s.a()
at Microsoft.ReportingServices.ReportProcessing.s.a(Object A_0)
aspnet_wp!processing!6a0!9/16/2004-16:56:12:: e ERROR: An exception has
occurred. Trying to abort processing. Details:
Microsoft.ReportingServices.Diagnostics.Utilities.DataExtensionNotFoundException:
An attempt has been made to use a data extension 'DATASET' that is not

registered for this report server.

at Microsoft.ReportingServices.ReportProcessing.s.a()
at Microsoft.ReportingServices.ReportProcessing.s.a(Object A_0)
aspnet_wp!processing!6a0!9/16/2004-16:56:12:: i INFO: Merge abort handler
called. Aborting data sources ...
aspnet_wp!processing!6a0!9/16/2004-16:56:12:: i INFO: Data source
'TermPartDataSet': Abort handler called. CanAbort = True.
aspnet_wp!processing!6a0!9/16/2004-16:56:12:: i INFO: Abort callback
successful.
aspnet_wp!processing!6a0!9/16/2004-16:56:12:: e ERROR: Throwing
Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An
error has occurred during report processing., ;
Info:
Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An
error has occurred during report processing. --->
Microsoft.ReportingServices.Diagnostics.Utilities.DataExtensionNotFoundException:
An attempt has been made to use a data extension 'DATASET' that is not

registered for this report server.

at Microsoft.ReportingServices.ReportProcessing.s.a()
at Microsoft.ReportingServices.ReportProcessing.s.a(Object A_0)
--- End of inner exception stack trace ---

Bryan E.

unread,
Sep 27, 2004, 5:31:05 PM9/27/04
to
Hi Teo,

Thanks for the guidance. Unfortunatly your attachments seem to have been
removed.

I double checked the RsReportServer.config File... following your directions
in the Word Document attached to the Component. One thing I noted is that my
version of Word replaced the standard Quote with a Back Quote... I though
that may have solved the problem but alas no relief.

I was wondering about the Error log entry: It looks to me like it can;t find
the assembly

Thanks!
...Bryan

> > === Pre-bind state information ===
> > LOG: DisplayName = AWC.RS.Extensions
> > (Partial)
> > LOG: Appbase = file:///C:/Program Files/Microsoft SQL
> Server/MSSQL/Reporting
> > Services/ReportServer
> > LOG: Initial PrivatePath = bin
> > Calling assembly : (Unknown).
> > ===
> >
> > LOG: Policy not being applied to reference at this time (private, custom,
> > partial, or location-based assembly bind).
> > LOG: Post-policy reference: AWC.RS.Extensions
> > LOG: Attempting download of new URL
> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> > Files/reportserver/94eb9a55/49df36c9/AWC.RS.Extensions.DLL.
> > LOG: Attempting download of new URL
> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> >
> Files/reportserver/94eb9a55/49df36c9/AWC.RS.Extensions/AWC.RS.Extensions.DLL

> ..

Bryan E.

unread,
Oct 14, 2004, 2:29:05 PM10/14/04
to
We have solved the problem... it seems that we had an old version of the DLL
deployed to ...\80\tools\Report Designer folder so when we built the Report
Datasources we refrenced the wrong DLL. This caused the Deployment to be
looking for the older DLL.

Thanks for your help with this TEO.

0 new messages