|
Home > Archive > Microsoft Content Management Server > July 2004 > Connect to remote CMS Server
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Connect to remote CMS Server
|
|
| John-Daniel Trask 2004-07-28, 6: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
| |
| Angus Logan 2004-07-28, 6: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
>
>
| |
| Stefan [MSFT] 2004-07-28, 6: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...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver
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
>
>
| |
| John-Daniel Trask 2004-07-28, 6: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:
>
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...t+S
erver
> 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().
>
>
| |
|
|
| Angus Logan 2004-07-28, 6: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:
>
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...t+S
erver
> 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/...t+S
erver
> it
however[vbcol=seagreen]
> I
> sitemanager
>
>
| |
|
|
|
|
|
|
|