locked
System.IO.FileNotFoundException: Could not load file or assembly RRS feed

  • Question

  • System.IO.FileNotFoundException: Could not load file or ____

    embly 'Molina.EDI.PRVIB.P83, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d9940446b9f61429' or one of its dependencies. The system cannot find the file specified.
    File name: 'Molina.EDI.PRVIB.P83, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d9940446b9f61429'
       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.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Molina.EAI.BizTalk.P83.Utilities.Helper.GetSchemaFromBTAssembly(String assemblyPath, String schemaType)
       at Molina.EAI.BizTalk.P83.Utilities.Helper.LoadPRVIB_P83(String strProcessId, Int64 nApp_Id, XmlDocument xmlDoc, String strPlan, String strConn)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    AppName: PTX08148035867
    System.IO.FileNotFoundException: Could not load file or assembly 'Molina.EDI.PRVIB.P83, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d9940446b9f61429' or one of its dependencies. The system cannot find the file specified.
    File name: 'Molina.EDI.PRVIB.P83, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d9940446b9f61429'
       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.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Molina.EAI.BizTalk.P83.Utilities.Helper.GetSchemaFromBTAssembly(String assemblyPath, String schemaType)
       at Molina.EAI.BizTalk.P83.Utilities.Helper.LoadPRVIB_P83(String strProcessId, Int64 nApp_Id, XmlDocument xmlDoc, String strPlan, String strConn)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    Note:

    The above err mesg is taken form event viewer

    Methods I tried:

    1.I tried with placing all dll's(including dependecies dll) to assembly and also added thru biztalkassemblies(from biztalk admin).

     

    Thursday, November 11, 2010 3:02 PM

Answers

  • 'Molina.EDI.PRVIB.P83, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d9940446b9f61429' This assembly should be in the GAC (C:\Windows\Assembly) folder (for .NET 3.x) for .NET 4.0 it must be in (C:\Windows\Microsoft.NET\assembly) if you are using BTS 2010.
    Abdul Rafay - MVP & MCTS BizTalk Server
    blog: http://abdulrafaysbiztalk.wordpress.com/
    Please indicate "Mark as Answer" if this post has answered the question.
    Thursday, November 11, 2010 3:42 PM