Help, site down after 4.2 upgrade.
Hello, I upgraded from 4.1 spa to 4.2, now the site is down with the following error, please help:
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 guess you have restarted the server.
Are you still having problems. How about some feedback.
Markus
Hello Eric,
The error indicates a wrong entry for column voa_class which is in sf_libraries table in your project database.
The entry in column voa_class is 0 for Library with Id=23ea470f-e8ed-4208-8a81-07d2ea57e3a0 which is not appropriate.
I have few suggestions that can fix the problem.
1. Update the value of voa_class to a value similar to the values of other libraries with sql query
2. Execute API code that will delete the library (this is an option only if you can recreate it without additional efforts). Here is a reference. (by the library id you can check if it is image lib, documents, or video lib, I assume it is image library with the next API code)
LibrariesManager libManager
=
LibrariesManager.GetManager();
Album albumToDelete
=
libManager.GetAlbums()
.Where(a
=
> a.Title
=
=
albumTitle)
.Single();
libManager.DeleteAlbum(albumToDelete);
libManager.SaveChanges();
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>