Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PDFViewer Errors After DMX 4 Upgrade
Last Post 05/29/2008 3:56 PM by rad3tech. 2 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
rad3tech
New Member
New Member
Posts:15


--
05/27/2008 4:48 PM

Hi Peter,

After upgrading to DMX 4, whenever I try to open a PDF file, I get the following error:

On my page: "Error loading bring2mind/dmx/addons/pdfviewer.ascx"

Error Trace:

 ModuleId: 403
ModuleDefId: 136
FriendlyName: Documentation
ModuleControlSource: DesktopModules/Bring2mind/DMX/Dispatch.ascx
AssemblyVersion: 04.08.02
PortalID: 1
PortalName: xxxx
UserID: 861

UserName: rsragar-gsw
ActiveTabID: 84
ActiveTabName: Centre de documentation
RawURL: /Centrededocumentation/tabid/84/language/fr-CA/Default.aspx?EntryId=799
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a6da375e-3508-4069-859d-b3e74f76acb5
InnerException: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=4.2.3.0, Culture=neutral, PublicKeyToken=null'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Reflection.Assembly.GetType
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=4.2.3.0, Culture=neutral, PublicKeyToken=null'. ---> System.Web.HttpParseException: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=4.2.3.0, Culture=neutral, PublicKeyToken=null'. ---> System.Exception: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=4.2.3.0, Culture=neutral, PublicKeyToken=null'. ---> System.Exception: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=4.2.3.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=4.2.3.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Web.UI.Util.GetTypeFromAssemblies(ICollection assemblies, String typeName, Boolean ignoreCase) at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at Bring2mind.DNN.Modules.DMX.Dispatch.(Object A_0, EventArgs A_1) --- End of inner exception stack trace ---
Source:

Now, I know this addon is no longer supported, so after getting this error I uninstalled it thinking the problem would be solved. Now I get this one:

On my page: Error loading Bring2mind/DMX/ViewDefault.ascx

Error Trace:

ModuleId: 403
ModuleDefId: 136
FriendlyName: Documentation
ModuleControlSource: DesktopModules/Bring2mind/DMX/Dispatch.ascx
AssemblyVersion: 04.08.02
PortalID: 1
PortalName: xxxxx
UserID: 861
UserName: xxxx
ActiveTabID: 84
ActiveTabName: Centre de documentation
RawURL: /Centrededocumentation/tabid/84/language/fr-CA/Default.aspx?EntryId=799
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9a84e4c5-2cdd-480b-8f9c-2df29c06b75b
InnerException: The file '/DesktopModules/Bring2mind/DMX/ViewDefault.ascx' does not exist.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DesktopModules/Bring2mind/DMX/ViewDefault.ascx' does not exist. ---> System.Web.HttpException: The file '/DesktopModules/Bring2mind/DMX/ViewDefault.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at Bring2mind.DNN.Modules.DMX.Dispatch.ᜀ(Object A_0, EventArgs A_1) --- End of inner exception stack trace ---
Source: xxxx

 

What's the next step?

Many thanks

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/28/2008 10:24 PM
Uninstall the old pdf viewer from DMX 3. It does not work in DMX 4. Then, if the error persists run this:

UPDATE DMX_Extensions
SET ControlToLoad='Bring2mind/DMX/ViewCollection.ascx'
WHERE ExtensionKey='File.Adobe.Acrobat'

Peter
rad3tech
New Member
New Member
Posts:15


--
05/29/2008 3:56 PM

Thanks Peter,

I had already unistalled PDFViewer when getting the error. The UPDATE statement did the trick.

Thanks again

You are not authorized to post a reply.