Ask a questionAsk a question
 

AnswerUsing WCF in XMAs

  • Friday, October 16, 2009 9:18 PMJacob P. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Good afternoon,

    I am working on a call-based XMA that uses WCF.  The XMA works fine in my sandbox, but when I deploy the DLL, I can't figure out where to stick my app.config so that the DLL will see it when it's loaded.  I've tried the extensions directory and the MIIS directory with no luck.  Every time I get the error that the DLL was unable to locate the configuration for the endpoint.

    Can someone point me in the right direction?

    Thanks!

Answers

All Replies

  • Saturday, October 17, 2009 8:15 AMHenrik Nilsson Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Jacob!
    Your XMA will run in the process of the Miisserver.exe so you'll have to add your config to the existing miisserver.exe.config file.

    //Henrik

    Henrik Nilsson Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
  • Monday, October 19, 2009 6:06 PMJacob P. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for the reply.  I gave that a try and am still getting errors indicating the config file was not found.  Any other suggestions?
  • Tuesday, October 20, 2009 7:31 AMHenrik Nilsson Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    What version of MIIS/ILM are you running?
    First of all you must make sure your XMA is running in-process then depending on your version there's a known problem around .Net versions, maybe that could be what you're experiencing...

    http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/863c68bd-055b-4de9-a892-b9c59241c815

    //Henrik

    Henrik Nilsson Blog: http://www.idmcrisis.com Company: Cortego (http://www.cortego.se)
  • Tuesday, November 03, 2009 6:59 PMAhmad Abdel-wahedMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You need to use a machine configuration file to specify the information.  Here is some information on a machine config file: http://msdn.microsoft.com/en-us/library/ms229697(VS.71).aspx
    AhmadAW