Oops something went wrong!

rated by 0 users
This post has 8 Replies | 2 Followers

Not Ranked
Posts 4
Points 65
theanduman Posted: Mon, May 28 2007 12:08 PM

I receive the following error whenever I try accessing my Files (both from inside the Admin console or from the Downloads tab of my site):

    Oops something went wrong!

        Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.

 

This error occurred after I attempted to re-name an existing File folder from inside the Admin console. I'm guessing that the rename hosed the folder which broke a link to the rest of the File Gallery. I now cannot access the "Manage All Folders" link inside the Admin console. I don't have any files posted, so if I could re-install the Files app, or delete the configuration changes I made (folder name).

Any idea where the folder name I created is stored? I assume it's some sort of XML or CONFIG file?

thanks,

andu


 

Top 10 Contributor
Posts 3,564
Points 53,835
TelligentSupportTeam
In your web.config, find

<customErrors mode="RemoteOnly" defaultRedirect="~/error.htm">

And change mode="RemoteOnly" to mode="RemoteOff"

That will cause community server ot display an error page with a better description of your problem so you can work out what is going wrong.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 4
Points 65

 Thanks for the tip! Here is the error page now:

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>

 

Also, I remembered in the shower this morning, that i was actually updating the URL path of this re-named folder when the entire thing "bombed out". I had renamed the folder, then I thought to myself, 'rather than re-type the URL path of the folder, I'll just clear it out, and I'm sure the system will build it automatically based on the folder name'. Well obviously that was a bad idea. 

Thanks for the help,

andu 

  • | Post Points: 20
Top 10 Contributor
Posts 3,564
Points 53,835
TelligentSupportTeam
Alex Crome replied on Tue, May 29 2007 10:27 AM

Sorry, I made a typo Embarrassed

mode="Off" not mode="RemoteOff"

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 4
Points 65
theanduman replied on Tue, May 29 2007 11:45 AM

 No worries. I appreciate your help. Here is the error message now:

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
CommunityServer.Data.FileGallerySqlDataProvider.GetFolders(Boolean mergePermissions) +365
CommunityServer.Files.Components.Folders.GetFolders(CSContext csContext, Int32 userID, Boolean ignorePermissions, Boolean cacheable, Boolean flush, Boolean ignoreLanguageFilter) +380
CommunityServer.Files.Components.Folders.GetFoldersByGroupID(Int32 groupID, Int32 userID, Boolean ignorePermissions, Boolean cacheable, Boolean flush) +89
CommunityServer.Files.Components.Folders.GetFoldersByGroupID(Int32 groupID, Boolean ignorePermissions, Boolean cacheable, Boolean flush) +45
CommunityServer.ControlPanel.FileAdmin.FolderGroupTreeViewControl.BuildSectionTree(Int32 groupID, Int32 sectionID, TreeViewNodeCollection nodes) +47
CommunityServer.ControlPanel.FileAdmin.FolderGroupTreeViewControl.BuildGroupTree() +654
CommunityServer.ControlPanel.FileAdmin.FolderGroupTreeViewControl.Page_Load(Object sender, EventArgs e) +228
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
 

  • | Post Points: 20
Top 10 Contributor
Posts 3,564
Points 53,835
TelligentSupportTeam

Unfortunately, the customerrors attribute is about the top of my support skills Surprise

As a wild stab in the dark, try creating a new admin user and see if he has the same problems.  At the moment I'm thinking it may be something to do with permissions, although surely then you should get to an access denied page, not an error page.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 12
Points 150
idanz replied on Sat, Jun 9 2007 1:40 AM

I have this problem too.

Somebody from the support team can help us please???

  • | Post Points: 20
Top 10 Contributor
Posts 3,322
Points 73,000
MVPs

Bill Bosacker provided a solution to a problem that sounds a lot like the trouble you're having.  Hope it helps you!

http://communityserver.org/forums/p/485361/574137.aspx#574137 

Regards,
Dave

 

  • | Post Points: 20
Not Ranked
Posts 4
Points 65

That worked Dave. Thanks mucho 

  • | Post Points: 5
Page 1 of 1 (9 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com