Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.
If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
You may also want to review the installation or upgrading documentation.
This is weird. On my server which contains an ssl certificate, all of the Mojo menu links look good (https://) when the mouse hovers over the link, but when the link is resolved, the url is rewritten without the "s", i.e. http://
I can log in & out, view members, and do a search. Other than that, all pages are not accessible. It appears that all of the errors are associated with access to the default.aspx.
I've tried fiddling with every web.config setting to no avail. Any ideas?
Thanks Again,
Chuck
Joe,
Thanks - I got the https issue resolved by going into the database and changing the secure flag on each existing page. But my problems contine. I can only get to the home page via the link on the error.htm page. Otherwise IIS returns a server error. I suspect that the problem is somewhere in the web.config because Mojo is configured as an application within another secure .Net website that also requires a login. Any ides?
https://localhost/mojoportal/Secure/Login.aspx?ReturnUrl=%2fmojoportal%2fDefault.aspx
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] mojoPortal.Web.Login.Page_Load(Object sender, EventArgs e) +351 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[NullReferenceException: Object reference not set to an instance of an object.] mojoPortal.Web.Login.Page_Load(Object sender, EventArgs e) +351 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Joe - Thanks for the quick reply. I'm using a release (compiled ) version 1-0-2 mssql rather than the source code and compling it myself so it won't run in studio. I'll play with it some more and will keep you posted.
Greetings,
I'm having the following issue:
I'm having a problem where the website seems to redirect when I try use https://
I have the following settings in the web.config:
<add key="SSLIsAvailable" value="true"/> <add key="SSLIsRequiredByWebServer" value="true"/>
Specifically the site tries to add the virtual subdirectory AGAIN onto the end of the base web and then I receive a 404 page not found
This works:
http://candjventurepartners.com/mojoportal
but this redirects to a NON http and adds the /mojoportal onto the end thus giving a 505
https://candjventurepartners.com/mojoportal
Thanks for any help with this,
Carl
I'm pretty sure this was fixed in mojoPortal version 2.3.7.0. I'd recommend upgrading.
But really, I also recommend install it in the root directly at https://candjventurepartners.com/
instead of in a sub folder.
Hope that helps,
Joe
Okay, I actually made the change to create the site as a root web instead of a virtual directory.
https://candjventurepartners.com
resolves but now immediately redirects to http://candjventurepartners.com
however, https://candjventurepartners.com/Secure/Login.aspx
does NOT exhibit the same behavior and stays with port 443 and encryption.
Here are the settings I'm using:
<add key="AllowPasswordFormatChange" value="true"/> <add key="SSLIsAvailable" value="true"/> <add key="SSLIsRequiredByWebServer" value="true"/> <add key="MaskPasswordsInUserAdmin" value="true"/>
So my question is this normal behavior? And is there another way I need to have all the pages use https.
Thanks!
Yes, its normal behavior. You can either set individual pages to use SSL from Page Settings or you can make all pages use SSL by checking a box in Site Settings.