IDccMan Interface Error on ASP.Net page

Last post 04-11-2008 15:00 by deepalijm. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-05-2005 13:31

    IDccMan Interface Error on ASP.Net page

    I'm new with the Windows CE and the ActivSync communications with the desktop. My problem is I'm trying to use the C# RAPI wrapper in the OpenNetCF.Desktop.Communication DLL with my ASP.Net application to transfer a text file from the Desktop to the Mobile Device. When I execute the program I receive the error "Unable to load DLL (rapi.dll)" occurring on the line dcMan = new DccMan(); in the Internal ActivSync() method of the ActivSync.cs class.

    Am I able to instantiate this interface from an ASP.Net webpage or must it be a Windows desktop executable? If so, what am I doing wrong?

    Thanks for your assistance.
    Scott MacGregor
  • 07-05-2005 20:33 In reply to

    • ctacke
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-27-2007
    • Indiana
    • Posts 1,940

    Re: IDccMan Interface Error on ASP.Net page

    I bel;ieve it has to do with the permissions under which the class is loaded. As a test try giving IIS admin privileges (in a closed environment!) and see what happens.
  • 07-25-2005 7:59 In reply to

    Re: IDccMan Interface Error on ASP.Net page

    Chris, thanks for replying, sorry for the delay I was side-tracked with other requirements.

    From what you're saying the RAPI wrapper should work from an ASP.Net web page code-behind file. I'm currently trying to test it on my local workstation where I'm part of the Administrator group. I have IIS v6.0 installed and I'm using Integrated Windows security for user access. Is this what you meant by "giving IIS admin privileges"? I usually don't handle this area of the system. I'm still receiving the error when trying to instantiate the RAPI class from the OpenNetCF dll.

    I have been able to re-compile the sample windows form executable an it works successfully from my workstation in accessing the mobile device and copying the files.

    I'd appreciate any further assistance you might be able to provide.
    Thanks,
    Scott
  • 12-12-2005 18:40 In reply to

    Re: IDccMan Interface Error on ASP.Net page

    Hello Chris and Scott

    I am having the same problem on the line dcMan = new Dccman(), and getting the same exception. How can I grant IIS admin privilege? I have try grant the anomymous user using by IIS with admin privilege but I still having the same problem. Thanks for assistance.
  • 04-11-2008 15:00 In reply to

    Re: IDccMan Interface Error on ASP.Net page

    Hi,

    Does anybody know hoe to solve the dccMan = new Dccman(), exception?

    Also how can I grant IIS admin privileges?

     

    Thx.

    Filed under:
Page 1 of 1 (5 items)