Sam Kung
New Member Posts:14
|
07/18/2012 2:26 AM |
|
Hi Peter, I just upgraded from DMX version 3.5.6 to 6.0.4 (Trial). Everything was working great as a Host user but somehow I discovered that all folder permissions are now gone. Now only Administrator has Edit/View/Add permission. All other role permissions are gone. Please help! Thanks! Sam |
|
|
|
|
Sam Kung
New Member Posts:14
|
07/18/2012 8:48 PM |
|
Hi Peter, I found out more info about the cause of the problem. I understand that the new DMX uses a table called DMX_EntryPermissions to maintain permissions. This table did not exist before in DMX 3.5.6. For some reason, the upgrade did not properly update the new permissions table (DMX_EntryPermissions). After I manually update the permissions, the proper row is inserted into that permissions table and the proper security is applied. I even ran the script "Repair Permissions" and it is still not working. Please help!!! Thanks you!
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
07/20/2012 10:38 AM |
|
Hi Sam, Did you run the DMX 3 to 4 migration script? You have to run that first to migrate this data. Peter |
|
|
|
|
Sam Kung
New Member Posts:14
|
08/01/2012 8:27 PM |
|
Hi Peter, I ran the script and the permissions seem to have restored correctly. The search seems to return results correctly but when I click on a result row to view the document, I get You do not have access to view this tab within the portal. Please let me know if there's any other script I need to run. Thanks! Sam
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/02/2012 11:50 AM |
|
Hi Sam, Please set the default DMX in the Main Options to a DMX instance that is in a more or less public place on your site. Peter |
|
|
|
|
Sam Kung
New Member Posts:14
|
08/02/2012 6:32 PM |
|
Hi Peter, I have set the default DMX to a page containing our main DMX module. I no longer get the permissions error but every time I click on a search result (link), it just brings me back to that page that contains our main DMX module instead of showing me the details of that document. The document download works fine when I click on the floppy disk icon on the right. I noticed the following information about the link before and after the upgrade: BEFORE UPGRADE: http://ladanet/Default.as...and=Core_ViewDetails AFTER UPGRADE: http://dadwbadm00002/Defa...abid=96&EntryId=5628 I noticed that after the upgrade, the query string in the URL no longer has Command=Core_ViewDetails. Would that be the cause of the problem? Is there another script I need to run? Thanks for all your help. Sam |
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/02/2012 7:54 PM |
|
Hi Sam, It should be OK. The idea is that the module loads the requested entry in the grid on the right. Is that correct? How about if you use the templated view? Peter |
|
|
|
|
Sam Kung
New Member Posts:14
|
08/02/2012 10:45 PM |
|
Hi Peter, It does not load the requested entry in the grid on the right. It just shows the folders on the left with nothing on the right. When I modify it to use the templated view, the module breaks and I get the following error: Method: Bring2mind.DNN.Modules.DMX.TemplateView.ᜁ StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Bring2mind.DNN.Modules.DMX.TemplateView.ᜁ(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=6.0.4.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=6.0.4.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=6.0.4.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=6.0.4.0, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=6.0.4.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.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 DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace --- I can no longer access any page with DMX module. Please help. Thank you. Sam
|
|
|
|
|
Sam Kung
New Member Posts:14
|
08/06/2012 8:43 PM |
|
Hi Peter, I was able to set the Default View Screen: back to and have the pages containing DMX working again. However, I am still not able to see the details of a search result when I click on a search result (link). It just brings me back to that page that contains our main DMX module instead of showing me the details of that document. What should the page look like when I click on a search result (link)? I am not sure about changing the Default View Screen: under Module Settings because wouldn't that change the view for the entire module, including just the normal view of documents when I click on a page containing the DMX module? Please help!!! Thanks! Sam
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/07/2012 9:41 AM |
|
Hi Sam, The error "Could not load type 'Bring2mind.DNN.Modules.DMX.Controls.PortalModuleBase' from assembly 'Bring2mind.DNN.Modules.DMX, Version=6.0.4.0, Culture=neutral, PublicKeyToken=null'." indicates that there is a component for the old DMX still on the system. This is something to look into. Do you use any extensions? If so: did you check the extensions page here for downloads for v 6 of DMX for any updates? Indeed changing the view for the module changes it for everyone, albeit just for that module instance. So you could opt to have a simple templated view on a public page just as a landing page for the search click. Alternatively you can opt to have search results documents render a download link, rather than details. Peter
|
|
|
|
|
Sam Kung
New Member Posts:14
|
08/08/2012 12:43 AM |
|
Hi Peter, You are absolutely right! I found a couple of old DMX dlls (Bring2mind.DNN.Modules.DMX.WhatsNew.dll) under the bin directory. After removing them, the templated view worked. Using the templated view allows me to see the document properties when I click on a search result (link), which is exactly what we wanted. Thanks very much for all your help! Now I just have a couple of questions about the Lucene search engine that's bundled with DMX: 1. The fulltext indexing does not seem to be including PDF documents. Do I need to configure or add something to include PDFs in the fulltext search index? 2. Search phrases with multiple exact words do not seem to be working. I tried the phrase "baton technique" and "baton AND technique" to try to find documents with the exact words "baton technique". But the search returns nothing when I know that there are documents that contain that exact phrase. I tried other exact phrase searches and they don't seem to be working properly. When I enter just the words "baton" or "technique", I get results back. Please let me know. Thanks again for your help. Sam
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/10/2012 12:28 PM |
|
Hi Sam, 1. You need to install the Acrobat iFilter to get PDFs indexed. Check out other forum posts about that as well. 2. I'll see if I can replicate that. Can you enter that in the search forums separately? Peter
|
|
|
|
|
Sam Kung
New Member Posts:14
|
08/14/2012 1:25 AM |
|
Hi Peter, 1. After installing the iFilter the search seems to be working for PDFs now. 2. I will go ahead and create another entry in the Search forum. NEW: I added the latest What's New module (extension) and am now getting the following error. Please help. Error loading What's New DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.ConvertDataReaderToDataTable(IDataReader reader) at Bring2mind.DNN.Modules.DMX.WhatsNew.WhatsNew.ShowCollection() --- End of inner exception stack trace --- Thanks! Sam
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/17/2012 6:22 PM |
|
Which versions are you now running exactly of DMX and WhatsNew? Peter |
|
|
|
|
Sam Kung
New Member Posts:14
|
08/20/2012 6:07 PM |
|
Hi Peter, I am running DMX version 6.0.4 and WhatsNew version 2.3.1. Thanks! Sam
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/27/2012 4:05 PM |
|
Hi Sam, Did you change any of the settings? What do you have under "Row Filter"? Best, Peter |
|
|
|
|
Sam Kung
New Member Posts:14
|
08/29/2012 6:57 PM |
|
Hi Peter, Where do I find the "Row Filter"? Thanks! Sam |
|
|
|
|
Sam Kung
New Member Posts:14
|
08/29/2012 6:57 PM |
|
Hi Peter, I don't think I changed any of the settings. Where do I find the "Row Filter"? Thanks! Sam |
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
08/30/2012 10:35 AM |
|
On the module settings. Peter |
|
|
|
|
Sam Kung
New Member Posts:14
|
09/17/2012 7:19 PM |
|
Hi Peter, I found "Row Filter" but I don't recall changing that setting. It is currently set to: CanView AND (NOT Deleted) AND IsApproved AND (Not EntryType LIKE '%Collection%') Please let me know if that is incorrect. Thanks! Sam |
|
|
|
|