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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Site down with compile errorSite down with compile error
Previous
 
Next
New Post
1/15/2011 6:03 PM
 
Folks,

One site I administer has gotten unstable. I am not sure whether it is this particular site or the hosting server (Godaddy Shared). The site works for a while and then goes down. Today I am getting the following

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: BC30002: Type 'IDataReader' is not defined.

Source Error:

Line 46: ' all core methods defined below Line 47: Line 48: Public MustOverride Function GetSurveys(ByVal ModuleId As Integer) As IDataReader Line 49: Public MustOverride Function GetSurvey(ByVal SurveyID As Integer, ByVal ModuleId As Integer) As IDataReader Line 50: Public MustOverride Function GetSurveyResultData(ByVal ModuleId As Integer) As IDataReader


This seems to have started after I installed the Survey module a month ago, but I can't say for sure. I know the problem has been much more prevalent in the past month. Any suggestions? I'll try and un-install the module if I can get back in. Is there a file I can uninstall from the site directory that might help?

Thank you for your assistance.

Doug
 
New Post
1/15/2011 11:12 PM
 
What version of DotNetNuke are you using? Did you upgrade recently from an earlier version?

What version of Survey module did you install?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/16/2011 1:29 PM
 
Hello Sebastian'

The site is running DNN 5.05 and the Survey module is version 4.6. The site version was upgraded in early December before installation of the survey module.
 
New Post
1/16/2011 1:31 PM
 
William,

I apologize for responding with the wrong name.

 
New Post
1/16/2011 8:58 PM
 
No problem on the wrong name - it's an honor to be mistaken for Sebastian.

The error is being caused by the just-in-time compiler failing to resolve a reference to the IDataReader interface in the file App_Code/Survey/DataProvider.vb. Why this is happening I'm at a loss at the moment as I have intentially tried several ways to break the reference in a 5.05.00 DotNetNuke install without being able to reproduce the error. Let's try the following starting with #1 then proceeding to the next one if necessary.

1. Force an application restart by making a minor modification to web.config file (i.e. a space added at the end of a line) then re-saving and if necessary re-uploading the web.config file back to the server. If the error clears following the forced restart and you are able to log-in to the site as host user, check the Admin-->Event Viewer for related errors and watch for a re-occurance of the error.

2. If that does not stop the compilation error, edit the file App_Code/Survey/DataProvider.vb replacing all occurances (4) of

IDataReader

with

System.Data.IDataReader

and re-visit the site to see if the error has resolved and you are able to log-in.

3. Finally, if that modification does not work, delete all files from the folder App_Code/Survey and re-visit the site. If you are able to log-in as host user, go to Host -->Extensions to delete the Survey module and watch the site and the Event Viewer for a re-occurance of similar errors in other modules or core code.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Site down with compile errorSite down with compile error


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