Solved

Keeping App_Browsers/_vti_cnf deleted

Posted on 2009-05-14
5
763 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now