Bitcoin Forum
December 05, 2016, 06:58:15 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Error loading Blkindex.dat file on Windows 8 Dev Preview  (Read 1017 times)
mikeenikee
Newbie
*
Offline Offline

Activity: 3


View Profile
December 02, 2011, 09:27:32 PM
 #1

Hello everybody! I am running windows 8 developer preview build and I came across an error saying "error loading Blkindex.dat." I have been checking other forums about this issue and they said trying to remove that file from their %APPDATA% but I'm pretty sure windows 8 did away with that and just has a tmp folder now instead. So I checked the tmp folder and it wasn't there either.

I'm 99.99% sure this isn't a windows 8 problem. I just need some help and any feedback will be greatly appreciated! Thanks! Smiley
1480964295
Hero Member
*
Offline Offline

Posts: 1480964295

View Profile Personal Message (Offline)

Ignore
1480964295
Reply with quote  #2

1480964295
Report to moderator
1480964295
Hero Member
*
Offline Offline

Posts: 1480964295

View Profile Personal Message (Offline)

Ignore
1480964295
Reply with quote  #2

1480964295
Report to moderator
1480964295
Hero Member
*
Offline Offline

Posts: 1480964295

View Profile Personal Message (Offline)

Ignore
1480964295
Reply with quote  #2

1480964295
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
tysat
Legendary
*
Offline Offline

Activity: 952


Keep it real


View Profile
December 02, 2011, 11:01:09 PM
 #2

Is this a new installation?

If so then try running it with the flag -datadir=(full filepath, C:\..\..\) to a different location.  That will cause it to store all of the data in the specified folder, it will generate a new wallet this way.

If you already have a wallet, just place it in the directory you specify.
mikeenikee
Newbie
*
Offline Offline

Activity: 3


View Profile
December 02, 2011, 11:15:39 PM
 #3

How do I run it with a different flag? Can you explain it a bit more in steps please? Sorry, I'm still new to this. Thanks!
dark_st3alth
Jr. Member
*
Offline Offline

Activity: 33



View Profile
December 02, 2011, 11:50:29 PM
 #4

How do I run it with a different flag? Can you explain it a bit more in steps please? Sorry, I'm still new to this. Thanks!

In "cmd.exe" you do this (search for it or use run):

cd directory/where/program/is
program_name.exe -datadir "C:\trolls\"

EDIT: That would be my thought on it...

.: Canadian Programmer, Web Designer, Linux & Windows User, System/Server Administrator :.

Donate: 1PBTSrRPURRAXNvpZoj4dJ2pkApU6Uzp4p

What's up with AMD/ATI & Mining? Forum Link
deepceleron
Legendary
*
Offline Offline

Activity: 1470



View Profile WWW
December 03, 2011, 12:05:03 AM
 #5

It sounds like the blockchain database is corrupted. Did Bitcoin ever work?

The user data directory is %APPDATA%/Bitcoin (you can type that in to windows explorer or a search to bring up that folder.) The blockchain is the two files blk0001.dat and blkindex.dat in that directory. You can delete these two files and all the log files in the "database" subdirectory, and then re-launch Bitcoin, which will make it begin downloading all the blocks again.

You must also be able to read and write data to this directory. This is a user directory, so permissions to save program data should be not an issue.

You can refer to this thread for more details about the blockchain and downloading it.

mikeenikee
Newbie
*
Offline Offline

Activity: 3


View Profile
December 03, 2011, 01:22:04 AM
 #6

No this is not a new installation. It worked for 1 day and went corrupt. Also there is no %APPDATA% in Windows 8. I also tried all command line prompts you suggested and I just got back an error saying it didn't recognize my input as a readable file or batch file. Please help. Can somebody recommend any online wallets that I can use for the meantime while I mine?
deepceleron
Legendary
*
Offline Offline

Activity: 1470



View Profile WWW
December 04, 2011, 07:06:59 PM
 #7

http://www.computerperformance.co.uk/win8/windows8-appdata_folder.htm

The user appdata seems the same, and it has the environment variables. C:\Users\[username]\AppData\Roaming\Bitcoin is where you would be browsing to. Note that the Appdata folder may be hidden, you may need to change folder options to show hidden files and show file extensions.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!