Friday, February 17, 2012

custom assembly in RS

I'm trying to create a DLL that I can use with:
A) an ASP ("classic" ASP, not .NET)
B) a Reporting Services Report (SQL 2000)
If I build it in VB6, it will work with ASP, but RS gives me the error
"...dll does not contain an assembly"
If I build it in VB.NET, it will work with RS, but ASP gives the error
"can't create activeX component". It WILL work with an ASP.NET page,
but ideally I do not want to rewrite my entire ASP site for .NET just
to make this work.
All that being said, is there any way to write a DLL that will work
for both?
Thanks in advance,
EricNo, there is not. At least not exactly. What you can do is create your
assembly and then create a wrapper for it for your ASP application.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
<c-eric.geil@.mci.com> wrote in message
news:4bb9bbd8-5047-4827-9212-e2a47fde8593@.72g2000hsu.googlegroups.com...
> I'm trying to create a DLL that I can use with:
> A) an ASP ("classic" ASP, not .NET)
> B) a Reporting Services Report (SQL 2000)
> If I build it in VB6, it will work with ASP, but RS gives me the error
> "...dll does not contain an assembly"
> If I build it in VB.NET, it will work with RS, but ASP gives the error
> "can't create activeX component". It WILL work with an ASP.NET page,
> but ideally I do not want to rewrite my entire ASP site for .NET just
> to make this work.
> All that being said, is there any way to write a DLL that will work
> for both?
> Thanks in advance,
> Eric|||Can you post an example of this?|||I have not had to do it. I just know it is possible. Especially if
non-visual. Gooble: com interop dotnet vb6
or Google: dotnet dll wrapper
The second search returned lots of good links.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
<c-eric.geil@.mci.com> wrote in message
news:3c85e1da-f197-4907-9c6d-d509cca2216a@.i12g2000prf.googlegroups.com...
> Can you post an example of this?

No comments:

Post a Comment