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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Published Solutions No Help - BC30451: Name Published Solutions No Help - BC30451: Name 'Config' is not declared
Previous
 
Next
New Post
5/14/2007 11:04 PM
 

I don't remember seeing that requirement in the documentation, so I am sure that is part of my problem.  I remember seeing several postings about Medium Trust levels which are typical of shared hosting environments, but it did not seem to be a problem if handled right.

OK, let's presume that is (at least part of) my problem - I have IIS open at the moment on my local machine, and see that my virtual directories have an "Execute Permissions" setting which defaults to "Scripts only".  When you say the directory must be set up for applications, I presume you mean that this setting must be set to "Scripts and Executables"?  I do not have direct rights to change it on my hosts's servers, but they have been very willing to work with me on requests - I'll put this in and see if it helps.  If I have misunderstood what "set up as an application" means, please let me know.

 
New Post
5/21/2007 6:34 PM
 

OK, I finally figured it out myself.  It was not an issue with my directory being setup as an application - as it turns out, if that was the problem I would not have even gotten the error.  It was not a problem with my web.config file, as I knew.  And, it was not a problem with permissions.

I got this error because the several of the dll files in the bin directory, including the primary DotNetNuke.dll file, had only partially uploaded.  Thus the file was there but was half it's correct size and therefore corrupt (incomplete), creating the same effect - the scripts couldn't access the file, thus those variables were not declared.

I also learned from my local install that the scripts that run after the database connection is successfully tested require dbo permissions.  I had gotten the idea from something I had read in the documentation that dbo permissions was not required as long as you put in the alternate username in the "databaseOwner" setting in web.config.  But that did not work for me.  Luckily my hosting company was willing to grant my user dbo rights.

Another post I found suggested that after the database install scripts ran but before I hit next, that I would manually have to grant my user all of the aspnet roles it created.  I checked and found this to be the case - the roles were there but by user was not assigned to the roles, despite my dbo clearance.  I set them manually before proceeding.  Thanks to whoever posted that.

Lastly, the 4.4.1 documentation implies that the development.config file should be used in place of release.config for medium trust environments.  However, it appears that the 4.5.1 release.config file already has the requirePermission="false" entries in it, so it seems to me that the 4.5.1 package no longer needs the development.config file.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Published Solutions No Help - BC30451: Name Published Solutions No Help - BC30451: Name 'Config' is not declared


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