Runtime error in multiple site

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.
2/23/2011 11:38:21 AM
Gravatar
Total Posts 21

Runtime error in multiple site

Hi I am receiving runtime error after creating folder based multiple site

 

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>

2/23/2011 11:45:00 AM
Gravatar
Total Posts 18439

Re: Runtime error in multiple site

Start with basic troubleshooting

http://www.mojoportal.com/basic-troubleshooting.aspx

Hope it helps,

Joe

2/26/2011 6:34:28 AM
Gravatar
Total Posts 21

Re: Runtime error in multiple site

hi Joe,

I have done all the basic trouble shooting steps. Still i am receiving error message...

My subdomain links are

http://www.domain.info/en/

http://www.domain.info/ta/

 

Regards,

B.Ramesh Karthik

 

2/26/2011 7:33:50 AM
Gravatar
Total Posts 18439

Re: Runtime error in multiple site

mojoPortal's multi site hosting does NOT require you to install additional copies of mojoPortal files.

C:\Inetpub\vhosts\madurantakam.info\httpdocs\ta\web.config

Your error indicates you have a web.config file under the folder sites, so you must have installed mojoPortal in the /en folder and in the /ta folder, but that is not how you setup folder based child sites.

So your additional (and uneeded) installations of mojoPortal below the root site are getting Web.config conflicts as mentioned in the developer FAQ

http://www.mojoportal.com/developer-faq.aspx

You "can" install multiple copies like that and you can mitigate the web.config issues as discussed in the FAQ, but that is using different installations for each site, the whole idea of mojoPortal's multi site support is you don't have to do that, you can run all the sites from the same installation.

I recommend read the documentation carefully

http://www.mojoportal.com/muliplesites.aspx

http://www.mojoportal.com/multiplesitesbasedonfoldernames.aspx

Hope it helps,

Joe

 

2/26/2011 8:41:15 AM
Gravatar
Total Posts 21

Re: Runtime error in multiple site

Hi joe,

Thank u...

I have done a mistake. Instead of creating a folder and mapping i have created a subdomain with folder and mapped to multiple site.

now i have deleted only web.config file now the site is working.

Regards,

Ramesh Karthik.B

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