Solvent solutions
Subscribe to the Gourami newsletter
10 replies [Last post]
stefan.weilguni...
stefan.weilguni@raiffeisen.ch's picture
User offline. Last seen 3 years 25 weeks ago. Offline
Joined: 24.07.2008

We use Citrix PS 4.0 R04/R05 on about 40 servers (Windows 2003 Server SP1)

.NET Framework 2.0 is installed. I've tried to start PAU form 3 different Servers with the same error

I have some screenshots whitch I cant post. If you tell me a email adress I'll send it to you.

Thanks for your help

Starting PAU This error appears almost every time I start the tool. I’ve tried form many Citrix Servers.  See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.IO.IOException: The process cannot access the file 'D:\Profiles\adm3078\My Documents\pau_log.txt' because it is being used by another process.   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)   at System.IO.StreamWriter.CreateFile(String path, Boolean append)   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)   at System.IO.StreamWriter..ctor(String path, Boolean append)   at System.IO.File.AppendText(String path)   at PAU.Form1.WriteLineToLog(String LineToWrite)   at PAU.Form1.ConnectToFarm()   at PAU.Form1.Form1_Load(Object sender, EventArgs e)   at System.EventHandler.Invoke(Object sender, EventArgs e)   at System.Windows.Forms.Form.OnLoad(EventArgs e)   at System.Windows.Forms.Form.OnCreateControl()   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)   at System.Windows.Forms.Control.CreateControl()   at System.Windows.Forms.Control.WmShowWindow(Message& m)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)   at System.Windows.Forms.ContainerControl.WndProc(Message& m)   at System.Windows.Forms.Form.WmShowWindow(Message& m)   at System.Windows.Forms.Form.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----------------------------------------PAU    Assembly Version: 1.6.0.0    Win32 Version: 1.6.0.0    CodeBase: file:///D:/prog/Gourami/PAU4016/PAU.exe----------------------------------------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----------------------------------------zip    Assembly Version: 0.0.0.0    Win32 Version: 0.0.0.0    CodeBase: file:///D:/prog/Gourami/PAU4016/zip.DLL----------------------------------------PAU    Assembly Version: 1.6.0.0    Win32 Version: 1.6.0.0    CodeBase: file:///D:/prog/Gourami/PAU4016/PAU.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.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----------------------------------------Interop.MetaFrameCOM    Assembly Version: 4.0.0.0    Win32 Version: 1.6.0.0    CodeBase: file:///D:/prog/Gourami/PAU4016/PAU.exe----------------------------------------CustomMarshalers    Assembly Version: 2.0.0.0    Win32 Version: 2.0.50727.42 (RTM.050727-4200)    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll---------------------------------------- ************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled. For example: <configuration>    <system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

When I click generate drawing I get the following:  See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.   at MetaFrameCOM.IMetaFrameZone3.get_DataCollector()   at Farm_Documentor.Form1.ConnectToFarm()   at Farm_Documentor.Form1.Button1_Click(Object sender, EventArgs e)   at System.Windows.Forms.Control.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ButtonBase.WndProc(Message& m)   at System.Windows.Forms.Button.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----------------------------------------Farm Documentor    Assembly Version: 4.5.1.0    Win32 Version: 4.5.1.0    CodeBase: file:///D:/SUPPORT/Farm%20Documentor.exe----------------------------------------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----------------------------------------zip    Assembly Version: 0.0.0.0    Win32 Version: 0.0.0.0    CodeBase: file:///D:/SUPPORT/zip.DLL----------------------------------------Farm Documentor    Assembly Version: 4.5.1.0    Win32 Version: 4.5.1.0    CodeBase: file:///D:/SUPPORT/Farm%20Documentor.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.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

----------------------------------------

Microsoft.mshtml

    Assembly Version: 7.0.3300.0

    Win32 Version: 7.0.3300.0

    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

----------------------------------------

Interop.MetaFrameCOM

    Assembly Version: 4.0.0.0

    Win32 Version: 4.5.1.0

    CodeBase: file:///D:/SUPPORT/Farm%20Documentor.exe

