Bitcoin Forum
May 11, 2024, 11:06:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Error loading Blkindex.dat file on Windows 8 Dev Preview  (Read 1174 times)
mikeenikee (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


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
1715468819
Hero Member
*
Offline Offline

Posts: 1715468819

View Profile Personal Message (Offline)

Ignore
1715468819
Reply with quote  #2

1715468819
Report to moderator
1715468819
Hero Member
*
Offline Offline

Posts: 1715468819

View Profile Personal Message (Offline)

Ignore
1715468819
Reply with quote  #2

1715468819
Report to moderator
1715468819
Hero Member
*
Offline Offline

Posts: 1715468819

View Profile Personal Message (Offline)

Ignore
1715468819
Reply with quote  #2

1715468819
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
tysat
Legendary
*
Offline Offline

Activity: 966
Merit: 1004


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 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


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
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
December 02, 2011, 11:50:29 PM
Last edit: December 03, 2011, 12:02:39 AM by dark_st3alth
 #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...
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



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 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


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: 1512
Merit: 1032



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:  

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