Channel Rendering Script
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Channel Rendering Script

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Russ
Guest





Posted: Thu Jan 13, 2005 1:51 am    Post subject: Channel Rendering Script Reply with quote

I am trying to implement a channel rendering script that will replace the
default MCMS screen that appears if a posting does not exist in the current
channel. I have created an aspx page based on the main template that we use
for our site. In Site Builder, in the Script URL property for the channel, I
am entering the path to the aspx page within the Visual Studio project
(/WebUI/Templates/MyChannelRenderingScript.aspx). When I try to access the
site I get a Resource cannot be found error. Can anyone offer any help?

Thanks,

Russ
Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 3:10 pm    Post subject: Re: Channel Rendering Script Reply with quote

Hi Russ,

this means that the path is not valid.
Please check your IIS log to see if the right URL shows up.
If yes, download filemon from www.sysinternals.com and check which location
is looked at.

Cheers,
Stefan.


"Russ" <Russ@discussions.microsoft.com> wrote in message
news:ABBDF3F4-DB44-4A9A-A9A8-AEA087F420BC@microsoft.com...
Quote:
I am trying to implement a channel rendering script that will replace the
default MCMS screen that appears if a posting does not exist in the
current
channel. I have created an aspx page based on the main template that we
use
for our site. In Site Builder, in the Script URL property for the
channel, I
am entering the path to the aspx page within the Visual Studio project
(/WebUI/Templates/MyChannelRenderingScript.aspx). When I try to access
the
site I get a Resource cannot be found error. Can anyone offer any help?

Thanks,

Russ
Back to top
Russ
Guest





Posted: Thu Jan 13, 2005 10:13 pm    Post subject: Re: Channel Rendering Script Reply with quote

Thank you Stefan, I was using the path from Visual Studio instead of the IIS
path. I can now get the MyChannelRenderingScript.aspx page to display but
have run into another situation. I want to display the aspx page from the
script url only if there is no "default" page for the current channel.
Currently, if a default page exists and I am in edit mode, the channel
rendering script is running when I select the link to the channel. I
expected to see the default page instead. Also, it seems that the code
behind is not being run.

Russ

"Stefan [MSFT]" wrote:

Quote:
Hi Russ,

this means that the path is not valid.
Please check your IIS log to see if the right URL shows up.
If yes, download filemon from www.sysinternals.com and check which location
is looked at.

Cheers,
Stefan.


"Russ" <Russ@discussions.microsoft.com> wrote in message
news:ABBDF3F4-DB44-4A9A-A9A8-AEA087F420BC@microsoft.com...
I am trying to implement a channel rendering script that will replace the
default MCMS screen that appears if a posting does not exist in the
current
channel. I have created an aspx page based on the main template that we
use
for our site. In Site Builder, in the Script URL property for the
channel, I
am entering the path to the aspx page within the Visual Studio project
(/WebUI/Templates/MyChannelRenderingScript.aspx). When I try to access
the
site I get a Resource cannot be found error. Can anyone offer any help?

Thanks,

Russ


Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 11:41 pm    Post subject: Re: Channel Rendering Script Reply with quote

Hi Russ,

then modify your channel rendering script, that it checks if a posting
exists and does a redirect to the posting.

Cheers,
Stefan.

"Russ" <Russ@discussions.microsoft.com> wrote in message
news:74D23C18-4BBC-4A21-8B7D-EBBE58A4C071@microsoft.com...
Quote:
Thank you Stefan, I was using the path from Visual Studio instead of the
IIS
path. I can now get the MyChannelRenderingScript.aspx page to display but
have run into another situation. I want to display the aspx page from the
script url only if there is no "default" page for the current channel.
Currently, if a default page exists and I am in edit mode, the channel
rendering script is running when I select the link to the channel. I
expected to see the default page instead. Also, it seems that the code
behind is not being run.

Russ

"Stefan [MSFT]" wrote:

Hi Russ,

this means that the path is not valid.
Please check your IIS log to see if the right URL shows up.
If yes, download filemon from www.sysinternals.com and check which
location
is looked at.

Cheers,
Stefan.


"Russ" <Russ@discussions.microsoft.com> wrote in message
news:ABBDF3F4-DB44-4A9A-A9A8-AEA087F420BC@microsoft.com...
I am trying to implement a channel rendering script that will replace
the
default MCMS screen that appears if a posting does not exist in the
current
channel. I have created an aspx page based on the main template that
we
use
for our site. In Site Builder, in the Script URL property for the
channel, I
am entering the path to the aspx page within the Visual Studio project
(/WebUI/Templates/MyChannelRenderingScript.aspx). When I try to
access
the
site I get a Resource cannot be found error. Can anyone offer any
help?

Thanks,

Russ


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB