Installation problem

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.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

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.

This thread is closed to new posts. You must sign in to post in the forums.
4/4/2006 11:08:53 AM
Gravatar
Total Posts 11

Installation problem

Hi,

I have succufully installed last version of Mojo (2.0.1, Win, MS SQL ) on my machine, but I have a problem with installation on hosting server (Win 2003, MySql). The error is:

Access to the path 'C:\Domains\xyz.hr\wwwroot\Data\Sites\1\themecachedependecy.config' is denied.

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.UnauthorizedAccessException: Access to the path 'C:\Domains\xyz.hr\wwwroot\Data\Sites\1\themecachedependecy.config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

I set write permission for my directory (in Helm control panel).

Could you help me, please?

 


4/4/2006 11:21:57 AM
Gravatar
Total Posts 18439

Re: Installation problem

Hi Ivan,

just as I mentioned on the download page, the Data folder and its children must be writable by the asp.net worker process. Depending on your hoster you may be able to configure that yourself or you may have to ask your hoster to do it. With my hoster (Trendoid) they have Plesk Control panel which allows me to set permissions on web folders. It all depends on how your hoster does things.

Hope it helps,

Joe
4/5/2006 10:54:33 PM
Gravatar
Total Posts 11

Re: Installation problem

Thanks Joe,

but I didn't manage to resolve the problem. My hoster says that Data folder and its children are writable!

What can I do more?

 

4/6/2006 1:32:52 AM
Gravatar
Total Posts 18439

Re: Installation problem

Hi Ivan,

I'm not sure what else to tell you the error is very clear that it is a permission problem. Maybe there are write permissions but not for the correct user that the web process for your site is running on. I know at my host there is a special user created that my site runs as and that is the user that needs permission.

You could try just deleting the cache dependency file that the error is referring to and see if it can re-create it instead. If not it should at least give a little different error saying it can't write to that folder.

Hope it helps,

Joe
4/6/2006 3:00:08 AM
Gravatar
Total Posts 11

Re: Installation problem

Hi Joe,

thanks a lot. I think your last post helped my hoster to solve the problem. They say, only Network service user didn't have write permissions.

Now, it works.

Thank you for an excellent portal.

4/7/2006 7:51:20 AM
Gravatar
Total Posts 11

Re: Installation problem

Hi Joe,

yet another problem. Yesterday, portal worked fine a couple of hours, then I have an error 'Server Application Unavailable'. My hoster noticed there are many "lost data connection" errors in MySql server log. Today, they restarted MySql server and portal worked fine, only for some time. In this moment, portal is out, 'Server Application Unavailable'.

My domain is: www.biosinfo.hr, you can see the error.

Do you have any idea?

Ivan

4/7/2006 11:30:53 AM
Gravatar
Total Posts 18439

Re: Installation problem

I can't tell much from the application error page but there may be more info in the mojoportal error log, should be ~/Data/currentlog.config file

Also what version of MySQL is used at your host? I've only tested locally with 4.x versions of MySQL, I'm not sure what my host uses but I can check with him, its probably 5.x but I'm not sure.

Another factor to consider is whether the hoster has the MySQL Connector for .NET installed in the GAC and if so what version. If not it will use the one in the bin folder but if its in the GAC that will take precedence.

If you can check the log and find out the answers to those questions I'll do anything I can to help.

Cheers,

Joe
4/7/2006 11:39:19 AM
Gravatar
Total Posts 18439

Re: Installation problem

A quick google found this which appears possibly related:

http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

It notes some things that can cause this problem and some possible solutions
4/10/2006 2:38:12 AM
Gravatar
Total Posts 11

Re: Installation problem

Hi Joe,

MySql version is  4.1.15-nt.

~/Data/currentlog.config file is empty.

The error in event log is (according to my hoster):

Aborted connection 217 to db: 'mydbname' user: 'myuser' host: `localhost' (Got an error reading communication packets)

Ivan
4/10/2006 2:56:56 AM
Gravatar
Total Posts 18439

Re: Installation problem

Hi Ivan,

I don't think this is a mojoportal error but probably something releated to MySQL configuration. I find all kinds of reports of this with google searching on "mysql Got an error reading communication"

Here is a relevant link to info on the MySQL site

http://dev.mysql.com/doc/refman/5.0/en/communication-errors.html

It applies to several versions of MySQL including 4.1

Maybe your hoster has too small a limit on the number of connections allowed and is starving the connection pool or some other configuration that is causing this issue.

You did not mention whether your hoster has installed the MySQL connector for .NET in the GAC and if so what version. If it is in the GAC it will not use the version in the bin folder. The one in the bin is working fine on numerous other installations of mojoPortal with MySQL so I'm pretty sure it is good.

Wish I couild be more help but I think the solution lies in configuration of MySQL.

Cheers,

Joe
4/10/2006 11:47:49 PM
Gravatar
Total Posts 11

Re: Installation problem

Hi Joe,

it seems my mojo portal is working without errors (I think, my installation is without errors).

Currently, my hoster put my application in separate application pool.

Thanks for your quick reply. I hope, I will send you my site skin when I finish it.

Ivan

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