Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: registering, unreg, mts applications, new component???


Message #1 by dont worry <aspmailbox@y...> on Sat, 28 Oct 2000 11:23:38 -0700 (PDT)
Can someone please clear up the following for some of

us? 

<one>I created visual basic activex.dll.  Saved

everything created the dll.</one>

<two>Ftped to production server. Command prompt

regsvr32 my.dll (successful!)</two>

<three>Opened up Component services, created in

application, then added already registered dll (the

one I just registered (great)</three>

<four>Problem with dsn, need to change to server dsn,

in visual basic change it , save it , make dll, ftp it

over. looks good<four>

Same problem arises.

<Questions>

<a>Do I need to do ALL of the above steps to

accomplish what I'm trying to do? Or can I skip

one?</a>

<b>I can't delete the orginal dll, says "in use .." ,

so how do I delete it? (i've deleted it from the

component services</b>

Please clear this up, its giving me a headache.



Message #2 by Robert Chartier <rchartierh@a...> on Sat, 28 Oct 2000 15:08:38 -0700
dont need to regsvr32 if you add to Component Services





Before you have the new .DLL in place, ...right cick/shutdown the Comp. 

Services package that holds that specific DLL...then relace the DLL file.



shutting it down will remove it from memory.



if you change the interface of the .DLL, shutdown the Package, delete the 

object withing the package...replace the DLL, and then readd the DLL back 

into the package.









At 11:23 AM 10/28/2000 -0700, you wrote:

>Can someone please clear up the following for some of

>us?

><one>I created visual basic activex.dll.  Saved

>everything created the dll.</one>

><two>Ftped to production server. Command prompt

>regsvr32 my.dll (successful!)</two>

><three>Opened up Component services, created in

>application, then added already registered dll (the

>one I just registered (great)</three>

><four>Problem with dsn, need to change to server dsn,

>in visual basic change it , save it , make dll, ftp it

>over. looks good<four>

>Same problem arises.

><Questions>

><a>Do I need to do ALL of the above steps to

>accomplish what I'm trying to do? Or can I skip

>one?</a>

><b>I can't delete the orginal dll, says "in use .." ,

>so how do I delete it? (i've deleted it from the

>component services</b>

>Please clear this up, its giving me a headache.

>

>



Rob Chartier

rchartierh@a...

Pager:  xxx-xxx-xxxx

http://www.aspfree.com/devlinks/

http://www.aspfree.com/authors/robert/

http://www.aspalliance.com/nothingmn/



Message #3 by dont worry <aspmailbox@y...> on Mon, 30 Oct 2000 07:40:58 -0800 (PST)
How do I unregister a component once I've used the

regsvr32 on it?

I tried to shutdown the application in component

services but it wont shut down, if I delete it will it

remove it from memory?





--- Robert Chartier <rchartierh@a...> wrote:

> dont need to regsvr32 if you add to Component

> Services

> 

> 

> Before you have the new .DLL in place, ...right

> cick/shutdown the Comp. 

> Services package that holds that specific DLL...then

> relace the DLL file.

> 

> shutting it down will remove it from memory.

> 

> if you change the interface of the .DLL, shutdown

> the Package, delete the 

> object withing the package...replace the DLL, and

> then readd the DLL back 

> into the package.

> 

> 

> 

> 

> At 11:23 AM 10/28/2000 -0700, you wrote:

> >Can someone please clear up the following for some

> of

> >us?

> ><one>I created visual basic activex.dll.  Saved

> >everything created the dll.</one>

> ><two>Ftped to production server. Command prompt

> >regsvr32 my.dll (successful!)</two>

> ><three>Opened up Component services, created in

> >application, then added already registered dll (the

> >one I just registered (great)</three>

> ><four>Problem with dsn, need to change to server

> dsn,

> >in visual basic change it , save it , make dll, ftp

> it

> >over. looks good<four>

> >Same problem arises.

> ><Questions>

> ><a>Do I need to do ALL of the above steps to

> >accomplish what I'm trying to do? Or can I skip

> >one?</a>

> ><b>I can't delete the orginal dll, says "in use .."

> ,

> >so how do I delete it? (i've deleted it from the

> >component services</b>

> >Please clear this up, its giving me a headache.

> >

> >

> 

> Rob Chartier

> rchartierh@a...

> Pager:  xxx-xxx-xxxx

> http://www.aspfree.com/devlinks/

> http://www.aspfree.com/authors/robert/

> http://www.aspalliance.com/nothingmn/

> 

> 

Message #4 by Robert Chartier <rchartierh@a...> on Mon, 30 Oct 2000 08:00:56 -0700
regsvr32 -u dllname.dll





and you will most likely need to recycle IIS services.  (stop/start the 

IISADMIN process, in the services appect for winnt, or right click the 

Machine Name in MMC for IIS, and choose Restart IIS.)









At 07:40 AM 10/30/2000 -0800, you wrote:

>How do I unregister a component once I've used the

>regsvr32 on it?

>I tried to shutdown the application in component

>services but it wont shut down, if I delete it will it

>remove it from memory?

>

>

>--- Robert Chartier <rchartierh@a...> wrote:

> > dont need to regsvr32 if you add to Component

> > Services

> >

> >

> > Before you have the new .DLL in place, ...right

> > cick/shutdown the Comp.

> > Services package that holds that specific DLL...then

> > relace the DLL file.

> >

> > shutting it down will remove it from memory.

> >

> > if you change the interface of the .DLL, shutdown

> > the Package, delete the

> > object withing the package...replace the DLL, and

> > then readd the DLL back

> > into the package.

> >

> >

> >

> >

> > At 11:23 AM 10/28/2000 -0700, you wrote:

> > >Can someone please clear up the following for some

> > of

> > >us?

> > ><one>I created visual basic activex.dll.  Saved

> > >everything created the dll.</one>

> > ><two>Ftped to production server. Command prompt

> > >regsvr32 my.dll (successful!)</two>

> > ><three>Opened up Component services, created in

> > >application, then added already registered dll (the

> > >one I just registered (great)</three>

> > ><four>Problem with dsn, need to change to server

> > dsn,

> > >in visual basic change it , save it , make dll, ftp

> > it

> > >over. looks good<four>

> > >Same problem arises.

> > ><Questions>

> > ><a>Do I need to do ALL of the above steps to

> > >accomplish what I'm trying to do? Or can I skip

> > >one?</a>

> > ><b>I can't delete the orginal dll, says "in use .."

> > ,

> > >so how do I delete it? (i've deleted it from the

> > >component services</b>

> > >Please clear this up, its giving me a headache.

> > >

> > >

> >

> > Rob Chartier

> > rchartierh@a...

> > Pager:  xxx-xxx-xxxx

> > http://www.aspfree.com/devlinks/

> > http://www.aspfree.com/authors/robert/

> > http://www.aspalliance.com/nothingmn/

> >

> >

>







Rob Chartier

rchartierh@a...

Pager:  xxx-xxx-xxxx

http://www.aspfree.com/devlinks/

http://www.aspfree.com/authors/robert/

http://www.aspalliance.com/nothingmn/



Message #5 by Duane Douglas <ddouglas@m...> on Mon, 30 Oct 2000 11:20:39 -0500
At 07:40 AM 10/30/00 -0800, you wrote:

>How do I unregister a component once I've used the

>regsvr32 on it?



regsvr32 /u your_component.dll



hth






  Return to Index