Upgrade problem. 'Sys' in undefined.

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.

4/5/2017 7:06:01 AM
Gravatar
Total Posts 2

Upgrade problem. 'Sys' in undefined.

Trying to upgrade from 2.3.7.0 to 2.5.0.0.

OS: Windows Server 2008 SP1

DB: MS SQL 2008 SP1

Using IIS 7.5, .Net Framework 3.5, 4.5

 

Saved user.config, updated web.config to use old machine key. Uploaded everything in the recommended order. Changed framework version in application pool.

When opening site pages get error "'Sys' in undefined" in debugger. I suppose the reason is that generated pages contain lines

<script src="//ajax.aspnetcdn.com/ajax/4.5/6/WebFormsBundle.js" type="text/javascript"></script>
<script src="//ajax.aspnetcdn.com/ajax/4.5/6/MsAjaxBundle.js" type="text/javascript"></script>

The site is located in intranet. So it doesn't have access to internet resources.

Tell me please where can I get these files to store them locally and how to configure site to use them? Unfortunaly I don't have site source files.

4/5/2017 5:28:07 PM
Gravatar
Total Posts 1992

Re: Upgrade problem. 'Sys' in undefined.

Hi Andrey,

Not sure on the error you're getting but to run mojoPortal in an intranet without internet access you need to tell it to use locally hosted files for jquery and the AjaxControlToolkit. For the AjaxControlToolkit, add the following to your user.config.

<add key="BundlesUseCdn" value="false" />

For jquery, follow these instructions

If your skin is calling jquery directly (not using mojoPortal to call it), change the links to the jquery files to locally hosted files.

Hope this helps,
Joe

4/12/2017 4:10:47 AM
Gravatar
Total Posts 2

Re: Upgrade problem. 'Sys' in undefined.

Thank you! It works!