Parse Error: CSSFriendlyAdapters.browser XML file

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/18/2006 7:25:20 AM
Gravatar
Total Posts 5

Parse Error: CSSFriendlyAdapters.browser XML file

Another question related to getting up and running.

I have installed the web/database and have successfully compiled.

I browse to the site and get a Parse Error related to the CSSFriendlyAdapters.browser XML file:

==========================================


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="IE6to9">
Line 3: <controlAdapters>

Source File: /portal/App_Browsers/CSSFriendlyAdapters.browser    Line: 1


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
9/18/2006 8:12:26 AM
Gravatar
Total Posts 18439

Re: Parse Error: CSSFriendlyAdapters.browser XML file

I've never seen that error. Are you using IIS? The 2.1.1 source isn't configured to work with the VS Web Server, the next release will be.
Based on the error, your url must be http://localhost/portal/, thats not how it is configured in the web project by default. Right click the web project, choose properties, then click the Web tab and make it match your url under IIS Web project.

You did open the solution file and compiled the whole solution right?
9/18/2006 8:29:37 AM
Gravatar
Total Posts 5

Re: Parse Error: CSSFriendlyAdapters.browser XML file

Yes Sir, I'm using IIS on a Win XP Pro box.

I made the change you suggested, and was able to open and compile with no problems.

Still getting the error.

If you don't have any ideas, I'll just reinstall and see if I get the same issue.

Thanks again for the help.

- Harrison
9/18/2006 8:44:16 AM
Gravatar
Total Posts 18439

Re: Parse Error: CSSFriendlyAdapters.browser XML file

Are you getting that in the debugger? I mean did you click the play button in VS and that error happens or you just compiled and opened a browser? If you just compiled and opened a browser, try the debugger and see if you get some other error. I know there is nothing wrong with that .browser file so it has to be some other error under the hood.

Joe
9/18/2006 9:51:08 AM
Gravatar
Total Posts 5

SOLVED: Parse Error: CSSFriendlyAdapters.browser XML file

Well, I got it solved.

Here is what I did:
  • I "deleted" the App_Browsers folder through VS.NET 2005.
  • The I hit the portal through the browser and it was cool

  • I "added the ASP.NET Folder" App_Browser back through VS.NET and "added the existing files" and it worked.
Not sure why, but maybe it will help someone else in the future.

Thanks for taking the time to answer my questions Joe.

Looking forward to giving the mojo a test drive.

- Harrison
10/8/2008 3:23:16 PM
Gravatar
Total Posts 19

Re: Parse Error: CSSFriendlyAdapters.browser XML file

I, too am getting the same error.

I deleted the files in the app_browser folder and don't get the error.  When adding the files back, the error returns.

10/8/2008 3:48:50 PM
Gravatar
Total Posts 19

Re: Parse Error: CSSFriendlyAdapters.browser XML file

I can't figure out what the problem is.

The website is published at discountasp.net and was working well for months.  I have not updated any files for weeks and all of a sudden I got the error experienced in this post.  The application is at the root of the site.

I also have the site running on localhost IIS 5.1 and it does not give me the parse error.

After deleting the App_Browser files on the DiscountASP site, there is no parse error, but the pages do not look very good.  Adding the files back causes the error to return.

I'll keep trying to figure this out.

10/8/2008 4:00:23 PM
Gravatar
Total Posts 18439

Re: Parse Error: CSSFriendlyAdapters.browser XML file

Are you running your own custom build or an official mojoportal release? What version of mojoPortal?

I can tell you that on a development machine when you make a change to a .browser files the change isn't effective until the project is re-compiled.

My best guess is the file is somehow corrupted. If you're not running the latest mojoportal I would upgrade it and make sure you replace all the files with the new version.

Hope it helps,

Joe

10/8/2008 4:08:09 PM
Gravatar
Total Posts 18439

Re: Parse Error: CSSFriendlyAdapters.browser XML file

One more thing I thought of since you are at DiscountASP and its been running fine until now. At DiscountASP, you basically have 2 users, the one you use to ftp files and one that asp.net runs as. If either of those users disk quota is at its usage limit weird things can happen. So I would check that first.

Hope it helps,

Joe

10/8/2008 8:56:17 PM
Gravatar
Total Posts 19

Re: Parse Error: CSSFriendlyAdapters.browser XML file

Error fixed.

I is was the _vti_cnf\ files and my frontpage extensions.

I removed frontpage extensions and "published" my app using FTP.  Everything is fine now.

Found answer and clues here - http://forums.asp.net/p/985790/1270047.aspx#1270047

You must sign in to post in the forums. This thread is closed to new posts.