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