Microsoft Content Management Server - 404 error when trying to create a new posting

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2005 > 404 error when trying to create a new posting





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 404 error when trying to create a new posting
news.comcast.giganews.com

2005-03-24, 8:47 pm

I've loaded the woodgrove samples and created a new channel called scratch. I've created a new template and template definition to go along with that (basically followed the instructions on p. 581 in MCMS 2002 - A Complete Guide). I switch to edit mode, go to create a new page, choose any template (either the one I created or choose one of the Woodgrove ones) and I get the following error:


Server Error in '/vsScratchPad' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested Url: /vsScratchPad/Templates/ScratchTemplate.aspx



--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032



It is a mixed-mode site. I'm running the dev version with SP1a (2002) on XP Professional with SQL Server on my local machine. The link to create the new posting (the little hand on the choose a template page goes to:
<a href='#' onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF.htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B40%7d&nr_emit=ThinEdit&wbc_purpose=Authoring");return false'>

There is no file in there of that name - although I'm assuming it's simply cached somewhere else and is a legacy issue from 2001.

Anyone have any ideas?

Thanks,

- Jeff Patrick
Stefan [MSFT]

2005-03-24, 8:47 pm

Hi Jeff,

seems the template file is not available at the correct path:
/vsScratchPad/Templates/ScratchTemplate.aspx

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"news.comcast.giganews.com" <foo@foo.com> wrote in message
news:u9Dn$KLMFHA.1156@TK2MSFTNGP09.phx.gbl...
I've loaded the woodgrove samples and created a new channel called scratch.
I've created a new template and template definition to go along with that
(basically followed the instructions on p. 581 in MCMS 2002 - A Complete
Guide). I switch to edit mode, go to create a new page, choose any template
(either the one I created or choose one of the Woodgrove ones) and I get the
following error:


Server Error in '/vsScratchPad' Application.
----------------------------------------------------------------------------
----

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure that
it is spelled correctly.

Requested Url: /vsScratchPad/Templates/ScratchTemplate.aspx



----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032



