Connect to remote CMS Server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Connect to remote CMS Server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Connect to remote CMS Server  
John-Daniel Trask


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Hi everyone,

I'm writing a small winforms helper application to work with CMS and it
works fine when running on a local machine with CMS installed however I want
to also be able to connect to remote CMS installs (like how sitemanager
allows you to).

At the moment I'm creating the connection with the CmsApplicationContext().

Any ideas on how to do this would be greatly appreciated.

John-Daniel Trask
Intergen Ltd
john-danielt@intergen.co.nz







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
Angus Logan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Hi John-Daniel,

What is the function is this helper application?

I am asking because:
- You cannot authenticate against another server because Publishing API
(PAPI) code needs to run on the CMS server locally.

- A workaround is to use a .NET WebService or .NET remoting to execute PAPI
code on the CMS Server.

Hope this helps.

Regards
--
 ________________________________________


Angus Logan  (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
 ________________________________________


"John-Daniel Trask" <john-danielt@intergen.co.nz> wrote in message
news:ezkrrRgcEHA.3040@TK2MSFTNGP10.phx.gbl...
> Hi everyone,
>
> I'm writing a small winforms helper application to work with CMS and it
> works fine when running on a local machine with CMS installed however I
want
> to also be able to connect to remote CMS installs (like how sitemanager
> allows you to).
>
> At the moment I'm creating the connection with the
CmsApplicationContext().
>
> Any ideas on how to do this would be greatly appreciated.
>
> John-Daniel Trask
> Intergen Ltd
> john-danielt@intergen.co.nz
>
>







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Hi John,

SiteManager is a Http Client application that talks to the MCMS server using
the ASP files in the /MCMS virtual directory.
No application on a system that does not have MCMS installed locally can
access the MCMS server.

As Angus indicated you would have to create an application that works
similar as SiteManager - either by using a web service or by using .NET
remoting or calling ASP / ASP.NET pages.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"John-Daniel Trask" <john-danielt@intergen.co.nz> wrote in message
news:ezkrrRgcEHA.3040@TK2MSFTNGP10.phx.gbl...
> Hi everyone,
>
> I'm writing a small winforms helper application to work with CMS and it
> works fine when running on a local machine with CMS installed however I
want
> to also be able to connect to remote CMS installs (like how sitemanager
> allows you to).
>
> At the moment I'm creating the connection with the
CmsApplicationContext().
>
> Any ideas on how to do this would be greatly appreciated.
>
> John-Daniel Trask
> Intergen Ltd
> john-danielt@intergen.co.nz
>
>







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
John-Daniel Trask


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Cheers for the information 

The app does run on a machine with MCMS but requires to connect to remote
systems in a hosting environment (just adds some extra reporting, etc over
site manager).

Thanks again

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uIkOwdkcEHA.4092@TK2MSFTNGP10.phx.gbl...
> Hi John,
>
> SiteManager is a Http Client application that talks to the MCMS server
using
> the ASP files in the /MCMS virtual directory.
> No application on a system that does not have MCMS installed locally can
> access the MCMS server.
>
> As Angus indicated you would have to create an application that works
> similar as SiteManager - either by using a web service or by using .NET
> remoting or calling ASP / ASP.NET pages.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> MCMS FAQ:
>

> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "John-Daniel Trask" <john-danielt@intergen.co.nz> wrote in message
> news:ezkrrRgcEHA.3040@TK2MSFTNGP10.phx.gbl... 
> want 
> CmsApplicationContext(). 
>
>







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Hi John,

as indicated that does not matter.
PAPI only can connect to the local server. There is no way to connect to a
remote server using MCMS methods.
If both servers are connected to the same database then this might be what
you are looking for: connect to the local server and it will also impact the
other server.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"John-Daniel Trask" <john-danielt@intergen.co.nz> wrote in message
news:#A9Bu#ncEHA.4032@TK2MSFTNGP11.phx.gbl...
> Cheers for the information 
>
> The app does run on a machine with MCMS but requires to connect to remote
> systems in a hosting environment (just adds some extra reporting, etc over
> site manager).
>
> Thanks again
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:uIkOwdkcEHA.4092@TK2MSFTNGP10.phx.gbl... 
> using 
> rights. 
>
http://download.microsoft.com/downl...03-9272-2404e92
bb76a/MCMS+2002+-+(complete)+FAQ.htm 
>
http://www.gotdotnet.com/community/...
+Server 
it[vbcol=seagreen] 
I[vbcol=seagreen] 
sitemanager[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
Angus Logan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Hi Stefan,

Is it be possible to programattically change the Database a MCMS Instance is
connected to?

This may help John-Daniel because he could setup a MCMS server just to
service his application + other applications changing the db connection when
it starts and changing the db connection back when it finishes....

Cheers

--
 ________________________________________


Angus Logan  (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
 ________________________________________


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uTOj1jucEHA.2944@TK2MSFTNGP11.phx.gbl...
> Hi John,
>
> as indicated that does not matter.
> PAPI only can connect to the local server. There is no way to connect to a
> remote server using MCMS methods.
> If both servers are connected to the same database then this might be what
> you are looking for: connect to the local server and it will also impact
the
> other server.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> MCMS FAQ:
>

> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "John-Daniel Trask" <john-danielt@intergen.co.nz> wrote in message
> news:#A9Bu#ncEHA.4032@TK2MSFTNGP11.phx.gbl... 
remote[vbcol=seagreen] 
over[vbcol=seagreen] 
can[vbcol=seagreen] 
.NET[vbcol=seagreen] 
>
http://download.microsoft.com/downl...03-9272-2404e92
> bb76a/MCMS+2002+-+(complete)+FAQ.htm 
>
http://www.gotdotnet.com/community/...
+Server 
> it 
however[vbcol=seagreen]
> I 
> sitemanager 
>
>







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11:09 PM

Hi Angus,

by backup-restore of the connection string registry key and programmatically
restarting IISADMIN and AESecurityServer this could be done.
Not with any MCMS API.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Angus Logan" <angus_logan@data3.com.au> wrote in message
news:uXNHz4ucEHA.2908@TK2MSFTNGP10.phx.gbl...
> Hi Stefan,
>
> Is it be possible to programattically change the Database a MCMS Instance
is
> connected to?
>
> This may help John-Daniel because he could setup a MCMS server just to
> service his application + other applications changing the db connection
when
> it starts and changing the db connection back when it finishes....
>
> Cheers
>
> --
>  ________________________________________

>
> Angus Logan  (MCAD/MCDBA/MCP)
> Lead Software Developer
> Microsoft Application Solutions
> Data#3 Limited
> E angus_logan@data3.com.au
> BLOG www.anguslogan.com
>  ________________________________________

>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:uTOj1jucEHA.2944@TK2MSFTNGP11.phx.gbl... 
a[vbcol=seagreen] 
what[vbcol=seagreen] 
> the 
> rights. 
>
 
>
[url]http://www.gotdotnet.com/community/usersamples/Default.aspx?ProductDropDownList=Content+Management
+Server" target="_blank">http://download.microsoft.com/downl...
+Server 
> remote 
> over 
server[vbcol=seagreen] 
> can 
works[vbcol=seagreen] 
> .NET 
>
http://download.microsoft.com/downl...03-9272-2404e92
 
>
http://www.gotdotnet.com/community/...
+Server 
and[vbcol=seagreen] 
> however 
>
>







[ Post a follow-up to this message ]



    Re: Connect to remote CMS Server  
John-Daniel Trask


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-04 12:50 PM

Thanks - that is a good idea :-)

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:umGb$CvcEHA.712@TK2MSFTNGP11.phx.gbl...
> Hi Angus,
>
> by backup-restore of the connection string registry key and
programmatically
> restarting IISADMIN and AESecurityServer this could be done.
> Not with any MCMS API.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> MCMS FAQ:
>

> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Angus Logan" <angus_logan@data3.com.au> wrote in message
> news:uXNHz4ucEHA.2908@TK2MSFTNGP10.phx.gbl... 
Instance[vbcol=seagreen]
> is 
> when 
to[vbcol=seagreen]
> a 
> what 
impact[vbcol=seagreen] 
>
 
>
[url]http://www.gotdotnet.com/community/usersamples/Default.aspx?ProductDropDownList=Content+Management
+Server" target="_blank">http://download.microsoft.com/downl...
+Server 
etc[vbcol=seagreen] 
> server 
locally[vbcol=seagreen] 
> works 
no[vbcol=seagreen] 
>
http://download.microsoft.com/downl...03-9272-2404e92
 
>
http://www.gotdotnet.com/community/...
+Server 
> and 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register