My Vb.Net Apps will not run on other machine's with .Net Framework installed 
Author Message
 My Vb.Net Apps will not run on other machine's with .Net Framework installed

I have created the most basic applications using just ADODB for some
database things.  I've set it to "copy to local" (and tried not
copying to local), but either way, I get an Applicatoin has Generated
an exception faul that could not be handled.

I've installed MDAC 2.7 (XP SP1 version) on the machine(s), as well as
Net Framework and SP2 of the Net Framework.

Any help would be greatly appreciated - according to MS, Dot.Net
programs should work "right off" once DotNet framework is installed
(except 3rd party libraries of course) - this is not working that way
at this point.


marko



Wed, 07 Sep 2005 03:35:30 GMT  
 My Vb.Net Apps will not run on other machine's with .Net Framework installed
What is the error?


Quote:
> I have created the most basic applications using just ADODB for some
> database things.  I've set it to "copy to local" (and tried not
> copying to local), but either way, I get an Applicatoin has Generated
> an exception faul that could not be handled.

> I've installed MDAC 2.7 (XP SP1 version) on the machine(s), as well as
> Net Framework and SP2 of the Net Framework.

> Any help would be greatly appreciated - according to MS, Dot.Net
> programs should work "right off" once DotNet framework is installed
> (except 3rd party libraries of course) - this is not working that way
> at this point.


> marko



Wed, 07 Sep 2005 03:48:23 GMT  
 My Vb.Net Apps will not run on other machine's with .Net Framework installed
I get an Application has Generated an exception fault that could not be
handled.

The Pid and Thread each time is a completely different number.  

When/if I find the solution, I will post about it here.

Thanks

Marko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Wed, 07 Sep 2005 04:21:50 GMT  
 My Vb.Net Apps will not run on other machine's with .Net Framework installed
The PID and Thread *should* be different each time because each time an
application starts, new values for these variables are assigned.

Have you tried adding some debug messages at the entry point for your
application (e.g. at the first line in your Sub Main( )) to see if it is
actually running, or if it is crashing before your code gets executed? It
may just be a resource your trying to access that isn't available on the
client machine.


Quote:
> I get an Application has Generated an exception fault that could not be
> handled.

> The Pid and Thread each time is a completely different number.

> When/if I find the solution, I will post about it here.

> Thanks

> Marko

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Wed, 07 Sep 2005 05:23:14 GMT  
 My Vb.Net Apps will not run on other machine's with .Net Framework installed
I *think* i've isolated it to a variable that was publicly declared,
and then in one of my subs was declared again.  That was a mistake on
my part, but I thought all that "inheritance" and "overloading" etc
was supposed to allow that.

Either way - by removing one line - 'Dim V as boolean', seemed to do
the trick.  It's now working on client machines.  I have another app,
also very simple, that is having the same problem, and I'm about to
inspect the code for it on the chance there is a "no-brainer" mistake
of this nature - if not, I'll be back to ask for more help! :)

thanks

Marko



Quote:
>The PID and Thread *should* be different each time because each time an
>application starts, new values for these variables are assigned.

>Have you tried adding some debug messages at the entry point for your
>application (e.g. at the first line in your Sub Main( )) to see if it is
>actually running, or if it is crashing before your code gets executed? It
>may just be a resource your trying to access that isn't available on the
>client machine.



>> I get an Application has Generated an exception fault that could not be
>> handled.

>> The Pid and Thread each time is a completely different number.

>> When/if I find the solution, I will post about it here.

>> Thanks

>> Marko

>> *** Sent via Developersdex http://www.developersdex.com ***
>> Don't just participate in USENET...get rewarded for it!



Wed, 07 Sep 2005 05:33:58 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. VB.NET app does not run on OS having .NET redistributable files installed

2. running vb.net program on machines without SDK framework

3. file system object not working after installing .NET framework

4. Run VB.net app on another machine pt.2

5. How to run a VB Net app on another machine

6. VB.NET DLL's With A VB.NET App

7. Detecting if .NET Framework is installed prior to installing application

8. VB.NET apps won't work on machine with no .net framework?

9. Find good book about using CR.NET with VS.NET and .NET Framework

10. Bootstrap install with .NET framework in VB

11. Deploying vb.net windows form application on a pc without the .net framework

12. .NET Framework 1.1 and VB.Net Performance - ?

 

 
Powered by phpBB® Forum Software