MojoPortal Setup Error

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.
8/9/2011 11:54:22 AM
Gravatar
Total Posts 18439

Re: MojoPortal Setup Error

Hi Rick,

In 2008/IIS7+ the ApplicationPoolIdentity accounts are hidden accounts that have dynamically assigned SID's (created and assigned when the ApplicationPool is started). But the accounts live as (hidden) users under the IIS_IUSRS group on the local machine.

Give Read/Write permissions for the IIS_IUSRS group to the folder (permissions will inherit down to all folders).

If that doesn't work for you then the easiest thing to do would be to change the identity on the app pool to NETWORK SERVICE and then give that user the permissions.

Hope that helps,

Joe

 

8/9/2011 11:57:45 AM
Gravatar
Total Posts 22

Re: MojoPortal Setup Error

Sorry to bother you Joe....I researched and found them myself.  I am a novice to this stuff, and it's first time for me.  I was able to apply the permissions, and I think I was able to modify the user.config correctly.

 

Now when I try to access the site, I get HTTP Error 500.19 Internal Server error

 

Internet Information Services 7.5
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070032
Config Error The configuration section 'system.serviceModel' cannot be read because it is missing a section declaration 
Config File \\?\C:\inetpub\wwwroot\Domain\web.config
Requested URL http://Domain:80/
Physical Path 
Logon Method Not yet determined
Logon User Not yet determined
Config Source
1143:   </system.web.extensions>
1144:   <system.serviceModel>
1145:     <services>

8/9/2011 12:06:38 PM
Gravatar
Total Posts 18439

Re: MojoPortal Setup Error

Make sure you are using a .NET 4 application pool. If all else fails you can comment out or remove the entire <system.serviceModel section, it is only needed for things like being able to authenticate from a Silverlight app, since we don't ship any Silverlight apps in mojoPortal that use it, it really isn't needed.

Actually in the 2.3.6.7 release of mojoPortal this should already be commented out.

Hope that helps,

Joe

8/9/2011 12:13:47 PM
Gravatar
Total Posts 22

Re: MojoPortal Setup Error

I'm using ASP.net 3.5.1  Looking at the Application Pool, it only gives me two choices.  No Managed Code and >Net Framework v2.0 50727

8/9/2011 12:16:51 PM
Gravatar
Total Posts 18439

Re: MojoPortal Setup Error

ok, just remove that section

8/9/2011 12:20:38 PM
Gravatar
Total Posts 22

Re: MojoPortal Setup Error

It's already commented out in web.config.

8/9/2011 12:23:40 PM
Gravatar
Total Posts 22

Re: MojoPortal Setup Error

I'm missing something somewhere because I had a site set up on this server before and it worked fine.  I don't think you actually have to create a DB and DB user for SQLite, as it's already done for you....correct?

 

This is a rebuild so, I'm not sure what step I may have left out. 

8/9/2011 12:41:36 PM
Gravatar
Total Posts 18439

Re: MojoPortal Setup Error

are you sure you installed SP1 for .NET 3.5?

Note that to use Sqlite you'll need to edit the advanced propertieson the applicaiton pool and set Enable32BitApps = true because the sqlite3.dll is a 32 bit dll

Hope that helps,

Joe

8/9/2011 1:12:06 PM
Gravatar
Total Posts 22

Re: MojoPortal Setup Error

Could IIS 7.5 be messing me up?

8/9/2011 1:30:47 PM
Gravatar
Total Posts 18439

Re: MojoPortal Setup Error

if its already commented out it should not give that error, maybe thats an older error I would look for other errors.

This is suspiciously similar to the 9th and 10 items in our FAQ, but it isn't complaining about the same section.

My question for you is why are you using .NET 3.5? For any new site I can't see any reason to use it. .NET 4 has been out a long time now and we won't continue supporting .NET 3.5 forever and there are many benefits to using .NET 4. I would install .NET 4 and start over with the mojoPortal package for .NET 4. I also don't see any benefit to using Sqlite, if you want a file based database then SQL CE is a better choice and performs better and also using that at least you have the potential to easily migrate to SQL Server later.

Hope that helps,

Joe

8/9/2011 1:31:39 PM
Gravatar
Total Posts 18439

Re: MojoPortal Setup Error

although actually any typo in Web.config could cause that error and the message could be misleading

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