on 10-23-2007 11:48 AM
Hello,
I'm currently packaging SAP 7.10 client for windows and I'm encountering an issue with the tool Tweak SAP GUI on several systems running Windows XP SP2 and Windows Server 2003 SP1.
The script runs setup\NwSapSetup.exe /noDlg /force /Package="SAPGUI 7.10 Patch 1 with BW", and then installs Patch 2 and 3.
The problem also occurs with a manual installation of "SAPGUI 7.10 Patch 1 with BW" (without the patch 2 and 3)
There are no errors in setup log files and Framework .NET 2.0 is installed.
When starting "Tweak SAP GUI" I got a Microsoft .NET Framework error window :
"Unhandled exception has occured in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediatly.
<b>\sapfront.dll."</b>
Details :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text **************
System.IO.FileNotFoundException: \sapfront.dll
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at TweakGUI.PaneMessage.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at TweakGUI.Form1.SetSelectedView(Int32 view)
at TweakGUI.Form1.tree_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
-
TweakGUI
Assembly Version: 1.0.2756.9785
Win32 Version: 1.0.2756.9785
CodeBase: file:///C:/Program%20Files/SAP/FrontEnd/SAPgui/TweakGui/TweakGUI.exe
-
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
-
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
-
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
-
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
-
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
-
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
-
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
-
JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
When I click Continue button on this error message, the applciation starts but I got the message "No SAP GUI has been installed on this machine" under "System Information".
Any help appreciated
Julien,
First I would slipstream the GUI patch 3 onto the installation server (share). Then repackage. The patches are cumulative, so there is no need to call both frontend patches. Calling two in a row without a reboot could cause some strange results.
Is sapfront.dll installed on the PC? It is not a .net assembly, sometimes the .Net errors are very hard to run down. I would try resetting all the .Net Security settings if the file is installed.
Regards,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello John,
thanks for the information regarding patches that are cumulative.
In current package, both patches where applied without any reboot.
So the error, might come from this.
I'll repackage and see if this helps.
Yes, sapfront.dll is on the PC, under C:\Program Files\SAP\FrontEnd\SAPgui.
I've reseted the Microsoft .NET Framework 2.0 security settings via Microsoft .NET Framework 2.0 Configuration panel in Administrative Tools, but it doesn't help.
Regards
Julien
A call has been opened and here's the answer :
<i>The problem will be solved with the patch 5 for GUI 710.
Patchlevel 5: Expected to be shipped in week 46/2007.
(note #1053737)</i>
Good news
Anyway, many thanks John for trying to help us.
By the way, nice fish you caught there on your profile picture
Solved by patch 5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.