Create setup of document level excel customization solution RRS feed

  • Question

  • Hi

    I've a solution created using VSTO excel document level customization solution. For that I created Setup for installation for our clients. The installation is working perfectly and creating the shortcut for excel in desktop. But In that we are calling a web service reference for login. When the application try to call this service its showing the below error

    System.InvalidOperationException: Could not find default endpoint element that references contract 'PasswordExpiryService.IService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.

    This error is only displaying when I installed the setup into "program file" folder. If we change the location some other location (Eg: D:\Example) Its working perfectly. Is there any limitations to install into program file folder?

    Thanks & Regards

    Bobbin Paulose

    Tuesday, September 10, 2019 9:50 AM