couldn't install

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.
11/1/2010 6:44:02 AM
Gravatar
Total Posts 2

couldn't install

hi

i tried to install this version on my localhost and runs so nice and good but when i upload it and run it it shows me error messages after i configured web.config and i am using windows server with plesk panel and sql server 2008 and upgrade my framework from 3.5 to 4 and even after this upgrade gave me an error asked me to delete (targetFramework="4.0") from <compilation so i did that and now i am having this error ...

Server Error in '/News' Application.
--------------------------------------------------------------------------------

Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The module was expected to contain an assembly manifest.
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.BadImageFormatException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The module was expected to contain an assembly manifest.

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 

Stack Trace:


[BadImageFormatException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The module was expected to contain an assembly manifest.]
mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) +0


Thank you

11/1/2010 10:22:13 AM
Gravatar
Total Posts 18439

Re: couldn't install

Hi,

The error

Exception Details: System.BadImageFormatException: Could not load file or assembly 'log4net

sounds like a corrupted file, I would try uploading all the files again. Maybe it only uploaded the file partially.

Hope it helps,

Joe

11/1/2010 11:15:25 AM
Gravatar
Total Posts 2

Re: couldn't install

hi joe

now i have this error ...

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
 

11/1/2010 12:07:27 PM
Gravatar
Total Posts 18439

Re: couldn't install

Need to find out what error is happening now. See Basic Troubleshooting.

Make sure if you use the mojoPortal package for .NET 4 that you have also configured your site to use .NET 4. .NET 4 cannot use the same application pool as any .NET 3.5 applications. When you install .NET 4, it does not change configuration on your site to use .NET 4, you ned to do that yourself, it should show a new .NET 4 Application pool and you should use it.

Hope it helps,

Joe

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