Problem with instalation

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/7/2007 3:50:09 PM
Gravatar
Total Posts 1

Problem with instalation

I have a problem with instalation Mojoportal (on MS Windows 2003 server, DB server MSSQL server 2000).

All files of application are in the wwwroot directory. Setting security of IIF (according to guide) is done to. But the appliacation in MS IE displays following message: "A problem with web.config file ... the fault is in row no. 23". And this line is highlighted (in a red col.): <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

Please, is there anybody who knows what a problem is?

 

11/7/2007 4:12:04 PM
Gravatar
Total Posts 18439

Re: Problem with instalation

My best guess is you have the site configured for 1.1 .NET instead of 2.0 .NET. The footer of your error should indicate the .NET version.

System.Web.Extensions.dll should be in your siteroot/bin folder, its the MS AJAX Extensions library for 2.0 .NET.

mojoPortal needs 2.0 .NET

Hope it helps,

Joe

11/22/2007 3:31:21 AM
Gravatar
Total Posts 3

Re: Problem with instalation

Hello!

can anyone help me whit this script

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

 

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

 

11/22/2007 3:34:23 AM
Gravatar
Total Posts 3

Re: Problem with instalation

Hello!

can anyone help me whit this script

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

 

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

 

11/22/2007 8:58:41 AM
Gravatar
Total Posts 18439

Re: Problem with instalation

If you want to see the real error, edit the Web.config file with a text editor.

Find this <customErrors mode="RemoteOnly"/>

and change it to this

<customErrors mode="Off"/>

then it will show the true error message which will be helpful in figuring out what is wrong.

Hope it helps,

Joe

12/3/2007 4:56:51 AM
Gravatar
Total Posts 3

Re: Problem with instalation

Hello!

Do any now what this is:


Line 359: -->
Line 360:
Line 361: <machineKey
Line 362: validationKey="00D550C22F4C0C5F42FBBDCABF8FCB1B1D3F19CDE656139EB740ECDA32A5B8D49D2F3EA9EB06E416521B5AF72EEBC606503B2E10D1BA7FC4AF1397A4C0139974"
Line 363: decryptionKey="EFF08CB3637258A9C33650CC1C5D10ACD1FC88DCEDE6D7B5"
 

 

Source File: c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config Line: 361

 

Show Additional Configuration Errors:


Unrecognized element. (c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config line 365)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config line 449)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config line 481)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config line 488)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config line 669)
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (c:\webs\talkactive\wno114835\hjernebarna.no\web\web.config line 684)

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

12/3/2007 6:31:09 AM
Gravatar
Total Posts 18439

Re: Problem with instalation

Hi,

The error is most likely happening because you are running mojoPortal in a sub folder instead of as a root site and the root site above it also has a Web.config file which conflicts.

You can safely comment out the machine key in most cases. However if you are going to use encrypted passwords its best if the machine key is there because it is used in encrypting things and if it changes you will not be able to decrypt.

If you comment this out you still may encounter other conflicts due to the Web.config file living in the folder c:\webs\talkactive\wno114835\hjernebarna.no, so its best if you can remove that file or move mojoPortal up to that folder.

Hope it helps,

Joe

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