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 / .NET Framework / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Vs or .net framework bug

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nikolay Podkolzin - 08 Jan 2008 11:25 GMT
Gook noon, Community! I've got a problem regarding deployment my executeable
file.

Steps when I've got an error:

I've compile my project and got executeable, which working fine at the my
computer. When I'm copy it's executeable into another machine. I've got the
myapp has encountered a problem and needs to close. We are sorry for the
inconvenience.

In both machines (my and michine where error was taken) vs 2008 was
installed.

Who can help me with my problem?

Thanks in advance!
Peter Hurford - 08 Jan 2008 11:45 GMT
On 8 Jan, 11:25, Nikolay Podkolzin
<NikolayPodkol...@discussions.microsoft.com> wrote:
> Gook noon, Community! I've got a problem regarding deployment my executeable
> file.
[quoted text clipped - 12 lines]
>
> Thanks in advance!

"....has encountered a problem and needs to close" is generated when
you don't handle exceptions in your code.

Why don't you try handling them? You'll then be able to find the
exception which is being generated and hopefully lead you to a fix.
Nikolay Podkolzin - 08 Jan 2008 11:56 GMT
I'd love to handle an error, if it was possible, But I can't do that. one of
problems it's my application is ClickOnce.

> On 8 Jan, 11:25, Nikolay Podkolzin
> <NikolayPodkol...@discussions.microsoft.com> wrote:
[quoted text clipped - 20 lines]
> Why don't you try handling them? You'll then be able to find the
> exception which is being generated and hopefully lead you to a fix.
Michael Nemtsev [MVP] - 08 Jan 2008 12:00 GMT
Hello Nikolay,

So, the problem with installation or with executing you file?
Have u check if any records are written to the EventLog?

To nail problem down I'd recommend to use loggin, just understand where the
problem is

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

NP> I'd love to handle an error, if it was possible, But I can't do
NP> that. one of problems it's my application is ClickOnce.
NP>
NP> "Peter Hurford" wrote:
NP>
>> On 8 Jan, 11:25, Nikolay Podkolzin
>> <NikolayPodkol...@discussions.microsoft.com> wrote:
[quoted text clipped - 20 lines]
>> Why don't you try handling them? You'll then be able to find the
>> exception which is being generated and hopefully lead you to a fix.
Nikolay Podkolzin - 08 Jan 2008 12:15 GMT
Okay. I'll try it. Thanks

> Hello Nikolay,
>
[quoted text clipped - 40 lines]
> >> Why don't you try handling them? You'll then be able to find the
> >> exception which is being generated and hopefully lead you to a fix.
Nikolay Podkolzin - 08 Jan 2008 12:16 GMT
p.s. problem with executing file

> Hello Nikolay,
>
[quoted text clipped - 40 lines]
> >> Why don't you try handling them? You'll then be able to find the
> >> exception which is being generated and hopefully lead you to a fix.
Kevin Spencer - 08 Jan 2008 12:34 GMT
> I'd love to handle an error, if it was possible, But I can't do that. one
> of
> problems it's my application is ClickOnce.

The fact that you're deploying your application as ClickOnce does not
prevent you from handling an error. It may prevent your app from writing to
the Event Log, but it doesn't prevent it from writing to a text file or
popping up a Message Box.

The fact that your app is ClickOnce may provide a clue as to the nature of
the error. ClickOnce apps run under restricted priveleges, so it may be
attempting to access some resource it lacks permission to use. But handling
the error is essential to finding out for sure what the problem is.

Signature

HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

>> On 8 Jan, 11:25, Nikolay Podkolzin
>> <NikolayPodkol...@discussions.microsoft.com> wrote:
[quoted text clipped - 24 lines]
>> Why don't you try handling them? You'll then be able to find the
>> exception which is being generated and hopefully lead you to a fix.

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.