Vs or .net framework bug

  • Thread starter Thread starter Nikolay Podkolzin
  • Start date Start date
N

Nikolay Podkolzin

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!
 
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!

"....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.
 
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.
 
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>
 
Okay. I'll try it. Thanks

Michael Nemtsev said:
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>
 
p.s. problem with executing file

Michael Nemtsev said:
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>
 
Nikolay Podkolzin said:
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.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 
Back
Top