none
This is a marker file generated by the precompilation tool, and should not be deleted Error

    Question

  • hi,

    I have created one custom aspx page with  code behind. while publishing, I have seleted fixed naming, Strong name key in VS 2008.

    and after publishing, I put my aspx page in layouts folder and .dll in GAC.

    when browsing like http://servername/_layouts/myaspx page, it shows the following error,

    "This is a marker file generated by the precompilation tool, and should not be deleted!"

    Where am i wrong, Please Guide me?

    or any other approach to use my custom aspx page in sharepoint site?

    Thanks in Advance

    Tuesday, August 17, 2010 3:17 AM

Answers

  • Please refer to the MSDN Walkthrough which explains how to create application pages in SharePoint 2010 the proper way.
    Regards,
    Chakkaradeep || SharePoint Solutions Specialist - MCTS SharePoint Dev, WSS Dev, MCPD SharePoint Developer 2010
    http://www.intergen.co.nz || Twitter: http://twitter.com/chakkaradeep || http://www.chakkaradeep.com
    • Marked as answer by Wayne Fan Friday, August 20, 2010 5:54 AM
    Tuesday, August 17, 2010 7:19 AM

All replies

  • Hi, Are you using SharePoint 2007 or SharePoint 2010?

    This forum is only for SharePoint 2010 queries, so if you are working with SharePoint 2007, I can move this thread to the SharePoint 2007 forum.

    If you are using SharePoint 2010 - Here is the MSDN Walkthrough which explains how to create application pages in SharePoint 2010.


    Regards,
    Chakkaradeep || SharePoint Solutions Specialist - MCTS SharePoint Dev, WSS Dev, MCPD SharePoint Developer 2010
    http://www.intergen.co.nz || Twitter: http://twitter.com/chakkaradeep || http://www.chakkaradeep.com
    Tuesday, August 17, 2010 3:59 AM
  • Hi Chakkaradeep,

    Thanks for your response. Im using SharePoint 2010, VS 2008. I have one custom aspx page. is my approach wrong?

    Tuesday, August 17, 2010 4:31 AM
  • Please refer to the MSDN Walkthrough which explains how to create application pages in SharePoint 2010 the proper way.
    Regards,
    Chakkaradeep || SharePoint Solutions Specialist - MCTS SharePoint Dev, WSS Dev, MCPD SharePoint Developer 2010
    http://www.intergen.co.nz || Twitter: http://twitter.com/chakkaradeep || http://www.chakkaradeep.com
    • Marked as answer by Wayne Fan Friday, August 20, 2010 5:54 AM
    Tuesday, August 17, 2010 7:19 AM
  • I share Akilaskk's problem.  The MSDN Walkthrough Chakkaradeep recommends includes instructions for Visual Studio 2010 only.  Akilaskk and I are using Visual Studio 2008, which does not include SharePoint templates among its New Project menu options.  Certainly, there are things about SharePoint 2010 that behave funny when you try to publish a non-SharePoint web app there.

    Though moderator Wayne marked this question answered, I'd propose that it be unmarked, gvien the Walkthrough's different environment (and Akilaskk's silence).  Or perhaps someone in the community could recommend how to adapt the walkthrough's procedure for VS2008?

    Humbly submitted,
    (] Brian [)

    Thursday, February 16, 2012 8:48 PM