Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hosting MCMS2002 Site in Website Instead of Virtual Directory

0 views
Skip to first unread message

Jeff

unread,
Jan 22, 2004, 4:33:31 PM1/22/04
to
Hi guys,

Does anyone know how to host an MCMS2002 site in a website
instead of a virtual directory in IIS? Everytime when I
create a new MCMS2002 project, VS.NET will create a new
virtual directory for that project.

One of my clients doesn't want to host their site under a
VD but since the site was built to work under a VR, I
won't work when I deployed it to a website.

Any help on this would be much appreciated.

Jeff

George

unread,
Jan 22, 2004, 6:03:56 PM1/22/04
to
What you could do is stop the default website and create
a whole new website called "MCMS2002" or whatever you
want and make that your default website. However, you
will still be working with Virtual Directories when you
expand the site out. I don't think there's a way around
that.

>.
>

Jeff

unread,
Jan 22, 2004, 6:24:35 PM1/22/04
to
Hi George,

That's what I thought too. I was able to host the aspx
part of the MCMS site in a website but in order to access
the top channel of the site, I still have to use
http://localhost/<TopChannelName>. So there's no way we
can make it so that we can access the site via just
http://localhost?

Jeff

>.
>

Justin

unread,
Jan 23, 2004, 12:49:17 AM1/23/04
to
Jeff, read the following topic in the MCMS Help File:
Mapping Channel Names to Host Header Names

What you want to do is easy. Your channel structure will be something like
/channels/www.myhost.com/somechannel
You set up a host header for the website in IIS, make sure the DNS can see
it. That should do it.

Cheers
Justin

"Jeff" <anon...@discussions.microsoft.com> wrote in message
news:2d6201c3e13e$e5f2c360$a601...@phx.gbl...

Stefan [MSFT]

unread,
Jan 23, 2004, 7:08:37 AM1/23/04
to
Hi Jeff,

check out this article which explains this in detail:
http://support.microsoft.com/?id=326783

Cheers,
Stefan.

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


"Jeff" <anon...@discussions.microsoft.com> wrote in message

news:2ada01c3e12f$616976c0$a401...@phx.gbl...

Jeff

unread,
Jan 23, 2004, 10:09:41 AM1/23/04
to
Hi Stefan,

I had used the suggestion in the article but unfortunately
my client purchased the standard edition of MCMS2002,
which doesn't come with the "Map Channel Names to Host
Header Names" option. Is there another way around this?

Cheers,
Jeff

>.
>

Jeff

unread,
Jan 23, 2004, 10:11:48 AM1/23/04
to
Hi Justin,

I had tried the suggestion in the article with the
enterprise edition of MCMS2002 and it works just fine.
Unfortunately my client purchased the standard edition,

which doesn't come with the "Map Channel Names to Host
Header Names" option. Is there another way around this?

Cheers,
Jeff

>.
>

Stefan [MSFT]

unread,
Jan 23, 2004, 10:25:56 AM1/23/04
to
Hi Jeff,

your customer needs to by the enterprise edition.
All attempts to bypass this would be a licensing violation.

Cheers,
Stefan.

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


"Jeff" <anon...@discussions.microsoft.com> wrote in message

news:2e7001c3e1c2$ed0ad140$a001...@phx.gbl...

Stefan [MSFT]

unread,
Jan 23, 2004, 10:25:16 AM1/23/04
to
Hi Jeff,

yes! You need to by the Enterprise edition.
All attempts to bypass this limitation will be a licensing violation.

Cheers,
Stefan.

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


"Jeff" <jts...@pangaeainc.com> wrote in message
news:331801c3e1c3$389b73d0$a601...@phx.gbl...

Stefan [MSFT]

unread,
Jan 23, 2004, 10:29:08 AM1/23/04
to
Sorry, this was a little bit to quick!
There is a workaround which would not break licensing:

Place an ASP.NET page in the root of your site which does a
response.redirect to the your start channel.

Cheers,
Stefan.

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


"Stefan [MSFT]" <ste...@online.microsoft.com> wrote in message
news:u0#wmUc4D...@TK2MSFTNGP12.phx.gbl...

Stefan [MSFT]

unread,
Jan 23, 2004, 10:29:13 AM1/23/04
to
Sorry, this was a little bit to quick!
There is a workaround which would not break licensing:

Place an ASP.NET page in the root of your site which does a
response.redirect to the your start channel.

Cheers,
Stefan.

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

"Stefan [MSFT]" <ste...@online.microsoft.com> wrote in message

news:#kzE$Uc4DH...@tk2msftngp13.phx.gbl...

Jeff

unread,
Jan 23, 2004, 12:39:01 PM1/23/04
to
I'm sure this method will work but client is a bit picky
on the URL. They want to be able to server the site as
www.domain.com instead of www.domain.com/topchannel. I'm
not sure if there's any other ways around this other than
having to deploy the enterprise edition.

Jeff

>.
>

Stefan [MSFT]

unread,
Jan 23, 2004, 2:49:48 PM1/23/04
to
Hi Jeff,

the reason that standard edition is much cheeper than enterprise edition is
that significant feature cut are done.
This is one of the feature cuts. If no feature cuts would be in standard
edition, nobody would continue to by the enterprise edition.
So if the customer needs this feature, he has to by the enterprise edition.

Cheers,
Stefan.

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


"Jeff" <jts...@pangaeainc.com> wrote in message

news:34f101c3e1d7$c98b1760$a601...@phx.gbl...

Stephen

unread,
Jan 26, 2004, 12:58:34 PM1/26/04
to
Try http://support.microsoft.com/default.aspx?scid=kb;en-
us;303845

and then in VS.Net Project menu, select Enable as MCMS
Project

>.
>

Jeff

unread,
Jan 27, 2004, 10:59:48 AM1/27/04
to
Hi Stefan,

I was able to host an MCMS site in a website instead of a
VR.

Since it is a brand new website, I had to manually create
those CMS, MCMS, and NR virtual directories within the new
website and copy the aspnet_client and webctrl_client
folder to the website root folder. Is this appropriate?
Is there a better way to do this?

Everything seems to work fine except when I try to open
production manager from the web console, I get "The page
cannot be displayed". Any idea what have I done wrong?

I was reading one of your messages regarding
ClientSideValidatedPlaceholderControl. Would you mind
giving me the instructions on how to use this control?

Thanks.

Jeff

>.
>

Jeff

unread,
Jan 27, 2004, 12:19:52 PM1/27/04
to
Hi Stefan,

I have another problem after moving the site from a VR to
a website. I can't import/export in site manager. I keep
get errors complaining that the following items are
already in the application and cannot be added again:

CmsAuthorizationModule
CmsEndRequestModule
PostingEventsModule
CmsCacheModule

I went and commented out these lines in my web.config and
the import/export worked but my site died. Then I
uncommented these lines and the site worked. Then of
course, I won't be able to do import/export again unless I
comment those lines out again. You see my problem?

Should I just tell my client that MCMS is not designed to
host a site in website root? Let me know if you have any
other suggestions.

Cheers,
Jeff

>.
>

Stefan [MSFT]

unread,
Jan 27, 2004, 4:28:45 PM1/27/04
to
Hi Jeff,

it seems you have a web.config in the root of your website.
This is not recommended.
Did you create your template project in the root?
You should either change this or -as a workaround - create a second website
that needs to be configured as web entry point with no web.config in the
root and use this for SiteManager.

Cheers,
Stefan

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


"Jeff" <anon...@discussions.microsoft.com> wrote in message

news:56df01c3e4f9$c6c932d0$a601...@phx.gbl...

0 new messages