DataTemplate Error

Last post 12-19-2007 11:34 AM by JoeReynolds. 2 replies.

Sort Posts:

  • DataTemplate Error

    12-18-2007, 10:57 PM
    • Participant
      781 point Participant
    • JoeReynolds
    • Member since 06-24-2002, 11:39 AM
    • Posts 238

    I'm receiving the error below when trying to run a dynamic data template. Any ideas?

    The VirtualPathProvider returned a VirtualFile object with  VirtualPath
    set to '/tblOPANews/ListDetails.aspx' instead of the
    expected '//tblOPANews/ListDetails.aspx'.

  • Re: DataTemplate Error

    12-18-2007, 11:33 PM
    • Participant
      1,083 point Participant
    • pnv.ravikiran
    • Member since 08-24-2007, 3:05 AM
    • Sydney, Australia
    • Posts 215

    Hi

     

                It will be easy for us to help you out if you post the actual code. Any ways just by looking at the error it seems either path error or concatenation of “/” escape character. As in C# you need to user “//” instead of “/”.

     

    Hope this helps

     

    Happy Coding

     

    Please mark as “Answer” if you find this post helpful


    Happy coding..
    -------------------------------------------------------------------
    Please mark as answer if you find this post helpful.
  • Re: DataTemplate Error

    12-19-2007, 11:34 AM
    Answer
    • Participant
      781 point Participant
    • JoeReynolds
    • Member since 06-24-2002, 11:39 AM
    • Posts 238

    Thanks. Found the problem. I was missing a couple of lines in my web.confif.

Page 1 of 1 (3 items)