locked
Visual Basic 2013 'Data at the root level is invalid. Line 1, position 1' RRS feed

  • Question

  •  I have been working on this Visual Basic project. Saved it like normal last night. Tonight it fails to load and says 'Data at the root level is invalid. Line 1, position 1'  --- "expected '<' Found 'Public'    Can anyone please help me with this? College class and very little time to work this out. It's a semester project.
    • Moved by Amanda Zhu Tuesday, September 30, 2014 9:54 AM not visual studio general issue
    Tuesday, September 23, 2014 5:02 AM

Answers

  • Might try them over here.

    Visual Basic forum on MSDN

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Just Karl Monday, October 6, 2014 10:39 PM
    • Marked as answer by Just Karl Monday, October 13, 2014 11:26 PM
    Saturday, October 4, 2014 9:57 PM

All replies

  • Try to comment out code that you recently changes or around the location where the error is located.  Does you code have an XML structures?  The '<' error messages normally occurs with XML type files.


    jdweng

    Tuesday, September 23, 2014 8:42 AM
  • Hello,

    Welcome to MSDN forum.

    VS General Question forum  mainly discusses the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System and Visual Studio Editor.

    Based on the error message, the issue is on your project code. You can tell us what type of project you VB project is and what code caused the issue. We can check whether there is a proper forum for your issue.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, September 24, 2014 5:30 AM
  • Might try them over here.

    Visual Basic forum on MSDN

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Just Karl Monday, October 6, 2014 10:39 PM
    • Marked as answer by Just Karl Monday, October 13, 2014 11:26 PM
    Saturday, October 4, 2014 9:57 PM