It is a bug in .Net 1.1 which has been removed in .Net 2.0. It only happens in case of abnomal shutdown of ur server. There are some tools available on .Net that will release the specifed port for u. Hope it will help u Akif
S Akif Kamal
Posts
-
Only one usage of each socket address (protocol/network address/port) is normally permitted -
SqlServer Stored ProcedureWhat do you want to do. Update MS-Access Database with the stored procedure of SQL server or have your own update stored procedure for MS-Access. Akif
-
Problem with connection poolingIt will only be caused if you have some connection left open Akif
-
MSMQYou can go for public queues. In that case, you ll be able to check its existance. If you want to use private queues, the dirty way of finding whether the queue exists is to create the queue with the path specified and then catching the exception. If the path is wrong, then its object will not be created and an exception will be raised. Hope it will help you :) Akif
-
MSMQ"Exists cannot be called to verify the existence of a remote private queue" Syntex of the QueueNamePath is: Public queue: MachineName\QueueName Private queue: MachineName\Private$\QueueName Journal queue: MachineName\QueueName\Journal$ Machine journal queue: MachineName\Journal$ Machine dead-letter queue: MachineName\Deadletter$ Machine transactional dead-letter queue: MachineName\XactDeadletter$ Akif
-
MSMQUse MessageQueue.Exists(QueueName) to check whether the queue exists or not. Sorry;) it is not a property infact a static method. There is a good article on the usuage of MSMQ. Check it out[^] Akif
-
getting an Image from DataSetI didnt get your point. Will you specify it in more details whats the problem Akif
-
MSMQIf it is a private queue then you can check whether it exists or not. You just need to use: "FormatName:DIRECT=OS:machinename\private$\queuename" as its path and then check IsExists property. Akif
-
getting an Image from DataSetYou can read data from a DataSet simply by using the following code: byte[] _Image = (byte[])myDataSet.Tables[0].Rows[0]["Image"]; MemoryStream ms=new MemoryStream(_Image); Image image=Image.FromStream(ms); Now you have your image reconstructed if you have stored it as binary data. Akif
-
MSMQIf you are using a private queue then the format of the path for the queue will be: "FormatName:DIRECT=OS:machinename\private$\queuename" and if you are using a public queue, then the format of the path will be: "ServerName\QueueName" but remember one thing, you cannot use a private queue in ActiveDirectory environment. It can only be used in workgroup environment. Hope it will help you. Akif
-
Sort By Date??As per my knowledge this query will work fine and will display the result sorted based on tl.Date as Date. I may be mis-understanding your question but I think as you have converted Date into nvarchar in select clause not in Order By clause, hence it will have no effect on the sorting. Akif
-
MSMQCan you specify the path of the queue you are using and whether this queue is on the same server as your application. Akif
-
Getting an image from dataSetYou can read data from a DataSet simply by using the following code: byte[] _Image = (byte[])myDataSet.Tables[0].Rows[0]["Image"]; MemoryStream ms=new MemoryStream(_Image); Image image=Image.FromStream(ms); Now you have your image reconstructed if you have stored it as binary data. Akif
-
culture infoYou cannot convert the string in other languages. You just can change the format of the text including its indention. If you want to change the text, you have to store the text indifferent languages in some external file which may be a resource file and then read the text based on the current culture of the system. Akif
-
Crystal Report For VS 2005 Setup FileIt will be helpful if you would mention the error message. Akif
-
Customizing A Setup ProjectMy frd just write a custom action that will do the job for you and then add it in the setup project using Custom Actions view. To create a custom action, add a new project of type "Class Library", then add an installer class and override its "Install" and "Uninstall" methods. Both methods contains an argument of type IDictionary which can be used to store information that you want to pass to uninstaller from the installer. Call your config update logic from the install method. Finally add this project in setup as custom action from custom action view. Akif
-
MSMQUse "FormatName:DIRECT=OS:machinename\private$\queuename" to specify path of MSMQ on other machines. For the limitations of the private queues, you can check msdn or ask here. Akif
-
Please, Help me. I am really LOSTWhat do u mean by recordset here. Is it traditional recordset of ADO or u r talking abt DataReader of ADO.Net. Plz give the details of "Data" or atleast "Data.Get_TAccount" Akif
-
MSMQThere is a good article on msdn: Accessing Message Queues[^] Akif
-
Please, Help me. I am really LOSTCheck the state of the connection. A transaction cannot be initiated with the state of the connection other than OPEN. Happy new year to all of u Akif