I'm also interested in this, we have run into the same Dilemma. 
Thomas have you had any luck with this?

Rick

--- In development-axapta@yahoogroups.com, "thomas_warnier"
<[EMAIL PROTECTED]> wrote:
>
> Hi Lars
>
> Is it possible to post the wrapper code?
>
> Because I am interetsed in this solution, but i am not the real VB
> or C# Guru...
>
> So some input is needed...
>
> Thanks a lot in advance Thomas
>
> --- In development-axapta@yahoogroups.com, [EMAIL PROTECTED]
wrote:
> > It is possible to have several Axapta web applications running
on
> the same server.
> > 
> > Here is how you can do it.
> > 
> > You cannot have several web applications running on the same
> machine on a standard installation because there is only one
version
> of the com connector running in the same process space.
> > 
> > It is actually the same thing as a normal client. You have to
run
> a separate AX32 process, for each application you want to connect
to.
> > 
> > So the trick is to run a separate COM+ application for each
Axapta
> web application.
> > 
> > You can do this by writing your own COM+ application, which is a
> wrapper of com connector. All this wrapper has to do is to publish
> the methods that are needed by the web application.
> > 
> > For example you will need a logon method with the same parameter
> profile as the COM CONNCTORS. When your method is called you
create
> an instance of the COM CONNECTOR internally in your COM+
application
> and call the COM CONNECTORS logon method with the parameters from
> your logon method.
> > 
> > You must create a wrapper for each web app you want to run and
> each web app must use a separate COM+ wrapper.
> > 
> > Let's say you have two web apps then the first one could create
a
> com wrapper like this.
> > 
> > CreateObject("MyWrapper1.Axapta")
> > 
> > And the second
> > 
> > CreateObject("MyWrapper2.Axapta")
> > 
> > Where each wrapper internally keeps track of the real COM
> CONNECTOR.
> > 
> > It is important that you DO NOT register the COM CONNECTOR as a
> COM+ application, because it has to run separately within the
> process space of the COM Wrappers.
> > By doing this the COM CONNECTOR will run in a separate process
> space for each web application and because it is still running
under
> COM+ it will have access to the IIS context and the IIS object
model.
> > 
> > By doing this I have been running seven different Axapta web
> application on the same IIS. Normally that would have taken seven
> machines.
> > 
> >
> > -------------- Original message --------------
> > Thanks for all answers.. We must buy a server now :)
> >
> > This is really bad situation, if we want to add extra portal, we
> must paid
> > extra money! Thanks to Axapta!!
> >
> > Best Regards,
> >
> > Anil Ozay
> >
> >
> >
> >
> >
> > "DouglasT" <[EMAIL PROTECTED]>
> > Sent by: development-axapta@yahoogroups.com
> > 11.07.2005 13:55
> > Please respond to
> > development-axapta@yahoogroups.com
> >
> >
> > To
> > <development-axapta@yahoogroups.com>
> > cc
> >
> > Subject
> > Re: [development-axapta] Setting up multiple portal on single
> machine
> >
> >
> >
> >
> >
> >
> > Yes you can setup different configurations there, but (sorry)
you
> CANNOT
> > run
> > two different configurations on the same machine using Axapta
COM
> > connector
> > (which is used by enterprise portal) at the SAME time.
> >
> > The "solution" on a development environment seems to be shutting
> down the
> > first comconnector before swapping to the second one. In a live
> > environment
> > you HAVE TO setup different machines for that.
> >
> > regards
> >
> > Douglas
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Karsten Wollesen" <[EMAIL PROTECTED]>
> > To: <development-axapta@yahoogroups.com>
> > Sent: Monday, July 11, 2005 11:26 AM
> > Subject: RE: [development-axapta] Setting up multiple portal on
> single
> > machine
> >
> >
> > > Hi,
> > >
> > > You can setup which Axapta configuration file the COM
connector
> should
> > > use. (path: Administration\Setup\Internet\Web Sites\Setup-tab
> page)
> > >
> > >
> > > Regards,
> > >
> > > Karsten Wollesen Clausen
> > > Thy Data Center Development A/S
> > > ________________________________
> > >
> > > From: development-axapta@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Anil
> Ozay
> > > Sent: 11. juli 2005 09:57
> > > To: development-axapta@yahoogroups.com
> > > Subject: [development-axapta] Setting up multiple portal on
> single
> > > machine
> > >
> > > Hi all.. We have trouble about setting up multiple portals on
a
> single
> > > machine. We have two seperate applications, so that two
seperate
> > > configurations.
> > >
> > > One configuration is run normally, but when we start another
web
> > > application, it causes en error message :
> > >
> > > AxaptaCOMConnector.Axapta.1 (0x80041004)
> > > Axapta Business Connector is connected to another MBS Axapta
> System.
> > > So that you can not logon to specified system.
> > >
> > > How can i solve this problem?? This is very important..
> > >
> > > Thanks
> > >
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > >
> > > YAHOO! GROUPS LINKS
> > >
> > > * Visit your group "development-axapta
> > > <http://groups.yahoo.com/group/development-axapta> " on the
web.
> > >
> > > * To unsubscribe from this group, send an email to:
> > > [EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]
> subject=Unsubscri
> > > be>
> > >
> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > Service <http://docs.yahoo.com/info/terms/> .
> > >
> > > ________________________________
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> >
> > YAHOO! GROUPS LINKS
> >
> >  Visit your group "development-axapta" on the web.
> >  
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >  
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
> >
> > [Non-text portions of this message have been removed]
>






SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to