AxDSOFramer exception in the Open method

0

I'm newbie in the use of AxDSOFramer . I have this simple code

 Try
   strAnnexeFile = "C:\test\Annexe.xlsx"
   AxFramerControl2.Open(strAnnexeFile, False, Type.Missing, Type.Missing, Type.Missing)
 Catch ex As Exception
                MessageBox.Show(ex.ToString)
                AxFramerControl2.Close()
 End Try

but I got this exception :

System.Runtime.InteropServices.COMException (0x80010001): L’appel a été rejeté par l’appelé. at DSOFramer._FramerControl.Open(Object Document, Object ReadOnly, Object ProgId, Object WebUsername, Object WebPassword) at AxDSOFramer.AxFramerControl.Open(Object document, Object readOnly, Object progId, Object webUsername, Object webPassword) at projet1.UserControls.Commun.AnnexeLibre..ctor(String strAnnexeName) in C:\projet1\UserControls\Commun\AnnexeLibre.vb:line 44

I'd like to know :

  1. Why this happens?
  2. How can I fix it?
c#
vb.net
winforms
excel-interop
dsoframer
asked on Stack Overflow Nov 28, 2014 by Lamloumi Afif • edited Nov 28, 2014 by Soner Gönül

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0