Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again
I am running Net use * /delete /y also but still I am getting this error whenever I use a different user than previous user
background:- Actually I am trying to excute a command in remote computer and read the command output from a text file. for that I am using wsnet connection by establishing a connection and through unc path \\10.210.1.1\C$:\output.txt , I am reading the output back. and then disconnecting the connection ... even if the connection is not properly closed, I am making sure to execute Net use * /delete /y command in my local system to delete all the existing connection on , but even after doing this if I use a different user I get this exception while connecting using WSNET in C# Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again
Not as a generic rule, no - you could try iterating though it's child windows looking for appropriately named items, and post a WM_CLOSE message, but there is no guarantee that: a) It'll work, b) It'll find them all, or c) The app won't crash or otherwise misbehave as a result.
Seriously? If you need to do this, you're probably better redesigning the application if you can.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
A simple video player with my own play, pause, stop, forward, backward and play list functions. All these things are present in the windows media player and I want to hide them, in order to provide my own functionality.
This world is going to explode due to international politics, SOON.
hello to everybody
i have a class that it name is diver and another class that i called it time.driver has a property iset. i use entity framework for connect to my database.now i want to add an object time to time property of driver.=>add to Driver.time
but when i fill the time and i want to show it to the datagrid it show the count of time in datagrid .where is my problem
this is my query code.
string value = DriverStatusGridView.Rows[DriverStatusGridView.CurrentRow.Index].Cells.Value.ToString();
var SearchTime = (from Search in Context.Drivers
where (Search.InternationalCode == value)
TimeGridView.DataSource = SearchTime;
Sounds interesting. I had never that problem. I'm working on a web application out for 5 years and made no changes to the config file for ages...
It's true that at the beginning I spend about 3 hours to fine tuning everything, but nothing since then...
You better get us into the details so we may spot the problem and help you out...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)