Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Exception has been thrown by the target of an invocationException has been thrown by the target of an invocation
Previous
 
Next
New Post
2/27/2009 10:08 AM
 

hi guys,

Please read this until the end because I really need your help, txs

I developped a modul including form(textbox, DropDownList, button..)

I have dreated the Grid and buikt the site, and aal was right!!! When I run it, the form was correct, and I could isered data from my form fields.

For the moment everything is OK, but when i tried to delete or upload an article, It showed me the following error:

A critical error has occurred.
Exception has been thrown by the target of an invocation.

I tried to find a solution for this, but no way, I didn't found a great and clear solution for my probelm!!! All what I found is the following message somewhere in DDN Forums: " If you have code that calls the database, ensure that a value is being returned fron the databse. Otherwise you will get this error."

But it wasn't so clear for me to resolve the problem. I really need to find a way to get my modul workin' or I'll be Fired from my work!!!!    :'(

HEEEEEEEEELLLPP PLEAAAAAASE

 
New Post
2/27/2009 4:41 PM
 

Try to be a bit more specific to get some good help. Debug your code and find out what might be causing it. Post that piece of code to get the real good help...


Web applications, DNN websites, modules, skins and support
 
New Post
3/2/2009 7:49 AM
 
All right!!! I finally solved this problem be redoing the whole module with the DAL+ method. But I'm always need a favor, can somebody give me a tutoriol or something that will sow me how to upload a picture and display it with the DAL+ method. I spent 3 day searshing solutions but all I found was things that I should Pay to get them!!! In addition they were already done so I can't see the code behind. Can someone help me please?
 
New Post
3/2/2009 9:55 AM
 

It's not a DNN specific solution, but this sample code from my website might get you over the bump.

http://www.dynamisys.co.uk/ForumsBlogs/Forums/tabid/299/forumid/16/threadid/491/scope/posts/Default.aspx


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/4/2009 4:11 AM
 
Thank you for your help, but I'm always looking for the right code to upload Images in the database. I know that I'm asking too much things, but what to do? I'm a beginner in ASP.Net and DNN, but I believe that one day I will be good!!! :D Don't say that I'm not trying to count on myself, cause I' doing my best. But for the moment I need some brains in my side to put me on the right way. Thank you for all
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Exception has been thrown by the target of an invocationException has been thrown by the target of an invocation


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out