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 ...Dnn on vitsaDnn on vitsa
Previous
 
Next
New Post
1/8/2009 3:02 PM
 

 

Search.js
 
function initSearch()
{
 var searchIcon = $get('SearchIcon');
 if (dnn.getVar('SearchIconSelected') == 'S')
 {
      searchIcon.style.backgroundImage=dnn.getVar('SearchIconSiteUrl');
 }
 else
 {
      searchIcon.style.backgroundImage=dnn.getVar('SearchIconWebUrl');
 }
 $addHandler(searchIcon, 'click', toggleDropDown);
 
 var siteIcon = $get('SearchIconSite');
 siteIcon.style.backgroundImage=dnn.getVar('SearchIconSiteUrl');
 $addHandler(siteIcon, 'click', selectSearch);
 $addHandler(siteIcon, 'mouseover', searchHilite);
 $addHandler(siteIcon, 'mouseout', searchDefault);
 
 var webIcon = $get('SearchIconWeb');
 webIcon.style.backgroundImage=dnn.getVar('SearchIconWebUrl');
 $addHandler(webIcon, 'click', selectSearch);
 $addHandler(webIcon, 'mouseover', searchHilite);
 $addHandler(webIcon, 'mouseout', searchDefault);
 
 /* Set the default display style to resolve DOM bug */
 $get('SearchChoices').style.display='none';
}
 
" Microsoft JScript runtime error: Object expected "
I got the above error in search.js file in dotnetnuke folder
 
 
 
Default.vb page
<script type="text/javascript" src="/dotnetnuke/Resources/Search/Search.js" ></script>
<script>dnn.controls.initMenu($('dnn_dnnNAV_ctldnnNAV'));<
and the error in this tag of a Default.vb page of dotnetnuke
If any one know how to fix this error please help
ThanX in advance
nitin
 
New Post
1/9/2009 3:39 AM
 

what is your question here? Are you asking how to run DNN on Vista, or how to view a dnn page with a browser on vista?


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/21/2009 2:43 PM
 

i just installed DNN 4.9 on my local. the site comes up on the browser but everytime i naviaget to a new page within the application i get this runtime error:

Error Message:

Microsoft JScript runtime error: Object Expected

Error Module: Resources/Search/Search.js

Function initSearch()

{

    var searchIcon = $get('SearchIcon');   *** This is line 44 of the module...***

...

}

 

is there a problem with the paths or web.config file. please advise.

 

thx,

robz

 
New Post
2/5/2009 2:23 PM
 

Not just a Vista error.

I am experiencing the same error on XP SP3

 
New Post
2/27/2009 9:56 AM
 

Also experiencing the same issue on a windows 2003 server: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/288921/scope/posts/Default.aspx.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Dnn on vitsaDnn on vitsa


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