Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Wierd error when building WDP - Data at the root level is invalid (web.config)

Reply
Thread Tools

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

 
 
Cirene
Guest
Posts: n/a
 
      05-12-2008
My ASP.NET project builds fine (VS200. 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.


 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      05-12-2008
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" <(E-Mail Removed)> wrote in message
news:OAjvMn#(E-Mail Removed)...
> My ASP.NET project builds fine (VS200. 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.
>

 
Reply With Quote
 
 
 
 
Cirene
Guest
Posts: n/a
 
      05-12-2008
I initially created some of the sites using Expression web. So some of
these dir might exist. Should I delete the dirs?

"Mark Fitzpatrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:OAjvMn#(E-Mail Removed)...
>> My ASP.NET project builds fine (VS200. 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.
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service giving The data at the root level is invalid error =?Utf-8?B?am1ncm8=?= ASP .Net 2 06-15-2007 05:02 PM
Wharfedale WDP-1210 10in Portable DVD Player zaax Computer Support 5 01-24-2006 10:17 AM
The data at the root level is invalid. Line 1, position 1 Alan Wang ASP .Net 1 08-05-2005 09:56 PM
Treeview Problem "There is invalid data at the root level" Ulli ASP .Net Web Controls 0 04-29-2004 12:06 PM
data at the root level is invalid problem jm ASP .Net 1 03-01-2004 09:15 PM



Advertisments