Error - XML Parsing Error: no element found

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.
11/14/2006 9:43:51 PM
Gravatar
Total Posts 6

Error - XML Parsing Error: no element found

Hi Joe,

Getting error

XML Parsing Error: no element found
Location: http://localhost/resourceNet_dev/default.aspx
Line Number 1, Column 1:

using 2.1.4 sourcecode on WinXP, IIS 6, .net 2.0

Have built solution from VS2005 and deployed using UnleashIt aswell as copying entire web directory.
Also have applied 'fullcontrol' to aspnet on the data folder.

Any help gratefully appreciated

Colin
11/15/2006 2:17:56 AM
Gravatar
Total Posts 18439

Re: Error - XML Parsing Error: no element found

Hi Colin,

I'm not quite sure I understand your scenario. You are developing on XP and then deploying on XP?
Does it work for you in VS 2005? You should always make sure it works on your dev machine in VS 2005 before deployment elsewhere.
Did you setup the database? Which data layer are you using? If you hit the play button in VS 2005 does it work?

Do you see any error messages in Data/currentlog.config file?

Using UnleashIt with the appropriate file masks should output all the needed files, copying the web folder you get source code files which are not needed for deployment.

There is a bug in 2.1.4 error handling where it shows this xml parsing error instead which kind of masks the underlying error. This issue is fixed in svn and hopefully I will be making a new release today with this correction. On your dev machine you should be able to find out any error by debugging in VS 2005 (hit the play button)

Hope it helps,

Joe
11/15/2006 3:33:21 AM
Gravatar
Total Posts 6

Re: Error - XML Parsing Error: no element found

Joe,

Sorry for the confusion, still finding my feet.

Have the source files in mydocuments using VS2005 then deploy (initially) to my own local copy of IIS.
Databases set up OK (using MSSQL).

Anyway, finally got it to going but am running into problems creating custom modules (same xml parsing error) so will await the latest release.

Will debug in future!!

Thanks Joe
11/15/2006 10:39:54 PM
Gravatar
Total Posts 68

Re: Error - XML Parsing Error: no element found

Joe,
can you tell me where the error handling bug was located so I can make the same change here? I've been experienced the same issue.

Thanks!
Christian
11/16/2006 1:41:35 AM
Gravatar
Total Posts 18439

Re: Error - XML Parsing Error: no element found

Hi Christian,

I'm pretty sure the fix was in global.asax.cs in the handling of Application_OnError, its been fixed in svn for a while and the fix was included in yesterday's release.

Joe
11/16/2006 10:32:29 AM
Gravatar
Total Posts 68

Re: Error - XML Parsing Error: no element found

Yep, updated Global.aspx.cs and it works fin now.

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