473,320 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Spiritual programming?

CR
I just received the error message "An exception has been thrown by the
target of an invocation." So, I did as any good Christian would do, I closed
Visual Studio 2005 Standard, said a little prayer, reopened Visual Studio,
and the error was gone! Invocation = Prayer, so the target of a prayer
threw an exception in my application!
Honestly, what does that error message mean? It showed up when switching
from viewing code to viewing the designer on a user control. There was no
location listed for the error, it was the only error, and evidentially,
there was nothing wrong with my code, because it works fine again.
May 31 '06 #1
4 1417
CR wrote:
I just received the error message "An exception has been thrown by the
target of an invocation." So, I did as any good Christian would do, I closed
Visual Studio 2005 Standard, said a little prayer, reopened Visual Studio,
and the error was gone! Invocation = Prayer, so the target of a prayer
threw an exception in my application!
Honestly, what does that error message mean? It showed up when switching
from viewing code to viewing the designer on a user control. There was no
location listed for the error, it was the only error, and evidentially,
there was nothing wrong with my code, because it works fine again.


Are you using any com objects in your program?

Chris
May 31 '06 #2
CR
No, everything is .NET.

"Chris" <no@spam.com> wrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
CR wrote:
I just received the error message "An exception has been thrown by the
target of an invocation." So, I did as any good Christian would do, I
closed Visual Studio 2005 Standard, said a little prayer, reopened Visual
Studio, and the error was gone! Invocation = Prayer, so the target of a
prayer threw an exception in my application!
Honestly, what does that error message mean? It showed up when switching
from viewing code to viewing the designer on a user control. There was no
location listed for the error, it was the only error, and evidentially,
there was nothing wrong with my code, because it works fine again.


Are you using any com objects in your program?

Chris

May 31 '06 #3
We have that happen a lot: a lot of funny errors that make no sense that are
easily cleared by closing VS and reopening.

A lot of times, the errors are due to controls we purchased.
--
--ewok
MCSA+M,MCSE, MCSD, MCDBA,MCITP
"CR" wrote:
No, everything is .NET.

"Chris" <no@spam.com> wrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
CR wrote:
I just received the error message "An exception has been thrown by the
target of an invocation." So, I did as any good Christian would do, I
closed Visual Studio 2005 Standard, said a little prayer, reopened Visual
Studio, and the error was gone! Invocation = Prayer, so the target of a
prayer threw an exception in my application!
Honestly, what does that error message mean? It showed up when switching
from viewing code to viewing the designer on a user control. There was no
location listed for the error, it was the only error, and evidentially,
there was nothing wrong with my code, because it works fine again.


Are you using any com objects in your program?

Chris


Jun 1 '06 #4
I have received errors like that while doing some remoting stuff that had
security issues. Think you could also get it for other reasons but that was
mine.

"CR" <c@home.com> wrote in message
news:e1**************@TK2MSFTNGP02.phx.gbl...
I just received the error message "An exception has been thrown by the
target of an invocation." So, I did as any good Christian would do, I
closed Visual Studio 2005 Standard, said a little prayer, reopened Visual
Studio, and the error was gone! Invocation = Prayer, so the target of a
prayer threw an exception in my application!
Honestly, what does that error message mean? It showed up when switching
from viewing code to viewing the designer on a user control. There was no
location listed for the error, it was the only error, and evidentially,
there was nothing wrong with my code, because it works fine again.

Jun 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
42
by: Kevin Spencer | last post by:
Is it just me, or am I really observing a trend away from analysis and probem-solving amongst programmers? Let me be more specific: It seems that every day, in greater numbers, people are coming...
2
by: - | last post by:
I kinda like programming (Java is the only language I know) but have not been able to develop a complete software or get anywhere close to it. The reason why I like it is because it gives me great...
15
by: UrsusMaximus | last post by:
While preparing a Python411 podcast about classes and OOP, my mind wondered far afield. I found myself constructing an extended metaphor or analogy between the way programs are organized and...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
30
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.