Bitcoin Forum
September 27, 2018, 10:11:13 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: RESOLVED: bitcoind on Windows Server 2012 x64. "this app can't run on your PC"  (Read 3503 times)
skyrunner
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
March 28, 2014, 08:14:52 AM
 #1

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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538086273
Hero Member
*
Offline Offline

Posts: 1538086273

View Profile Personal Message (Offline)

Ignore
1538086273
Reply with quote  #2

1538086273
Report to moderator
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 501


View Profile WWW
March 28, 2014, 10:52:06 AM
 #2

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

Activity: 56
Merit: 0


View Profile
March 28, 2014, 01:55:39 PM
 #3

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

Activity: 43
Merit: 0


View Profile WWW
March 29, 2014, 12:24:28 AM
 #4

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.

skyrunner
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
March 29, 2014, 04:38:32 AM
 #5

damn it the file size was 0  Huh
ok started

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

Activity: 70
Merit: 10


View Profile
March 30, 2014, 07:56:31 AM
 #6

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

Note to NSA: please note in my personal file that the above comment, as well as any and all communications dating back to AOL/1993, are wholly fictitious, and are to be regarded as such. The later statement is to remain in effect until reversed by me personally in a waterboard-free questioning.
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!