It is a mixed-mode site. I'm running the dev version with SP1a (2002) on XP
Professional with SQL Server on my local machine. The link to create the new
posting (the little hand on the choose a template page goes to:
<a href='#'
onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
0%7d&nr_emit=ThinEdit&wbc_purpose=Authoring");return false'>

There is no file in there of that name - although I'm assuming it's simply
cached somewhere else and is a legacy issue from 2001.

Anyone have any ideas?

Thanks,

- Jeff Patrick


news.comcast.giganews.com

2005-03-24, 8:47 pm

I should have mentioned that it is indeed there. I've checked both IIS and
windows explorer. But if I try to navigate there in IE I get the same
error - that the resource cannot be found.

Weird

- Jeff


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:%23g8W9lLMFHA.3380@TK2MSFTNGP15.phx.gbl...
> Hi Jeff,
>
> seems the template file is not available at the correct path:
> /vsScratchPad/Templates/ScratchTemplate.aspx
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "news.comcast.giganews.com" <foo@foo.com> wrote in message
> news:u9Dn$KLMFHA.1156@TK2MSFTNGP09.phx.gbl...
> I've loaded the woodgrove samples and created a new channel called

scratch.
> I've created a new template and template definition to go along with that
> (basically followed the instructions on p. 581 in MCMS 2002 - A Complete
> Guide). I switch to edit mode, go to create a new page, choose any

template
> (either the one I created or choose one of the Woodgrove ones) and I get

the
> following error:
>
>
> Server Error in '/vsScratchPad' Application.
> --------------------------------------------------------------------------

--
> ----
>
> The resource cannot be found.
> Description: HTTP 404. The resource you are looking for (or one of its
> dependencies) could have been removed, had its name changed, or is
> temporarily unavailable. Please review the following URL and make sure

that
> it is spelled correctly.
>
> Requested Url: /vsScratchPad/Templates/ScratchTemplate.aspx
>
>
>
> --------------------------------------------------------------------------

--
> ----
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;

ASP.NET
> Version:1.1.4322.2032
>
>
>
> It is a mixed-mode site. I'm running the dev version with SP1a (2002) on

XP
> Professional with SQL Server on my local machine. The link to create the

new
> posting (the little hand on the choose a template page goes to:
> <a href='#'
>

onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
>

..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
> 0%7d&nr_emit=ThinEdit&wbc_purpose=Authoring");return false'>
>
> There is no file in there of that name - although I'm assuming it's simply
> cached somewhere else and is a legacy issue from 2001.
>
> Anyone have any ideas?
>
> Thanks,
>
> - Jeff Patrick
>
>



Stefan [MSFT]

2005-03-24, 8:47 pm

Hi Jeff,

you should download filemon from www.sysinternals.com.
Thsi will show you if there are failing disk accesses and which location is
really looked at.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"news.comcast.giganews.com" <foo@foo.com> wrote in message
news:ujwuZpLMFHA.3380@TK2MSFTNGP15.phx.gbl...
> I should have mentioned that it is indeed there. I've checked both IIS and
> windows explorer. But if I try to navigate there in IE I get the same
> error - that the resource cannot be found.
>
> Weird
>
> - Jeff
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:%23g8W9lLMFHA.3380@TK2MSFTNGP15.phx.gbl...
rights[vbcol=seagreen]
> scratch.
that[vbcol=seagreen]
> template
> the
>
> --------------------------------------------------------------------------
> --
> that
>
> --------------------------------------------------------------------------
> --
> ASP.NET
> XP
> new
>

onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
>

..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
simply[vbcol=seagreen]
>
>



news.comcast.giganews.com

2005-03-24, 8:47 pm

Hi Stefan,

It appears that something may be hosed with my IIS/CMS installation. If I
dump a gif into the CMS directory (windows explorer) and then try to access
it via IE it shows up. When I dump ANY bogus test.asp or test.aspx file in
there that has nothing to do with cms I get the same error - resource not
found. It happens even if I create a new CMS web application. Now the really
weird thing is if I drop those bogus files into the Woodgrove directories -
they work! The only difference I can tell is the Woodgrove is a virtual
directory and what I created through vs2003 is a web directory. Could this
have anything to do with it?

Thanks,

- Jeff


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uOUatxLMFHA.3540@tk2msftngp13.phx.gbl...
> Hi Jeff,
>
> you should download filemon from www.sysinternals.com.
> Thsi will show you if there are failing disk accesses and which location

is
> really looked at.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "news.comcast.giganews.com" <foo@foo.com> wrote in message
> news:ujwuZpLMFHA.3380@TK2MSFTNGP15.phx.gbl...
and[vbcol=seagreen]
> rights
> that
Complete[vbcol=seagreen]
get[vbcol=seagreen]
>
> --------------------------------------------------------------------------
>
> --------------------------------------------------------------------------
on[vbcol=seagreen]
the[vbcol=seagreen]
>

onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
>

..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
> simply
>
>



Stefan [MSFT]

2005-03-24, 8:47 pm

I don't think so.
Might be something messed up in the metabase....

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"news.comcast.giganews.com" <foo@foo.com> wrote in message
news:u8PXaNMMFHA.656@TK2MSFTNGP14.phx.gbl...
> Hi Stefan,
>
> It appears that something may be hosed with my IIS/CMS installation. If I
> dump a gif into the CMS directory (windows explorer) and then try to

access
> it via IE it shows up. When I dump ANY bogus test.asp or test.aspx file in
> there that has nothing to do with cms I get the same error - resource not
> found. It happens even if I create a new CMS web application. Now the

really
> weird thing is if I drop those bogus files into the Woodgrove

directories -
> they work! The only difference I can tell is the Woodgrove is a virtual
> directory and what I created through vs2003 is a web directory. Could this
> have anything to do with it?
>
> Thanks,
>
> - Jeff
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:uOUatxLMFHA.3540@tk2msftngp13.phx.gbl...
> is
rights[vbcol=seagreen]
> and
> Complete
> get
>
> --------------------------------------------------------------------------
its[vbcol=seagreen]
sure[vbcol=seagreen]
>
> --------------------------------------------------------------------------
(2002)[vbcol=seagreen]
> on
> the
>

onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
>

..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
>
>



news.comcast.giganews.com

2005-03-24, 8:47 pm

Hmmm - that was it. I created a brand new CMS web application with a new
template and template definition. I threw a few controls on it including the
console. Compiled it - no error. Tried to access it and I got the same error
as before. I closed vs2003 and moved the project to a different directory
(c:\projects instead of c:\inetpub\wwwroot) and then created a virtual
directory pointing to this directory. Now everything works just fine. So, if
this is not expected behavior then I've got something very, very wrong in my
metabase. Guess it's time for an old "blow away and restore".

- Jeff


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uwZW4QMMFHA.2252@TK2MSFTNGP15.phx.gbl...
> I don't think so.
> Might be something messed up in the metabase....
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "news.comcast.giganews.com" <foo@foo.com> wrote in message
> news:u8PXaNMMFHA.656@TK2MSFTNGP14.phx.gbl...
I[vbcol=seagreen]
> access
in[vbcol=seagreen]
not[vbcol=seagreen]
> really
> directories -
this[vbcol=seagreen]
location[vbcol=seagreen]
> rights
IIS[vbcol=seagreen]
same[vbcol=seagreen]
no[vbcol=seagreen]
with[vbcol=seagreen]
I[vbcol=seagreen]
>
> --------------------------------------------------------------------------
> its
> sure
>
> --------------------------------------------------------------------------
Version:1.1.4322.2032;[vbcol=seagreen]
> (2002)
create[vbcol=seagreen]
>

onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
>

..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
it's[vbcol=seagreen]
>
>



Stefan [MSFT]

2005-03-24, 8:47 pm

That's strange....

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"news.comcast.giganews.com" <foo@foo.com> wrote in message
news:uCXQyUMMFHA.3960@TK2MSFTNGP12.phx.gbl...
> Hmmm - that was it. I created a brand new CMS web application with a new
> template and template definition. I threw a few controls on it including

the
> console. Compiled it - no error. Tried to access it and I got the same

error
> as before. I closed vs2003 and moved the project to a different directory
> (c:\projects instead of c:\inetpub\wwwroot) and then created a virtual
> directory pointing to this directory. Now everything works just fine. So,

if
> this is not expected behavior then I've got something very, very wrong in

my
> metabase. Guess it's time for an old "blow away and restore".
>
> - Jeff
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:uwZW4QMMFHA.2252@TK2MSFTNGP15.phx.gbl...
rights[vbcol=seagreen]
If[vbcol=seagreen]
> I
file[vbcol=seagreen]
> in
> not
virtual[vbcol=seagreen]
> this
> location
> IIS
> same
> no
called[vbcol=seagreen]
> with
any[vbcol=seagreen]
and[vbcol=seagreen]
> I
>
> --------------------------------------------------------------------------
of[vbcol=seagreen]
is[vbcol=seagreen]
make[vbcol=seagreen]
>
> --------------------------------------------------------------------------
> Version:1.1.4322.2032;
> create
>

onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF
>

..htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B4
> it's
>
>



Jeffrey Kwon

2005-03-24, 8:47 pm

Have you installed URLScan or IIS Lock down tool?


news.comcast.giganews.com wrote:
> I've loaded the woodgrove samples and created a new channel called
> scratch. I've created a new template and template definition to go along
> with that (basically followed the instructions on p. 581 in MCMS 2002 -
> A Complete Guide). I switch to edit mode, go to create a new page,
> choose any template (either the one I created or choose one of the
> Woodgrove ones) and I get the following error:
>
>
>
>
> Server Error in '/vsScratchPad' Application.
> ------------------------------------------------------------------------
>
>
> The resource cannot be found.
>
> Description: HTTP 404. The resource you are looking for (or one of its
> dependencies) could have been removed, had its name changed, or is
> temporarily unavailable. Please review the following URL and make sure
> that it is spelled correctly.
>
> Requested Url: /vsScratchPad/Templates/ScratchTemplate.aspx
>
> ------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
> ASP.NET Version:1.1.4322.2032
>
>
>
> It is a mixed-mode site. I'm running the dev version with SP1a (2002) on
> XP Professional with SQL Server on my local machine. The link to create
> the new posting (the little hand on the choose a template page goes to:
> <a href='#'
> onClick='WBC_createFromTmpl("/NR/exeres/48171167-0F50-4E60-9717-B18DC425E0DF.htm?NRMODE=Unpublished&NRCHANNELGUID=%7bD715A287-2803-4563-B8F9-3F3EE5017B40%7d&nr_emit=ThinEdit&wbc_purpose=Authoring");return
> false'>
>
> There is no file in there of that name - although I'm assuming it's
> simply cached somewhere else and is a legacy issue from 2001.
>
> Anyone have any ideas?
>
> Thanks,
>
> - Jeff Patrick

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com