Solved

Keeping App_Browsers/_vti_cnf deleted

Posted on 2009-05-14
5
769 Views
Last Modified: 2012-05-07
We have all probably seen the ruthless message below:
-------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Data at the root level is invalid. Line 1, position 1.

Source Error:


Line 1:  <browsers>
Line 2:    <browser refID="safari1plus">
Line 3:  
-------------------------------------------------

Which simply means that the frontpage server extensions has once again added the _vti_cnf folder in the App_Browsers folder of your application on the server.  Deletng this folder clears out the error.  My qestion is, short of running a script ever 60 seconds, is there a clean way of keeping this folder gone or perhaps fixing .net so that it doesn't complain that the folder exists?

Thanks!
0
Comment
Question by:jglazer63
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:sevensnake77
ID: 24384907

You just need to deploy your ASPX Pages, the BIN directory, web.config and other static files like XML, JPG etc.,
So, you can avoid them getting into the deployment server.

Also you need to remove the front page extension using IIS, This way it will not happen again.
0
 

Author Comment

by:jglazer63
ID: 24385660
Remove FP extensions?  I thought that was the best way to work with IIS an Visual Studio (ie, open Remote web server).  Am I wrong?
0
 
LVL 9

Expert Comment

by:sevensnake77
ID: 24387709
No you are correct, This is the best way to use a remote server.  but if you keep having that problem you should remove the extension on the production server
0
 

Accepted Solution

by:
jglazer63 earned 0 total points
ID: 24396812
Well if it comes to removing fp extensions and loosing that ease of use over writing a stupid script that just deletes that folder, i'll write the script.  I just hate that this has been an issue for so long and nobody has come up with a solution.
0
 

Expert Comment

by:JGarlandX
ID: 28921480
I ran across this today and it took me a while to figure out a solution. I want to keep FP extensions on my sites so here is what I did.

1. Create a blank text file named "_vti_cnf"

2. Delete the _vti_cnf folder

3. Upload the "_vti_cnf" text file.

FrontPage will not be able to create a new _vti_cnf folder because a file of that same name will already exist

0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question