none
ASP Error: Event code: 3006 Event message: A parser error has occurred

    Question

  • I have setup MOSS 2007 and it was running fine, but I had to add a new non sharepoint custom website to IIS.  Because I like Sharepoint Designer I decided use it to edit the website.

     

    I went to open a website with designer and opened C:\Inetpub\wwwroot\

    The new website is in there so I right clicked on it and noticed a "convert to web" menu option.  I selected it and it changed the folder to one with a little globe on it.

     

    I then noticed that none of our sharepoint websites work anymore so I right clicked on this new site again and selected "convert to folder" but sharepoint is still not fixed.

     

    On the sharepoint/iis server is this error:

     

    Event Type: Warning
    Event Source: ASP.NET 2.0.50727.0
    Event Category: Web Event
    Event ID: 1310
    Date:  24/06/2008
    Time:  9:50:06 a.m.
    User:  N/A
    Computer: GLDC
    Description:
    Event code: 3006
    Event message: A parser error has occurred.
    Event time: 24/06/2008 9:50:06 a.m.
    Event time (UTC): 23/06/2008 9:50:06 p.m.
    Event ID: a7dc8072d4a94155b13d24c49e0ea672
    Event sequence: 1
    Event occurrence: 1
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/173409492/Root-3-128587314065468750
        Trust level: WSS_Minimal
        Application Virtual Path: /
        Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\17692\
        Machine name: GLDC
     
    Process information:
        Process ID: 9632
        Process name: w3wp.exe
        Account name: domain\user
     
    Exception information:
        Exception type: HttpException
        Exception message: Data at the root level is invalid. Line 1, position 1.
     
    Request information:
        Request URL: http://gldc:43686/_vti_bin/sitedata.asmx
        Request path: /_vti_bin/sitedata.asmx
        User host address: 192.168.0.3
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: domain\user
     
    Thread information:
        Thread ID: 5
        Thread account name: domain\user
        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.

     

     

    Internet explorer displays this error when opening the sharepoint sites:

    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.1433; ASP.NET Version:2.0.50727.1433

    Has anyone seen this before, or know of a fix please?

     

    thanks

     

    Brendon

    Monday, June 23, 2008 10:28 PM

Answers

  • Problem solved!

     

    I found this forum post:

    http://forums.msdn.microsoft.com/ru-RU/asmxandxml/thread/b891fe87-4643-48cb-8628-dee71ec9b6c9/

     

    Basically opening non sharepoint files with sharepoint designer creates weird files that break things...

     

    I deleted the following folders that were created in this process and all sharepoint sites are working again (take a backup first!)

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\80\App_Browsers\_vti_cnf

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\82\App_Browsers\_vti_cnf

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\17692\App_Browsers\_vti_cnf

     

     

    Tuesday, June 24, 2008 1:50 AM

All replies

  • Problem solved!

     

    I found this forum post:

    http://forums.msdn.microsoft.com/ru-RU/asmxandxml/thread/b891fe87-4643-48cb-8628-dee71ec9b6c9/

     

    Basically opening non sharepoint files with sharepoint designer creates weird files that break things...

     

    I deleted the following folders that were created in this process and all sharepoint sites are working again (take a backup first!)

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\80\App_Browsers\_vti_cnf

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\82\App_Browsers\_vti_cnf

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\17692\App_Browsers\_vti_cnf

     

     

    Tuesday, June 24, 2008 1:50 AM
  • I have faced the same problem and the fix it .. go to the app_browsers folder ans u will see the some folder name vti_cni..delete that folder and the problem will be resolved.
    Wednesday, July 09, 2008 4:57 PM
  • Problem solved!

     

    I found this forum post:

    http://forums.msdn.microsoft.com/ru-RU/asmxandxml/thread/b891fe87-4643-48cb-8628-dee71ec9b6c9/

     

    Basically opening non sharepoint files with sharepoint designer creates weird files that break things...

     

    I deleted the following folders that were created in this process and all sharepoint sites are working again (take a backup first!)

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\80\App_Browsers\_vti_cnf

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\82\App_Browsers\_vti_cnf

     

    c:\Inetpub\wwwroot\wss\VirtualDirectories\17692\App_Browsers\_vti_cnf

     

     

    You're a friggin' genius and a life saver. Not sure what we clicked on to produce those directories, but it screwed up our main page and left the rest of them functioning just fine. I appreciate the help!


    Thursday, November 19, 2009 7:54 PM