----------------------------------------

CustomMarshalers

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.42 (RTM.050727-4200)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll

---------------------------------------- ************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled. For example: <configuration>    <system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.

 
Also in Farm reporting appears a error and then nothing happens:  See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.MissingMemberException: Public member 'Privileges4' on type 'IMetaFrameAdministrator3' not found.   at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)   at PAU.Dialog17.Administrators()   at PAU.Dialog17.Button2_Click(Object sender, EventArgs e)   at System.Windows.Forms.Control.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ButtonBase.WndProc(Message& m)   at System.Windows.Forms.Button.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.832 (QFE.050727-8300)

    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------PAU    Assembly Version: 1.6.0.0    Win32 Version: 1.6.0.0    CodeBase: file:///D:/Prog/Gourami/PAU4016/PAU.exe----------------------------------------System    Assembly Version: 2.0.0.0    Win32 Version: 2.0.50727.832 (QFE.050727-8300)    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------zip    Assembly Version: 0.0.0.0    Win32 Version: 0.0.0.0    CodeBase: file:///D:/Prog/Gourami/PAU4016/zip.DLL----------------------------------------PAU    Assembly Version: 1.6.0.0    Win32 Version: 1.6.0.0    CodeBase: file:///D:/Prog/Gourami/PAU4016/PAU.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.Windows.Forms    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.832 (QFE.050727-8300)

    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.832 (QFE.050727-8300)

    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.832 (QFE.050727-8300)

    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.832 (QFE.050727-8300)    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.832 (QFE.050727-8300)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Interop.MetaFrameCOM    Assembly Version: 4.0.0.0    Win32 Version: 1.6.0.0    CodeBase: file:///D:/Prog/Gourami/PAU4016/PAU.exe----------------------------------------CustomMarshalers    Assembly Version: 2.0.0.0    Win32 Version: 2.0.50727.42 (RTM.050727-4200)    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll---------------------------------------- ************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled. For example: <configuration>    <system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.
We ordered PAU 4 and i got the License yesterday. I tried to insatll but until now i got only error messages. I have a word document with Screenshots and error massages. Where can I send this document to get support?
Gourami Support
Gourami Support's picture
User offline. Last seen 1 year 26 weeks ago. Offline
Joined: 06.02.2008

Stefan, thanks for adressing this:

 

Judging from your post, I think it has something to do with log file:

 

"The process cannot access the file 'D:\Profiles\adm3078\My Documents\pau_log.txt' because it is being used by another process. "

 

So this file is locked: 'D:\Profiles\adm3078\My Documents\pau_log.txt'  can you try to fix this?

 

Let us know if this fixes your problem!


Anonymous
(not verified,
IP: 195.141.84.215)
Anonymous's picture
No. If I delete the file an try again it doesn't work. Can you also read further on in my post, there are two more errors described. One according to the Documentor and on to PAU reporting!!!
Gourami Support
Gourami Support's picture
User offline. Last seen 1 year 26 weeks ago. Offline
Joined: 06.02.2008

You can upload images here: http://imageshack.us/

 

And then link to it!

 

First, lets focus only on one problem now: lets try to resolve this problem first. Then we will adress the other problems! ok?

 

Let pick the first problem:

 

Starting PAU This error appears almost every time I start the tool. I’ve tried form many Citrix Servers.  See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.IO.IOException: The process cannot access the file 'D:\Profiles\adm3078\My Documents\pau_log.txt'

 

So you get the same error message on every server?


Anonymous
(not verified,
IP: 195.141.84.215)
Anonymous's picture
Allmost every time I start on any server even if i deletet the pau_log.txt file. For two or three times the program started.
Gourami Support
Gourami Support's picture
User offline. Last seen 1 year 26 weeks ago. Offline
Joined: 06.02.2008
Can you copy the contence of pau_log.txt in here please?

