UU 2.6.8 - Unhandled Exception when opening log in notepad

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby AnthonyB » Tue Oct 07, 2008 3:38 pm

Hi Matt,

Since upgrading to UU 2.6.8, whenever I try to open any of the logs on the Server Response or Debugger tabs using the Notepad icon I get an unhandled exception as follows:

Code: Select all
************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at WindowsApplication3.MainForm.runApp(String contents, String program, String filename)
   at System.Windows.Forms.Control.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.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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
UniUploader
    Assembly Version: 2.6.8.0
    Win32 Version: 2.6.8.0
    CodeBase: file:///C:/Storage/Games/WoW/UniUploader/UniUploader.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.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.


System is running Vista SP1 x64 and is logged in using an Admin account but UU is not running specifically as Administrator. Even when I do launch UU with "Run as Administrator" it still generates the same exception.
Last edited by AnthonyB on Tue Oct 07, 2008 3:39 pm, edited 1 time in total.
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby MattM » Wed Oct 08, 2008 1:59 am

Thank you for the bug report.

I'll try to fix this for the next release.

Please try the %APPDATA% option, and see if it still happens.
Last edited by MattM on Wed Oct 08, 2008 2:00 am, edited 1 time in total.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby AnthonyB » Wed Oct 08, 2008 4:00 pm

Hi Matt, gave %APPDATA% a go but exact same result.
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby MattM » Wed Oct 08, 2008 10:05 pm

"The system cannot find the file specified"

I think that it cant find notepad.exe
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: UU 2.6.8 - Unhandled Exception when opening log in notep

Postby swampy » Thu Oct 09, 2008 8:47 pm

In case people have removed notepad.exe and use Notepad ++ or write.exe instead, is it worth looking at the file associated with a .txt file?

Perhaps:
System.Diagnostics.Process.Start("report.txt");

(as an alternative to piling through the registry and reading open commands etc)

...and if that fails, try the existing flow to start notepad

...and if that fails, tough :)
Last edited by swampy on Thu Oct 09, 2008 8:49 pm, edited 1 time in total.
<br /><a href="http://www.argentdawnexiles.org" rel="nofollow" target="_blank" title="http://www.argentdawnexiles.org" ><img src="http://www.argentdawnexiles.org/wowroster/sig/Jakob.png" style="border:0;" alt="" /></a><br />
User avatar
swampy
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Mon Sep 25, 2006 9:38 pm
Location: UK

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby MattM » Thu Oct 09, 2008 11:38 pm

good point. I'll see if that works.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby AnthonyB » Sat Oct 11, 2008 5:25 pm

I have not removed or replaced notepad.exe - on my machine it's in the default location of %windir%/notepad.exe, i.e. c:\Windows\notepad.exe on my machine.

Notepad is the default associated application for opening files with a .txt extension
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

Re: UU 2.6.8 - Unhandled Exception when opening log in notep

Postby MattM » Sun Oct 12, 2008 1:50 am

what happens when you use the IE button?
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UU 2.6.8 - Unhandled Exception when opening log in notepad

Postby AnthonyB » Sun Oct 12, 2008 6:51 pm

When I click on the IE button the logs load into IE just fine.
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 0 guests

cron