Monday, January 21, 2013 5:41 PM
I cannot see my WCF Log.xml file when application uses the local IIS server.
For Cassini server everything works fine, I can see and parse my log file, created in accordence to the following setting:
switchValue="Information, ActivityTracing, Verbose" propagateActivity="true">
As soon as I switch from "Use Visual Studio Development Server" to "Use Local IIS Web server" (I need it for SSL connection debugging), no file LogPortal.xml can be found neither in root directory nor somewhere else on my computer.
What I have done so far to fix a problem:
1 . I set Full righites for IUSR, NETWORK and DefaultAppPool users for the project folder
2. I stop IIS each time I'm looking for the file to make it commited to disk
How to make the WCF to create the file I need?
Wednesday, January 23, 2013 3:49 AMModerator
Wednesday, January 23, 2013 4:10 PM
>neither in root directory nor somewhere else on my computer
Friday, January 25, 2013 1:47 AMModerator
I tried on my side both VS2010 and VS2012(Use IIS Express, the file is located at bin folder). In with VS2010, after creating the Virtual Directory, you need enable Directory browsing, the log file is located under service project folder. I'd suggest you try on another machine with IIS configured properly.
- Marked As Answer by Haixia Xie - MSFTMicrosoft Contingent Staff, Moderator Monday, January 28, 2013 10:30 AM
- Unmarked As Answer by Renziglov Thursday, January 31, 2013 4:27 PM
Thursday, January 31, 2013 4:32 PM
I enabled the directory browsing for the site, but it does not help. I cannot see my LogPortal.xml somewhere on my computer.
BTW, my another project, cofigured pretty much the same way, has no problems with diagnostics: log file is put in the root directory each time I enable system.diagnostics section and run it.