Luna
Nuke Newbie Posts:7
|
09/17/2008 10:54 AM |
|
Hello!
I have a dnn installation version 4.05.05 and multiple portals. The first portal is working all right, but when I try to login into another portals I have this error : "A critical error has
occurred. Object reference not set to an
instance of an object."
would you please tell me what would be the problem!!
I appreciate your help
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
09/17/2008 11:05 AM |
|
Have you ever been able to log into the other portals? Is this a user login, or is it an Admin or Host login? You should be able to login to the first portal as Host, and then go to the other portals. Then, you can take a look at their event logs to see if there is more detail available. Alternatively, you can look directly at the EventLog table in your database. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Luna
Nuke Newbie Posts:7
|
09/17/2008 12:00 PM |
|
Thanks for the quick answer!
Is the first time I try to login to the other portals. What I do is login to my main portal as a host an then from there I step into the other portals. But when I try to login or register I have the error.
This is what I get from Event Viewer :
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not
set to an instance of an object. ---> System.NullReferenceException:
Object reference not set to an instance of an object. at
DotNetNuke.Modules.Admin.Users.Profile.Page_Load(Object sender,
EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e) at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
09/18/2008 7:52 AM |
|
That's not a particularly helpful error message! Can you register new users at the other portals? Can you view the other portals? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Luna
Nuke Newbie Posts:7
|
09/18/2008 8:32 AM |
|
I just can log into the first portal I created, and now that I try to log into the other portals I get that error.
I can see the home page of the other portals but can not login nor register. But the first portal which is portal number 0 is working fine with no problems.
Is it posible that the problem comes from the domain configuration of the other portals?
I really appreciate your help.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
09/18/2008 7:53 PM |
|
If you log into the first portal as host, can you then view the other portals as host? If not, I'd be tempted to start over ... |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Luna
Nuke Newbie Posts:7
|
09/19/2008 6:55 AM |
|
I have been testing my portals in local host and I have the same problem. As a host when I log into the first portal and from there I go to the other portals, at first everything looks allright, I can see the home page , admin menu and host menu items, but just when I try to login again I have the Error or when in the admin menu I go to user acount and I try to edit a user I have the same error... I think there is a problem with my profile module, cause I have modified it and I´m not using the DNN userprofile. I think the problem is that my User Profile is just working with my first portal, and when I go to other portals I have the dnn profile module and its not working allright then.
How can I make my other portals use my customized user profile?
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
09/19/2008 7:55 AM |
|
A customized profile will work for only the portal for which it is customized. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Luna
Nuke Newbie Posts:7
|
09/19/2008 10:02 AM |
|
There is no workaround for this issue? So the user acount cant be customized if I want to have multiple portals? This caused a big problem for my project.
thanks for your help anyways |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
09/19/2008 11:52 PM |
|
If you want to have the same user profile across multiple portals, you'll have to set them up on each portal, I think. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|