|
 |
asp_components thread: ActiveX .dll works from VB, not from ASP?
Message #1 by "Rich Gilmour" <reesh@p...> on Wed, 23 May 2001 23:58:57
|
|
Hello all.
I have a trial version of an ActiveX .dll which works great from within a
VB program, but not from an ASP page. I spoke to the author about this and
he says he is at a loss as to why it doesn't work from ASP, but suspects
it has something to with the fact that it uses the MS Internet Control as
part of its functionality.
I really have a need for this component to work within an ASP page, and
the author was kind enough to give me a key to keep using it and try to
get it to work from ASP - trouble is I'm not sure how!
I don't get an error when I instantiate the object using CreateObject, but
when I call one of the methods it returns a boolean value stating
unsuccessful. Anyone have any ideas why it would work from within VB but
not from within an ASP page on Win2k/IIS 5?
Thank you for any insight.
Message #2 by Robert Chartier <rchartierh@a...> on Wed, 23 May 2001 17:01:47 -0700
|
|
$10 says its a security issue when using that control.
try throwing the object into a package/applcation in MTS/Component
Services, and give it admin/your user priveledges. that way, the object
will be able to persist as the specified user
At 11:58 PM 5/23/2001 +0000, you wrote:
>Hello all.
>
>I have a trial version of an ActiveX .dll which works great from within a
>VB program, but not from an ASP page. I spoke to the author about this and
>he says he is at a loss as to why it doesn't work from ASP, but suspects
>it has something to with the fact that it uses the MS Internet Control as
>part of its functionality.
>
>I really have a need for this component to work within an ASP page, and
>the author was kind enough to give me a key to keep using it and try to
>get it to work from ASP - trouble is I'm not sure how!
>
>I don't get an error when I instantiate the object using CreateObject, but
>when I call one of the methods it returns a boolean value stating
>unsuccessful. Anyone have any ideas why it would work from within VB but
>not from within an ASP page on Win2k/IIS 5?
>
>Thank you for any insight.
>---
>* Fast, Full-Featured Microsoft=AE Excel Web Reports & Charts!
>A breakthrough in high performance Web application development,
SoftArtisans
>ExcelWriter 1.1 supports native Excel charting, image insertion, and
>advanced functions & formatting. One click generates presentation-quality
>Excel spreadsheets-and ExcelWriter performs over 100 times faster than the
>Excel Object. Several editions, including ExcelWriterFREE, are available.
>URL:<http://adtracking.wrox.com/track.asp?x=3Dp2p%2Fe%2Fd%26w%2Fsoftart&url
=3Dhttp://www.softartisans.com/softartisans/excelwriter.html>
>
$subst('Email.Unsub')
Robert Chartier
Author, AspFree.com
xxx-xxx-xxxx
rob@a...
http://www.aspfree.com/devlinks
http://www.aspfree.com/authors/robert
http://www.aspalliance.com/nothingmn
Message #3 by "Rich Gilmour" <reesh@p...> on Thu, 24 May 2001 03:48:03
|
|
I'm afraid you've lost me here - not sure what you mean by throwing it
into an application in MTS Services - but I will start looking for
references about that, thank you!
> $10 says its a security issue when using that control.
>
> try throwing the object into a package/applcation in MTS/Component
> Services, and give it admin/your user priveledges. that way, the
object
> will be able to persist as the specified user
>
>
>
>
>
> At 11:58 PM 5/23/2001 +0000, you wrote:
>
> >Hello all.
> >
> >I have a trial version of an ActiveX .dll which works great from within
a
> >VB program, but not from an ASP page. I spoke to the author about this
and
> >he says he is at a loss as to why it doesn't work from ASP, but suspects
> >it has something to with the fact that it uses the MS Internet Control
as
> >part of its functionality.
> >
> >I really have a need for this component to work within an ASP page, and
> >the author was kind enough to give me a key to keep using it and try to
> >get it to work from ASP - trouble is I'm not sure how!
> >
> >I don't get an error when I instantiate the object using CreateObject,
but
> >when I call one of the methods it returns a boolean value stating
> >unsuccessful. Anyone have any ideas why it would work from within VB but
> >not from within an ASP page on Win2k/IIS 5?
> >
> >Thank you for any insight.
> >---
> >* Fast, Full-Featured Microsoft=AE Excel Web Reports & Charts!
> >A breakthrough in high performance Web application development,
> SoftArtisans
> >ExcelWriter 1.1 supports native Excel charting, image insertion, and
> >advanced functions & formatting. One click generates presentation-
quality
> >Excel spreadsheets-and ExcelWriter performs over 100 times faster than
the
> >Excel Object. Several editions, including ExcelWriterFREE, are
available.
> >URL:<http://adtracking.wrox.com/track.asp?x=3Dp2p%2Fe%2Fd%26w%
2Fsoftart&url
> =3Dhttp://www.softartisans.com/softartisans/excelwriter.html>
> >
rchartierh@a...
> $subst('Email.Unsub')
>
>
> Robert Chartier
> Author, AspFree.com
> xxx-xxx-xxxx
> rob@a...
> http://www.aspfree.com/devlinks
> http://www.aspfree.com/authors/robert
> http://www.aspalliance.com/nothingmn
>
Message #4 by "Earls, Michael (CORP)" <Michael.Earls@C...> on Thu, 24 May 2001 15:30:28 -0400
|
|
If the object does anything at all with a user form (msgbox, OCX, etc.),
then it will not work in ASP. Worse still, it will crash your server.
Michael Earls
-----Original Message-----
From: Rich Gilmour [mailto:reesh@p...]
Sent: Wednesday, May 23, 2001 8:48 PM
To: ASP components
Subject: [asp_components] Re: ActiveX .dll works from VB, not from ASP?
I'm afraid you've lost me here - not sure what you mean by throwing it
into an application in MTS Services - but I will start looking for
references about that, thank you!
> $10 says its a security issue when using that control.
>
> try throwing the object into a package/applcation in MTS/Component
> Services, and give it admin/your user priveledges. that way, the
object
> will be able to persist as the specified user
>
>
>
>
>
> At 11:58 PM 5/23/2001 +0000, you wrote:
>
> >Hello all.
> >
> >I have a trial version of an ActiveX .dll which works great from within
a
> >VB program, but not from an ASP page. I spoke to the author about this
and
> >he says he is at a loss as to why it doesn't work from ASP, but suspects
> >it has something to with the fact that it uses the MS Internet Control
as
> >part of its functionality.
> >
> >I really have a need for this component to work within an ASP page, and
> >the author was kind enough to give me a key to keep using it and try to
> >get it to work from ASP - trouble is I'm not sure how!
> >
> >I don't get an error when I instantiate the object using CreateObject,
but
> >when I call one of the methods it returns a boolean value stating
> >unsuccessful. Anyone have any ideas why it would work from within VB but
> >not from within an ASP page on Win2k/IIS 5?
> >
> >Thank you for any insight.
>
> Robert Chartier
> Author, AspFree.com
> xxx-xxx-xxxx
> rob@a...
> http://www.aspfree.com/devlinks
> http://www.aspfree.com/authors/robert
> http://www.aspalliance.com/nothingmn
Message #5 by David Cameron <dcameron@i...> on Fri, 25 May 2001 10:13:02 +1000
|
|
Actually I have been running a dll from an ASP that calls another dll that
contains 2 controls without any problems. This is one step removed but the
problems should cascade up the chain if there are any. I think it depends
how the control is used.
-----Original Message-----
From: Earls, Michael (CORP) [mailto:Michael.Earls@C...]
Sent: Friday, 25 May 2001 5:30 AM
To: ASP components
Subject: [asp_components] Re: ActiveX .dll works from VB, not from ASP ?
If the object does anything at all with a user form (msgbox, OCX, etc.),
then it will not work in ASP. Worse still, it will crash your server.
Michael Earls
-----Original Message-----
From: Rich Gilmour [mailto:reesh@p...]
Sent: Wednesday, May 23, 2001 8:48 PM
To: ASP components
Subject: [asp_components] Re: ActiveX .dll works from VB, not from ASP?
I'm afraid you've lost me here - not sure what you mean by throwing it
into an application in MTS Services - but I will start looking for
references about that, thank you!
> $10 says its a security issue when using that control.
>
> try throwing the object into a package/applcation in MTS/Component
> Services, and give it admin/your user priveledges. that way, the
object
> will be able to persist as the specified user
|
|
 |