Error occurred during logging

Advertisement

PeteFishwick
Joined:
Posts:
5
Location:
Truckcom Systems - UK

Error occurred during logging

I am having problems connecting to an FTP server using .NET

I want to log what is going on when I try to open the connections. I have set the SessionLogPath but when I try the Open I get a SessionRemoteException
of "Error occurred during logging. It's been turned off"

I'd understood that setting SessionLogPath was sufficient to enable logging.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Error occurred during logging

How did you set the SessionLogPath? Did you include a filename in the path?
_________________
Martin Prikryl

Reply with quote

PeteFishwick
Joined:
Posts:
5
Location:
Truckcom Systems - UK

Re: Error occurred during logging

No, I just set it as:

Dim SessionLogpPath As String = "C:\"

Should I have included a filename?

martin wrote:

How did you set the SessionLogPath? Did you include a filename in the path?

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Error occurred during logging

Sure. It's a path to the log. Not a path to a log directory.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum