|
There is already an open DataReader associated with this Command which must be closed first.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.
|
|
|
|
|
hello,
in the past i had the same problem and i thnink that the when executing the commande on backgrounfd the DataReader (already opened) associeted is opened, i guess that is the cause of the error (open an opened DataReader)
|
|
|
|
|
Repost.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
There is already an open DataReader associated with this Command which must be closed first.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.
I HAVE AN ERROR PLEASE HELP ME SOON...PLEASE
|
|
|
|
|
Am totally stuck with an issue. I don't know whether this is even the right forum to post my doubt, since am not able to trace out the real source of my issue. So let me first ask my apologies if i have used the wrong forum and request the people coordinating the form to move the message to the appropriate forum..
I have developed a web application using Visual Studio .Net 2005. The problem is that i could see a straight line displayed in the application, However its not due to any code i guess. Since the issue exists only in Windows 7 OS with IE8. For the same OS, there is no such issue when tested in Mozilla Firefox . And the other scenario i noted here is that when i test the application with these configurations - Windows XP , Firefox/IE8, the issue is not reproduced. Am not able to trace out whether this issue is browser specific, or OS specific or whether the problem with Visual Studio.Net. Please help.
Thanks,
Arudya
|
|
|
|
|
Since this is a Web Development issue you may find posting in that forum or the ASP.NET forum more likely to get you a response.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Hi all, I need to implement a variant of the symplex algorithm and I need a table control to display values. The table should be able to gain a new column/row, and I should be able to change its values.
I thought WPF would be a great choice, but I don't know whether there are easier/more feasible solutions
Any suggestion/control/sample would be greatly appreciated
---
|
|
|
|
|
I suspect you are looking for a GridView[^] control.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
so you are my saviour huh?
---
|
|
|
|
|
Hardly saviour; I just suggested a possible solution. I would expect anyone who knows WPF to be using this.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Hi guys...,
I want to show a modal popup using modalpopup extender in page load...,
plz help me regards this...,
Modal popup extender asking the target controlid...,but in my case with out target id..., while page load modal popup window has to fire...,
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
Put a button with style="display:none" and your page and make that the target control. Do NOT make it visible=false because then it won't render and you will get errors.
|
|
|
|
|
Hey guys I just done reading: http://tinyurl.com/28hln6c Visual Basic 2010
And unfortunately that projects that I have completed do not expand my mind on to what I can make. Now I know this question may have been asked many of times but by looking at what the book taught me, what can I make in VB.NET that will spark a few ideas?
|
|
|
|
|
How about a V8 engine ignition simulator? That should sparkle a bit.
|
|
|
|
|
lol my skeels aren't that leet.
|
|
|
|
|
It depends on your comfort level with programming after reading that book.
I would recommend you start by writing, say, a multi-threaded program for something. You can then move onto even more intesting things.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi experts,
imagine a system of connected objects like this one:
public class ClassA
{
private bool _reversed = false;
}
public class ClassB
{
private ClassA _objectA1 = new ClassA();
private ClassA _objectA2 = new ClassA();
private ClassB _previous = null;
private ClassB _next = null;
}
public class ClassBContainer:ICollection<ClassB>
{
private List<ClassB> _innerList = new List<ClassB>();
}
public class Form1:Form
{
private ClassBContainer _devices = new ClassBContainer();
private void BtSave_Click(object sender, EventArgs e)
{
}
private void BtLoad_Click(object sender, EventArgs e)
{
}
} What is best practice to serialize/deserialize such an ICollection?
1. I thought of XMLSerializer. Problem here is non-public data. I would have to create public properties for all private data. That seems like rendering the 'private' keyword useless.
I would also have to hide those public properties from other parts of the code.
What happens to two instances of ClassB pointing at each other in their _previous and _next properties, respectively? Will that create an infinite loop during serialization?
XMLSerializer handles Lists nicely and keeps type information in the serialized form.
2. I thought of BinaryFormatter/SoapFormatter. This resulted in an exception saying that some GUI objects were not marked [Serializable] (The GUI seems connected to business objects through some events it has to react on.)
I could control the behaviour by implementing ISerializable:
GetObjectData(SerializationInfo info, StreamingContext context); and
Constructor(SerializationInfo info, StreamingContext context); for every class involved. How is that done for Lists?
At least the objects pointing at each other seem no problem for SoapFormatter. They are aliased as "ref-3" (number changes for each object) and references use that alias.
Again, is there a best practice approach to serializing object systems like the one mentioned above?
Ciao,
luker
|
|
|
|
|
lukeer wrote: What is best practice to serialize/deserialize such an ICollection?
To use one[^] of the optimized[^] versions on CodeProject[^], as they are faster then the native serializers.
lukeer wrote: 1. I thought of XMLSerializer. Problem here is non-public data. I would have to create public properties for all private data. That seems like rendering the 'private' keyword useless.
From MSDN[^];
XML serialization does not convert methods, indexers, private fields, or read-only
properties (except read-only collections). To serialize all an object's fields and
properties, both public and private, use the BinaryFormatter instead of XML serialization.
lukeer wrote: How is that done for Lists?
Not sure about XML serialization, but should work if you serialize a generic list with ISerializable objects.
lukeer wrote: Again, is there a best practice approach to serializing object systems like the one mentioned above?
Some people prefer XML-serialization because it allows them to manually edit the file. You could also write a small utility to edit binary-serialized objects, if that's a requirement.
I are Troll
|
|
|
|
|
What I need to do is copy some db objects (sp's and udf's mainly) from a db to the same db but into a different schema. I can create a new udf and set it equal to the old udf but if I try to change the schema value I get an error saying that you can't change the schema value on an object that exists. Also, tried to use Memberwise.Clone and that didn't work. Is Microsoft.SqlServer.Management the correct class to use to do this? Is there a easier way? Am I just thick this morning? Any help would be appreciated. Thanks
|
|
|
|
|
giantWoodenBadger wrote: I can create a new udf and set it equal to the old udf but if I try to change the schema value I get an error saying that you can't change the schema value on an object that exists.
Create the schema first, then the objects that go in that schema.
giantWoodenBadger wrote: Is Microsoft.SqlServer.Management the correct class to use to do this?
SMO is a way to do it, exporting the SP's as text, and recreating them in a new schema. As an alternative, I'd go for TSql-scripts using the SP_HELPTEXT[^] procedure.
I are Troll
|
|
|
|
|
|
Look spammer... STOP posting this crap NOW.
|
|
|
|
|
Hi, i need to know the exact meaning of Mock Vrsion. I want to send mock version of the email notification to outlook(eamil).
|
|
|
|
|
|
A mock object is generally used to represent an object that you cannot actually create during unit testing of your program using a unit testing tool. Another link worth looking at here[^]
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|