Microsoft Content Management Server - Newbie: Storing .asps in the database?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2005 > Newbie: Storing .asps in the database?





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 Newbie: Storing .asps in the database?
Damian McGrath

2005-11-29, 7:50 am

Hi, I am at the stage of making an initial contact with
an MS CMS 2001 user. They say that they would like
to store code fragments (such as .asp and .inc files).
In the MS CMS database. I'm new to MS CMS but in the
examples I've seen these types of files are stored by
IIS under the NR directory.

Does anyone out there know whether storing these
scripts in the database is possible and how you might
go about doing it?

Many Thanks,
Damian

Stefan [MSFT]

2005-11-29, 7:50 am

Hi Damian,

INC files are opened by the ASP ISAPI extension using file IO methods.
Such methods will not be able to open INC files stored in the MCMS
repository.

ASP files would have to be downloaded to the filesystem before they can be
executed for the same reason. I assume that this will not work due to the
fact that the download would end up in the MCMS disk cache and not at the
location IIS tells the ISAPI extension.

Cheers,
Stefan

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

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Damian McGrath" <Damian McGrath@discussions.microsoft.com> wrote in message
news:5AF49894-3458-4934-9019-81E5A06E77FA@microsoft.com...
> Hi, I am at the stage of making an initial contact with
> an MS CMS 2001 user. They say that they would like
> to store code fragments (such as .asp and .inc files).
> In the MS CMS database. I'm new to MS CMS but in the
> examples I've seen these types of files are stored by
> IIS under the NR directory.
>
> Does anyone out there know whether storing these
> scripts in the database is possible and how you might
> go about doing it?
>
> Many Thanks,
> Damian
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com