Getting an error " *.dll file not found" in API side

Hello,

When i run any build it runs successful but it gives me an error on application side and error is giving me like "could not load file" 
but already configure that file in .csproj file and when i run build again after this this error is automatically gone and dont give
any error on server side as well as API side. And we are using SOAP api at the api side and we got error in graylog. So kindly see
the attachment and give me any suggestions?.

 




1
6 comments
Hello,

Is there any suggestions in this if you have please kindly help me.



Thanks,

Vishal.
0

Hi Vishal,

 

the error message coming from the application seems to imply that there is a missing library. If it only happens the first time and the next one it works, it might be that the build itself is missing the library to package it initially, so I'd recommend checking it in your own development environment. You might want to clear all your caches, working directories, etc, and then try to run it in the same way teamcity does and see if it works. 

 

There is only so much that we can do to help when what is failing is your application, particularly from the stacktrace. If you can track the error to something missing that teamcity is doing, we might be able to provide better assistance.

1

Hi Denis,

Thanks for help,

 

Surely i will do that you mentioned and let you know what will that.And what would be that case like build itself missing something kindly let me know that.

This will also work in developer's local environment but not in Teamcity but when we see in server if it file is loaded or not at that time file already loaded on that server but not able fetching from the the server.So i am confused here so try to help me.

 

Thanks,

Vishal.

0

Hi Vishal,

 

I'm not familiar with your build process or your application. I don't know what your build requires for the application to work, but it seems like teamcity is doing what it's supposed to do, as it does not fail. Typical in this kind of scenarios is that there is something missing in the environment of the build agent that is present in your development environment, but there is hardly a single way to troubleshoot this. This depends heavily on your environment and your build process, so you need to troubleshoot that on your own end. You need to ensure that the build process has everything it needs to succeed.

 

We have this generic steps here that might help: https://www.jetbrains.com/help/teamcity/common-problems.html#CommonProblems-BuildworkslocallybutfailsormisbehavesinTeamCity, but again, please check your build process to ensure that the build agent has everything it needs.

0

Hi Denis,

 

Thank you again, I will check one more time and let you know.

 

Thanks,

Vishal.

0

Hi Vishal,

We are experiencing a similar issue. I'm wondering if you ever got to the bottom of this and whether you could provide any insight as to what was the cause.

Much appreciated,

Joe

0

Please sign in to leave a comment.