New update, that configuration eventually failed too.
I then connected everything back the way it was, but I moved the hard drive that was usually failing from the bottom slot up one slot in my case so it would be further away from the big bundle of power cables coming out of my PSU. It's been...
rclarke250 I think you may be right about the power supply cables.
I disconnected 1 of the 500GB drives and my system ran perfectly for a week with no errors in the Event Log.
Now I reconnected it and disconnected a different 500GB drive and I'll try that for a week and see how that goes...
If...
I should probably also check my Event Viewer more often. I'm seeing these errors quite a bit:
Source : Event ID : Error message
atapi : 11 : The driver detected a controller error on \Device\Ide\IdePort2.
disk : 15 : The device, \Device\Harddisk0\DR0, is not ready for access yet.
disk : 51 ...
My first PSU started smoking, so I replaced it a few years ago.
I can check which drivers I'm using, and if updating them doesn't work, I'll try disconnecting drives and adding them back one at a time.
I use the video, sound & NIC on the motherboard.
1 power cable goes to the SSD & the 1TB drive.
1 power cable goes to the other 3 500GB drives.
I also have an Asus DVD-RW drive.
1 power cable goes to the DVD drive, the Ultra Chilltec & 2 fans in the case.
OK, the power supply is an Antec EA-650 (650W).
The motherboard is an Asus P5G41T-M LE.
I also have a Syba (I/O crest) SATA III PCI-e controller card for the SSD drive.
First motherboard was an ASUS P5K3 Deluxe. At that time I only had 3 x 500GB Seagate Barracudas (later changed to WD) in a RAID-5 array.
Next motherboard was a Gigabyte piece of crap (don't remember the model, but maybe something like GA-G41MT) no RAID.
Current motherboard is Asus (maybe...
I'm running Vista x64 SP2 with 8GB RAM, 4 hard drives & an SSD (non-RAID). Vista is on the SSD.
About once or twice a week, when I boot up it sits at a black screen for a few minutes and the HDD light on my case stays on instead of flashing; then it finally gets to the login screen. After I...
...value, including pointers. When you pass a pointer, a copy of the address is made in the function. It's the same as if you were doing this:
char* str1 = NULL;
char* str2 = str1;
str2 = malloc(20); // This doesn't change str1.
If you want to update the value of your pointer (i.e. the...
Did you read the MSDN?
http://msdn.microsoft.com/en-us/library/ms724844%28v=VS.85%29.aspx
Although if you only need to change an existing key instead of creating a new one, you can use RegSetValueEx()
http://msdn.microsoft.com/en-us/library/ms724923%28v=VS.85%29.aspx
Although you'd need to open...
NOTE: This does NOT allocate any memory for the pointer. It just sets the pointer to NULL.
Either use an array:
char thename[80];
or allocate some memory for the pointer:
char* thename = malloc( 80 * sizeof(char) );
Doesn't that only work with arrays like this?
char newphrase[80] = {0};
It would be a lot easier to just use the std::string class instead of char* strings.
if(classType == 0)
{
Numbers *temp;
temp = new Numbers[size];
}
else if(classType == 1)
{
Characters *temp;
temp = new Characters[size];
}
This is useless since the temp variables go out of scope after the } and therefore only leaks memory.
Container<typeid(temp)>...
Nevermind. I finally got it to work.
Apparently the db2jcc drivers I had in my classpath (which worked fine with Type 4 JDBC URLs) don't work with Type 2 JDBC URLs. When I added the db2jcc drivers from my DB2 Express-C to my classpath it worked.
...protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x3 DB2ConnectionCorrelator: *LOCAL.db2inst1.100917205438
com.ibm.db2.jcc.b.DisconnectException: Execution failed due to a distribution protocol error that caused deallocation...
Actually I came up with my own hack by checking if the name starts with 'SYS_IDX' (although I can't remember if it was MySQL, HSQL or both that gave system-generated Indexes with that prefix).
I also assume the Index is system-generated if the Index Name == Unique Constraint name & Index table...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.