System.IO.FileNotFoundException - InfoPath Dev
in

InfoPath Dev

Qdabra® Active Directory Web Service

Use our Google Custom Search for best site search results.

System.IO.FileNotFoundException

Last post 10-21-2011 04:00 AM by sanjay619. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-20-2011 04:24 AM

    System.IO.FileNotFoundException

    hi,

    Am having infopath form in my local PC and sharepoint on onther server.i hav written code on infopath button click.

    while i ran it give following Error

    System.IO.FileNotFoundException
    Could not load file or assembly 'Microsoft.SharePoint.Library, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
       at Final.FormCode.CTRL6_5_Clicked(Object sender, ClickedEventArgs e)
       at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
       at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)

     All though i have copyied Sharepoint DLL from sharepoint server to My local PC

     

    Thanks

     

     

  • 10-20-2011 06:40 AM In reply to

    Re: System.IO.FileNotFoundException

    Have you added the SharePoint DLL to your GAC?  Included it in the VSTA project?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 10-20-2011 10:42 PM In reply to

    Re: System.IO.FileNotFoundException

    Thanks jimmy for reply

    Yes i have Added Sharepoint dll from sharepoint server to my local machine

    But Microsoft.Sharepoint.library is missing please tell me how should i add that that dll in my localMachine.

     

    Thanks Once agian

     

  • 10-21-2011 12:01 AM In reply to

    Re: System.IO.FileNotFoundException

    I already know you copied it to your machine.  My question was whether you added it to the GAC or included it in your VSTA project and referenced it from there.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 10-21-2011 04:00 AM In reply to

    Re: System.IO.FileNotFoundException

    I have Added Through VSTA.

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.