I need to provision SharePoint page using Visual Studio module, and the following is the module file:

enter image description here

The page deployed successfully and I can open it, but if I edit the page properties and navigate back to the page, the following error appears:

enter image description here

  • Is line 32 actually present in the file you're deploying? – Derek Gusoff Feb 17 '15 at 15:10
  • no, SharePoint generate it after publish the page – jobin Feb 18 '15 at 12:47
  • 1
    Your module XML looks fine. I'd guess there's a corruption in your page markup. If you deploy a generic page - like a copy of an OOB file - in this manner does the error still occur? – Derek Gusoff Feb 18 '15 at 14:03
  • @DerekGusoff yes, thank you, it solved, the issue was with "asp:content" I changed it to "asp:Content" – jobin Feb 19 '15 at 7:00

I solved it by replace "asp:content" with "asp:Content"

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.