How to configure CommonLibrary path?

3 replies. Last post: February 28, 2012 5:36 AM by Eric
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Eric Member

Hi,

I'd like to turn SmartWebResources off. I've removed everything related from web.config and copied the files from CommonLibrary onto the server. Now I need to configure the path to it, because we can't use the default CommonLibrary path in the root of the webserver.

We're using WebGrid 6.0.7200.220.

I've already configured everything I could think of in web.config:

<add key="ISNet.WebUI.WebGrid.v6_0_7200.ScriptDirectory" value="~/Intersoft/WebGrid/V6_0_7200/"/>
<add key="ISNet.WebUI.WebGrid.v6_0_7200.ImagesDirectory" value="~/Intersoft/Images/"/>
<add key="ISNet.WebUI.WebGrid.v6_0_7200.SharedScriptDirectory" value="~/Intersoft/Shared/"/>
<add key="ISNet.WebUI.WebGrid.v6_0_7200.LocalizationDirectory" value="~/Intersoft/WebGrid/V6_0_7200/Localization/"/>
<add key="ISNet.WebUI.WebDesktop.V2_5_2007.ScriptDirectory" value="~/Intersoft/WebDesktop/V2_5_2007/"/>
<add key="ISNet.WebUI.WebDesktop.V2_5_2007.ImagesDirectory" value="~/Intersoft/Images/"/>
<add key="ISNet.WebUI.WebDesktop.V2_5_2007.SharedScriptDirectory" value="~/Intersoft/Shared/"/>

We don't use WebDesktop (no runtime license configured), but there seems to be some internal reference. With SmartWebResources, we also needed to include the dll for WebDesktop.Resources.dll, otherwise we received the error message "Context menu feature is disabled because menu runtime system can't be loaded. Ensure you have registered SmartWebResources in this web application."

Now that we don't use SmartWebResources anymore, this problem reappears, because it cannot find the resources for WebDesktop. The browser log shows 404 errors requesting the following two files:

/CommonLibrary/WebDesktop/V2_5_2007/WebMenu.js
/CommonLibrary/WebDesktop/V2_5_2007/WebAnimation.js

Note the wrong path - it's still referencing CommonLibrary.

It looks like I am missing some kind of configuration for the WebDesktop resources. What do I have to configure so that this works?

 

All times are GMT -5. The time now is 11:52 AM.
Previous Next