Bunch's Blog

One day I'll have a catchy subtitle, one day
posts - 77, comments - 89, trackbacks - 0

My Links

News

Tag Cloud

Archives

Green

Publishing Error (Old items just don’t go away)

I inherited an app to make some updates. It was an older 1.1 ASP.Net application that was already upgraded to 2.0. All the new files I wrote worked fine and it built error free. I could debug the app and run it locally with no problems. Once I was ready to publish the app it then finally decided to give me some grief. I would get an error after the build completed and the publish started. The error was:

Data at the root level is invalid. Line 1, position1.

When I clicked on the error line in VS it would take me to web.config. This web.config file was not the web.config file for the app however it was in the _vti_cnf folder and definitely did not look like a normal web.config file. The line giving the error was:

vti_encoding:SR|utf8-nl

The fix ended up being to delete the four _vti folders. They were all leftovers from when the project was built in VS2003 which had those FrontPage extensions. After that no more publishing problems.

Technorati Tags: ,
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Friday, January 16, 2009 10:52 AM |

Feedback

Gravatar

# re: Publishing Error (Old items just don’t go away)

Muchas Gracias! Thanks! Me vino perfecto! Works fine!

Ayuda a otros usuarios... (traducido via google)

He heredado una aplicación para hacer algunos cambios. Fue una mayor aplicación ASP.Net 1.1 que ya se había actualizado a 2.0. Todos los archivos nuevos que escribí funcionó bien y construyó libre de errores. Podría depurar la aplicación y ejecuta localmente sin problemas. Una vez que estaba listo para publicar la aplicación que finalmente decidió darme una pena. Me gustaría obtener un error después de la construcción ya terminadas y las comenzó a publicar. El error fue:

De datos a nivel de raíz no es válido. Línea 1, position1.

Cuando hace clic en la línea de error en VS me llevaría a Web.config. Este archivo Web.config no era el archivo Web.config de la aplicación sin embargo, fue en la carpeta _vti_cnf y definitivamente no se parecía a un archivo Web.config normal. La línea de dar el error fue:

vti_encoding: SR | utf8-nl

La revisión terminó siendo para eliminar las cuatro carpetas _vti. Todos ellos eran sobras de cuando el proyecto fue construido en VS2003 que había esas extensiones de FrontPage. Después de que no más problemas de publicación.
10/7/2009 3:03 AM | Pedro
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: