|
|
Thank u for ur suggestion i will look for it....
|
|
|
|
|
I am running a dotnet application which grabes the broadcast message in MSMQ. The apllication works fine at most of the time but recently I got an error "Message Queuing has not been installed.." while it was working fine before that. Do anybody has any idea about it? What may be the causes this error.
Thanks
Hem
|
|
|
|
|
Is it possible somebody uninstalled message queueing. Check it's installed.
Goto control panel, then add/remove programs then click add/remove windows components. It's somewhere in there. Just make sure the appropriate bits for MSMQ are all ticked.
Simon
|
|
|
|
|
Thanks Simon..As I already said it was working fine for many days and still working fine but a few day back I got the error 'Message Queuing has not been installed' and I just want to know what have caused this error.
|
|
|
|
|
The error message suggests that message queuing is not installed. Have you checked that it definitely is installed. It's possible somebody else uninstalled it, or it's possible a service pack or windows update has for some reason uninstalled part of it.
Simon
|
|
|
|
|
Yes I check it it is there and as I said write now it is working.
|
|
|
|
|
Well then, It's pretty hard to figure out what caused it then.
Service packs, windows updates, a user changing a setting. (Have you checked it works under different user accounts, and non admin accounts?), there's various possibility. If it happens again, take note of the full message. Try to log the exception details and stack trace so you have some more info.
Simon
|
|
|
|
|
hi good evening frnds,
I have three doubts here...
1) How can i refresh my windows form everytime,when i submit the values to the database using C#.
2) can u gimme autogenerate code for userid, its urgent pls help me
3) i need some clarification abt ths error :
what is meant by, insert command confilcted with foreign key column
hope u gimme as early as possible...
thnx in advance,
nagendra kumar
|
|
|
|
|
nagendra.vk wrote: How can i refresh my windows form everytime,when i submit the values to the database using C#.
Read about patterns like MVC/MVP. You need to have a model. All your UI controls will be observing it, whenever the model changes, controls will update itself. Read about data binding.
nagendra.vk wrote: can u gimme autogenerate code for userid, its urgent pls help me
NO. We don't serve urgent requests
nagendra.vk wrote: insert command confilcted with foreign key column
Looks like the value you are inserting is not present in the parent table.
|
|
|
|
|
1 - you can iterate over the controls collection and reset them all that way
2 - ++userid
3 - I suggest you do some reading before touching any more database code, as it's clear you don't understand them at all.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi all ,
My app connects via remoting to a different server.
Suddenly it stopped connecting.
I tried to debug it and it connects perfectly .
running it directly from the exe file causes it not to establish connection
my guess was the myapp.vshost.exe of course, but I dont know where to go from there.
any suggestion ?
A bit more info about my system :
A. windows 2003 servers (both client and server )
B. VS2005 and let's assume that my server name and port (strings) are hardcoded cause I double checked them on runtime.
C. as always, this bug happend suddenly
|
|
|
|
|
What error do you get?
You need to catch and log any exception that occurs so you get some clue as to what went wrong.
Simon
|
|
|
|
|
ok,
i get the following exception
"Unable to establish connection to server via RemotingAn error occurred while processing the request on the server: Server encountered an internal error. To get more info turn on customErrors in the server's config file."
It occurs in the client whenever I call one of my proxy's method.
The weird thing is that sometimes I dont get it when I run from the exe file. usually when the client is inactive and for a long time. then I connect to the remote successfully. but most of the times I get that exception.
I Never get it when I run from debug, and that's what I am trying to figure out .
10x.
|
|
|
|
|
I suggest you do exactly what it says. It suggests the error is occurring on the server. Turn on logging on the server. If possible, run the server in debug mode (with VS attached) and see if the server methods are actually getting hit.
At a guess I'd say it's could be some kind of authorisation problem. Maybe a firewall? blocking the app, but not when run through VS. Or perhaps security permissions on the server or remote objects.
Simon
|
|
|
|
|
From what you have explained, it looks like the connection is timing out. Increasing the timeout time might fix the problem.
Hope this helps ,
Prateek
|
|
|
|
|
Iam using SMTP to send mails from my c# application.If I gave correct 'To' address and wrong 'CC' or 'BCC' then the mail is not sent, to the correct ('To') address also.
I expected it to fail, mail delivery for only the wrong mail addresses and it should be succeed for correct one.
Tahnk u
Bhargavi
|
|
|
|
|
bhargavichow wrote: I expected it to fail, mail delivery for only the wrong mail addresses and it should be succeed for correct one.
Seems like you were wrong then. Did you have a question, or was this just an observation?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi,
I am working on a chatting project witch is to work using C# Sockets. There are two segments "Server" and "Client" as usual. I tried it on a local network and the result is with 5 systems in my lab, it is working nicely and on making a system Client and any one Server , we became able to have our conversations but with rest of two systems story is not same. When I am making my PC server and another one client , it is working but when I am keeping Client and making other one server it is not working and generating following exceptions:
"A connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond + C# socket program"
If it is working with other PC of the LAB nicely than why it is not working with only 2 PCs.
Structure is as :
Server picks IP and port of the system on which it is running that is like :
IP : 192.168.0.13
Port: 8000
On the Client PC We need to give IP of our Server and a port number, that is like
IP : 192.168.0.13
Port : 8000
Can any one tell me why is this happening .
Hemant S. Adhikari
|
|
|
|
|
Is there a firewall in place? Are the two PCs on the same network? The IP addresses given are on an internal range so if the connection crosses the internet it won't work, you need an external IP address.
|
|
|
|
|
Can you post the code that you have? If not, you can check out the code on this page (http://msdn.microsoft.com/en-us/library/w89fhyex.aspx). I would advise going through this page first. It provides good, working examples of client server sockets.
Hope this helps ,
Prateek
|
|
|
|
|
I have a Datagridview which has a Datagridviewcombobox column and an integer column for which the values are autogenerated by me.
The combobox is added like this
DataGridViewComboBoxColumn col = new DataGridViewComboBoxColumn();
col.Name = "Category";
col.DataPropertyName = "Category";
col.Items.AddRange(new string[] {"value1", "value2", "value3"});
this.datagridview1.Columns.Insert(1, col);
The combobox column works properly only when the VirtualMode property is false.
I have a serial no column, whose value is generated automatically in in datagridview_NewRowNeeded event like this:
this.datagridview.Rows[this.datagridview.Rows.Count-1].Cells[0].Value = something...
This event works only when the VirtualMode property is set to true.
Is there any workaround to achieve both these in the same datagrid?
Cheers
CNU
|
|
|
|
|
|
Check the link
[^]">
Cheers!!
Brij
|
|
|
|