Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: skyrunner on March 28, 2014, 08:14:52 AM



Title: RESOLVED: bitcoind on Windows Server 2012 x64. "this app can't run on your PC"
Post by: skyrunner on March 28, 2014, 08:14:52 AM
After blockchain.info API 2 week outage, I've decided to try running bitcoind and monitoring accounts myself. I want users to pay and instantly know that payment was received.

I installed bitcoin core on Windows Server 2012 x64 (Azure) and tried
bitcoind listreceivedbyaccount xxxxxxxxxxxxxxxxxxx -rpcuser=xxxx -rpcpassword=xxxxxxx

but there was a system message "this app can't run on your PC"

I was planning to use https://github.com/GeorgeKimionis/BitcoinLib

When I run Cosole app, I get the same "this app can't run on your PC" message

Any ideas?


Title: Re: bitcoind on Windows Server 2012 x64. Getting "this app can't run on your PC"
Post by: doof on March 28, 2014, 10:52:06 AM
Ive been doing a similar thing (2012 on azure) and an MVC front end.  I don't use that wrapper tho.  No issues here.

Are you running bitcoind as a service or just in console?


Title: Re: bitcoind on Windows Server 2012 x64. Getting "this app can't run on your PC"
Post by: skyrunner on March 28, 2014, 01:55:39 PM
so how do you use it? can you please explain or point to some tutorials?

when I run
bitcoind -daemon
it tells me "this app can't run on your PC"

and if I run
bitcoin-cli listreceivedbyaccount 1XXXXXXXXXXXXXXXXXXXXXX

it tells me
error: couldn't connect to server


Title: Re: bitcoind on Windows Server 2012 x64. Getting "this app can't run on your PC"
Post by: Ayakashi on March 29, 2014, 12:24:28 AM
skyrunner did you download the 64 bit version of the Windows installer (https://bitcoin.org/bin/0.9.0/) or 32 bit?

I'm running bitcoind on an Azure virtual machine, but I chose Ubuntu.  Before I settled on Linux, I did create a Windows 2012 vm as you did and didn't encounter any issues.  But this was with the x86 version of Bitcoin 0.8.6.



Title: Re: bitcoind on Windows Server 2012 x64. Getting "this app can't run on your PC"
Post by: skyrunner on March 29, 2014, 04:38:32 AM
damn it the file size was 0  ???
ok started

now how can i get a balance of some address that is not in my wallet?


Title: Re: RESOLVED: bitcoind on Windows Server 2012 x64. "this app can't run on your PC"
Post by: kwilliams on March 30, 2014, 07:56:31 AM
The short answer is you have to walk the entire chain & collect outputs pointing to your address. This would likely take hours

The long answer is here: http://bitcoin.stackexchange.com/questions/10090/how-to-get-an-addresss-balance-with-the-bitcoin-client