I've checked to make sure that Microsfot .NET Framework 2.0 is installed and I'm using a full Citrix Admin user account. The error details are below.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Absolute path information is required.
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Environment.GetFolderPath(SpecialFolder folder)
at Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy.get_MyDocuments()
at PAU.Form1.WriteLineToLog(String LineToWrite)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///m:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PAU
Assembly Version: 1.4.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///M:/Program%20Files/PAU%20for%20ps40/PAU.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mfcom
Assembly Version: 4.0.0.0
Win32 Version: 4.0.0.0
CodeBase: file:///M:/Program%20Files/PAU%20for%20ps40/mfcom.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.
My Documents is mapped to a network drive when using Terminal Services, let me try running it from the console of the server.
Thanks for the quick response!
Trevor
I take it back, we have a GPO that redirects the My Documents folder to
%HOMESHARE%%HOMEPATH% which is the users home folder on the network. This is enforced whether the user is logged in locally or through TS. The My Documents folder is there however, and is accessible.
Trevor
Thanks for reporting it annyway! Maybe others have a same construction. PAU should also work when you redirect My Documents.
But does this mean the problem is solved?
What function of PAU are you using?
No it's still not working, sorry, guess I didn't make that clear.
I get this error right when I start up PAU, if i hit continue, the GUI comes up but everything is grayed out.
And there is no pau_log.txt in the 'my documents' ?
Does this help you?
http://community.sharpdevelop.net/forums/t/7218.aspx
Specially this part:
"I have noticed, that the path of "My Documents" was set to "D:" instead of "D:\". I tried this and it worked. "
In other words, can you do a 'set' from the command line and paste for information in here?
That was it! Kind of strange though, I wasn't able to do it with the SET command. I ended up logging into the console as the administrator and actually changing the location of the My Documents folder by right clicking, properties, then changing the target folder location and making sure to put the '\' on the end of the path.
Thanks for the guidance, I appreciate it!
Trevor
MMzz, that figures, because I use %my documents%pau_log.txt, most cases, where my documents is e:\my documents\ it ends up being e:\my documents\pau_log.txt, in your case it ends up being e:pau_log.txt witch isn't a valid path!
Your welcome!, tell me how do you use PAU?
So far my big use of it has been publishing all our apps out to a new server that we just installed on the farm. Having to modify each application is a pain, this saved me a great deal of time! Great tool!
Thanks!
Trev
The program crashes because it is trying to write a line to your log file in 'my documents'.
The .dot framework can't seem to find you 'my documents', or is not able to write it it.
at System.Environment.GetFolderPath(SpecialFolder folder)
at Microsoft.VisualBasic.MyServices.SpecialDirectoriesProxy.get_MyDocuments()
Could it be that something is wrong with your 'my documents'?