I'm running version 4.5.1 on a website. I deleted my Dictionaries under Settings since I'm not using them. Then the website crashed and I'm getting a argument null exception that looks like this
Value cannot be null. Parameter name: value Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: value
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I went into the table 'umbracolanguage', and added en-US back
manually setting the primary key to 1 (which I guessed was the original
value) and the site/content tree sprang back into life.
I also implemented Richard's suggestion above and it worked a charm.
Caching problem
I'm running version 4.5.1 on a website. I deleted my Dictionaries under Settings since I'm not using them. Then the website crashed and I'm getting a argument null exception that looks like this
Any help is appreciated.
How exactly did you delete you dictionary?
Does it still give this error when you do an IISReset? Does it give this error if you publish the node (right click and choose "Publish")?
Hello Sebastiaan
Thanks for the quick answer.
I right clicked on my dictionary items and selected delete and I did the same for languages.
I asked the system admin to do an iis reset and I'm waiting for his reply. I tried your suggestion but I still get the same error.
Do you have more suggestions?
Thanks on advance
I believe that Umbraco requires at least one language to be present to be able to set the current culture, so try adding at least one language.
If you had previously set hostnames to a node in you site, they also are linked to languages.
When the problem is still there, could you describe exactly where you are getting the error, what do you click?
A lesson i learned some time ago... never delete an unused language...
your website will break if it's set somewhere as a page's language, or you have a dictionary item with content for it....
Hello Sebastiaan
I added 5 new languages but the problem is still present.
I think you're right about the hostname part. I was playing around with hostnames the other day and I set a host name on the website root.
I get the error when I open any page in the browser. The error from asp.net is the first thread above.
Hello Rik
How did you resolve the problem?
I had to go into the dabase and fix something... tried looking for the solution in the forum but only found this:
http://our.umbraco.org/forum/using/ui-questions/3212-Changing-culture
This solved my problem.Thank you Rik.
is working on a reply...