Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max Mumford 266 posts 293 karma points
    Feb 28, 2011 @ 16:52
    Max Mumford
    0

    Could not load file or assembly '.....umbraco\presentation\bin\Umlaut.Umb.Blog.dll

    Hi all,

    I am in the process of starting again with our umbraco site and porting all the content from the existing install to a new one. For ease, I will be using the same version in the new install so I have downloaded the source for version 4.5.1, compiled and ran it, followed the installer, copied over relevant files (master pages, css, media etc), and during the process of converting my XSLT to the new schema, I tried to save an editted XSLT file in the umbraco backend and got the error message below.

     

    Error occured

    System.IO.FileNotFoundException: Could not load file or assembly '......umbraco\presentation\bin\Umlaut.Umb.Blog.dll' or one of its dependencies. The system cannot find the file specified. 
    File name: '......umbraco\presentation\bin\Umlaut.Umb.Blog.dll' 
    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) 
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) 
    at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark) 
    at System.Reflection.Assembly.LoadFrom(String assemblyFile) 
    at umbraco.macro.GetXsltExtensions() in .......umbraco\presentation\macro.cs:line 778 

    === Pre-bind state information === 
    LOG: User = domain\user
    LOG: Where-ref bind. Location =

    .....umbraco\presentation\bin\Umlaut.Umb.Blog.dll 
    LOG: Appbase = ....umbraco/presentation/ 
    LOG: Initial PrivatePath = .......umbraco\presentation\bin 
    Calling assembly : (Unknown). 
    === 
    LOG: This bind starts in LoadFrom load context. 
    WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load(). 
    LOG: Using application configuration file: .......umbraco\presentation\web.config 
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. 
    LOG: The same bind was seen before, and was failed with hr = 0x80070002. 

     

    The changes made to the file were not saved. The missing dll file is not in the directory specified and doing a search for it yields nothing. Can anybody give me some advice?

    Thanks in advance,
    Max.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 28, 2011 @ 17:55
    Jan Skovgaard
    1

    Hi Max

    Seems like the blog4umbraco package has been uninstalled but did not uninstall properly.

    Try havving a look at the xsltExtensions.config file to see if there still is a reference to the missing dll. If there is just remove the section refering to it.

    Hope this helps.

    /Jan

  • Max Mumford 266 posts 293 karma points
    Feb 28, 2011 @ 18:12
    Max Mumford
    0

    Hi, thanks for the reply. That would make sense as we had a blog4umbraco package on our original install so the database or some files I copied over must have some references left over to it. I did wonder why it had blog in the title! I removed it and it fixed the problem.

    Thanks for your help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 28, 2011 @ 18:27
    Jan Skovgaard
    0

    Hi Max

    You're welcome.

    Seems like the uninstall process could use some polish. Maybe one should file a bug report on codeplex for this if it has not been done already.

    /Jan

  • Max Mumford 266 posts 293 karma points
    Feb 28, 2011 @ 18:40
    Max Mumford
    0

    We had the first release of blog for umbraco installed and it isnt even showing up in the "installed packages" section anymore which is another reason why we are starting again. 

    Thanks again.

Please Sign in or register to post replies

Write your reply to:

Draft