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!