This is a migrated thread and some comments may be shown as answers.

DotNetNuke Configuration Error

4 Answers 194 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 20 Jul 2009, 04:26 AM

Parser Error Message: Could not load file or assembly 'DotNetNuke HttpModules' or one of its dependencies. The system cannot find th efile specified. (C:\sourceFiles\CFAB\MMS\web.config line 119)

I recently upgraded DotNetNuke from 4.9.2 to 5.1.0. I converted my Desktop module to a Web Application Project. Many of the Telerik controls work fine (RadGrid, for example), But I have two pages which produce the above error. One has a RadEditor. Both use Rad to open other windows. So I tried the Telerik.DNN.MOdules_2009_2_701_trial.zip. I installed this module into DNN, but got the same error.

My WAP module project is in under DesktopModules. It has references to DotNetNuke.dll, Telerik.Charting.dll and Telerik.Web.UI.dll. These all reside in the site's bin directory. The Visual Studio 2008 .sln file is in the module folder.

These pages are working fine in DotNetNuke 5.1 when compiled along with the DotNetNuke source. The problem only shows up when converting the module to a Web Application Project. I also have two other WAP based modules on the same site that are deployed and working fine. These do not contian Telerik controls.
 

pgp

4 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 20 Jul 2009, 07:17 PM
This from my friend, M.S.:

It looks like a web.config issue, the issue you are experiencing has nothing specific to do with the WAP/WSP model, it looks as if the HTTP Module definitions are not correct.

I would validate your web.config, and ensure that all of the httphandlers and httpmodules are defined the same in your web.config as they are in a base DNN config file for that same version.

There was a set of changes to these items in one of the later 4.x versions.

-M.S.

_____________

How can I correctly configure the httpModules, if that is the issue?

pgp
0
Lini
Telerik team
answered on 23 Jul 2009, 06:25 AM
Hi,

From the error details you gave I can say that the problem is coming from a missing assembly. The file in question is DotNetNuke.HttpModules.dll and it should be in your DNN website's bin folder. For some reason this file is missing, which prevents DNN from working correctly. Make sure that the file is there and its security permissions are set like the rest of the .dll files in the bin folder. I don't think that you will need to change the web.config, because once the file is loaded by the .net framework, the <httpModules> section will use it as well and the error will be fixed.

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Anthony
Top achievements
Rank 1
answered on 30 Mar 2018, 03:14 PM

Hi Lini,

I'm getting the same error. When you say to make sure the security permissions are set like the rest of the .dll files in the bin folder, could you be more specific? What account should it be running under in the first place?

Also, the version of the DotNetNuke.HttpModules.dll in my website bin folder is 6.2.1.11 - the version in the DotNetNuke,Web bin folder is 6.2.0.160.

 

0
Rumen
Telerik team
answered on 30 Mar 2018, 03:30 PM
Hi Anthony,

You can apply read/write permissions for the Network Service users. If this does not work you can test by granting permissions to the Everyone user.

On a side note, our partnership with DotNetNuke has been discontinued from several years and DNN is using its own modified version of the controls in the CMS: http://www.telerik.com/forums/integration-with-dnn.

Even generally, using Telerik controls with third party solutions is beyond our support scope. Any issue which is reproduced only in DNN environment should be forwarded to DNN forums or support staff because our DNN colleagues know better their CMS and how to register and load third party server components in it.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Lini
Telerik team
Anthony
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or