"Side by Side" Error on Server 2008 R2 (Servoy 6)

Questions and answers for all installation-related topics for Servoy products

"Side by Side" Error on Server 2008 R2 (Servoy 6)

Postby stefanoni » Tue Apr 12, 2011 6:22 pm

Hello,
Servoy 6 starts up after install, but no postgres DB is available. The Servoy-Server log guids me to the following Problem (sorry parts of it is in german, but known as "Side by Side"-Problem):

2008-Server-Log:
Code: Select all
Fehler beim Generieren des Aktivierungskontextes für "C:\Program Files (x86)\Servoy6\application_server\postgres_db\bin\initdb.exe". Die abhängige Assemblierung "Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"" konnte nicht gefunden werden. Verwenden Sie für eine detaillierte Diagnose das Programm "sxstrace.exe".


Servoy-Server log:
Code: Select all
2011-04-12 16:29:08,051 ERROR [pool-1-thread-1] com.servoy.j2db.util.Debug - Throwable
java.io.IOException: Cannot run program "/C:/Servoy6_SRV/developer/../application_server/\postgres_db\bin\pg_ctl" (in directory "C:\Servoy6_SRV\developer\..\application_server"): CreateProcess error=14001, Diese Anwendung konnte nicht gestartet werden, da die Side-by-Side-Konfiguration ungültig ist. Weitere Informationen finden Sie im Anwendungsereignisprotokoll. Weitere Details können auch mit dem Befehlszeilentool sxstrace.exe angezeigt werden
   at java.lang.ProcessBuilder.start(Unknown Source)
   at java.lang.Runtime.exec(Unknown Source)
   at com.servoy.j2db.server.main.Zh.run(Zh.java:3)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=14001, Diese Anwendung konnte nicht gestartet werden, da die Side-by-Side-Konfiguration ungültig ist. Weitere Informationen finden Sie im Anwendungsereignisprotokoll. Weitere Details können auch mit dem Befehlszeilentool sxstrace.exe angezeigt werden
   at java.lang.ProcessImpl.create(Native Method)
   at java.lang.ProcessImpl.<init>(Unknown Source)
   at java.lang.ProcessImpl.start(Unknown Source)
   ... 6 more



My Virtual Server:

Prozessor & Memory
Prozessor: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Physischer Speicher: 512 MiB

System
Name: Microsoft Windows Server 2008 R2 Enterprise
Version: 6.1.7601
Service pack: Service Pack 1

Laufwerke
C: 19.90 GiB NTFS - 5.55 GiB free

Netzwerkkarte
Name: Netzwerkkarte für Microsoft Virtual Machine-Bus
IP-Adresse:
Subnetzmaske:
Bandbreite: 10000.00 Mbit/s


This error appears with all the postgres .exe files like:
C:\Program Files (x86)\Servoy6\application_server\postgres_db\bin\initdb.exe
C:\Program Files (x86)\Servoy6\application_server\postgres_db\bin\pg_ctl.exe
C:\Program Files (x86)\Servoy6\application_server\postgres_db\bin\createdb.exe

Thanks for any ideas
regards
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland

Re: "Side by Side" Error on Server 2008 R2 (Servoy 6)

Postby rgansevles » Mon Apr 18, 2011 3:00 pm

Alessandro,

This sounds like the issue discussed here.
http://archives.postgresql.org/pgadmin- ... g00199.php

Maybe the solution mentioned there fixes this?

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Solved

Postby stefanoni » Tue Apr 19, 2011 5:08 pm

rgansevles wrote:Maybe the solution mentioned there fixes this?
Rob


Thanks Rob,
We tried everything possible, for hours, nothing helps.

Now we found the solution (thanks german servoy user group). It is simply a question if rights:
It's necessary to add the directory manually (c:\Servoy\ insted of the protected directory \Program Files\v ) and give manualy any possible rights to it.

regards solved
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland

Re: "Side by Side" Error on Server 2008 R2 (Servoy 6)

Postby jcompagner » Wed Apr 20, 2011 12:42 pm

how did you get it into program files?
Didn't the servoy installer specify the c:\servoy dir itself?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8836
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: "Side by Side" Error on Server 2008 R2 (Servoy 6)

Postby stefanoni » Wed Apr 20, 2011 3:40 pm

Yes, I wrote it wrong ( had to ask my employee, cause he did the job):

- Servoy suggested C:\Program Files (x86)\Servoy. but we overwrote it to c:\Servoy6a

Du you mean that this is not OK ?
I installed Servoy many times for test-reasons and I never
had a problem with this, but it was never a Win Server 2008 before.

regards
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland

Re: "Side by Side" Error on Server 2008 R2 (Servoy 6)

Postby jcompagner » Wed Apr 20, 2011 4:11 pm

yes that is ok, i just wanted it to know because servoy installer should give you the c:\servoy option not c:\program files XXX
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8836
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron