Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...II'm getting this error when trying to add a thread: "Error: Add/Edit Post is currently unavailable."
Previous
 
Next
New Post
10/12/2006 8:01 AM
 

I have just set up a new DNN site, & whenever someone tries to add a new post, the following error is raised:

An error has occurred.
Error: Add/Edit Post is currently unavailable.

I expect it would do it when trying to edit a post too, but as it's a brand new site, there are no posts to edit.

The only thing I can think of that might contribute to this problem is as follows. The site is to be used in conjunction with a non-DNN site I am developing, which also uses ASP.Net 2.0, & the built-in Membership functionality, using the usual SQLServer provider. In order that users have the same username & password, I have configured the two websites to share the same SQL database. I did this by extracting the Installation ZIP file, then altering some Membership settings in the DNN web.config file (Clear passwords, no Q&A required, use a specific database on my SQL Server etc.), then running the DNN installation, which then populated my database with its data. Then I configured my other website to use the same database. I also set DNN registration to None, to ensure that all users register through the other site (the main site), as anyone can register there, whereas only certain users will be permitted to use the DNN site.

In my other website, I have created a View that shows users from ASP.Net's aspnet_users who do not appear in DNN's Users, with a button that calls the AddUser Stored Procedure to add them to the DNN Users table, followed by the AddUserRole Stored Procedure to add them to the Registered Users role. All by trial & error, but as far as I can tell, the users get set up correctlty.

One other thing - the DNN site actually resides in a subfolder of the main website, which has a Virtual Directory pointing at the folder. That shouldn't matter, should it?

And finally, I noticed on the forums that others have recieved this message in a hosted environment, where the various database objects are not prefixed with dbo. - I can confirm that this is not the case here, as we run our own SQL Server, & all database objects have the dbo. prefix.

So why can't any of them create a new post? I don't think it's got anything to do with the way they were created, as even the Host & Admin accounts cannot create new threads, & of course they were not created by my code.

Any thoughts, questions & suggestions welcomed.

Thanks.

 
New Post
10/15/2006 6:11 AM
 

I've found that if I raise the error as host rather than admin then I get a full stack trace instead of just the error message itself.

Presumably everyone knew that? Well except me of course.

 
New Post
10/15/2006 6:14 AM
 

Underneath the error message is this:

DotNetNuke.Services.Exceptions.ModuleLoadException: The Runat attribute must have the value Server. ---> System.Exception: The Runat attribute must have the value Server. ---> System.Web.HttpParseException: The Runat attribute must have the value Server. ---> System.Exception: The Runat attribute must have the value Server. ---> System.Web.HttpException: The Runat attribute must have the value Server. at System.Web.UI.TemplateParser.ProcessError(String message) at System.Web.UI.TemplateParser.ProcessAttributes(Match match, ParsedAttributeCollection& attribs, Boolean fDirective, String& duplicateAttribute) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

Does that mean anything to anyone?

 
New Post
10/25/2006 3:38 PM
 

Bug in module controls\texteditor.ascx !

 

You must only change  quotation at line #9:

 <td id="celTextEditor" runat="Server">

Thanks for Spankmebandit for post http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/107/threadid/75352/scope/posts/Default.aspx !

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...II'm getting this error when trying to add a thread: "Error: Add/Edit Post is currently unavailable."


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out