|
Home > Archive > Microsoft Content Management Server > August 2005 > Administering CMS from remote 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 |
Administering CMS from remote server
|
|
|
| Hi,
I want to administer the CMS web server (1) from a remote server (2). I am
using CMSApplicationContext object from the remote server (2) which is also
installed with CMS that is pointing to different MCMS Database. Following is
my code where I am initialising the object:
appContext.AuthenticateAsUser(NTUser, NTPwd,
PublishingMode.Update,"MCMSAdmin","Administrators",mcmsRemoteDomain);
The problem is that when I iterate thru the channels, I still get the
channels that are on the local machine. Can you please tell me how to do this
job?
Thanks!!
| |
| Spencer Harbar [MVP] 2005-08-08, 5:52 pm |
| whilst included in the enumeration this is not possible.
unless you go via web services, your application needs to be run on the MCMS
server.
hth
Spence
www.mcmsfaq.com
"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:D1BE8906-2B16-4296-A002-BA67E74EF5DA@microsoft.com...
> Hi,
>
> I want to administer the CMS web server (1) from a remote server (2). I am
> using CMSApplicationContext object from the remote server (2) which is
> also
> installed with CMS that is pointing to different MCMS Database. Following
> is
> my code where I am initialising the object:
>
> appContext.AuthenticateAsUser(NTUser, NTPwd,
> PublishingMode.Update,"MCMSAdmin","Administrators",mcmsRemoteDomain);
>
> The problem is that when I iterate thru the channels, I still get the
> channels that are on the local machine. Can you please tell me how to do
> this
> job?
>
> Thanks!!
| |
|
| Hi Spencer,
Thanks for the response. But how are we able to access a remote MCMS with
the Site Manager (installed locally), to administer the remote MCMS server
without the web services being installed?
Regards,
Nanda
"Spencer Harbar [MVP]" wrote:
> whilst included in the enumeration this is not possible.
> unless you go via web services, your application needs to be run on the MCMS
> server.
>
>
> hth
> Spence
> www.mcmsfaq.com
>
>
> "Nanda" <Nanda@discussions.microsoft.com> wrote in message
> news:D1BE8906-2B16-4296-A002-BA67E74EF5DA@microsoft.com...
>
>
>
| |
| Spencer Harbar [MVP] 2005-08-08, 5:52 pm |
| Site Manager uses custom XML requests to ASP targets and undocumented legacy
components to provide remote management. This is not exposed via PAPI.
hth
Spence
www.mcmsfaq.com
"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:DA52A771-C336-44AB-B86D-092C9B730F5C@microsoft.com...[vbcol=seagreen]
> Hi Spencer,
>
> Thanks for the response. But how are we able to access a remote MCMS with
> the Site Manager (installed locally), to administer the remote MCMS server
> without the web services being installed?
>
> Regards,
> Nanda
>
> "Spencer Harbar [MVP]" wrote:
>
| |
| Angus Logan [MVP] 2005-08-08, 5:52 pm |
| Hi Nanda,
Site manager makes calls back to the webserver (similar to web services).
Spence meant that you cannot use the PAPI on a remote computer.
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:DA52A771-C336-44AB-B86D-092C9B730F5C@microsoft.com...[vbcol=seagreen]
> Hi Spencer,
>
> Thanks for the response. But how are we able to access a remote MCMS with
> the Site Manager (installed locally), to administer the remote MCMS server
> without the web services being installed?
>
> Regards,
> Nanda
>
> "Spencer Harbar [MVP]" wrote:
>
| |
| Stefan [MSFT] 2005-08-08, 5:52 pm |
| Hi Nanda,
that is not possible. You can't access a remote machine.
the remote domain thing below is to allow custom authentication mechanims
that require a different machine for the authentication data source. Not to
authenticate against a remote machine.
CmsApplicationcontext can only be used on the local machine.
You should follow the webservice approach mentioned by Spencer.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:D1BE8906-2B16-4296-A002-BA67E74EF5DA@microsoft.com...
> Hi,
>
> I want to administer the CMS web server (1) from a remote server (2). I am
> using CMSApplicationContext object from the remote server (2) which is
> also
> installed with CMS that is pointing to different MCMS Database. Following
> is
> my code where I am initialising the object:
>
> appContext.AuthenticateAsUser(NTUser, NTPwd,
> PublishingMode.Update,"MCMSAdmin","Administrators",mcmsRemoteDomain);
>
> The problem is that when I iterate thru the channels, I still get the
> channels that are on the local machine. Can you please tell me how to do
> this
> job?
>
> Thanks!!
|
|
|
|
|