Could not load the assembly 'DotNetNuke.Authentication.LiveID'. Make sure that it is compiled before
今天发生一个莫名的错误:Could not load the assembly 'DotNetNuke.Authentication.LiveID'. Make sure that it is compiled before,在网上找了下有如下的解释:
My understanding and perhaps a core member would be willing to correct me if I'm wrong but.....
Back in the day when there was just one package and one package only quite often people would accidently overwrite their web.config not realizing that they needed information like the connection string and machine keys (and other custom settings). The upgrade package prevents that from happening.
Below are my steps when upgrading a site:
- I use a program called WinMerge that will show the differences in a file and compare my web.config against the release.config. I
- In WinMerge I copy the connection string and machine keys over to the release.config along with any other custom changes I've made.
- Save the changed release.config and close WinMerge
- Rename the web.config do something different and rename release.config to web.confg
- Hit the site and let the upgrade run.
This way I've caught any changes that might not necesarily be able to be programmed into the web.config when the site is running.
但不能解决问题,下面是另一篇(原文:http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/-1/threadid/193000/scope/posts/Default.aspx)
There should be a providers folder in your bin directory. If you look the install files you downloaded you should find the .zip files for both in the Install/Package directory. It sounds like they failed when they went to install but you can still install them manually if you want to use them under Host->Host Settings->Authentication Services. Are you using an ObjectQualifier or running the database as the user account instead of .dbo? I know there was a problem with one of the sql procedures with 4.6.0 and 4.6.2 but I thought it had been fixed for 4.7.0 and 4.8.0.
但我用的是4.7.0呀,怎么会还有问题呢?恰好4.8.0推出,下载升级包后按http://www.cnblogs.com/m2land/archive/2007/10/09/910414.html文中所将升级后,问题解决。