Base solution for your next web application
BLACK FRIDAY
From Nov 21
To Dec 1
XXDAYS : XXHRS : XXMIN : XXSEC
SAVE UP TO$3K
Also valid for the
existing customers!
Open Closed

the audit logs showing the local path of the developer's machine #10798


0
shedspotter created

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
    ismcagdas created
    Support Team

    Hi @shedspotter

    1. Is it possible that your developers are connecting to Azure DB from their local machines ?
    2. Can you see different paths in the Audit Logs table ?

    Thanks,

  • 0
    shedspotter created

    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

    1. 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
    shedspotter created

    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
    ismcagdas created
    Support Team

    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
    Romka created

    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
    shedspotter created

    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
    ismcagdas created
    Support Team

    Hi,

    Did you check @Romka's suggestion as well ? This might cause a similar problem.

  • 0
    shedspotter created

    Hi @ismcagdas , I did not tried it, could you please let me know where I can find .PDB file in our solution? Thanks

  • 0
    ismcagdas created
    Support Team

    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
    Romka created

    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.