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...Getting StartedGetting StartedReflection error / constructor failureReflection error / constructor failure
Previous
 
Next
New Post
1/24/2011 11:24 PM
 
Hi All-

Trying to modify a commercial module & running into an error that I can't quite debug myself.

First, what I've done:  I'm trying to remove 9 fields from the 'application' part of the JobXP module.  None of these fields are required / foreign keys, so I figured removing them would be straightforward.

After getting good builds for the source as-is, I started removing fields.  Starting from the DB, I removed the fields from the table of interest.  Next I removed them from the stored_procs (many) for the table, and from the view which was defined (1).  Next up in the DL were the 2 sql provider files and various methods within them.  In the BL I found several more files to be modified.  Finally, I dug into the aspx & aspx.vb files to get the references out of the UI.

Running builds at various points found typos for me & eventually I got what i thought was a good build.  Inspecting the /bin directory afterward showed new timestamps as I would have expected.  To ensure I would not get cached-out by anything, I stopped and restarted IIS to force it to reload everything.

Sadly, my modified module does not run.  In the DNN ui, I get the following error message:

A critical error has occurred.
The type initializer for 'ICPC.Modules.JobXP.DataProvider' threw an exception.

If I look in the event viewer, I get better info (don't know how to paste in in here, so here's a link):  

http://host.baessolutions.com/LogView.pdf

So - clearly this is implying that I don't have everything changed correctly, since (I guess) that reflection is failing because signatures don't match exactly.

Can someone give me any pointers on how to keep debugging??

Thanks,

Mark
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedReflection error / constructor failureReflection error / constructor failure


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