I'm working on a ASP.Net (C#) project. The web application able to debug and built but when come to publish, error message "Data at the root level is invalid. Line 1, position 1" shown and the error list show that the error occur in page is in web.config. It's kind of confusing. Double click on the error file from the error list, i see message below.
vti_timelastmodified:TR20 Aug 2007 11:48:12 -0000
vti_cacheddtm:TX20 Aug 2007 11:48:12 -0000
After check for a while, i figure it out how to solve this problem. Go to the web project, find a folder name: _vti_cnf
Delete this folder and recompile again.
I'm able to solve this problem using this way.