Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Razor: The Cutting Edge UO Assistant

Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards.

Reply
 
Thread Tools Display Modes
Old 12-28-2007, 06:04 AM   #1 (permalink)
Lurker
 
Join Date: Mar 2006
Posts: 6
Default A problem with Razor.

...A totally stupid problem indeed.

So, a few months back, April 4th to be exact, I got a new computer, installed with Vista.
My old computer's motherboard died, and I put it's drive into this computer. And I copied a lot of things (Installer files, pictures, etc) from that drive, to this computer, and used the old drive as a storage device until it died a couple months ago (November? I believe.). One of the files was an old installer for Razor. I never used it, but I kept it. (I'm a pack rat ._. I keep damn near everything)
I -DID- install UO (AOS, patched to SE.), but not Razor. Didn't really play much of it. Until now, I installed Razor. I didn't bother using the old installer, so I deleted it, and downloaded a newer version. Installed it.

Now for some reason, there's a stupid little problem occurring where that when I run this NEW version of Razor, for some reason it's trying to find something in the J:/ directory, which is where the old drive pointed to!

When I first start it up, I get this:

Title: "Razor.exe - Common Language Runtime Debugging Services."
Application has generated an exception that could not be handled.
Process id=0x10cc (4300), Thread id=0x16eD (5856).
Click OK to terminate the application. Click CANCEL to debug the application.

Clicking OK brings up another windows which it is titled "Unhandled Exception" and it says:
"System.IO.DirectoryNotFoundException: Could not find a part of the path "J:\Program Files\Razor".
at System.IO.Directory.SetCurrentDirectory(String path)
at Assistant.Engine.Main(String[] Args)"

Click CANCEL brings up another window which is titled "Razor.exe - No debugger found."
Reigstered JIT debugger is not availible. An attempt to launch a JIT debugger with the following command resulted in an error code of 0x2 (2). Please check computer settings.

cordbg.exe !a 0x1310

Click on Retry to have the process wait while attaching a debugger manually.
Click on Cancel to abort the JIT debug request.

Clicking on Retry just closes it, Cancel brings up the same message.
"System.IO.DirectoryNotFoundException: Could not find a part of the path "J:\Program Files\Razor".
at System.IO.Directory.SetCurrentDirectory(String path)
at Assistant.Engine.Main(String[] Args)"
Kodan is offline   Reply With Quote
Old 12-28-2007, 04:29 PM   #2 (permalink)
Forum Expert
 
Join Date: Sep 2002
Age: 25
Posts: 374
Default

I don't know if this is it, but it sounded like a registry problem to me.

Open RegEdit and goto
HKEY_LOCAL_MACHINE\SOFTWARE\Razor
and set InstallDir to the proper directory.
Quinox is offline   Reply With Quote
Old 12-28-2007, 08:05 PM   #3 (permalink)
Lurker
 
Join Date: Mar 2006
Posts: 6
Default

That's definitely not it.

I thought of this myself, but I thought it would be in HK_CURRENT_USER and not HK_LOCAL_MACHINE.
Checked it out in HK_LOCAL_MACHINE, and it is set to the real install directory. Which is C:\Program Files\Razor. But it still wants to point to J:/. I really don't understand why this is occurring.
As I said, the only thing I copied over relating to UO was the Razor installer, but never used it.
Kodan is offline   Reply With Quote
Old 12-28-2007, 10:34 PM   #4 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,626
Send a message via Yahoo to Lord_Greywolf
Default

i would uninstall razor completely (make copy of macro directory if you want)
then re-install it and see if you have the same problem
REBOOT inbetween doing the 2 and after re-installing

if it still does it - uninstall again and then remove anything in the registry that might be lingering
then reboot and re-install & reboot
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 12-28-2007, 11:41 PM   #5 (permalink)
Lurker
 
Join Date: Mar 2006
Posts: 6
Default

Done it. Twice in fact. It STILL wants to point to J:/.
Kodan is offline   Reply With Quote
Old 12-29-2007, 02:50 PM   #6 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,626
Send a message via Yahoo to Lord_Greywolf
Default

search the registry for j: and see what is lingering

also something else i thought of - and it may sound stupid
but you siad this was a copy of an old drive
how did you copy it over - did you use Ghost or some other program?
and did it copy it as J origionaly and then now boots as C:?

if so - one easy way to tell is that when windows starts up it has the time and 2 selections for widows instead of one

stupid NT based systems (includes XP & vista) keep the old drive letter listed for it, but boot it up as C: if it is the boot drive

only way i can think of fixing it is this:
put in a different drive in your system
unassign all drive letters to it - will not show then on my computer, etc
then use Nortons Ghost to copy your C: to it
make sure no drive letter gets assigned
once ghosted - then turn off system and swap the drives
restart - should now bood to the new c drive
can stop now if this is a good drive and remove the old "c" drive
if new drive is crappy one - then repeat the process - so the old c drive has no drive letters asigned (it might be "j;" right now also)
and reghost and swap, etc etc

unless the registry fix fixes it
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 12-29-2007, 06:09 PM   #7 (permalink)
Lurker
 
Join Date: Mar 2006
Posts: 6
Default

...Badass.

I just noticed that there was a Find function for Regedit. Did a search for J:/, and found quite a few things pointing to J:/. INCLUDING Razor. (What I did before was just look for Razor in the Local User one, deleted it. But I guess that wasn't enough lol)

Thanks. It loads now.
Kodan is offline   Reply With Quote
Old 05-11-2008, 11:00 AM   #8 (permalink)
Lurker
 
Join Date: Apr 2008
Age: 22
Posts: 4
Default

i am having this problem
i cannot understand what's wrong
can someone help me please?
screenshots below


this is what i get when i run Razor

and this is what i get once i press Cancel


anyone can help pls?
i've searched in the Registry for J:/ (and even J:\ just in case) but i found nothing!
when i searched for j: (without / or \) i found some stuff but nothing I COULD relate to razor

Last edited by Valdonyr; 05-11-2008 at 11:30 AM.
Valdonyr is offline   Reply With Quote
Old 07-14-2008, 01:50 PM   #9 (permalink)
Lurker
 
Join Date: Jul 2008
Age: 29
Posts: 4
Default

I have an equal problem, just different error code:

Application has generated an exception that could not be handled.

Process id=0x9ac (2476), Thread id=0xc74 (3188)

Click OK te terminate the application.
Click CANCEL te debug the application.


OK gives the following text (parts in Dutch)

System.Reflection.TargetInvocationException: Het doel van een aanroep heeft een uitzondering veroorzaakt. ---> System.TypeInitializationException: De initialisatiefunctie voor type Assistant.MapUO.MapWindow heeft een uitzondering veroorzaakt. ---> System.ArgumentException: Het lettertype Courier New ondersteunt de stijl Regular niet.
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
at System.Drawing.Font..ctor(String familyName, Single emSize)
at Assistant.MapUO.MapWindow..cctor()
--- Einde van intern uitzonderingsstackpad ---
at Assistant.MapUO.MapWindow.Initialize()
--- Einde van intern uitzonderingsstackpad ---
at System.Reflection.RuntimeMethodInfo.InternalInvoke (Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.InternalInvoke (Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Assistant.Engine.Initialize(Assembly a)
at Assistant.Engine.Main(String[] Args)




I tried removing all .net framework programs and reinstalling v 1.1, I tried reinstalling Razor and several locations / versions of UO.

Anyone who can help me?
kishih is offline   Reply With Quote
Old 07-16-2008, 09:28 AM   #10 (permalink)
Lurker
 
Join Date: Jul 2008
Age: 29
Posts: 4
Default

Someone told me to run regedit to check if razor is in HKEY_LOCAL_MACHINE\SOFTWARE\Razor and pointing to the correct directory. I did this, and it is pointing to the correct directory.

Also I installed the programs on my laptop and it is working as intended there.

To try a bit more, I removed .net framework and razor again, also removed everything razor related in the registry, rebooted and installed everything again. Still the same problem.

Anyone with ideas? Playing with the small screen on laptop ain't fun, not to mention my g/f uses it too.
kishih is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5