error on default.aspx

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.
7/27/2006 9:45:00 AM
Gravatar
Total Posts 27
~~~~~~~~~~~~~~

error on default.aspx

Although I had installed a MojoPortal before I am running into problems with my second installation on a different website.

I receive this error when running the default.aspx:

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>

Server Error in '/' Application.

Runtime Error

 

 

I dont get it what i am doing wrong. I suspect it is the webconfig or the database?

 

Thanks

Roger

7/27/2006 9:48:55 AM
Gravatar
Total Posts 18439

Re: error on default.aspx

Hi Roger,

That error is not telling us anything useful. If you change the setting in Web.config to:
<customErrors mode="Off" />
Then it should show a more meaningfull error message.

You may also be able to get the error message from ~/Data/currentlog.config

Hope it helps,

Joe
7/27/2006 9:53:01 AM
Gravatar
Total Posts 27
~~~~~~~~~~~~~~

Re: error on default.aspx

So you are fast!

customError mode="off"  (I already did that, and the above message is the result of mode="off" or mode="RemoteOnly")

the currentlog.config has the create date of the moment I copied it. That date does not change, so I guess the Data directory is not writable

 

Roger

7/27/2006 10:07:49 AM
Gravatar
Total Posts 18439

Re: error on default.aspx

> Data directory is not writable

yes and that is the error, or at least an error


Joe
7/31/2006 11:30:58 PM
Gravatar
Total Posts 27
~~~~~~~~~~~~~~

Re: error on default.aspx

Now I am confused.

Instead of the error message I mentioned earlier in this post I now get this:

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.


The provider moved the website to another server.

I checked that

-ASP.NET 2 is installed

-the DNS record is correct

-the database is working via SQL2005 manager

-all the files are uploaded

-according to the website settings the website has write access

-the webconfig has the correct database login details.

 

Is there something i forget?

Thanks

 

8/1/2006 3:29:37 AM
Gravatar
Total Posts 18439

Re: error on default.aspx

If its not updating ~/Data/currentlog.config then the folder is not writable. If it is writable then you should be able to see the error in currentlog.config

Also your host should see the error in the Application Event Log on the server. Without knowing the error I cannot help, though I am pretty sure the error is that it cannot write to things it needs to write to like the error log, cachedependency files, search index etc.

I know in my hosting environment I use the Plesk control panel but its not dependable to go by folder permissions indicated there.

Hope it helps,

Joe
8/1/2006 9:58:11 PM
Gravatar
Total Posts 27
~~~~~~~~~~~~~~

Re: error on default.aspx

out of nowhere the portal works....

well, I didn't do anything about it

thanks for your help, Joe

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