What is your product version? 10.3.0
What is your product type (Angular or MVC)? Angular
What is product framework type (.net framework or .net core)? .NET 5
Hi we have an issue in audit logs where the logs are showing the local path of the developer machine. our app service is deployed in azure but in production it is still taking the path of local machine of the developer.
Thansks
10 Answer(s)
-
0
Hi @shedspotter
- Is it possible that your developers are connecting to Azure DB from their local machines ?
- Can you see different paths in the Audit Logs table ?
Thanks,
-
0
HI @ismcagdas , Thanks for the response.
1.Is it possible that your developers are connecting to Azure DB from their local machines ? ANS = Yes our developer always using azure DB loaclly
- Can you see different paths in the Audit Logs table ? ANS = there is no difference between the paths
and we run the server loaclly it will always pick the loacl machines path
Thanks
-
0
HI, We are still waiting for an answer to understand this.
The developers acces the DB from local machine time to time, should this show the local dev path in Audit Logs in tanant audit logs?
-
0
Hi,
The developers acces the DB from local machine time to time, should this show the local dev path in Audit Logs in tanant audit logs?
Yes, this can be the reason. When the app is runned locally, it will use the local paths.
-
1
Hello,
I allow myself to ask you, can you check whether any .PDB files are deployed along with the application ? If answer is yes, try to deploy again without them and check.
-
0
Hi @ismcagdas, I under stood the if we run it loaclly it will pick local path but when I depoyed it in azure and access the live project in that case way it is still getting the local path of the developer machine , now all the sevice is running in azure so it should pick a path from azure but it is not picking it is picking the developer machine path
-
0
Hi,
Did you check @Romka's suggestion as well ? This might cause a similar problem.
-
0
Hi @ismcagdas , I did not tried it, could you please let me know where I can find .PDB file in our solution? Thanks
-
0
Hi @shedspotter
You can check root directory of your published web app. If there are PDB files, they must be located next to DLL files in the publish directory.
-
0
There is a possible misunderstanding of the sense in what ismcagdas just wrote : "the files ~~must~~ should be located next to DLL files", but they mustn't be there in order to fix your problem. So if they are there, try to delete them and check if your problem is solved.