COMException Unhandled

Hey guys,

I'm trying to run the Csharp sample code and just see if it works, but when I reach the line:

upnp.initialize()

I get a "COMException Unhandled - Error HRESULT E_FAIL has been returned from a call to a COM component."

Please note that my development is done on a seperate LAN without an internet connection ( if it matters... ).

Thanks a lot,
Lavi

Catch the exception and ignore it. Or uncomment the _upnp.Initialize() line.