|
Home > Archive > Microsoft Content Management Server > March 2004 > Another site deployment question
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 |
Another site deployment question
|
|
| Hrvoje Vrbanc 2004-03-24, 5: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
| |
| Stefan [MSFT] 2004-03-24, 5: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
>
>
| |
| Hrvoje Vrbanc 2004-03-26, 12: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[color=darkred]
> web
> web
what[color=darkred]
> to
will[color=darkred]
> CMS
> already
> the
steps.[color=darkred]
>
>
| |
| Stefan [MSFT] 2004-03-26, 12: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...6a/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[color=darkred]
> a
a[color=darkred]
machine.[color=darkred]
new[color=darkred]
> what
> will
workstation's[color=darkred]
to[color=darkred]
what's[color=darkred]
> steps.
>
>
| |
| Hrvoje Vrbanc 2004-03-28, 11:36 am |
| 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:
>
http://download.microsoft.com/downl...6a/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...
> to
> the
> there's
the[color=darkred]
> didn't
site[color=darkred]
same[color=darkred]
a[color=darkred]
inside[color=darkred]
database[color=darkred]
> built
a[color=darkred]
as[color=darkred]
> a
> machine.
> new
server[color=darkred]
> workstation's
> to
> what's
>
>
| |
| Stefan [MSFT] 2004-03-28, 12: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.
>
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30
> rights.
not[color=darkred]
try[color=darkred]
using[color=darkred]
> the
I[color=darkred]
I[color=darkred]
the[color=darkred]
CMS[color=darkred]
> site
> same
as[color=darkred]
> a
> inside
would[color=darkred]
> database
built[color=darkred]
> a
fine.[color=darkred]
> as
the[color=darkred]
know[color=darkred]
> server
same,[color=darkred]
necessary[color=darkred]
right[color=darkred]
>
>
| |
| Hrvoje Vrbanc 2004-03-29, 4: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)[color=darkred]
>
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30
> not
> try
> using
displays[color=darkred]
and[color=darkred]
> I
after[color=darkred]
> I
> the
> CMS
> as
application.[color=darkred]
no[color=darkred]
> would
have[color=darkred]
> built
> fine.
act[color=darkred]
> the
> know
> same,
> necessary
it,[color=darkred]
> right
>
>
| |
| Stefan [MSFT] 2004-03-29, 11:44 am |
| Hi Hrvoje,
the article I sent you previously states that you have to correct the
instance id:
http://download.microsoft.com/downl...6a/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[color=darkred]
> rights.
> application)
server.[color=darkred]
CMS[color=darkred]
on[color=darkred]
>
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#21B7B163-820E-439C-9D36-24A94BB15B30
it's[color=darkred]
I[color=darkred]
like[color=darkred]
> displays
> and
I[color=darkred]
> after
inside[color=darkred]
the[color=darkred]
web[color=darkred]
my[color=darkred]
the[color=darkred]
created[color=darkred]
> application.
> no
> have
> act
to[color=darkred]
don't[color=darkred]
> it,
>
>
|
|
|
|
|