Another site deployment question
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 > Another site deployment question




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

    Another site deployment question  
Hrvoje Vrbanc


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


 
03-24-04 10:36 PM

Hello all,

I know this may be repeating of already asked questions but I would
appreciate the answer nevertheless:

I have a workstation with CMS installed. That CMS uses a SQL database
situated on a dedicated database server in the same domain. I have built a
CMS Visual Studio .NET project on my workstation and then have built a
CMS-based web site situsted on the same workstation. It works fine.

Now, I have set up a new machine in the same domain that would act as a web
server. I want to move the site from my workstation to the new machine.
There are several questions I would like to ask:

1. I have to copy the VS .NET CMS project from my workstation to the new web
server. Virtual paths will remain the same. That's clear.

2. I haven't yet installed CMS on the new web server as I don't know what to
do with the database that CMS will use. The CMS on the new web server will
use a database on the same dedicated database server as my workstation's CMS
uses. Could the CMS installation on the new web server use the same, already
existing database? If it is possible, are there more steps necessary to
deploy the site?

3. If not and if I have to create new database for CMS to use it, what's the
most convenient way to transfer the built site?

I have never done this before so I want to make sure I do the right steps.

Thank you in advance,

Hrvoje







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Stefan [MSFT]


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


 
03-24-04 10:36 PM

Hi Hrvoje,

CMS on the new server can use the same database.
When copying the VS.NET project ensure that the project is created as a web
application in IIS MMC and also create the CMS virtual directory inside the
template project.
And ensure that this CMS vitual directory is NOT a web application.

Cheers,
Stefan.

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


"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:O2KNCGcEEHA.1128@TK2MSFTNGP11.phx.gbl...
> Hello all,
>
> I know this may be repeating of already asked questions but I would
> appreciate the answer nevertheless:
>
> I have a workstation with CMS installed. That CMS uses a SQL database
> situated on a dedicated database server in the same domain. I have built a
> CMS Visual Studio .NET project on my workstation and then have built a
> CMS-based web site situsted on the same workstation. It works fine.
>
> Now, I have set up a new machine in the same domain that would act as a
web
> server. I want to move the site from my workstation to the new machine.
> There are several questions I would like to ask:
>
> 1. I have to copy the VS .NET CMS project from my workstation to the new
web
> server. Virtual paths will remain the same. That's clear.
>
> 2. I haven't yet installed CMS on the new web server as I don't know what
to
> do with the database that CMS will use. The CMS on the new web server will
> use a database on the same dedicated database server as my workstation's
CMS
> uses. Could the CMS installation on the new web server use the same,
already
> existing database? If it is possible, are there more steps necessary to
> deploy the site?
>
> 3. If not and if I have to create new database for CMS to use it, what's
the
> most convenient way to transfer the built site?
>
> I have never done this before so I want to make sure I do the right steps.
>
> Thank you in advance,
>
> Hrvoje
>
>







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Hrvoje Vrbanc


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


 
03-26-04 05:27 PM

Hello again.

Thank you. I moved the site on the new server and it works. But it's not
fully functional.
I met two problems now:

1. I didn't install Visual Studio .NET on the new web server. When I try to
open the VS .NET project situated physically on the new web server using the
VS .NET on my workstation, I can open the project but it looks like there's
no CMS support in it. Every placeholder in the template files displays the
message "Error Creating Control" (Parse Error: Unknown Server Tag) and I
cannot add any placeholders into template files.
I didn't install VS . NET and Developer Tools on the web server as I didn't
see any reason to do it....would it help?

2. "Switch To Edit Site" does not work! I get some script error after I
click it. There is a NR subfolder with no application created inside the
default web site in the IIS (I didn't modify any settings after the CMS
installation, I just mapped the copied VS . NET project into IIS web site
and created its application). Of course, I can edit the site from my
workstation as I have the local copy of the site (both sites use the same
SQL database) but I would like to make new site fully functional.

I would be very thankful for any help!

