Reputation: 4180
I have done the following:
Created ConsoleApplication in same solution with all connection definitions and programm which creates client and invokes the wrapper methods.
Ran the Console application with Visual studio 2010 like this: a. Start Service application b. ConsoleApplication and it works just fine.
And I had a following massage:
Can you please tell me what do i do wrong?
Upvotes: 0
Views: 719
Reputation: 5099
The problem is that your config file is not getting loaded. This is quite a common problem: http://bytes.com/topic/visual-basic-net/answers/373562-can-we-use-app-config-excel-add-component
You can either do what the configuration file is doing by programmatically instantiating the service.
Or you can try creating an excel.exe.config file in the same directory as excel and putting your configuration in that file.
I would go with the first approach!
Upvotes: 1