After upgrading my hosted CS 2.1 Beta 2 site to CS 2.1 RTM I get the following error on the default.aspx page
Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'ActivePosts' could not be found (are you missing a using directive or an assembly reference?)Source Error:Line 14: UsersOnline.SetLocation("Home" Line 15: MyForums.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 16: ActivePosts.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 17: UnansweredPosts.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 18: AggregateGalleryPosts.Visible = ApplicationSet.Applications[ApplicationType.Gallery].Enabled; Source File: D:\inetpub\communityserver\Default.aspx Line: 16 First I used a slightly modified default.aspx, but reverted to the original that came with the release when I saw this error. Still I get the same error.I saw some thread about clearing the ASP .NET cache on the server, but since I am on a hoster, I cannot. Have tried touching the web.config to restart the app, but with the same error.I am running on ASP .NET 1.1 for this site.Any hint on where I could start troubleshoot?
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'ActivePosts' could not be found (are you missing a using directive or an assembly reference?)Source Error:Line 14: UsersOnline.SetLocation("Home" Line 15: MyForums.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 16: ActivePosts.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 17: UnansweredPosts.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 18: AggregateGalleryPosts.Visible = ApplicationSet.Applications[ApplicationType.Gallery].Enabled;
Line 14: UsersOnline.SetLocation("Home" Line 15: MyForums.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 16: ActivePosts.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 17: UnansweredPosts.Visible = ApplicationSet.Applications[ApplicationType.Forum].Enabled; Line 18: AggregateGalleryPosts.Visible = ApplicationSet.Applications[ApplicationType.Gallery].Enabled;
Source File: D:\inetpub\communityserver\Default.aspx Line: 16
First I used a slightly modified default.aspx, but reverted to the original that came with the release when I saw this error. Still I get the same error.
I saw some thread about clearing the ASP .NET cache on the server, but since I am on a hoster, I cannot. Have tried touching the web.config to restart the app, but with the same error.
I am running on ASP .NET 1.1 for this site.
Any hint on where I could start troubleshoot?
OK, my message got tripled, I didn't do that.
Anyway, the problem could be, that on my custom default.aspx, I had removed the controls for i.e Active Posts. Removing the Java script line for it and other controls I had removed from my custom default.aspx, seemed to solve the problem.
When I got the problem with the original default.aspx, could of course have been a cache issue. I don't know.
Not after I deleted the Java script lines for the controls that I had removed from the page. I haven't tried the original default.aspx after that, as I also believe it was a caching issue.
Could try if you want?
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com