Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

DNN 4.5.1 can't delete modules

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
markchannon
Posts:27



04/17/2007 4:46 PM  

Hi

Something very strange is happening in my DNN installation and don't know whether it is a bug or not.

It's happened with the standard DNN-blue skin and my own skin. Basically after a while I am no longer able to delete modules, and any call to action links don't seem to work the control panel just switches from edit mode to view mode.

Initially there were some errors I had found in the event viewer

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Value cannot be null. Parameter name: type
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)
Source:

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Could not load type ''.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.Web.HttpException: Could not load type ''. ---> System.ArgumentException: String cannot have zero length. at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) --- End of inner exception stack trace --- at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)
Source:
Server Name:

and I wen't into the SQL 2005 database and there were 2 connections running, when I disconnected them the site started to work again but the same thing keeps on happening. Any ideas what this could be?

John Mitchell
Posts:3479



04/17/2007 5:12 PM  
It looks like a module is not implementing the search features correctly.
Are you using the built-in DNN search on your site? If not, I would disable the search indexer in the Scheduler.

Search has a lot of problems like that with the indexer even if all the modules have implemented search correctly.
I always disable the internal search indexer.
markchannon
Posts:27



04/18/2007 3:07 AM  
Hi John

I've went into DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE and unclicked the Schedule Enabled yes checkbox but everytime I click update the screen flashes and nothing changes.

(I don't have any other search modules installed)
markchannon
Posts:27



04/18/2007 2:17 PM  

I've just been into the sql 2005 activity manager and tried to kill the connections I did before which got things working, but every time I kill them and go to my website they start up again and then none of the update links, delete modules etc works. This is the connections in the activity manager:

memschool_new.dbo.GetTabPermissionsByPortal;1

memschool_new.dbo.GetHostSettings;1

Any ideas why these are making my portal behave the way it is
(haven't been able to turn off the search engine scheduler as it won't let me)

thanks

Mark

John Mitchell
Posts:3479



04/18/2007 2:24 PM  
Not being able to update sounds like a compression or caching problem.
Are you getting Javascript errors?
Are you using PageBlaster or the core compression module?
markchannon
Posts:27



04/18/2007 2:35 PM  

No I'm not, thing is its not letting me change anything.

This is now currently the 2 active connections in SQL:

memschool_new.dbo.UpdateScheduleHistory;1

memschool_new.dbo.GetHostSettings;1

and the latest error in the event viewer is:

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Value cannot be null. Parameter name: type
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)
Source:
Server Name: SV1670

The strange thing about this is that it happened before so I re-installed dotnetnuke from scratch.

This is where I'm building the testsite: http://memoryschool.dnn3skins.com

 

John Mitchell
Posts:3479



04/18/2007 2:52 PM  
If you can get to the DB, run this query.

UPDATE Schedule SET Enabled=0 WHERE ObjectDependencies='SearchEngine'

Then restart your app.

That will at least keep the scheduler from running the search engine.

markchannon
Posts:27



04/18/2007 2:57 PM  
yeh, that's stopped the scheduler from running the search engine, still won't let me do any changes though. Any ideas what I could try?
markchannon
Posts:27



04/18/2007 3:08 PM  

You're right, it was a caching issue it just let me change my host settings:

Page State Persistence -  now, Page / (I had it set to Memory)
Module Caching Method - now Disk/ (I had it set to Memory)
Authenticated Cacheability - serverAndNoCache / (I had it set to server)

Don't know if that means there is a problem with any of those settings if you use them.

Should I turn my search engine scheduler back on or just leave it off and if so will I be able to use a search on my site?

Thanks for your help

Mark

John Mitchell
Posts:3479



04/18/2007 4:07 PM  

Excellent, I'm glad you got it working.

I'm betting it was the Page Persistence.  I have seen that cause problems before.  Here are my recommended settings for DotNetNuke Perrformance Settings.

You could turn the indexer back on, but i think you will still get those errors. You could try clearing your index and starting over by using the procedure below.

http://www.deutschnetnuke.de/tabid/134/Default.aspx

 

markchannon
Posts:27



04/18/2007 6:06 PM  

I can wait until tomorrow, its midnight here anyway!

Cheers

Mark

markchannon
Posts:27



04/20/2007 1:11 PM  

Hi John

Wondered if you had any news on this?

Cheers

Mark

John Mitchell
Posts:3479



04/20/2007 2:01 PM  
Hi Mark,
I split your thread into a new one and now it is giving me a weird redirect error.
In that thread I said I would send you a newer DLL so we could trace the error.
I'm packaging it now, and I should have it to you in the next hour or so.

Please send me an e-mail so I can make sure I'm sending to the correct address.
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > DNN 4.5.1 can't delete modules



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 Performance for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

AuthorNina Meiers
Price$49.00
Product Information