PDA

View Full Version : NetRemote Designer error "Object reference not set...&a


FearTheDentist
August 10th, 2005, 10:32 PM
I have been unable to run NetRemote Designer as I get this error when I try "Object reference not set to an instance of an object". I found another post having this error, and the poster figureod out the problem was "the ccf it automatically opens whenever you launch the designer" and solved it by substituting a working copy. Unfortunately the only .ccf file in my NetRemote Designer dir is Pronto.ccf and substituting it did not help-is there a different .ccf file I should be looking at, and if so can someone post a working copy to this thread?. Reading on line I found a whole host of possible causes of this error, but they all seemed to be a problem in the code. As it seems this is not a very common error here, I have to think maybe it's something wrong on my end. Any suggestions?

Here's the error in the logfile:

Connecting to NetRemote object
Creating CoNetRemoteHelper
There was an uncaught exception initializing the application
Object reference not set to an instance of an object. at Microsoft.Win32.NativeMethods.ShellExecuteEx(Shell ExecuteInfo info)
at System.Diagnostics.Process.StartWithShellExecuteEx (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at com.promixis.NetRemoteInterface.ConnectToNetRemote ()
at com.promixis.NetRemoteInterface..ctor()
at com.promixis.NetRemoteInterface.get_Singleton()
at com.promixis.Forms.ReferenceInformationForm.Refres hVariables()
at com.promixis.Forms.ReferenceInformationForm..ctor( NRIEditorForm parent)
at com.promixis.Forms.NRIEditorForm..ctor()
at com.promixis.Forms.NRIEditorForm.Main(String[] argv)


Thanks!

Rob H
August 11th, 2005, 03:05 AM
The CCF that the designer loads is the one currently loaded into NetRemote

Ben S
August 11th, 2005, 05:28 AM
Do you have NetRemote installed on the same computer as the designer? It is required.

FearTheDentist
August 11th, 2005, 01:58 PM
I do have NR installed on the same computer, but just discovered an odd problem. I've been opening NR from within Tonto to test my .CCF file as I develop it. I tried opening a .CCF file by right clicking the .CCF in explorer->open with->NR. It generaltes an error to the effect of ".CCF file not specified" and opens to a blank project. Looks like an installation problem, but uninstalling and re-installing didn't resolve it. It seems pretty likely this is the source of my problem. If you have any suggestions I'm all ears, but I'll try unistalling all of my .CCF programs and utilities, scour the registry to remove any debris left behind , and hopefully it will work after that.

Ben S
August 14th, 2005, 02:49 PM
Any luck, dentist?

FearTheDentist
August 22nd, 2005, 01:03 AM
Sorry I took so long, off to Maui for a week...

I uninstalled etc, cleaned the registry, re-installed everyhing (ver. 7 of NRD this time), no luck. Any suggestions? Is there a way to re-write the shortcut to tell it to open a specific .ccf file other than just adding the path to the target .ccf to the command line? (I'm sure there's a way to do this, but don't remember how...)
here's the logfile for what it's worth

Connecting to NetRemote object
Creating CoNetRemoteHelper
Creating CoNetRemote
Getting Namespace
Getting plugins


Thanks!

Ben S
August 22nd, 2005, 11:20 AM
What version of NetRemote do you have installed on that computer? It sounds like a problem getting the plugins (which would happen if the version of NRD didn't match the right version of NR).

FearTheDentist
August 23rd, 2005, 12:01 AM
Well- I was on 1.1.0.38

I just d\l the latest windows installer and upgraded everything (not a clean install)- no success. I'll try a clean install later (need sleep!)

An interesting thing I found though. I created a new profile in WinXP, NRD runs fine in the different profile. My current profile is so "lived in" I don't really want to start up a new one, but this does provide me with a do-able workaround.

I'm pretty sure the problem is coming from something on my 'puter rather than something in your code. I've seen several other posts of people having the same problem so I'm guessing it arises from a not too uncommon scenario, but I wouldn't spend too much time on this on my account. If you happen to come across a solution I'd appreciate hearing about it but otherwise I'm sure you have plenty of other things demanding your attention :)

Thanks for the help!