Cannot find the Site Settings link

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/18/2006 6:04:28 PM
Gravatar
Total Posts 8
Cos

Cannot find the Site Settings link

I installed 2.1.5 on IIS under XP.

I am logged in as admin, but i don't find a link to the site setting (say, to change the portal logo, etc.).

My ASPNET user has been setup according to the instructions.

Thanks for the update.

Costantino

P.S.: I am a DNN user, but I liked your idea better also in reference to the Mono support. However, in the DNN vs MP feature list DotNetNuke wins by a very long stretch on documentation. But I'm sure it's a temporary advantage, isn't it?

 

11/19/2006 2:07:03 AM
Gravatar
Total Posts 18439

Re: Cannot find the Site Settings link

Hi Costantino,

The Site Settings should be a menu item beneath Admin menu.
Do you see the Admin menu when logged in as admin?
Did any errors happen during initial setup?

Yes I am making a major initiative on documentation between now and the end of the year. I agree good documentation is very important.

Best Regards,

Joe
11/19/2006 4:13:58 AM
Gravatar
Total Posts 8
Cos

Re: Cannot find the Site Settings link

 

Thanks Joe,

actually the only menus I can see as admin are:

Logged in as Admin: Home | My Profile | Member List | Log Out

and the search.

I don't find any errors and other functions (adding pages, changing pages, etc.) seem to work fine.

Thanks again for the reply

Costantino

11/19/2006 4:31:16 AM
Gravatar
Total Posts 18439

Re: Cannot find the Site Settings link

Hmm, that is strange. The name displayed is a separate cookie from the authentication cookie so the things I can think of as possible causes for this are:

1. You logged in at one time to the db as admin and it set your cookie but now you are using windows authentication. This would be caused by IIS configuration/web.config configuration change after the first login. this possibility seems less likely but possible.

2. An error occurred during initial setup and the Admin and Site Settings pages were not created. This you can rule out by looking in the db and seeing if those pages exist in mp_Pages and verify that they have the correct site id. Also check if somehow there is already more than 1 site in mp_Sites

3. An error occurred during initial setup and the admin user did not get added to the Admins role. This could also be ruled out by looking in the db and verifying that the Admins role exists in mp_Roles and that the admin user id is paired with the admins role id in mp_UserRoles

Can you look at those things and see if we can rule out some of them? IIS should have under Directory Security Allow Anonymous checked and integrated Windows checked, nothing else. Web.config should be fine as long as you didn't change the authentication mode to windows

Hope it helps,

Joe
11/19/2006 4:46:31 AM
Gravatar
Total Posts 8
Cos

Re: Cannot find the Site Settings link

<<2. An error occurred during initial setup and the Admin and Site Settings pages were not created. This you can rule out by looking in the db and seeing if those pages exist in mp_Pages and verify that they have the correct site id. Also check if somehow there is already more than 1 site in mp_Sites>>

That's one: the mp_Pages table only contains the Home page (1 row in the whole table). There's only 1 site in the Sites table.

The Users and Roles are fine (there's only admin for now and it's related to the right role).

IIS looks fine.

Do you think I should rebuild the DB? Is there a prticular reason for the missing page entry in the table.

 

Thank you so much again

Costantino

11/19/2006 4:55:58 AM
Gravatar
Total Posts 18439

Re: Cannot find the Site Settings link

The easiest way to fix it will be to start with a fresh db. I need to add some logging of steps to the setup so we can keep track of what did work and what failed so in the future we can easy proceed after partial setup. This will be coming in a future release.

It would be good if we can figure out what caused it to error out during this setup. You might look in Data/currentlog.config and see if anything useful is there.

One thing I've been wondering about is that I have some message template files that are used during setup to populate some of the pages. Its designed to be localizable or customizable so other companies can create different initial data with their own branding etc. It tries to do resource fallback and use the language specified in browser settings as preferred but fallback to en if there is no file for the specified language. I wonder do you have something other than en-US as your preferred language in the browser? If so it could mean there is a bug when installing with different language settings than en.

Joe
11/19/2006 6:30:21 AM
Gravatar
Total Posts 8
Cos

Re: Cannot find the Site Settings link

No, no localization issues: I'm using the standard US settings...

Interesting though the currentlog.config, there might be something there. Here a snapshot (I took out most of the StackTrace for semplification):

2006-11-11 23:18:15,968 [1916] ERROR mojoPortal.Business.SiteUtils [(null)] - Error trying to obtain siteSettings
System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.

I wouldn't worry about the above: it happened because I think I missed the .\SQLEXPRESS string in the server name...

The ones below, especially those from last night (11/18), might be of interest:

2006-11-11 23:21:40,875 [1916] ERROR mojoPortal.Business.SiteUtils [(null)] - Error trying to obtain siteSettings
System.Data.SqlClient.SqlException: Login failed for user 'mojouser'.
 
2006-11-11 23:22:53,375 [1916] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/Default.aspx

