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 ...Cannot add user - DNN 6.0.1Cannot add user - DNN 6.0.1
Previous
 
Next
New Post
10/27/2011 11:19 AM
 
Help! My site has been working fine but came to add a new user and for some reason DNN will not let me do so.

I can log on as both admin and host. I inputted all the user details and clicked "Add User" but the user does not appear on the user listing. I have checked various forum threads but none seem to provide a solution.

I have checked my Event Log and there are quite a lot exceptions, all of which provide the following message:-

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: xxxx

UserID: 2

UserName: admin

ActiveTabID: 75

ActiveTabName: Log Viewer

RawURL: /Admin/LogViewer.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.xxxxx

UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 21d47eba-1b6d-4524-beda-1d6dbecb5579

InnerException: Data at the root level is invalid. Line 1, position 1.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Xml.XmlTextReaderImpl.Throw

StackTrace:

Message: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.Entities.Tabs.TabInfo.CheckIfDoctypeConfigExists()

Source:

Server Name: WEBSERVER2

I am guessing from the "inner exception" I have a corrupt web.config file but I have checked it and it "appears" to be OK. The only thing I have noticed is that if the web.config file is downloaded, it is not in the same format as when it was uploaded, i.e. not tabbed and there are some addition square letters in there. I replaced the file via ftp but then could not log on as admin so replaced it again, after which I could log on again.

Has anyone got any ideas? (I am not an expert on DNN so a full explanation would help!)

Thanks in advance!

 
New Post
10/28/2011 1:34 PM
 
i believe it is a skin issue (missing/invalid doctype.xml file)-please see http://www.dotnetnuke.com/Resources/Forums/forumid/108/threadid/433061/scope/posts.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/30/2011 8:49 AM
 
Thanks for your help but still no joy.

I checked the skin doctype.xml and found it only contained the letter "v" so I replaced it with:-


]]>


(This is the same code the other skins use in the same package).

I also set the default doctype to XHTML 1.0 Transitional in Host Setting. Restarted the application and stopped/started the web hosting service.

Tried to add user again but to no avail. Have I missed anything or do you think it could be another issue(s)??

Thanks again.
 
New Post
11/1/2011 8:04 AM
 
make sure not to user whitespace filter or compression in Host Settings.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/1/2011 8:24 AM
 
Thanks for your input Sebastian!

I have checked these and the "Compression Setting" = No Compression and the "Use Whitespace Filter" is unchecked already.

Not sure where I am going from here but thanks again,

Andrew
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot add user - DNN 6.0.1Cannot add user - DNN 6.0.1


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