Hello World Project issue, remote server

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/30/2011 9:49:15 AM
Gravatar
Total Posts 10

Hello World Project issue, remote server

I have been looking at the Hello World project and noticing that it seems to be an example if you were running from your own local machine. And that the server is located on that machine as well. 

I do most of my work on a local machine, but our finished code is moved to a remote machine that runs IIS. 

On that remote machine, I moved the "MyCustomModules" folder into "MyWebSiteFolder" where I have mojo installed. I successfully added the new functions, but when I add them to an existing page (ex. Hidden.aspx), they controls don't show up at all, not even their titles. Am I doing something wrong?

I used the install from this: http://mojoportal.codeplex.com/releases/view/69898

My remote server runs as ASp.NET 2.0

 

8/30/2011 1:04:41 PM
Gravatar
Total Posts 18439

Re: Hello World Project issue, remote server

If it fails to load your custom control it should log something about it in the mojoPortal log under Administration > System Log

Hope that helps,

Joe

8/30/2011 1:28:26 PM
Gravatar
Total Posts 10

Re: Hello World Project issue, remote server

I am using the Controls from the "Hello World" section. I tried watching through the videos to see if there was a difference, but it didn't work. It is code from the tutorial section, not my own.

The Hello World project works on my local machine with the information that is copied from the Tortoise HG provided on this page. Am I missing a build or an item for the /bin/ folder to make it work? The version that is on my server which displays websites is basically only the "Web" folder, which I got from this page.  

This was the in the log:

2011-08-30 11:54:54,712 ERROR mojoPortal.Web.UI.CmsPage - failed to load control MyCustomModules/HelloMojoSiteModule.ascx
System.Web.HttpParseException: Unknown server tag 'portal:OuterWrapperPanel'. ---> System.Web.HttpParseException: Unknown server tag 'portal:OuterWrapperPanel'. ---> System.Web.HttpException: Unknown server tag 'portal:OuterWrapperPanel'.

at System.Web.UI.TagPrefixTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs)
   at System.Web.UI.MainTagNameToTypeMapper.GetControlType2(String tagName, IDictionary attribs, Boolean fAllowHtmlTags)
   at System.Web.UI.MainTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean fAllowHtmlTags)
   at System.Web.UI.RootBuilder.GetChildControlType(String tagName, IDictionary attribs)
   at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
   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.ParseReader(StreamReader reader, VirtualPath virtualPath)
   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.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath)
   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.Compilation.BuildManager.GetVPathBuildResult(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 mojoPortal.Web.UI.CmsPage.LoadPage()

8/30/2011 1:45:25 PM
Gravatar
Total Posts 18439

Re: Hello World Project issue, remote server

Hi,

The Hello World example code was updated for mojoPortal version 2.3.6.7, if you have an older version of mojoPortal it will cause this error. So it sounds like your local machine is running the latest version of mojoPortal but the error indicates that your hosted site is not. The best solution would be to upgrade your hosted site to mojoPortal 2.3.6.7.

Hope that helps,

Joe

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