EldoS | Feel safer!

Software components for data protection, secure storage and transfer

System.InvalidOperationException in WebDavServer

Posted: 11/24/2011 10:09:33
by Kalle Seybold (Basic support level)
Joined: 11/24/2011
Posts: 16


we are evaluating SecureBlackbox/WebDav Server. The logging function does not seen th work. At the first connection we are getting a System.InvalidOperationException exception in


saying the control is acessed by a different thread.

here is the calling stack:

> WebDavServer.exe!WebDavServer.Form1.AddLogEvent(string Line = "New connection") Line 326 + 0x43 bytes C#
WebDavServer.exe!WebDavServer.Logger.AddLogEvent(string Line = "New connection") Line 34 + 0x25 bytes C#
WebDavServer.exe!WebDavServer.ClientThread.DoOpenConnection(object Sender = {SBWebDAVServer.TElWebDAVServer}) Line 219 + 0x2d bytes C#
SecureBlackbox.DAVServer.dll!SBWebDAVServer.TElWebDAVServer.DoOpenConnection(object Sender = {SBHTTPSServer.TElHTTPSServer}) + 0x5c bytes
SecureBlackbox.HTTPServer.dll!SBHTTPSServer.TElHTTPSServer.DoOpenConnection(object Sender = {SBServer.TElSecureServer}) + 0x56 bytes
SecureBlackbox.SSLServer.dll!SBServer.TElSecureServer.DoOpenConnection() + 0x26d bytes
SecureBlackbox.SSLServer.dll!SBServer.TElSecureServer.Open() + 0x91f bytes
SecureBlackbox.HTTPServer.dll!SBHTTPSServer.TElHTTPSServer.Open() + 0x54 bytes
SecureBlackbox.DAVServer.dll!SBWebDAVServer.TElWebDAVServer.Open() + 0x3f bytes
WebDavServer.exe!WebDavServer.ClientThread.ClientThread(WebDavServer.ServerThread owner = {WebDavServer.ServerThread}, System.Net.Sockets.TcpClient tcpClient = {System.Net.Sockets.TcpClient}, SBWebDAVServer.TElWebDAVCustomLockList lockList = {SBWebDAVServer.TElWebDAVMemoryLockList}, SBCustomFSAdapter.TElCustomFileSystemAdapter diskAdapter = {SBDiskFSAdapter.TElDiskFileSystemAdapter}, SBCustomCertStorage.TElCustomCertStorage certStorage = {SBCustomCertStorage.TElMemoryCertStorage}, bool sslMode = false, WebDavServer.Logger logger = {WebDavServer.Logger}) Line 183 + 0x2c bytes C#
WebDavServer.exe!WebDavServer.ServerThread.ListenForClients() Line 135 + 0x76 bytes C#

just out commeting solves this problem, but I can't access the WebDav Server anyway.

Best regards

Posted: 11/24/2011 12:22:05
by Vsevolod Ievgiienko (Team)

Thank you for reporting a problem.

I've created a ticket in Helpdesk for you and attached a fixed sample there. It will be also included in upcoming SecureBlackbox build.
Posted: 11/25/2011 11:09:24
by Kalle Seybold (Basic support level)
Joined: 11/24/2011
Posts: 16

Thanks for the quick reply.

BTW: the server is NOT working.

I guess it suppose to expose the Base path wia webDAV.
Tried serveral clients, none is working

If I change the Base path and the other pathes, zhe changes are not permanent. Is the client suppose to store the changed configuration data?

Best regards

Posted: 11/25/2011 12:05:59
by Eugene Mayevski (Team)

As mentioned in the support policy, "not working" is not something we can help you with. Please describe the problem in more details.

Also it's not clear what exactly you mean when talking about base path. The server sample is literally a sample and it should be used *only* for some testing and looking into code. This is NOT the template for existing server, it must not be treated as such, and it is supported in this role.

Sincerely yours
Eugene Mayevski
Posted: 11/28/2011 03:56:36
by Vsevolod Ievgiienko (Team)


Lets try to solve the problem in Helpdesk.



Topic viewed 1265 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!