Welcome to Forums Sign in | Join | Help | Forums
in Search


Deploying an RE web service

Last post 11-15-2006 6:23 PM by Chris Thomson. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-15-2006 11:23 AM

    • David Zeidman
    • Top 25 Contributor
    • User Since: 2002
    • Posts 326
    • Organization: Zeidman Development
    • Products:  Blackbaud Direct Marketing, Blackbaud Enterprise CRM, The Information Edge, The Raiser's Edge

    Deploying an RE web service

    I am having issues with Visual Studio and deploying to IIS on Win2003. I am able to create and run my web service fine locally on WinXP but when I try to deploy and run it on the server I get the error message: System.InvalidCastException: Unable to cast COM object of type 'REDotNET.REAPIClass' to interface type 'REDotNET._REAPI'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{13FCEC5E-4B9B-11D4-80B5-00B0D0119B1C}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). This happens when I call the REAPI.init. I am able to create the REAPI objet itself but not then call init. Does any one have an idea what this means or what I can do to solve it. Thanks David Zeidman Development http://www.zeidman.info
    David Zeidman
    Zeidman Development
    http://www.zeidman.info

    Check out my RE API blog
    http://www.re-decoded.com
  • 06-15-2006 3:54 PM In reply to

    Deploying an RE web service

    My guess would be its a permissions issue. Check the permissions that KB (BB121222) refers to. If that doesn't work you may have to use FileMon or RegMon from www.sysinternals.com . I've had to do this a couple times to get all the permissions right. The registry permissions tend to be flakey. Joel
  • 11-15-2006 6:23 PM In reply to

    • Chris Thomson
    • Top 500 Contributor
    • Posts 37
    • Organization: Victoria University of Wellington
    • Products:  The Raiser's Edge

    Deploying an RE web service

    Yes it is a permission issue. What you need to do is as per KB (BB121222) . Specifically when you are applying the Read and Execute permissions to the folders specified make sure you apply it to the folder and its child objects. Specifically: locate the folder in windows explorer Right Click and Select Properties ! Security Select Add and enter ASPNET Select OK and then Select Advanced on the properties dialog box Tick the check box “Replace permissions on all child objects …. Select Apply …
Page 1 of 1 (3 items)