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 StartedNew to DNN Plat...New to DNN Plat...Errors on the login pageErrors on the login page
Previous
 
Next
New Post
3/15/2011 1:44 AM
 
Hi, I'm not sure if this is the right forum to be posting this in, but seeing I'm completely new to DNN it seemed like a good place to start.

I'm building a site using DNN, as thats what the company I work for has decided is the Way Of The Future. The other day I, not knowing any better, put an html form into an html module, and things started going wrong. I'm not sure why, I was later told that I can't put forms inside DNN, as it causes all kinds of conflicts and so-forth. As it happened, the first thing that went wrong was I was completely unable to scroll the page that I'd put the form in. Visual Studio would halt everything, exclaiming there was an error in one of dnncore.js' functions - one concerned with scrolling, and the scrollTop deely. I figured that it was most likely the form that had done this, so i deleted the code, and for good measure deleted the page that had held the form.

Now I find myself struggling to actually log in to the site. When i go to the login page, and press any key while focussed on the username or password boxes, Visual Studio halts everything, and pops up login.aspx, saying "Microsoft JScript runtime error: Object expected" on the line "

<div id="dnn_ctr_Login_DNN" onkeydown="return __dnn_KeyDown('13', ' __doPostBack(%27dnn$ctr$Login$Login_DNN$cmdLogin%27,%27%27)', event);">".

I've tried copying dnncore.js from the install package to the js folder in dnn, heck,I've copied all the js files from the install package to there. I've tried copying Default.aspx and Default.aspx.vb to its correct directory, I've even tried turning everything off and on again. Sadly, the backups of my files were done after this all happened, so theyre not much help either.

I have to hang my head and admit, I'm completely stumped, and getting a bit desperate. This is my first time using anything like DNN, and at this point it feels like I'm spending more time fighting it, than actually doing anything constructive with it. This makes me a little sad, as I've read so many good things about DNN.

Ultimately, I'm wondering if anyone has any advice on what to do, how to fix this and how to make sure this never happens again.

Thanks
 
New Post
3/16/2011 11:07 PM
 
Hi Mike,

Sorry your having trouble with your first DNN website.

Can you log in? If so, one thing you could try is to create a new page and then put the log in control on it to see if you can log in using that page. I'm not sure it will work but, it's worth a try. You create a new page using DotNetNuke not VS.  Once the site is installed you shouldn't need to run it in VS at all unless you are making custom pages.  Also under Admin/Event Viewer look for detailed error messages there that might help track down the problem.

If you don't have too much time invested in your project you may want to start with a clean install. Microsoft recently introduced a tool to easily set up and install DotNetNuke on your local machine called WebMatrix. You can download it here. http://www.microsoft.com/web/dotnetnuke/

It is possible to put html forms in DNN here is a blog describing how. http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/45/allowing-html-form-submissions-from-dnn.aspx

The easier way  to create a form would be to purchase a custom forms module from www.snowcovered.com. There are a bunch of them available. Personally I like DataSprings Dynamic Forms Module.

I wish I could help you more. Maybe somebody else will chime in.

HTH

Rich
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Errors on the login pageErrors on the login page


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