Parser Error compat.browser
I just started getting this. Didn't do anything I know of. I have verified this file is there and works. Looked in side of it.
Line 1, position 1 looks like this in the document
<browsers> <browser id="Safari2" parentID="Safari1Plus"> <controlAdapters> <adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />
What am I missing here? Please Help
Server Error in '/' Application.
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 id="Safari2" parentID="Safari1Plus">
Line 3: <controlAdapters>Source File: /App_Browsers/compat.browser Line: 1
Version Information:Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
[HttpParseException]: Data at the root level is invalid. Line 1, position 1. at System.Web.Configuration.BrowserCapabilitiesCodeGenerator.ProcessBrowserFiles(Boolean useVirtualPath, String virtualDir) at System.Web.Compilation.ApplicationBrowserCapabilitiesCodeGenerator.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.ApplicationBrowserCapabilitiesBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)[HttpParseException]: Data at the root level is invalid. Line 1, position 1. at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BrowserCapabilitiesCompiler.GetBrowserCapabilitiesType() at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()[HttpException]: Data at the root level is invalid. Line 1, position 1. at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)[HttpException]: Data at the root level is invalid. Line 1, position 1. at System.Web.HttpRuntime.FirstRequestInit(HttpContext context) at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
March 29th, 2007 9:34pm
Also getting this
Event Type:Failure AuditEvent Source:SecurityEvent Category:Object Access Event ID:560Date:3/29/2007Time:1:00:03 PMUser:*****\wss3pooldemoComputer:*****Description:Object Open:Object Server:SC ManagerObject Type:SERVICE OBJECTObject Name:WinHttpAutoProxySvcHandle ID:-Operation ID:{0,19961704}Process ID:840Image File Name:C:\WINDOWS\system32\services.exePrimary User Name:BLYSERVER$Primary Domain:*****Primary Logon ID:(0x0,0x3E7)Client User Name:wss3pooldemoClient Domain:*****Client Logon ID:(0x0,0x12E8C23)Accesses:Query status of service Start the service Query information from service Privileges:-Restricted Sid Count:0Access Mask:0x94
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
and this one
Event Type:WarningEvent Source:ASP.NET 2.0.50727.0Event Category:Web Event Event ID:1310Date:3/29/2007Time:1:06:42 PMUser:N/AComputer:*****Description:Event code: 3006 Event message: A parser error has occurred. Event time: 3/29/2007 1:06:42 PM Event time (UTC): 3/29/2007 7:06:42 PM Event ID: 45e791819dd04c249a7e269ddc530641 Event sequence: 1 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1032202749/Root-7-128196688021727606 Trust level: WSS_Minimal Application Virtual Path: / Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\ Machine name:*****Process information: Process ID: 3804 Process name: w3wp.exe Account name: *****\dealer Exception information: Exception type: HttpException Exception message: Data at the root level is invalid. Line 1, position 1. Request information: Request URL: http://*****/it/_vti_bin/lists.asmx Request path: /it/_vti_bin/lists.asmx User host address: 172.16.1.98 User: Is authenticated: False Authentication Type: Thread account name: *****\dealer Thread information: Thread ID: 1 Thread account name: *****\dealer Is impersonating: False Stack trace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.Event Type:ErrorEvent Source:DCOMEvent Category:NoneEvent ID:10016Date:3/29/2007Time:1:00:02 PMUser:*****\wss3pooldemoComputer:*****
Description:The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {61738644-F196-11D0-9953-00C04FD919C1}to the user BLYTHEDESIGN\wss3pooldemo SID (S-1-5-21-4239727938-222710763-1804924817-1486). This security permission can be modified using the Component Services administrative tool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2007 10:12pm
Idea of what could be the issues was only found here.
http://forums.asp.net/thread/1270047.aspx
In doing some editting on the intranet site which is WSS v3 I openned a file called web.config from the c:\inetpub\wwwroot\wss\virutaldirectories\80
ok so no big deal didn't edit the file or change anything. I openned the file with SharePoint Designer after I did this I remembered I needed to work in these files in Virtual web designer and not sharepoint designer ok my bad didn't save anything seems stupid but I didn't give it a thought.
Just openning the file seems to be enough to have the system create a sub folder called _vti_cnf or something like that. In trouble shoot this error I openned a few files and it created this folder and made a copy of each folder I openned and put it in a sub folder with the _vti_cnf name I found 6 of these folders all new. I guess this file is not a true xml file and made the whole site crash for 2 hours.
I deleted these directories and everything worked right away.
March 29th, 2007 11:45pm
This has happened to me just by adding a new ISAPI filter to the sharepoint website and modifying the web.config file. All the sudden I start getting this parse error.. and of course in a production enviroment.. First I thought about shooting myself, but finally I googled out your solution.. it worked.. but I'm madly mad!! WTF bug in a Enterpise version of a software that cost this much money?! still can't believe it.. thank you again for your solution..
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2008 3:43am
Thanks a lot. it worked for me too.S.Navid.Rhttp://sharepoint4u.wordpress.com
January 31st, 2009 12:15pm
thx a lot ! worked for me too !
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2009 11:45pm
Thx so much... It worked!
January 20th, 2010 7:46am
tks a lot.. just rename de directory "App_Browsers" to another.. it Worked !!!
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2010 1:29am
Yep - this happened to me too - and I can't say that his remarks were "WAY" off limits - thanks jbenisek for taking the time to post the answer
Mike - could you explain why SPD takes liberiteis to create files that will screw up the whole site like that? It would be nice if we could use one tool for editing things instead of having to walk on eggshells and not open certain files in SPD
October 19th, 2010 9:12pm
Hi All,
I am also getting same issue but unable to find the folder or file name _vti_cnf as i am working on SP2010
After lots of struggle found the solution:
When user copy the compact.browser in App_Browsers . the sharepoint automatically increment count the tag with the number of files
Just delete all the file and put only one compact.browser file.
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2011 6:56am