wcf trying to set up tracing to debug, not writing to log file

后端 未结 4 1903
盖世英雄少女心
盖世英雄少女心 2021-01-02 02:48

here\'s my web.config, running a WCF service in an application on IIS7, but nothing is being written to the specified file. permission on the file has been granted for ever

4条回答
  •  粉色の甜心
    2021-01-02 03:11

    Probably the issue is due to permission to write in the log directory specified in your config file. If you are'nt sure wich is the user in the context, give write permission to all machine users.

    • Right click in log directory
    • Click in the "Security" tab
    • Click edit
    • On "Group Names or Users" section, select "Users MachineName\Users"
    • On "Permissions" section grant permission to write

    It worked fine for me.

提交回复
热议问题