If this is your first time using Add2Exchange or you are upgrading or migrating, post here.

10/4/2011 10:40:10 AM
Tom
Gravatar
Total Posts 3

Error during installation

Hello,

the following error appears upon installation on W2k8 R2 (error is manually translated into English):

.NET error: The application tried a procedure that isn't allowed by the security policy.

...

The requested registry access is forbidden.

 

Additional details to this error are:

 

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.Security.SecurityException: Der angeforderte Registrierungszugriff ist unzulässig.
   bei System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
   bei Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   bei Microsoft.Win32.RegistryKey.OpenSubKey(String name)
   bei Add2Exchange_Setup_Initialize.Add2Exchange_Setup_Initialize.Setup_Initialize()
   bei Add2Exchange_Setup_Initialize.Add2Exchange_Machine_List.btnAccept_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Die Zone der Assembly, bei der ein Fehler aufgetreten ist:
MyComputer


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Add2Exchange Setup Initialize
    Assembly-Version: 13.9.923.333.
    Win32-Version: 13.9.923.333.
    CodeBase: file:///C:/Program%20Files%20(x86)/OpenDoor%20Software%AE/Add2Exchange/Setup%20Initialize/Add2Exchange%20Setup%20Initialize.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

 

 

Please advise.

Thanks in advance.

Tom

10/4/2011 5:11:12 PM
Gravatar
Total Posts 156

Re: Error during installations

Make sure all MS critical updates have been run and rebooted

Make sure User Access Control is off and rebooted

Make sure the A2EService account is part of local administrators

Make sure you are logged in as the service account when you install

If you are running on Exchange 2007 or 2010, make sure you run the Preinstaller included using these instructions:

http://support.diditbetter.com/kb/A2E_214.aspx

Does any of this work for you?  Where are you exactly during the install when it fails?

 

 

10/5/2011 10:10:32 AM
Tom
Gravatar
Total Posts 3

Re: Error during installations

Problem solved, thanks.

http://support.microsoft.com/kb/329291/en-us

 

Regards,

Tom

10/5/2011 10:19:54 AM
Gravatar
Total Posts 156

Re: Error during installations

Which of the MS approaches worked for you?

 

10/5/2011 10:34:53 AM
Tom
Gravatar
Total Posts 3

Re: Error during installations

The first one worked.

Next problem: after the installation I start the Add2Exchange console which runs the SQL-Server setup. It finishes without errors, but when starting the service, an error appears telling me the Add2Exchange service can't be started.

In the even log I find the error 4040 from Add2Exchange with these detailed information:

Add2Exchange ConsoleError encountered attempting to modify the Username and Account settings for the A2ESQLSERVER DBMS.  Please open the Services applet and start the A2ESQLServer as the Add2Exchange Service Account and password before continuing and restart the Add2Exchnage service.

For further information/support, please visit:
http://support.diditbetter.com/SearchResults.aspx?q=Add2Exchange ConsoleError encountered attempting modify Username Account settings for A2ESQLSERVER DBMS.

But both, the SQL service and the Add2Exchange service are started with the zAdd2Exchange service account, so what's the problem?

 

Thanks in advance for your help.

Regards,

Thomas

7/2/2013 4:02:34 PM
Gravatar
Total Posts 40

Re: Error during installations

Issue: During the installation, the program asks for the service account login and password to start the Add2Exchange Service.  

For a better explanation, visit this link and refer to the "Tip" between steps 8 and 9: http://guides.diditbetter.com/a2e-guide/install_add2exchange.htm

In the picture, the setting states domain\system instead of domain\zadd2exchangeservice account.

Again, it should be installed and started as the domain/zadd2exchange service account.

This means that UAC is still on and not rebooted, or if newer versions of windows, must edit and change this key: http://www.petri.co.il/disable_uac_in_windows_vista.htm

Resolution: Stop the install or uninstall if it was successful.  Change the key then reboot and reinstall.

 

7/16/2013 10:34:17 AM
Gravatar
Total Posts 40

Re: Error during installations

Issue: Can't load SQL after opening up the Add2Exchange Console.

Receiving message: "SQL failed to install because the machine is missing the appropriate requirements."

 

Resolution: Download the Windows Installer 4.5 Redistributable found at this link http://www.microsoft.com/en-us/download/details.aspx?id=8483

Live Help for Exchange Sync