Hrvoje


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:eYQynXcEEHA.2404@TK2MSFTNGP11.phx.gbl...
> Hi Hrvoje,
>
> CMS on the new server can use the same database.
> When copying the VS.NET project ensure that the project is created as a
web
> application in IIS MMC and also create the CMS virtual directory inside
the
> template project.
> And ensure that this CMS vitual directory is NOT a web application.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
> news:O2KNCGcEEHA.1128@TK2MSFTNGP11.phx.gbl... 
a 
> web 
> web 
what
> to 
will 
> CMS 
> already 
> the 
steps. 
>
>







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Stefan [MSFT]


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


 
03-26-04 05:27 PM

Hi Hrvoje,

1) it is not possible to work with VS.NET against a remote CMS server.
The reason for this is that the developer tools are developed with CMS PAPI
and PAPI can only access the local server.
So you need to install VS.NET on this server or you have to develop on your
local machine and copy the compiled binaries over.

2) you missed the second point in my email about the CMS virtual directory.
Here is an article about this with more details:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30

Cheers,
Stefan

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


"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:OlXfpjzEEHA.1128@TK2MSFTNGP11.phx.gbl...
> Hello again.
>
> Thank you. I moved the site on the new server and it works. But it's not
> fully functional.
> I met two problems now:
>
> 1. I didn't install Visual Studio .NET on the new web server. When I try
to
> open the VS .NET project situated physically on the new web server using
the
> VS .NET on my workstation, I can open the project but it looks like
there's
> no CMS support in it. Every placeholder in the template files displays the
> message "Error Creating Control" (Parse Error: Unknown Server Tag) and I
> cannot add any placeholders into template files.
> I didn't install VS . NET and Developer Tools on the web server as I
didn't
> see any reason to do it....would it help?
>
> 2. "Switch To Edit Site" does not work! I get some script error after I
> click it. There is a NR subfolder with no application created inside the
> default web site in the IIS (I didn't modify any settings after the CMS
> installation, I just mapped the copied VS . NET project into IIS web site
> and created its application). Of course, I can edit the site from my
> workstation as I have the local copy of the site (both sites use the same
> SQL database) but I would like to make new site fully functional.
>
> I would be very thankful for any help!
>
> Hrvoje
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:eYQynXcEEHA.2404@TK2MSFTNGP11.phx.gbl... 
> web 
> the 
> rights. 
built
> a 
a 
machine. 
new 
> what 
> will 
workstation's 
to 
what's 
> steps. 
>
>







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Hrvoje Vrbanc


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


 
03-28-04 04:36 PM

Thank you!
1) is now clear!
2) still doesn't work despite creating virtual directory (not application)
"CMS" with path C:\Program Files\Microsoft Content Management
Server\Server\IIS_CMS.

Sorry for being boring but....

