Bitcoin Forum
August 20, 2025, 10:41:16 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: will not send BTC from wallet  (Read 515 times)
steelmythos (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
April 04, 2014, 09:01:32 PM
Last edit: April 04, 2014, 10:27:33 PM by steelmythos
 #1

I get this error when I try to send BTC

A FATAL ERROR OCCURRED. Bitcoin can no longer continue safely and will quit.

Exception: St13runtime_error

CDB(): can’t open database file wallet.dat, error -30974

C:\program files (x86)\Bitcoin\bitcoin-qt.exe in Runaway exception



Any help would be greatly appreciated

Thanks
dowsey14
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
April 05, 2014, 01:57:00 AM
 #2

Now, make sure you back up the old wallet before doing any of this.

1/ Reload the client

2/ Go into the console and type "dumpprivkey 1YourBitcoinAddress" where 1YourBitcoinAddress is the address that supposedly holds any coins.

3/ Repeat 2 for every bitcoin address that is supposed to contain your coins.

Store these keys somewhere safe. If you lose the keys you will lose your coins forever.

When you have stored these keys, rename your wallet.dat to wallet.old, make sure you do NOT delete it. The inventor of Bitcoin himself advised that you should NEVER delete a wallet.

Reload the client. Your balance will be zero since Bitcoin-QT will create a new wallet.dat that it will then work with.

You can then rebuild the wallet by going into the console and typing "importprivkey 5YourPrivateKey" where 5YourPrivateKey is the private key that I mentioned above, in the case of more than 1 private key, repeat the same command until all the keys are imported into the wallet.


If your old wallet is badly corrupted, you may need to ask someone more knowledgeable than me, if the above steps do not work for you.
steelmythos (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
April 05, 2014, 02:42:09 AM
 #3

thank you for the assistance the issue cleared up after renaming the Maxcoin client that was in the same directory

Thanks
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!