virtual directory not being configured as an application in IIS

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.
6/18/2009 6:52:13 PM
Gravatar
Total Posts 3

virtual directory not being configured as an application in IIS

Newb  here, so my apologies in advance.

MySQL 5.1

Used the Web installer to install the latest version of mojoPortal.

Downloaded the MySQL .dll's and put them in the bin directory as directed.

Set my connection string in user.confing

running setup/default.aspx generates the following error ... this is beyond me, so I appreciate any help you can offer.

---------  Actually, this is the second error ... first time true I got the same error  with a different machine key - did some research in the forums here - and used one of the mentioned utilities to generate a new key ... below is the same error with the key that I generated.  The truth is, I don't know if the error message text is even related to the machine key error ... as I said - I'm a newb, and totally lost :(

----------

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: 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.

Source Error:


Line 604:
Line 605: -->
Line 606: <machineKey validationKey="6154629F7FEB194AAEA33C8A4CD1F387CCDAA1D8ADC2C8A9E18B3A371A920C93C22F24A75D2F21DB3AA734ECD42847EB074981E08591103AC8EE9437B56DDB0A"
Line 607: decryptionKey="AC45C89DA994DD282745D1020E0EE5B1601EC84BFCB7B38B"
Line 608: validation="SHA1"

If you need any more info from me, please let me know - thanks in advance!   Rich :)

 

6/18/2009 7:40:46 PM
Gravatar
Total Posts 3

Re: virtual directory not being configured as an application in IIS

Um ... nevermind ... did some more reading ... tried something else ... mucked it up more.

Uninstalled, switching to SQL ... we'll see where I end up.

6/18/2009 9:54:12 PM
Gravatar
Total Posts 3

Re: virtual directory not being configured as an application in IIS

Well, I don't know what went wrong with MySQL ... but I switched to SQL Express and the installation went flawlessly.

Great product so far - sorry I'm so blonde.   LOL

8/10/2009 11:58:19 PM
Gravatar
Total Posts 16

Re: virtual directory not being configured as an application in IIS

Just ran into this issue - the machine key issue I mean -

What happened was that we opened the site for editing using Visual Studio 2008 Express

It prompted, ‘Do you want to upgrade to 3.5’.   Saying yes created a web.config in /Data/Sites/1/skins/CASA – our primary skin.

That web.config was overriding the other web.config in the base directory. Removing it fixed the issue.

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