Re: MOSS 2007 _layouts Application

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Chris,
I found that really simple stuff works like just putting an .aspx file with
inline code, uncompiled, into a subfolder of _layouts.

Try this:
drop this testing.aspx file in to someplace under _layouts:
<html><body><%=Request.ServerVariables("PATH_INFO")%></body></html>

You should be able to request this page from any site.

When I tried building a "Web Application Project" with compiled pages and
use "publish" to get it to the site (or even just plain old copy), it only
works from root. When I try to access from a subsite, SharePoint fails on
trying to load the bin\.dll.

-LZ

<chrjones@xxxxxxxxx> wrote in message
news:1159961550.072315.257760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Ok I've been working on this one for ages and I'm out of ideas.

In 2003 I created a custom user admin application that sat in the
_layouts virtual directory and allowed us to customise the user admin
side of things for our team sites. Now we want to be able to do the
same thing in MOSS 2007 - only I can't find any way of making it work.

According to:
http://blogs.msdn.com/cjohnson/archive/2006/09/05/740498.aspx it is
possible. Does anyone have any pointers on creating a _layouts
Application in MOSS 2007 or preferably is there a how to for doing
this? My searches for information have all come up blank...

Cheers,


Chris



.



Relevant Pages

  • Re: MOSS 2007 _layouts Application
    ... Working directly off the dev server is alot easier. ... with inline code, uncompiled, into a subfolder of _layouts. ... In 2003 I created a custom user admin application that sat in the ... same thing in MOSS 2007 - only I can't find any way of making it work. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: MOSS 2007 _layouts Application
    ... with inline code, uncompiled, into a subfolder of _layouts. ... In 2003 I created a custom user admin application that sat in the ... same thing in MOSS 2007 - only I can't find any way of making it work. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Adding Pages to SharePoint Site
    ... What you can do is you can place an aspx file in the ... _layouts folder(Drive:\Program files\common ... >Is it possible to add your own ASPX pages to a SharePoint ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: MOSS 2007 _layouts Application
    ... of course refers to the top level site, but you could access the web inside. ... project dll into the MOSS root bin folder, ... Working directly off the dev server is alot easier. ... with inline code, uncompiled, into a subfolder of _layouts. ...
    (microsoft.public.sharepoint.portalserver.development)
  • SharePoint Designer not opening page layouts
    ... My team and I are running into a serious problem opening page layouts with ... Most but not all of the page layouts on our site give ... and database server and found nothing of interest. ... This is quickly becoming a showstopper issue in using MOSS as a CMS. ...
    (microsoft.public.sharepoint.portalserver)