mojoPortal.Data loading problem: Access is denied.

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.
3/12/2010 4:48:46 PM
Gravatar
Total Posts 4

mojoPortal.Data loading problem: Access is denied.

I just installed mojo on my server, but I'm getting the following error when trying to access /Setup/Default.aspx:

Server Error in '/' Application.

Could not load file or assembly 'mojoPortal.Data' or one of its dependencies. Access 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.IO.FileLoadException: Could not load file or assembly 'mojoPortal.Data' or one of its dependencies. Access is denied. 

I checked the process permissions for the ASP.NET temp directory, and it seems to be correct. So what else might be the problem?

The server is running Windows Server 2003 SP2 x64, and the database is MySQL. Mojo version is 2-3-3-9.

Thanks in advance!

3/12/2010 9:48:48 PM
Gravatar
Total Posts 3

Re: mojoPortal.Data loading problem: Access is denied.

I am having the same issue.  I am posting to keep uptodate on this thread 

3/13/2010 5:59:34 AM
Gravatar
Total Posts 70

Re: mojoPortal.Data loading problem: Access is denied.

Did you grant read permission on the entire web to the NETWORK SERVICE user and full control on /Data and /App_Data?

Are you sure you have .NET 3.5 SP1 installed and the site is configured for 2.0 not 1.1 .NET?

What actual steps did you do to install it?

Steve

3/13/2010 6:29:28 AM
Gravatar
Total Posts 4

Re: mojoPortal.Data loading problem: Access is denied.

The problem was exactly that: permissions on the files. The whole site was correct, except for the MySQL data layer DLLs. For some strange reason, the permissions on these files were different. I guess it's related to the software that I used to extract those files, or something like that. I can't really find a good explanation.

By the way, initially I thought the problem was IIS 6.0 (running as a 64-bits process) trying to load a 32-bits DLL, but then I realized that that doesn't really matter here, because the .NET framework takes care of that (as long as the correct version of the .NET framework is registered, of course...)

Thanks for your replies!

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