473,387 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Wierd error when building WDP - Data at the root level is invalid (web.config)

My ASP.NET project builds fine (VS2008). I added a new web deployment
project.

When I try to build it I get:
Data at the root level is invalid. Line1, position 1. (The file is
web.config, line 1, column 1, in my deploy project.)

I double click on the error and it shows this...
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|09 May 2008 01:16:09 -0000
vti_extenderversion:SR|12.0.0.6211
vti_author:SR|MYPC\\Administrator
vti_modifiedby:SR|MYPC\\Administrator
vti_timecreated:TR|08 May 2008 19:13:33 -0000
vti_backlinkinfo:VX|
vti_cacheddtm:TX|09 May 2008 01:16:09 -0000
vti_filesize:IR|262
There is a RED SQUIGGLY under the first line and when I hover my mouse it
says: Invalid token 'Text' at root level of document

Any ideas what this is all about? I never encountered this before. I
recreated my WDP and it does the same thing.
Jun 27 '08 #1
2 3204
The vti_ is usually only used by the FrontPage Server Extensions. These
enable VS and other MS products to be able to connect directly to a web
server. This enables you to create a web application or site directly within
IIS instead of using the file system. Are you sure this is your web.config
file? I ask because the FP Server Extensions will have a whole bunch of
files that contain meta-data information in special vti directories (such as
vti_inf). The file names will be the same, but the contents will be data
exactly like this that the server extensions use to track information about
the file, such as the date modified/created, size, and type of data. Make
sure you don't have any of the vti directories included in deployment as
this could be what it is complaining about.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"Cirene" <ci****@nowhere.comwrote in message
news:OA**************@TK2MSFTNGP04.phx.gbl...
My ASP.NET project builds fine (VS2008). I added a new web deployment
project.

When I try to build it I get:
Data at the root level is invalid. Line1, position 1. (The file is
web.config, line 1, column 1, in my deploy project.)

I double click on the error and it shows this...
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|09 May 2008 01:16:09 -0000
vti_extenderversion:SR|12.0.0.6211
vti_author:SR|MYPC\\Administrator
vti_modifiedby:SR|MYPC\\Administrator
vti_timecreated:TR|08 May 2008 19:13:33 -0000
vti_backlinkinfo:VX|
vti_cacheddtm:TX|09 May 2008 01:16:09 -0000
vti_filesize:IR|262
There is a RED SQUIGGLY under the first line and when I hover my mouse it
says: Invalid token 'Text' at root level of document

Any ideas what this is all about? I never encountered this before. I
recreated my WDP and it does the same thing.
Jun 27 '08 #2
I initially created some of the sites using Expression web. So some of
these dir might exist. Should I delete the dirs?

"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:uu**************@TK2MSFTNGP03.phx.gbl...
The vti_ is usually only used by the FrontPage Server Extensions. These
enable VS and other MS products to be able to connect directly to a web
server. This enables you to create a web application or site directly
within IIS instead of using the file system. Are you sure this is your
web.config file? I ask because the FP Server Extensions will have a whole
bunch of files that contain meta-data information in special vti
directories (such as vti_inf). The file names will be the same, but the
contents will be data exactly like this that the server extensions use to
track information about the file, such as the date modified/created, size,
and type of data. Make sure you don't have any of the vti directories
included in deployment as this could be what it is complaining about.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"Cirene" <ci****@nowhere.comwrote in message
news:OA**************@TK2MSFTNGP04.phx.gbl...
>My ASP.NET project builds fine (VS2008). I added a new web deployment
project.

When I try to build it I get:
Data at the root level is invalid. Line1, position 1. (The file is
web.config, line 1, column 1, in my deploy project.)

I double click on the error and it shows this...
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|09 May 2008 01:16:09 -0000
vti_extenderversion:SR|12.0.0.6211
vti_author:SR|MYPC\\Administrator
vti_modifiedby:SR|MYPC\\Administrator
vti_timecreated:TR|08 May 2008 19:13:33 -0000
vti_backlinkinfo:VX|
vti_cacheddtm:TX|09 May 2008 01:16:09 -0000
vti_filesize:IR|262
There is a RED SQUIGGLY under the first line and when I hover my mouse it
says: Invalid token 'Text' at root level of document

Any ideas what this is all about? I never encountered this before. I
recreated my WDP and it does the same thing.

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
4
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
12
by: Brett Robichaud | last post by:
Is anyone familiar with this error? I have this running just fine on my local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any...
6
by: chokk | last post by:
All, I am getting the following error when I try to run a form page. Can someone tell me what this is about and show me how to fix it. Thnaks. Server Error in '/' Application...
3
by: Santosh | last post by:
Hii , i am developing an web application using asp.net with in it reporting purpose i am using crystal reports. it is working on fine on local server. but when i deploy it on web server it gives...
3
by: Ted | last post by:
In WSAT, I get the following error when trying to set up my provider: Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site...
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
4
by: yancheng.cheok | last post by:
Hello all, I have a web application, which I had developed few years ago with ASP .NET 1.1 Today, I would like to deploy the web application to client, using ASP .NET 2.0 + UltiDev Cassini...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.