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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIerror: dnn not recognizederror: dnn not recognized
Previous
 
Next
New Post
12/17/2007 2:36 PM
 

Hi,

Occasionally I get a javascript error "dnn not recognized" (in the web developer toolbar/error console), indicating that dnn.js is not loading properly.

This is an intermittent problem, so I haven't figured out how to replicate it.  However, being intermittent means that it is probably NOT the usual problems of the file being misnamed or misplaced or having the wrong permissions.   I'm using Firefox 2.0.0.9, but I have reason to believe this is happening for other users on IE. 

The site I'm working on is using a custom skin which is only a slight modification of DNN-Blue.  I replaced DNN:Nav with solpartmenu as an attempt to deal with a problem with the menu not responding to clicks.  This seemed to work for a while, but the clicking problem is back.

FYI I documented the clicking problem in this forum thread:

www.dotnetnuke.com/Community/Forums/tabid/795/forumid/109/threadid/174217/scope/posts/threadpage/1/Default.aspx

and it was also documented in this issue report:

support.dotnetnuke.com/issue/ViewIssue.aspx

 

 I'm pretty sure the dnn.js problem is connected with the problem with the menu not responding to clicks.  It happens infrequently for me so haven't fully verified this, but my client on the site sees it often enough to be very concerned.  I'm working with her to help me verify the connection.

Thanks for any insight you can provide.

Phen

 

 

 

 
New Post
12/18/2007 10:07 AM
 

Oops.  The error is "dnn is not defined"  .  I googled this error, and it looks like on IE it shows as "dnn is undefined". 

Sorry about the confusion. 

Phen

 

 
New Post
12/18/2007 4:58 PM
 

Sounds like you are describing two problems.  One thing I noticed since you last posted in the forums is that the dnnmenu will not navigate if you click on the same menuitem that is already selected.  I have fixed this in the next version of the menu.  I am not sure if this was your issue or not.  If you could try and validate that it would help (i.e. does the navigation only not work when clicking on the same menu item as you are currently viewing).

Regarding the js error.  If you could provide me a url of the page that it happens on I can do some deeper investigation.  If you don't want to provide the url in the forum, you could email me directly.


 
New Post
1/2/2008 12:41 PM
 

FYI All,

I ran into this error on a consistant basis after installing DNN 4.7.0 (and DNN 4.8.0) on our webserver. Below are the details of what I encountered but I won't make you read it all to get to the solution... 

Solution:  You must "unblock"  your downloaded ZIP files otherwise the all the files are tagged by Windows as "blocked" because they came from an untrusted source.  Right-Click the downloaded zip and select Properties.  At the bottom of the "General" tab you will see an item that indicates the file was blocked.  Click the [Unblock] button to remove this setting.  If you don't, the contents of the zip will also be marked as "blocked" and will cause a big headache!  This will cause problems with an upgrade as well!  You should also check this when copying files across domains because the same thing might happen (we have our download library on a server in our internal AD domain but the web servers are in the DMZ).

Hope this helps someone else.

Chuck R.

Page 1, DotNetNuke Installation Wizard - Version 04.08.00
 - Select Install Method: selected "Custom".
 - Choose Language:  left at "English"

Page 2, Checking File Permissions
 - Clicked "Test Pemissions" - reported "Your site passed the permissions check."
 - Clicked "Next"

Page 3, Configure Database Connection
 - Select Database:  checked "SQL Server 2000/2005 Database".
 - Server:  entered host name of SQL 2005 Server.
 - Database:  entered name of newly created database.
 - Integrated Security: un-checked this option.
 - User ID:  entered login name of newly created database.
 - Password:  entered password for newly created login.
 - Run as db Owner: checked this option.
 - Object Qualifier: left blank.
 - Clicked "Test Database Connection" -- reported "Connection Success"
 - Clicked "Next"

Page 4, run database Installation Scripts
 - shows message "Installing Database Scripts ..." with the animated GIF.
 - No progress.
 - No messages in the text box.
 - just hangs at this point.
 - close window.

Found the following...
 - The only objects created in the database were the following...
  - Version table
  - FindDatabaseVersion stored procedure.
  - GetDatabaseVersion stored procedure.
  - UpdateDatabaseVersion stored procedure.
 - Checed the web.config file and found the following...
  - The database connection settings were set incorrectly.
  - The server, database name, user name and password were
    correct BUT THEY WERE PUT ON THE WRONG ENTRY!
  - They were put on the line formatted for SQL Server 2005 Express
    instead of the line for SQL Server 2000/2005!!!!!

 - I tried making the following changes and re-ran the install wizard using
   the regular install process.
  - fixed the database connection strings
  - deleted the "Install Date" line.
  - deleted the objects that were created on the failed install from
    the database.
  - re-ran the process, this time selecting the "Auto" option on page 1.
  - installation successful.

Site works but no menu!!!!!
Get the yellow triancle in the left of the browswer status line.
Opening the message window shows the following...

 Line: 665
 Char: 1
 Error: 'dnn' is undefined
 Code: 0
 URL:  http://xxxxxxxxxxxxxxxxx/  <-- this shows the correct URL.

 
New Post
3/3/2008 8:54 AM
 

I have the same problem on a windows 2003 R2 server with Service Pack 2 installed.

It looks like its a problem with the windows version with Service Pack 2.

What i discovered was that when i copy the files and database to another server with Windows 2003 R2 SP! the site works correct with no problems.

Does anybody know why this problem occurs and how it can be fixed?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIerror: dnn not recognizederror: dnn not recognized


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