Topic: Juicebox Error: Config XML file not found.

Everything was working fine and then I started to get this error.

Juicebox Error: Config XML file not found.

I think all the configuration files are in the correct location.  I saw the following error message in Windows event viewer.  Any clue as to what is going on.

thanks,
Ted


Server Error in '/ASP' Application.
________________________________________


Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 3945:        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 3946:        <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 3947:        <add assembly="System.Web.Helpers, Version=3.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
Line 3948:        <add assembly="System.Web.Mvc, Version=5.1.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
Line 3949:        <add assembly="System.Web.WebPages, Version=3.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />

Source File: E:\Inetpub\wwwroot\HDMA\Website\web.config    Line: 3947

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Re: Juicebox Error: Config XML file not found.

Please see this FAQ regarding the 'Config file not found.' message:
When I view my gallery I see the message 'Config file not found'. How do I fix this?

If you encounter this message, then the gallery's configuration file is likely to be in the wrong location.
By default, the gallery's configuration file should be named 'config.xml' and should be located in the same directory as the web page containing the gallery's embedding code.

If you rename or relocate the gallery's configuration file, then you can point towards it with a configUrl entry in your gallery's embedding code.
The configUrl entry can be an absolute path (in the form http://www.example.com/gallery/custom.xml) or a relative path (relative to the web page containing the gallery's embedding code).

Also, if you use a baseUrl entry in your gallery's embedding code (to point towards a gallery folder), then a relative configUrl will be relative to the baseUrl.

Short descriptions of all the Embed Options (such as configUrl and baseUrl) can be found here.

Another possible reason for encountering the 'Config file not found.' message would be if the configuration file is somehow corrupt or incomplete.
Open your gallery's 'config.xml' file directly in a browser and the browser should let you know if there are any syntax errors in the code (which you can then correct).

If you encounter the exact text 'Config XML file not found.', then you are using an older version of Juicebox.
In v1.5.0 (released on 24 May 2016), Juicebox first supported JSON configuration files as well as XML configuration files and the error message was changed from 'Config XML file not found.' to 'Config file not found.'.
I'd recommend that you upgrade your Juicebox gallery to the latest version (v1.5.1) to ensure that any bugs from previous versions (which have since been fixed) are not contributing to your problem.
For reference, full instructions for Upgrading Juicebox can be found here.

I hope my notes above help.
However, if you continue to experience difficulties, then please post the URL to your gallery's web page so that I can see the problem for myself and hopefully help further.
Thank you.