Unable to see my custom module

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.
1/13/2011 2:50:01 PM
Gravatar
Total Posts 39
Hello from France!

Unable to see my custom module

Hello !

I built a custom module (named KSearchEngine) that works very well on the development version on my PC.
I now use it on my site (www.esoft-demos.fr)
I copied D:\myCodePlex\mojoPortal\Web\KSearchEngine\ in root of my site (which contains KSearchEngineModule.aspx)

I copied KSearchEngine.Business.dll, and KSearchEngine.Data.dll KSearchEngine.UI.dll in root \ bin \

Then, on MojoPortal as admin, I added functionality with:
Source: KSearchEngine/KSearchEngineModule.ascx

Then I created a new page and new content TestPage KSearchEngine

When I call TestPage page from the menu, the page appears blank. I have no errors, but I see nothing. I do not see the title of my content instance.

Forgot something?


Thank you for helping me.

 

1/13/2011 3:11:18 PM
Gravatar
Total Posts 550

Re: Unable to see my custom module

Hi ,

If you use any .resx files , copy those to [YourSiteRoot]/App_GlobalResources.

Hope Helps,

Asad,

1/13/2011 3:21:54 PM
Gravatar
Total Posts 39
Hello from France!

Re: Unable to see my custom module

Thanks Asad

Yes, I did it, but I do not always show my module.

You can verify this at http://www.esoft-demos.fr/ksearchengine.aspx

It run correctly on my local PC. What's happend.

Thank for help me.

Christian

 

1/13/2011 3:28:07 PM
Gravatar
Total Posts 550

Re: Unable to see my custom module

Hi Christian,

The the default page if can't load a module  instance , don't display an error to user an this is normally. You can cleat system log in administration menu  and then load your pages agin , so see the real error .

hope Helps,

Asad

 

1/13/2011 3:53:13 PM
Gravatar
Total Posts 39
Hello from France!

Re: Unable to see my custom module

Good idea. I do not know the log file.

It gives me a better idea now:
 

2011-01-13 22:37:46,849 ERROR mojoPortal.Web.UI.CmsPage - failed to load control KSearchEngine/KSearchEngineModule.ascx

System.Web.HttpCompileException (0x80004005): C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\6468bc7a\b2bc0684\App_Web_ksearchenginemodule.ascx.f3207536.dhspqbsw.0.vb(86): error BC32206:
The project currently contains references to more than one version of mojoPortal.Web.Controls,
a direct reference to version 1.0.4001.14108
and an indirect reference (through 'KSearchEngine.UI.KSearchEngineModule.ctop1') to version 1.0.4030.37713.
Change the direct reference to use version 1.0.4030.37713 (or higher) of mojoPortal.Web.Controls.

at System.Web.Compilation.AssemblyBuilder.Compile()
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, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at mojoPortal.Web.UI.CmsPage.LoadPage()

 

My local PC run v2.3.5.8 and the site is v2.3.5.8 too.

What's the best idea? I cleaned and recompiled my dev project et updated all the files to the site: always the same error.

A Idea?

 

 

1/16/2011 8:19:15 PM
Gravatar
Total Posts 39

Re: Unable to see my custom module

When you updated your server did you also update your mojo portal?

Maybe there is a different version of mojoPortal.Web.Controls.dll on the server and on your PC.

 

1/23/2011 11:10:13 AM
Gravatar
Total Posts 39
Hello from France!

Re: Unable to see my custom module

I rebuilt the entire solution and I sent the entire contents of mojoPortal.Web directory to my website. Now I have no problem version and everything works fine.
Thank you

Christian
 

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