Thursday, February 16, 2012

Can a Framework 2.0 compiled DPE run from SRS 2000?

Is it possible to run a framework 2.0 compiled data processing extension from
SRS 2000? It looks like the ReportServer script mapping is to framework 1.1.
We are not ready to upgrade to SRS2005, but would like to build our DPE with
framework 2.0.
Is this possible, and if so, what issues may there be?
Thanks, DavidI have never tried this, but my guess is that you will run into some
.NET framework versioning problems. By definition, the framework will
not let a .NET 1.1 assembly make a call to an assembly compiled with a
version higher than 1.1. However, a .NET 2.0 assembly may call a 1.1
(or prior) assembly.
In other words, .NET is backwards compatible, but not "forwards
compatible." So, since the .NET portion of SRS 2000 is running on 1.1,
you probably cannot reference a 2.0 assembly.
I hope that helps. Like I said, I've never tried, but my gut reaction
is, no, it won't work.
-Jason
David Swanson wrote:
> Is it possible to run a framework 2.0 compiled data processing extension from
> SRS 2000? It looks like the ReportServer script mapping is to framework 1.1.
> We are not ready to upgrade to SRS2005, but would like to build our DPE with
> framework 2.0.
> Is this possible, and if so, what issues may there be?
> Thanks, David|||Thanks for Jason's input,
Hi David,
As for the SSRS 2005 extension components running in SSRS 2000 question,
I'm afraid this is not supported due to the limitation of .net framework's
versioning policy. Generally, .net framework only provide backward
compatibility support. Therefore, only .net framework 1.x assemblies can
not loaded and executed in .net framework 2.0 runtime(clr). On the
contrary, .net framework 1.x can still be loaded by .net framework 2.0
runtime (for backward compaitbility), however, there is still possible
issues if the used 1.x classes have any break changes in .net 2.0 classes.
BTW, as for your DP extension, have you already developed it under .net
framework 2.0? If not, I suggest you still develop it through .net
framework 1.1 so as to make it loadable in .net framework 1.x runtime(SSRS
2000).
Please feel free to post here if you have any other concerns or ideas on
this.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)|||Hi David,
How are you doing on this issue, have you got any progress or made the
decision on this issue? If there is still anything we can help, please
feel free to post here.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

No comments:

Post a Comment