.NET 3 and 1.1 interop

Discussion in 'ASP .Net Web Services' started by CatchExAs@googlemail.com, Sep 17, 2007.

  1. Guest

    Hi, sorry for the x-post and thanks in advance for any help you can
    provide.

    I'm attempting to call a .NET 3 web service from a .NET 1.1 rich
    client. I've successfully consumed the service in Visual Studio by
    adding a static web reference. Unfortunately at runtime I get the
    horrible exception attached below.

    Is there something I've done that is obviously wrong? Which tools can
    I use to investigate this problem further?

    Many thanks,

    Nick


    Unhandled Exception: System.IO.FileNotFoundException: File or assembly
    name pyiwi__w.dll, or one of its dependencies, was not found.
    File name: "pyiwi__w.dll"
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
    codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
    throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
    at System.Reflection.Assembly.InternalLoad(AssemblyName
    assemblyRef, Boolean stringized, Evidence assemblySecurity,
    StackCrawlMark& stackMark)
    at System.Reflection.Assembly.Load(AssemblyName assemblyRef,
    Evidence assemblySecurity)
    at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
    at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
    at System.Xml.Serialization.Compiler.Compile()
    at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[]
    xmlMappings)
    at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
    mappings)
    at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
    at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
    at MBTestHarness.mb64srv01.SetDiagnosticsService..ctor() in c:
    \scratch\mbtestharness\web references\mb64srv01\reference.cs:line 32
    at MBTestHarness.Form1.button1_Click(Object sender, EventArgs e) in
    c:\scratch\mbtestharness\form1.cs:line 105
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
    button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr
    hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.ForThe program '[3228] MBTestHarness.exe' has
    exited with code 0 (0x0).
    ms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at
    System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods
    +IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32
    reason, Int32 pvLoopData)
    at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32
    reason, ApplicationContext context)
    at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,
    ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at MBTestHarness.Form1.Main() in c:\scratch\mbtestharness
    \form1.cs:line 100

    === Pre-bind state information ===
    LOG: Where-ref bind. Location = C:\DOCUME~1\wiltonn\LOCALS~1\Temp
    \pyiwi__w.dll
    LOG: Appbase = C:\Scratch\MBTestHarness\bin\Debug\
    LOG: Initial PrivatePath = NULL
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time (private,
    custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/DOCUME~1/wiltonn/LOCALS~1/Temp/pyiwi__w.dll.
    , Sep 17, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrick
    Replies:
    2
    Views:
    640
    Steven Cheng[MSFT]
    Oct 1, 2004
  2. Anil Krishnamurthy
    Replies:
    12
    Views:
    4,577
    Anil Krishnamurthy
    Oct 5, 2004
  3. MarkD
    Replies:
    0
    Views:
    842
    MarkD
    Aug 3, 2005
  4. Subrata
    Replies:
    1
    Views:
    457
    Peter Huang [MSFT]
    Mar 8, 2006
  5. dc
    Replies:
    0
    Views:
    2,248
Loading...

Share This Page