DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 17 Jul 2007 23:32:46 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    gc
          2    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
          3    gc
                 4    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
                        5    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
          6    gc
          7    gc
                 8    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com


Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
Dear ALL,

upgrading from v1.3 to v2.2
on a pocket pc 2003 se
calling the Assembly.LoadFrom(...) throw an exception with  _HResult =
-2146232800

Please advice
Date:Tue, 17 Jul 2007 23:32:46 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
Upgrading from what to what?  .NET Compact Framework has no version 1.3 or 
2.2, so tell us what you're actually talking about and give us more than 
just the name of the call you're making.  Clearly you're doing something 
wrong and we aren't going to be able to tell you what if you won't tell us 
what you're doing.

Paul T.

"gc"  wrote in message 
news:1184740366.723495.172890@z28g2000prd.googlegroups.com...

> Dear ALL,
>
> upgrading from v1.3 to v2.2
> on a pocket pc 2003 se
> calling the Assembly.LoadFrom(...) throw an exception with  _HResult =
> -2146232800
>
> Please advice
> 
Date:Wed, 18 Jul 2007 07:58:17 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
On Jul 18, 5:58 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:

> Upgrading from what to what?  .NET Compact Framework has no version 1.3 or
> 2.2, so tell us what you're actually talking about and give us more than
> just the name of the call you're making.  Clearly you're doing something
> wrong and we aren't going to be able to tell you what if you won't tell us
> what you're doing.
>
> Paul T.
>
> "gc"  wrote in message
>
> news:1184740366.723495.172890@z28g2000prd.googlegroups.com...
>
>
>
> > Dear ALL,
>
> > upgrading from v1.3 to v2.2
> > on a pocket pc 2003 se
> > calling the Assembly.LoadFrom(...) throw an exception with  _HResult =
> > -2146232800
>
> > Please advice- Hide quoted text -
>
> - Show quoted text -


thanks for the response

upgrading from cf 1 sp3 to 2 sp2, it's clear now?

the project upgraded with the wizard in the visual studio

before the upgrading EVERYTHING worked perfect, so we are NOT
"Clearly doing something wrong"

thanks
Date:Fri, 20 Jul 2007 02:05:31 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
And you're loading what assembly?  Built how?  Using any external native DLL 
calls or requiring anything?  And the assembly is where on the device?

Paul T.

"gc"  wrote in message 
news:1184922331.442922.234710@n2g2000hse.googlegroups.com...

> On Jul 18, 5:58 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
> no instrument no spam DOT com> wrote:
>> Upgrading from what to what?  .NET Compact Framework has no version 1.3 
>> or
>> 2.2, so tell us what you're actually talking about and give us more than
>> just the name of the call you're making.  Clearly you're doing something
>> wrong and we aren't going to be able to tell you what if you won't tell 
>> us
>> what you're doing.
>>
>> Paul T.
>>
>> "gc"  wrote in message
>>
>> news:1184740366.723495.172890@z28g2000prd.googlegroups.com...
>>
>>
>>
>> > Dear ALL,
>>
>> > upgrading from v1.3 to v2.2
>> > on a pocket pc 2003 se
>> > calling the Assembly.LoadFrom(...) throw an exception with  _HResult =
>> > -2146232800
>>
>> > Please advice- Hide quoted text -
>>
>> - Show quoted text -
>
> thanks for the response
>
> upgrading from cf 1 sp3 to 2 sp2, it's clear now?
>
> the project upgraded with the wizard in the visual studio
>
> before the upgrading EVERYTHING worked perfect, so we are NOT
> "Clearly doing something wrong"
>
> thanks
> 
Date:Fri, 20 Jul 2007 08:11:51 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
thanks for the response,

if you know AutoUpdater you have the answers to your questions.

just to remind you

                                                Assembly a = null;
			AssemblyName name = new AssemblyName();

			// If assembly does not exists, presume the version to be 0.0.0
			name.Version = new Version("0.0.0");

			// Try obtaining assembly version
			string sPath = xmlConfig["updateinfo"]
["checkassemblydir"].GetAttribute("name") + @"\" +
xmlConfig["updateinfo"]["checkassembly"].GetAttribute("name");
			try
			{
				if ( File.Exists(sPath) )
				{
					a = Assembly.LoadFrom(sPath);
					name = a.GetName();
				}
			}
Date:Sat, 21 Jul 2007 08:44:41 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
And just before Assembly.LoadFrom is called, what's the value of sPath?

Paul T.

"gc"  wrote in message 
news:1185032681.081211.129540@o61g2000hsh.googlegroups.com...

> thanks for the response,
>
> if you know AutoUpdater you have the answers to your questions.
>
> just to remind you
>
>                                                Assembly a = null;
> AssemblyName name = new AssemblyName();
>
> // If assembly does not exists, presume the version to be 0.0.0
> name.Version = new Version("0.0.0");
>
> // Try obtaining assembly version
> string sPath = xmlConfig["updateinfo"]
> ["checkassemblydir"].GetAttribute("name") + @"\" +
> xmlConfig["updateinfo"]["checkassembly"].GetAttribute("name");
> try
> {
> if ( File.Exists(sPath) )
> {
> a = Assembly.LoadFrom(sPath);
> name = a.GetName();
> }
> }
> 
Date:Mon, 23 Jul 2007 08:35:37 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
Paul thanks for your response,

sPath value = "Program Files\\PocketSales\\POCKETSALES.EXE"
Date:Wed, 25 Jul 2007 22:21:23 -0700   Author:  

Re: Assembly.LoadFrom(...) throw exception _HResult = -2146232800   
That's not a full path.  Put \\ in front of it or make suitable adjustments 
and it might work better.  Other than that, nothing jumps to mind.

Paul T.

"gc"  wrote in message 
news:1185427283.174717.323990@k79g2000hse.googlegroups.com...

> Paul thanks for your response,
>
> sPath value = "Program Files\\PocketSales\\POCKETSALES.EXE"
>
> 
Date:Thu, 26 Jul 2007 09:08:42 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us