2006-11-11 23:22:53,640 [1916] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/Default.aspx

2006-11-11 23:33:22,437 [3572] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/admin.aspx

2006-11-11 23:34:14,734 [1828] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/Admin/Pages.ascx

2006-11-11 23:37:38,546 [1828] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/LinksEdit.aspx?mid=2&pageindex=&pageid=1
System.IO.IOException: Cannot create directory: C:\Inetpub\wwwroot\mojoweb\Data\Sites\1\index\
  
2006-11-11 23:37:46,875 [1828] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/LinksEdit.aspx?mid=2&pageindex=&pageid=1
System.IO.IOException: Cannot create directory: C:\Inetpub\wwwroot\mojoweb\Data\Sites\1\index\
 

2006-11-18 23:38:06,921 [3556] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/Default.aspx
System.Web.HttpException: Server cannot set status after HTTP headers have been sent.
   at System.Web.HttpResponse.set_StatusCode(Int32 value)
   at Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2006-11-18 23:51:05,312 [3556] ERROR mojoPortal.Web.Global [(null)] - /mojoportal/admin.aspx

I'll go ahead and recreate the db (and make sure the users are there).

I thank you very much for the attention you gave.

Costantino

 

11/19/2006 6:45:17 AM
Gravatar
Total Posts 18439

Re: Cannot find the Site Settings link

Glad to help, just let me know if you run into any more troubles.

Cheers,

Joe
11/19/2006 6:49:34 AM
Gravatar
Total Posts 8
Cos

Re: Cannot find the Site Settings link

Well,

it's not quite over... I'm so sorry.

I clean the db and started a new session.

The site gets created but I get this message:

Cannot create directory: C:\Inetpub\wwwroot\mojoweb\Data\Sites\1\index\ at Lucene.Net.Store.FSDirectory.Create() at Lucene.Net.Store.FSDirectory.Init(FileInfo path, Boolean create) at Lucene.Net.Store.FSDirectory.GetDirectory(FileInfo file, Boolean create) at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create) at mojoPortal.Business.IndexHelper.ReIndex(IndexItem indexItem, String indexPath) at mojoPortal.Business.IndexHelper.ReIndex(IndexItem indexItem) at mojoPortal.Business.IndexHelper.IndexItem(HtmlContent content) at mojoPortal.Business.HtmlContent.Create() at mojoPortal.Business.mojoSetup.CreateHomePage(Int32 siteID, Int32 htmlModuleDefID, Int32 linksModuleDefID, Int32 adminUserID) at mojoPortal.Business.mojoSetup.CreateInitialData() at mojoPortal.Web.SetupHome.btnCreateInitialData_Click(Object sender, EventArgs e)
Which I think might be the root cause. In fact, I have the same symptoms as before. 
Just so you know, I opened up the directory /Data/ to everyone for full control (it's a test machine) before running the scripts...
11/19/2006 7:03:05 AM
Gravatar
Total Posts 18439

Re: Cannot find the Site Settings link

Ok, that error is very clearly a permission error. You don't need to open it up to everyone, just the aspnet user but it is important that when you set the permission on the Data folder it gives this permission recursively to all child objects.

What I would do is remove the aspnet user and start again, add aspnet user back in and give full control as shown:


but before you click OK, click the Advanced button:



and make sure you check the box at the bottom that says "Replace permission entries on all child objects..."

Joe
11/19/2006 7:07:28 AM
Gravatar
Total Posts 18439

Re: Cannot find the Site Settings link

So in follow up I think what happened is the Setup page detected that the Data folder is writable so it allowed you to proceed with setup but because child objects were not writable errors occurred in creating the search index files and this interupted normal creation of default data before it could complete.

I definitely need to implement some handling for this kind of thing so it can recover gracefully and finish creating the data after the problem is corrected.

Joe
5/21/2007 9:20:02 PM
Gravatar
Total Posts 13

Re: Cannot find the Site Settings link

I am having this same problem.

5/21/2007 9:20:15 PM
Gravatar
Total Posts 13

Re: Cannot find the Site Settings link

I am having this same problem.

5/21/2007 9:20:28 PM
Gravatar
Total Posts 13

Re: Cannot find the Site Settings link

I am having this same problem.

5/21/2007 9:20:40 PM
Gravatar
Total Posts 13

Re: Cannot find the Site Settings link

I am having this same problem.

5/21/2007 9:24:25 PM
Gravatar
Total Posts 13

Re: Cannot find the Site Settings link

Sorry about the multiple posts.  Apparently the html editor didn't like me pressing the enter key for some reason.

But back to the problem.  I have re-installed the database and still have the same problem.  I think I have enabled security settings on my data folder.  I am using XP Media edition, so I tried to find out how to do simple file sharing and am not sure i set that up correctly.  I typically have had XP Pro and know how to do it there, but I have this new computer, and not sure I have an XP Pro license lying around.

 

You must sign in to post in the forums. This thread is closed to new posts.