The network BIOS session limit was exceeded

P

Peter

I have a C# program that checks directory on a UNIX server and once in a
while I get the following error 'The network BIOS session limit was
exceeded.' if I log off and log back on the error goes away. Does any one
know what is causing this error or how to prevent it?

Peter
 
P

Pete Davis

It sounds like you're not closing or disposing of something and it's holding
the session open indefinitely. Without seeing some code though, it's
impossible to say for sure.

Pete
 
P

Peter

This is the line that's getting the error.

return System.IO.Directory.GetFiles(filePath, fileMask);

But what could cause this error, even when I close the program and try to
open the folder with Windows Explorer I get the same error until I log off
or reboot?
 
P

Pete Davis

So you can produce this error simply using Windows Exlorer? Or does it only
happen from your application? In other words, if you browse the same folder
from Explorer a number of times, will you eventually get the same error or
does it only happen if your program is run first?

Pete
 
P

Peter

The error in Windows Explorer only occurs after my program gets the error,
but I can close the program and the error keeps popping up in Windows
Explorer.
 
P

Peter Huang

Hi Peter,

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

Hi Peter,

Thank you for posting in the community!

Can you provide me more detailed information about your specific issue?

1). Your .Net application(Code) runs under Windows environment or Unix
environment ?
2). Which windows platform version do you use?
3). How do you access your unix directory? Do you emulated NT share on a
UNIX box ?

I will wait for your further feedback, then I will help you better, thanks
for your understanding.

==================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
G

Guest

Hi Peter,

Is your problem resolved? Please feel free to feedback, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top