Unable to publish web site


G

Guest

My web site compiles fine. Tihs was a VS 2003 working application that was
converted to VS 2005. When I try to publish to a directory I get a "Data at
the root level is invalid." error in the published version of web.config line
1. The contents does not reflect the real web.config. I am able to publish
other web sites.

Published version with error looks like:

vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|08 Aug 2004 19:02:17 -0000
vti_extenderversion:SR|4.0.2.8912

My version looks like (vanilla web.config):

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true"/>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>


Any ideas? Thank in advance.
 
Ad

Advertisements

Ad

Advertisements

C

Chris Fulstow

Hi Todd,

This sounds like the work of FrontPage Server Extensions. Try
disabling them and deleting any _vti* folders from your webroot.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top