1
Good afternoon guys. I created a 3-layer Solution for a windows services project. In debug I can search the database information and do the processes with the return. However, when I put the process to run on windows services does not work. I logged to know where this with the error and is precisely where you search the database information, IE, in App.config.
I’m suspicious that when doing the installutil command to put it in the processes is not going together with the dll’s of the Business and Data project.
Somebody’s had that problem before?
As
dlls
should be in the same directory as the executable, I suspect that yourdlls
data layer is not there. Copy alldlls
from projects to the executable folder.– rubStackOverflow
The worst thing is that they are in the same folder. To be sure, I took all of them and put them in another folder and remade the process. And yet it didn’t work.
– Luciano Carlos
Are you sure that all
dlls
referenced in the project are there? Another detail the fileApp.config
also should be in this folder, it will take the name of yourexecutável
that is, if its executable isMeuApp.exe
its configuration will beMeuApp.exe.config
– rubStackOverflow
Yes yes... Absolutely certain. :-(
– Luciano Carlos
And as for the file
MeuApp.exe.config
are with the correct connection settings?– rubStackOverflow
Yes, so much so that in debug mode I can access the database information normally.
– Luciano Carlos
Let’s go continue this discussion in chat.
– rubStackOverflow