Configuration 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.
12/17/2007 3:04:01 PM
Gravatar
Total Posts 3

Configuration problem

Hi,

I was editing my web.config to change the email settings; I was trying to resolve a "551 Sender address is not valid for your login. Check your email program settings." error.

Since changing the email addresses (as per installation help pages) I've got a much bigger problem.  The site just shows the error page and the log has the following messages now:

System.Configuration.ConfigurationErrorsException: 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. (D:\xxxxxxxxxxx\httpdocs\data\web.config line 361)

The section of web.config referred to is:

<machineKey
validationKey="55BA53B475CCAE0992D6BF9FE463A5E97F00C6C16DA3D7DF9202E560078AB501643C15514785FEE30FEF26FC27F5CE594B42FFCA55452EF90E8A056B4DAE9F39"
decryptionKey="939232D527AC4CD3E449441FE887DA110A16C1A36924C424CBAAE3F00282436C"
validation="SHA1"
decryption="AES"/>
 

I guess I've borked something somewhere in my web.config, but don't know where to look.  Can anyone advise me please ?

 

Thanks

12/27/2007 7:44:32 AM
Gravatar
Total Posts 18439

Re: Configuration problem

Hi,

Sorry for the delay in responding. Had some email configuration issues myself on this site and did not get notification for this post and then was out of town for the holidays.

Its posible that you accidently removed a clsoing tag or somethign while editing the Web.config. I would back it up and then restore the original from the download and then make sure it works before editing it again.

Another thing that can cause this type of error is if you have mojoportal installed in a sub folder and there is also a Web.confg file in the folder above it. For example if you have it running under localhost/mojoportal and there is another web.config file in the folder corresponding to localhost it can cause conflicts.

The orignal error may have been caused by the sender/return address of the message not being alloowed by your smtp server. So you need to make sure the default from address is from the correct domain.

Hope it helps,

Joe

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