Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 13F1C6502A5 for ; Thu, 28 Aug 2008 18:41:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 17079-01-5 for ; Thu, 28 Aug 2008 18:41:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from server.firetrust.net (mailserver.firetrust.com [209.213.221.13]) by postgresql.org (Postfix) with ESMTP id CE610650225 for ; Thu, 28 Aug 2008 18:40:48 -0300 (ADT) Received: from xpc (203-109-144-176.static.bliink.ihug.co.nz [203.109.144.176] (may be forged)) (authenticated bits=0) by server.firetrust.net (8.14.3/8.14.3) with ESMTP id m7SLegF2002680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Aug 2008 09:40:45 +1200 Date: Fri, 29 Aug 2008 09:40:42 +1200 From: Steve Holdoway To: pgsql-admin@postgresql.org Subject: Re: Installing PostgreSQL 8.3.3. on Vista Message-Id: <20080829094042.7827cec7.steve.holdoway@firetrust.com> In-Reply-To: References: Organization: Firetrust Ltd. X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailWasher-Server-Scanned: Checked by MailWasher server v2.3.2 (www.Firetrust.com) X-MailWasher-Server-Status: Clean X-Virus-Scanned: ClamAV 0.93.3/8112/Fri Aug 29 09:27:00 2008 on server.firetrust.net X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/225 X-Sequence-Number: 30070 Looks like the relevant Visual C runtime library ( VC80.CRT 32 bit ) needs installing first... Steve On Thu, 28 Aug 2008 09:42:54 -0500 "Brandon Dybala" wrote: > I tried installing PostgreSQL 8.3.3 on Vista Business, and initdb failed > to start during the installer. I'd really like to make this install as > automatic as possible since I'm installing PostgreSQL as part of my > application installer process. It would be best if the user does not > have to deal with any sort of configuration for Postgres. I also tried > running the main MSI file with the graphical interface, and ran into the > same problem. Here is the message I received first: > Failed to run initdb: 1! > > I checked the initdb.log file it generated, and all it said was > "The application has failed to start because its side-by-side > configuration is incorrect. Please see the application event log for > more detail." > > So I checked the event log, and it had the following: > > Log Name: Application > Source: SideBySide > Date: 8/28/2008 7:23:49 AM > Event ID: 33 > Task Category: None > Level: Error > Keywords: Classic > User: N/A > Computer: VISTATEST > Description: > Activation context generation failed for "C:\Program > Files\PostgreSQL\8.3\bin\initdb.exe". Dependent Assembly > Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a > 1e18e3b",type="win32",version="8.0.50727.762" could not be found. Please > use sxstrace.exe for detailed diagnosis. > Event Xml: > > > > 33 > 2 > 0 > 0x80000000000000 > > 593 > Application > VISTATEST > > > > > Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc > 8b3b9a1e18e3b",type="win32",version="8.0.50727.762" > C:\Program Files\PostgreSQL\8.3\bin\initdb.exe > > > > I couldn't figure out what I was supposed to do with sxstrace.exe, > though. The usage example showed parsing a *.etl file, but I can't find > any of these on my system. > > Any help would be appreciated. > > Thanks, > > Brandon > -- Steve Holdoway