|
 |
asp_web_howto thread: DLL in Component Manager
Message #1 by Martin McIntyre <martin.mcintyre@m...> on Thu, 22 Nov 2001 12:05:44 -0000
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1734E.03878CB0
Content-Type: text/plain
I am trying to do 2 things:
1) Instead of registering a DLL I'm trying to add the DLL into
component manager. I can seem to do this, but I was hoping that I could
replace the DLL at any time when it changes without having to stop IIS. Is
this the correct way of making the Web server see the DLL ?
2) I need the web server to see the DLL for anyone that accesses the
web site. At the moment because the DLL is outside of the website directory
structure, I am getting a permission problem when a general user accesses
the site. (in fact the object cannot be found) When I modify IIS so that the
administrator is used as the default account used for access to the web site
it works. But I really need it to work for the general IIS_webuser account.
(I have also given IIS_webuser access to the directory where the DLL is
located but still no good.) Any ideas / pointers on how to setup the server
to access a DLL outside of the website (but on the same server ) ?
Thanks
Martin
Message #2 by Imar Spaanjaars <Imar@S...> on Thu, 22 Nov 2001 13:15:50 +0100
|
|
Hi Martin,
You can choose Shut Down from the package's context menu. This will release
the lock on the DLL.
For the user account, check out the following FAQ on how to install a DLL
on COM+. Step 7 describes how to do this.
http://www.aspfree.com/authors/robert/faq.asp?id=13
HtH
Imar
At 12:05 PM 11/22/2001 +0000, you wrote:
>I am trying to do 2 things:
>
>
>
>1) Instead of registering a DLL I'm trying to add the DLL into
>component manager. I can seem to do this, but I was hoping that I could
>replace the DLL at any time when it changes without having to stop IIS. Is
>this the correct way of making the Web server see the DLL ?
>
>2) I need the web server to see the DLL for anyone that accesses the
>web site. At the moment because the DLL is outside of the website
>directory structure, I am getting a permission problem when a general user
>accesses the site. (in fact the object cannot be found) When I modify IIS
>so that the administrator is used as the default account used for access
>to the web site it works. But I really need it to work for the general
>IIS_webuser account. (I have also given IIS_webuser access to the
>directory where the DLL is located but still no good.) Any ideas /
>pointers on how to setup the server to access a DLL outside of the website
>(but on the same server ) ?
>
>
>
>Thanks
>
>Martin
Message #3 by Nick Charlesworth <nick@f...> on Thu, 22 Nov 2001 12:28:03 -0000
|
|
2)
You can set the COM+ application to run under the administrator role.
This way you can keep the IUSR account as the default account.
When asp calls the dll which is hosted by the com application the dll is run
with administrator rights.
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: 22 November 2001 12:16
To: ASP Web HowTo
Subject: [asp_web_howto] Re: DLL in Component Manager
Hi Martin,
You can choose Shut Down from the package's context menu. This will release
the lock on the DLL.
For the user account, check out the following FAQ on how to install a DLL
on COM+. Step 7 describes how to do this.
http://www.aspfree.com/authors/robert/faq.asp?id=13
HtH
Imar
At 12:05 PM 11/22/2001 +0000, you wrote:
>I am trying to do 2 things:
>
>
>
>1) Instead of registering a DLL I'm trying to add the DLL into
>component manager. I can seem to do this, but I was hoping that I could
>replace the DLL at any time when it changes without having to stop IIS. Is
>this the correct way of making the Web server see the DLL ?
>
>2) I need the web server to see the DLL for anyone that accesses the
>web site. At the moment because the DLL is outside of the website
>directory structure, I am getting a permission problem when a general user
>accesses the site. (in fact the object cannot be found) When I modify IIS
>so that the administrator is used as the default account used for access
>to the web site it works. But I really need it to work for the general
>IIS_webuser account. (I have also given IIS_webuser access to the
>directory where the DLL is located but still no good.) Any ideas /
>pointers on how to setup the server to access a DLL outside of the website
>(but on the same server ) ?
>
>
>
>Thanks
>
>Martin
$subst('Email.Unsub')
Message #4 by Martin McIntyre <martin.mcintyre@m...> on Thu, 22 Nov 2001 14:26:41 -0000
|
|
I did this, by creating a 'server application' type component. I then get
the shutdown option.
My problem is I end up with a process DLLHOST.EXE that totally demolishes my
CPU. (It wants 100%)
Any advice ?
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: 22 November 2001 12:16
To: ASP Web HowTo
Subject: [asp_web_howto] Re: DLL in Component Manager
Hi Martin,
You can choose Shut Down from the package's context menu. This will release
the lock on the DLL.
For the user account, check out the following FAQ on how to install a DLL
on COM+. Step 7 describes how to do this.
http://www.aspfree.com/authors/robert/faq.asp?id=13
HtH
Imar
At 12:05 PM 11/22/2001 +0000, you wrote:
>I am trying to do 2 things:
>
>
>
>1) Instead of registering a DLL I'm trying to add the DLL into
>component manager. I can seem to do this, but I was hoping that I could
>replace the DLL at any time when it changes without having to stop IIS. Is
>this the correct way of making the Web server see the DLL ?
>
>2) I need the web server to see the DLL for anyone that accesses the
>web site. At the moment because the DLL is outside of the website
>directory structure, I am getting a permission problem when a general user
>accesses the site. (in fact the object cannot be found) When I modify IIS
>so that the administrator is used as the default account used for access
>to the web site it works. But I really need it to work for the general
>IIS_webuser account. (I have also given IIS_webuser access to the
>directory where the DLL is located but still no good.) Any ideas /
>pointers on how to setup the server to access a DLL outside of the website
>(but on the same server ) ?
>
>
>
>Thanks
>
>Martin
$subst('Email.Unsub')
Message #5 by Imar Spaanjaars <Imar@S...> on Thu, 22 Nov 2001 18:00:36 +0100
|
|
Sounds like a problem in the component itself. Does it do any weird stuff?
Endless loops etc?
Usually, you should be able to shut it down normally.
Imar
At 02:26 PM 11/22/2001 +0000, you wrote:
>I did this, by creating a 'server application' type component. I then get
>the shutdown option.
>
>My problem is I end up with a process DLLHOST.EXE that totally demolishes my
>CPU. (It wants 100%)
>
>Any advice ?
>
>-----Original Message-----
>From: Imar Spaanjaars [mailto:Imar@S...]
>Sent: 22 November 2001 12:16
>To: ASP Web HowTo
>Subject: [asp_web_howto] Re: DLL in Component Manager
>
>
>Hi Martin,
>
>You can choose Shut Down from the package's context menu. This will release
>the lock on the DLL.
>
>For the user account, check out the following FAQ on how to install a DLL
>on COM+. Step 7 describes how to do this.
>
>http://www.aspfree.com/authors/robert/faq.asp?id=13
>
>
>HtH
>
>Imar
>
>
>At 12:05 PM 11/22/2001 +0000, you wrote:
>
> >I am trying to do 2 things:
> >
> >
> >
> >1) Instead of registering a DLL I'm trying to add the DLL into
> >component manager. I can seem to do this, but I was hoping that I could
> >replace the DLL at any time when it changes without having to stop IIS. Is
> >this the correct way of making the Web server see the DLL ?
> >
> >2) I need the web server to see the DLL for anyone that accesses the
> >web site. At the moment because the DLL is outside of the website
> >directory structure, I am getting a permission problem when a general user
> >accesses the site. (in fact the object cannot be found) When I modify IIS
> >so that the administrator is used as the default account used for access
> >to the web site it works. But I really need it to work for the general
> >IIS_webuser account. (I have also given IIS_webuser access to the
> >directory where the DLL is located but still no good.) Any ideas /
> >pointers on how to setup the server to access a DLL outside of the website
> >(but on the same server ) ?
> >
> >
> >
> >Thanks
> >
> >Martin
>
Message #6 by Martin McIntyre <martin.mcintyre@m...> on Thu, 22 Nov 2001 17:21:32 -0000
|
|
I runs fine as a local library, but the you don't get an option to shutdown
that type.
Maybe there is a problem about permissions
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: 22 November 2001 17:01
To: ASP Web HowTo
Subject: [asp_web_howto] Re: DLL in Component Manager
Sounds like a problem in the component itself. Does it do any weird stuff?
Endless loops etc?
Usually, you should be able to shut it down normally.
Imar
At 02:26 PM 11/22/2001 +0000, you wrote:
>I did this, by creating a 'server application' type component. I then get
>the shutdown option.
>
>My problem is I end up with a process DLLHOST.EXE that totally demolishes
my
>CPU. (It wants 100%)
>
>Any advice ?
>
>-----Original Message-----
>From: Imar Spaanjaars [mailto:Imar@S...]
>Sent: 22 November 2001 12:16
>To: ASP Web HowTo
>Subject: [asp_web_howto] Re: DLL in Component Manager
>
>
>Hi Martin,
>
>You can choose Shut Down from the package's context menu. This will release
>the lock on the DLL.
>
>For the user account, check out the following FAQ on how to install a DLL
>on COM+. Step 7 describes how to do this.
>
>http://www.aspfree.com/authors/robert/faq.asp?id=13
>
>
>HtH
>
>Imar
>
>
>At 12:05 PM 11/22/2001 +0000, you wrote:
>
> >I am trying to do 2 things:
> >
> >
> >
> >1) Instead of registering a DLL I'm trying to add the DLL into
> >component manager. I can seem to do this, but I was hoping that I could
> >replace the DLL at any time when it changes without having to stop IIS.
Is
> >this the correct way of making the Web server see the DLL ?
> >
> >2) I need the web server to see the DLL for anyone that accesses
the
> >web site. At the moment because the DLL is outside of the website
> >directory structure, I am getting a permission problem when a general
user
> >accesses the site. (in fact the object cannot be found) When I modify IIS
> >so that the administrator is used as the default account used for access
> >to the web site it works. But I really need it to work for the general
> >IIS_webuser account. (I have also given IIS_webuser access to the
> >directory where the DLL is located but still no good.) Any ideas /
> >pointers on how to setup the server to access a DLL outside of the
website
> >(but on the same server ) ?
> >
> >
> >
> >Thanks
> >
> >Martin
>
$subst('Email.Unsub')
|
|
 |