Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6874865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:14:55+00:00 2026-05-27T04:14:55+00:00

I have an word add in application created in c# which is accessing a

  • 0

I have an word add in application created in c# which is accessing a web service and is perfectly working if installed outside Program Files folder. the weird thing is that when I install this in Program Files folder, the client is failing to read the config in [application].dll.config and raising an error like below:

“Could not find default endpoint element the references contract [..] 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.”

I have read this article and it seems that it doesn’t solve my problem.
Could not find default endpoint element

Im using windows7 btw and haven’t tested to other OS.

Update:
After reading the above link, I’ve tried to move the configuration to machine.config and it works, but how do I make my application read the application config instead of machine.config?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:14:56+00:00Added an answer on May 27, 2026 at 4:14 am

    If you are using VSTO 4 SP1, then you may be running into a problem described in this blog:
    http://msdnrss.thecoderblogs.com/2011/06/vsto-4-0-sp1-will-cause-a-vsto-addin-to-not-find-its-config-file/
    The solution is to change your registry values for your office addin from:

    Manifest=”C:\Program Files\<Path>\WordAddIn.vsto|vstolocal”  
    

    to:

    Manifest=”file:///C:\Program Files\<Path>\WordAddIn.vsto|vstolocal“ 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Word add-in which would load data in custom ribbon from
I am working on an iPhone application in which I have HTML pages created
I am working on an ASP.Net web application that must print dynamically created labels
I have a Word.Field object which is a checkbox and the Type property equals
I have Microsoft Word template that I automated filling it's fields from my application,
I have about 100 Word documents which include transliteration of foreign names. The author
I have get the add on on heroku application, and added required sunspot gem
I have a Microsoft Access form which will display a Microsoft Word app with
I have written a runtime-created dialog class that doesn't use any resource files based
A little back story : I have small application that will use Word to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.