Peter Ritchie Inc. Software Consulting Co. Home
      Downloads    General    .NET Topics    C++ Topics    C# Topics

Home
Products & Services
Articles/Blog
Downloads
Links
Members Only
Support
Contact
Login
Register
"The requested lookup key was not found in any active activation context" and Process.Start()

Posted by on Wednesday, October 05, 2005 (EST)

Work-around for "The requested lookup key was not found in any active activation context" exception when using Process.Start() to spawn a browser with a URL.

It's appears there is sometimes some threading issues when using Process.Start() to spawn a browser by starting a URL. It's not too clear what the issues are; but the following works around the problem (C#):
 

    Process process = new Process();
    process.StartInfo.FileName = "rundll32.exe";
    process.StartInfo.Arguments = "url.dll,FileProtocolHandler " + url;
    process.StartInfo.UseShellExecute = true;
    process.Start();


Average Rating:

Comments:

lookup key errors
By penznikel on Saturday, March 17, 2007 (EST)

ok but where do you do this fix for lookup key errors'

 

help - please explain as if i were in kindergarten.

thankyou

Reply to this Comment

look up key
By XLilRudeOneX on Monday, July 23, 2007 (EST)

I keep having this window pop up sayin 'look up key was not found in any active activation context' i dont know what it is and i dont i dont understand how to get rid of it please can u help me thank you

Reply to this Comment

RE: look up key
By Peter Ritchie on Monday, July 23, 2007 (EST)
What's the context?  Is this in an application you've written?

Reply to this Comment

Error
By Sharon on Wednesday, August 01, 2007 (EST)
"The requested look-up key was not found in any active activation context"  When trying to open a web-site from my toolbar - I receive this message.  Can you tell me exactly how to fix this - not very computer literate.

Reply to this Comment

Lock up error
By Sharon on Wednesday, August 01, 2007 (EST)
Did you receive a reply how to fix this error?  If so, please let me have instructions.  Thank you.

Reply to this Comment

Fixing
By Peter Ritchie on Wednesday, August 01, 2007 (EST)
The only way to fix the problem is to change the software.  If this isn't software you are writing, only software you're using (that someone else wrote), you'll have to contact the author/vendor to get them to fix it.

Reply to this Comment

VB Conversion
By macAsp on Thursday, May 01, 2008 (EST)

Peter,

 

I have "inherited" a vb project which I'm trying to convert to VS 08.

 

When running the conversion process/wizard it returns with the error:

 

"The requested lookup key was not found in any active activation context."

 

As I am new to this version I would really appreciate any pointers you could give me.

 

R&T,

 

mac.

Reply to this Comment

Error with VB conversion wizard
By Peter Ritchie on Thursday, May 01, 2008 (EST)

If this is an error when running the VB conversion wizard, I would suggest contacting customer support--that sounds like a defect.

 

Alternatively, you could try asking on one of the VB forums like Visual Basic Interop and Upgrade

Reply to this Comment

Error with VB conversion wizard
By macAsp on Thursday, May 01, 2008 (EST)

Thanks for the response.

Will do.

 

Regards,

 

mac.

Reply to this Comment

lock up key
By rita on Thursday, July 31, 2008 (EST)

I keep having this window pop up sayin 'look up key was not found in any active activation context' i dont know what it is and i dont i dont understand how to get rid of it please can u help me thank you/

 

I am having this dillema

Reply to this Comment

Add Your Comment

Advertisement
Rent and Buy DVDs. No Late Fees. Click to join Today.

RSS Feed Temporarily Unavailable
Feed will retried at 8/28/2008 4:48:18 PM
Last Refreshed 8/28/2008 9:03:41 AM

 
Copyright © 2005, Peter A. Ritchie All rights reserved