Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / June 2005

Tip: Looking for answers? Try searching our database.

VB.NET Deployment Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Randy Whitehead - 22 Jun 2005 18:38 GMT
Every time I try to run my EXE on any other machine than my development
machine I get the following error.

Application has generated an error that could not be handled.

I installed the .NET runtime files, but still the same error.  I can't
recreate the error on my development machine to see what is causing the
problem.

Anyone with ideas?

Thanks,

Randy
Peter van der Goes - 23 Jun 2005 00:12 GMT
> Every time I try to run my EXE on any other machine than my development
> machine I get the following error.
[quoted text clipped - 10 lines]
>
> Randy

When you refer to "deployment", do you mean simply copying files from your
development machine to a target PC which has the .NET Framework installed,
but no Visual Studio? That is not going to work for you. You need to add a
Setup Project to your VB.NET solution and build an installation package to
export to target PC's. For more information on setup and deployment
projects, and application deployment in general, I recommend you start in
your MSDN Help. Start by searching on "setup and deployment" (no filter).

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.

J L - 23 Jun 2005 20:40 GMT
Peter,
Why do you say copying wont work. I do it with my apps. As long as he
does not use ActiveX compoenents that require registering and as long
as he copies any DLL's that he might need, it should work. Or at least
it does for me. I thought that is what everyone meant by XCOPY
deployment.

John

>> Every time I try to run my EXE on any other machine than my development
>> machine I get the following error.
[quoted text clipped - 18 lines]
>projects, and application deployment in general, I recommend you start in
>your MSDN Help. Start by searching on "setup and deployment" (no filter).
Peter van der Goes - 24 Jun 2005 18:33 GMT
> Peter,
> Why do you say copying wont work. I do it with my apps. As long as he
[quoted text clipped - 4 lines]
>
> John

I may have misinterpreted what the OP said. I thought he'd tried to copy
only the .exe.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.