stefan.weilguni...
stefan.weilguni@raiffeisen.ch's picture
User offline. Last seen 3 years 25 weeks ago. Offline
Joined: 24.07.2008
24.07.2008 09:09:33 -- _____________________________________________________________________________________
24.07.2008 09:09:33 -- Published Applications Utility version 4.0.1.6 build 560 is starting.
24.07.2008 09:09:33 -- License is valid; Date: 1-2020 Name: Federico La Rocca Company: Raiffeisen Schweiz Farm: Metaframe2 Email: federico.larocca@raiffeisen.ch License Date: 23-07-2008 13:39:51
24.07.2008 09:09:33 -- Busy finding a citrix environment...
24.07.2008 09:09:33 -- √ Farm object succesfully created
24.07.2008 09:09:33 -- √ Connected to Metaframe2
24.07.2008 09:09:33 -- √ You are Citrix Administrator.
24.07.2008 09:09:38 -- √ Found server: SKCC6ST051
24.07.2008 09:09:38 -- √ Found server: SKCC6ST050
24.07.2008 09:09:38 -- √ Found server: SZCC6ST072
24.07.2008 09:09:38 -- √ Found server: SZCC6LA073
24.07.2008 09:09:38 -- √ Found server: SKCD4ST077
24.07.2008 09:09:38 -- √ Found server: SAABDST014
24.07.2008 09:09:38 -- √ Found server: SAABDST009
24.07.2008 09:09:38 -- √ Found server: SAABDST016
24.07.2008 09:09:38 -- √ Found server: SAABDLA017
24.07.2008 09:09:38 -- √ Found server: VKCC6ST083
24.07.2008 09:09:38 -- √ Found server: SAABDST029
24.07.2008 09:09:38 -- √ Found server: SAABDLA030
24.07.2008 09:09:38 -- √ Found server: SAABDST031
24.07.2008 09:09:38 -- √ Found server: SAABDST034
24.07.2008 09:09:38 -- √ Found server: SAABDLA035
24.07.2008 09:09:38 -- √ Found server: SAABDLA015
24.07.2008 09:09:38 -- √ Found server: SAABDST041
24.07.2008 09:09:38 -- √ Found server: SAACGST054
24.07.2008 09:09:38 -- √ Found server: SAACGLA055
24.07.2008 09:09:38 -- √ Found server: SAACFST058
24.07.2008 09:09:38 -- √ Found server: SAACFST060
24.07.2008 09:09:38 -- √ Found server: SAACFST057
24.07.2008 09:09:38 -- √ Found server: SAACKST064
24.07.2008 09:09:38 -- √ Found server: SAACKLA065
24.07.2008 09:09:38 -- √ Found server: SAACCST075
24.07.2008 09:09:38 -- √ Found server: SAACCLA074
Gourami Support
Gourami Support's picture
User offline. Last seen 1 year 26 weeks ago. Offline
Joined: 06.02.2008

Your D drive, is it a local harddrive?, or a mapped network drive.

 

I'm trying to find a reason why this file 'D:\Profiles\adm3078\My Documents\pau_log.txt' is locked. Can you think of anny?


stefan.weilguni...
stefan.weilguni@raiffeisen.ch's picture
User offline. Last seen 3 years 25 weeks ago. Offline
Joined: 24.07.2008

it is a local drive, where my local profile folder is (D:\Profiles)

I Also do not know hy it is locked. Deleting this file is possible every time

 

Gourami Support
Gourami Support's picture
User offline. Last seen 1 year 26 weeks ago. Offline
Joined: 06.02.2008

Monitor to see who uses it with filemon!


stefan.weilguni...
stefan.weilguni@raiffeisen.ch's picture
User offline. Last seen 3 years 25 weeks ago. Offline
Joined: 24.07.2008

Disabling the On Access Scanner (Norman Anti Virus) might has helped. I'll try for some time.

 

 

Copyright © Gourami 2012

Shopping cart

There are no products in your shopping cart.

0 Items €0,00

Citrix Ready
Citrix Partner