Hrvoje


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:%230Sj0M1EEHA.2308@tk2msftngp13.phx.gbl...
> Hi Hrvoje,
>
> 1) it is not possible to work with VS.NET against a remote CMS server.
> The reason for this is that the developer tools are developed with CMS
PAPI
> and PAPI can only access the local server.
> So you need to install VS.NET on this server or you have to develop on
your
> local machine and copy the compiled binaries over.
>
> 2) you missed the second point in my email about the CMS virtual
directory.
> Here is an article about this with more details:
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/u
rl](complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
> news:OlXfpjzEEHA.1128@TK2MSFTNGP11.phx.gbl... 
> to 
> the 
> there's 
the 
> didn't 
site 
same 
a 
inside 
database 
> built 
a 
as
> a 
> machine. 
> new 
server 
> workstation's 
> to 
> what's 
>
>







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Stefan [MSFT]


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


 
03-28-04 05:36 PM

Hi Hrvoje,

did you correct the instance ID?
Then the problem should be solved.
Oh! You need to ensure that the website you are using has a unique port. It
is not possible to have more than one website with the same port as the CMS
website you are working against. Even stopped websites are not allowed to
have the same port.

Cheers,
Stefan.

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


"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:uyFAjIOFEHA.3804@TK2MSFTNGP09.phx.gbl...
> Thank you!
> 1) is now clear!
> 2) still doesn't work despite creating virtual directory (not application)
> "CMS" with path C:\Program Files\Microsoft Content Management
> Server\Server\IIS_CMS.
>
> Sorry for being boring but....
>
> Hrvoje
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:%230Sj0M1EEHA.2308@tk2msftngp13.phx.gbl... 
> PAPI 
> your 
> directory. 
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/u
rl](complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30 
> rights. 
not 
try 
using 
> the 
I 
I 
the 
CMS 
> site 
> same 
as
> a 
> inside 
would 
> database 
built
> a 
fine. 
> as 
the 
know 
> server 
same, 
necessary 
right 
>
>







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Hrvoje Vrbanc


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


 
03-29-04 09:47 AM

Hello again!

I have corrected a port problem as there was another site on the default
port 80 (pity it can't stay that way).
But about the instance ID, I'm sorry, I'm a bit lost. Where should I correct
it?
It looks to me like there's a problem with the Console. When I click "Switch
To Edit Site", I just get a pop-up script error "Line xxx....Object
expected...." (of course, under different IE settings, there's no such error
but just "Error On Page" down left). The page stays open and IE doesn't
redirect to another page neither it displays any error in the main
window....
There's also a funny problem. I have copied back the project from the server
to local WS with the effect that now the web on the local WS isn't editable
any more (same error). What gets changed during those copyings?

Thank you very much!
Hrvoje


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uduhmZOFEHA.2868@TK2MSFTNGP12.phx.gbl...
> Hi Hrvoje,
>
> did you correct the instance ID?
> Then the problem should be solved.
> Oh! You need to ensure that the website you are using has a unique port.
It
> is not possible to have more than one website with the same port as the
CMS
> website you are working against. Even stopped websites are not allowed to
> have the same port.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
> news:uyFAjIOFEHA.3804@TK2MSFTNGP09.phx.gbl... 
application) 
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/u
rl](complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30 
> not 
> try 
> using 
displays 
and
> I 
after
> I 
> the 
> CMS 
> as 
application. 
no 
> would 
have 
> built 
> fine. 
act 
> the 
> know 
> same, 
> necessary 
it, 
> right 
>
>







[ Post a follow-up to this message ]



    Re: Another site deployment question  
Stefan [MSFT]


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


 
03-29-04 04:44 PM

Hi Hrvoje,

the article I sent you previously states that you have to correct the
instance id:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm#AF0A8BBF-1488-450F-ADD1-E555312ADEC9

Cheers,
Stefan.

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


"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:Og0XJGXFEHA.1376@TK2MSFTNGP10.phx.gbl...
> Hello again!
>
> I have corrected a port problem as there was another site on the default
> port 80 (pity it can't stay that way).
> But about the instance ID, I'm sorry, I'm a bit lost. Where should I
correct
> it?
> It looks to me like there's a problem with the Console. When I click
"Switch
> To Edit Site", I just get a pop-up script error "Line xxx....Object
> expected...." (of course, under different IE settings, there's no such
error
> but just "Error On Page" down left). The page stays open and IE doesn't
> redirect to another page neither it displays any error in the main
> window....
> There's also a funny problem. I have copied back the project from the
server
> to local WS with the effect that now the web on the local WS isn't
editable
> any more (same error). What gets changed during those copyings?
>
> Thank you very much!
> Hrvoje
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:uduhmZOFEHA.2868@TK2MSFTNGP12.phx.gbl... 
> It 
> CMS 
to 
> rights. 
> application) 
server. 
CMS 
on 
>
[url]http://download.microsoft.com/download/4/2/5/4250f79a-c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+[/u
rl](complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30 
it's 
I 
like 
> displays 
> and 
I 
> after 
inside 
the 
web 
my 
the 
created 
> application. 
> no 
> have 
> act 
to 
don't 
> it, 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:59 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