Fresh Installation causing server errors.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/28/2012 12:04:31 PM
Gravatar
Total Posts 18439

Re: Fresh Installation causing server errors.

I have no idea why it would only happen for 1 host name and not the other. If it was working before and the error started I would suspect that file system permissions changed on the /Data folder or if the other host name is using a different app pool user then that user would also need write permission on the /Data folder.

Hope that helps,

Joe

10/28/2012 12:34:27 PM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

OK. Thanks Joe. I've checked with Pipeten & permissions haven't changed & the web.config is still correct.

The only solution that I can think of for now is to put:  <add key="IsSearchIndexingNode" value="false"/> into the config file (as mentioned as an earlier fix in the post that you linked to) to prevent the errors caused by the xmlserializer... Obviously this will stop the indexing working as designed...

I'm worried that the alternative is having my domain frozen again for causing too many errors.

Thanks again for your help.

Craig

 

10/28/2012 1:51:28 PM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

Hi Joe,

I've checked with Pipeten again & they assure me that I have full write permissions over all my folders. Despite this my currentlog.config file is still empty.& showing as 0 b... confused!

Craig

10/28/2012 2:02:38 PM
Gravatar
Total Posts 18439

Re: Fresh Installation causing server errors.

Well they may think the file permission is correct but it is not. If it were there would be at least applicaiton start and end events logged.

10/29/2012 1:05:21 PM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

Hi Joe. I've hit a bit of a brick wall!

Pipeten assure me that my file permissions are correct and yet the currentlog.config is still completely empty!

Is there an easy way that I can prove that it's not working OK? ie Is there a way of initiating an event to be written to the log so that I can prove to them that it doesn't get written? It's strange, because when making a new site both sites 2 & 3 have been written to the /Data/Sites/ folder fine, so that must have been writable... so why not the log?!

Thanks,

Craig

10/29/2012 1:16:31 PM
Gravatar
Total Posts 18439

Re: Fresh Installation causing server errors.

If it fails to write to the log it is very clearly not able to. You could try deleting the currentlog.config file if permissiosn are correct it will be re-created.

You could also try enabling logging to the database, but it is definitely not able to write to that log file or it would regardless of what any tech support person says, there is no other explanation for it not logging.

10/30/2012 4:30:58 PM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

Hi Joe,

Support at Pipeten wrote the following back to me:

The shared application pool runs with network service identity and identity impersonate. I have enabled modify permissions for network service to the Data folder but I cannot get it to generate a log by visiting the website"

I wondered also if it was related to the "xmlSerializer tempFilesLocation" setting and possible directory traversal problems (no permission on H:) so changed it to "\Data" from "H:\hshome\username\domain_name\Data" and that seemed to have started working (as in the log is being generated)...

The site generally runs OK, but every now & then, often when just navigating around the Administrator pages,  I get the custom error page saying that a server error has occurred.

I'm getting some content in the log now, but I'm still not sure that it's getting everything.

The only content in the currentlog since last night is:

2012-10-29 21:34:42,712 INFO 2012-10-29 21:34:42,946 ERROR 2012-10-29 21:59:25,735 INFO 2012-10-29 22:45:29,480 INFO 2012-10-29 23:33:29,196 INFO 2012-10-30 01:08:45,369 INFO 2012-10-30 02:13:26,518 INFO 2012-10-30 04:13:13,469 INFO 2012-10-30 04:13:13,952 ERROR 2012-10-30 04:53:27,756 INFO 2012-10-30 05:45:59,241 INFO 2012-10-30 05:45:59,709 ERROR 2012-10-30 05:51:13,084 ERROR 2012-10-30 06:13:25,847 INFO 2012-10-30 06:35:33,166 INFO 2012-10-30 06:35:33,681 ERROR 2012-10-30 06:48:00,115 ERROR 2012-10-30 07:33:27,683 INFO 2012-10-30 08:57:04,925 INFO 2012-10-30 10:13:28,219 INFO 2012-10-30 11:54:21,650 INFO 2012-10-30 11:54:22,851 ERROR 2012-10-30 12:37:03,077 ERROR 2012-10-30 12:48:36,517 ERROR 2012-10-30 12:53:27,319 INFO 2012-10-30 13:41:51,839 INFO 2012-10-30 13:41:52,276 ERROR 2012-10-30 13:41:52,572 INFO 2012-10-30 13:59:44,892 ERROR 2012-10-30 14:13:27,392 INFO 2012-10-30 14:24:05,186 INFO 2012-10-30 14:24:05,732 ERROR 2012-10-30 15:33:28,900 INFO 2012-10-30 15:56:03,675 INFO 2012-10-30 15:56:04,283 ERROR 2012-10-30 15:58:44,777 ERROR 2012-10-30 16:11:10,821 ERROR 2012-10-30 16:31:33,463 ERROR 2012-10-30 16:53:26,601 INFO 2012-10-30 16:53:54,385 INFO 2012-10-30 17:17:44,431 ERROR 2012-10-30 17:21:58,509 ERROR 2012-10-30 17:22:00,225 ERROR 2012-10-30 17:22:02,019 ERROR 2012-10-30 17:55:47,427 ERROR 2012-10-30 18:13:28,686 INFO 2012-10-30 19:13:28,487 INFO 2012-10-30 19:13:29,002 ERROR 2012-10-30 19:33:26,856 INFO 2012-10-30 19:53:08,408 INFO 2012-10-30 19:53:08,985 ERROR 2012-10-30 20:53:28,005 INFO

Does this give any clues?

Thanks,

Craig

11/5/2012 9:45:28 AM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

