Working mojoportal on local network

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

3/1/2017 9:18:44 PM
Gravatar
Total Posts 97

Working mojoportal on local network

Hi,

I want to install and use mojoportal on a local network which doesn't have internet access. So I have to change setting that use CDN, I can do it by changing web.config setting. but still there is a link to //ajax.aspnetcdn.com/ajax/4.5/6/WebFormsBundle.js and //ajax.aspnetcdn.com/ajax/4.5/6/MsAjaxBundle.js which still net resources out of network access.

I'm not sure it is related or not but in this case when can't load these 2 urls, I can't login to mojoportal and a typical error message is displayed :

Server Error in '/' Application.

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.

 

and also some customer features don't work perfectly, while as soon as I connect it to Internet, I can login and use custom features in this installation perfectly.

So, Is there any way that I use local script instead of linking to remote servers? and is there any relation with don't have access to those javascripts and errors I got?

 

Best regards

 

4/5/2017 5:24:16 PM
Gravatar
Total Posts 1981

Re: Working mojoportal on local network

Hi Ashian,

Sorry for the delayed response. You should be able to use mojoPortal on an intranet without internet access by adding the following keys to your user.config:

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

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

For the jquery stuff, take a look at this article.

Thanks,
Joe