Hi. Since my previous post my 'clean' install of mojoPortal has continued to produce errors. The system log is showing errors, but they don't appear to be like what I'd expect having read the documentation at http://www.mojoportal.com/mojoportal-system-log.aspx. In fact, the only content that I'm getting really isn't helping much:

2012-11-03 08:34:31,820 INFO 2012-11-03 10:44:31,902 INFO 2012-11-03 10:44:32,791 ERROR 2012-11-03 11:14:01,827 INFO 2012-11-03 11:26:45,155 INFO 2012-11-03 11:26:46,029 ERROR 2012-11-03 12:34:01,681 INFO 2012-11-03 14:56:55,122 INFO 2012-11-03 14:56:56,323 ERROR 2012-11-03 15:14:08,285 INFO 2012-11-03 16:01:41,294 INFO 2012-11-03 16:01:41,949 ERROR 2012-11-03 16:34:00,807 INFO 2012-11-03 17:47:11,830 INFO 2012-11-03 17:51:18,561 ERROR 2012-11-03 17:54:01,956 INFO 2012-11-03 19:49:26,342 INFO 2012-11-03 19:49:27,465 ERROR 2012-11-03 20:14:39,286 ERROR 2012-11-03 20:34:03,116 INFO 2012-11-03 21:26:21,544 INFO 2012-11-03 21:26:22,277 ERROR 2012-11-03 21:54:03,236 INFO 2012-11-03 22:46:28,746 INFO 2012-11-03 22:46:29,511 ERROR 2012-11-03 22:52:54,178 ERROR 2012-11-03 23:14:02,372 INFO 2012-11-03 23:16:00,044 INFO 2012-11-03 23:16:00,559 ERROR 2012-11-04 00:34:02,523 INFO 2012-11-04 00:57:48,325 INFO 2012-11-04 01:07:02,613 ERROR 2012-11-04 01:11:15,225 ERROR 2012-11-04 01:54:02,861 INFO 2012-11-04 02:27:10,376 INFO 2012-11-04 02:27:11,047 ERROR 2012-11-04 02:29:58,327 ERROR 2012-11-04 02:49:39,145 ERROR 2012-11-04 02:51:05,008 ERROR 2012-11-04 03:14:03,776 INFO 2012-11-04 05:47:11,892 INFO 2012-11-04 05:54:03,937 INFO 2012-11-04 06:54:43,987 INFO 2012-11-04 06:54:44,486 ERROR 2012-11-04 07:14:02,981 INFO 2012-11-04 07:55:13,693 INFO 2012-11-04 08:34:03,209 INFO 2012-11-04 13:46:06,496 INFO 2012-11-04 13:54:04,826 INFO 2012-11-04 18:52:12,868 INFO 2012-11-04 18:52:14,163 ERROR 2012-11-04 19:14:06,443 INFO 2012-11-04 19:59:50,735 INFO 2012-11-04 20:05:13,408 ERROR 2012-11-04 20:16:52,635 ERROR 2012-11-04 20:34:07,577 INFO 2012-11-04 21:36:30,509 INFO 2012-11-04 21:36:31,102 ERROR 2012-11-04 21:54:05,606 INFO 2012-11-04 23:37:53,229 INFO 2012-11-04 23:37:53,743 ERROR 2012-11-05 00:34:03,817 INFO 2012-11-05 03:54:49,591 INFO 2012-11-05 04:34:05,065 INFO 2012-11-05 11:32:53,644 INFO 2012-11-05 11:32:54,923 ERROR 2012-11-05 11:32:56,405 ERROR 2012-11-05 11:32:56,702 INFO 2012-11-05 12:34:10,931 INFO 2012-11-05 12:57:58,574 INFO 2012-11-05 12:57:59,291 ERROR 2012-11-05 12:58:03,301 ERROR 2012-11-05 13:54:10,021 INFO 2012-11-05 14:33:04,264 INFO 2012-11-05 15:14:10,109 INFO

Does this look like the normal content of the system log? I'm wondering whether there might still be permission related problem...

Regards,

Craig

11/5/2012 10:00:07 AM
Gravatar
Total Posts 18439

Re: Fresh Installation causing server errors.

Its not normal, I've seen that happen before but its been a while and in my previous encounter with that problem I found a configuration solution. I have no idea why it happens at your hosting though. I would try logging to the database and see if that changes anything, if not then you could try modifying the log4net.config file pattern as mentioned in my post about it.

Hope that helps,

Joe

11/5/2012 11:18:13 AM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

Brilliant! Thanks Joe.

I tried changing the log4net.config settings to <conversionPattern value="%date %level %logger - %message %newline" /> as described in your link & it seems to have solved the problem!

The next line in the system log was:

11-05 16:43:58,820 INFO 2012-11-05 17:01:55,851 INFO mojoPortal.Web.Global - Application Started.

Hopefully this is the problem sorted, but if not at least I'm getting meaningful error messages!

I'll let you know how it goes after it's been running for a while.

Regards,

Craig

11/5/2012 12:29:59 PM
Gravatar
Total Posts 40

Re: Fresh Installation causing server errors.

OK. Now that I can see the errors OK, it seems that the problem is a googlebot searching the site & not finding a handler.ashx file:

2012-11-05 18:05:41,136 ERROR mojoPortal.Web.Global - 66.249.76.229 /Handler.ashx?PhotoID=424&Size=L&Dir=~/Albums&File=%5C21%5C424.jpg Referrer(none) useragent Googlebot-Image/1.0
System.Web.HttpException (0x80004005): The file '/Handler.ashx' does not exist.

A bit of searching has found similar issues with the mapping of various 'handler' files in the web.config, but I can't find a reference to this one. Any ideas? - I think I'm getting to the bottom of the problems!

Craig

 

 

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