Not able to run mojoportal from code

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.
9/29/2008 5:52:53 AM
Gravatar
Total Posts 4

Not able to run mojoportal from code

Hi

I am not able to run mojoportal from code. I am getting server application error. Could anyone please help me know why it is happening?

9/29/2008 5:54:03 AM
Gravatar
Total Posts 4

Re: Not able to run mojoportal from code

I am getting ""CS0101: The namespace 'Resources' already contains a definition for 'Resource' error.
 

9/29/2008 6:31:56 AM
Gravatar
Total Posts 18439

Re: Not able to run mojoportal from code

Is your machine up to date on all service paks and windows updates?

9/29/2008 6:59:59 AM
Gravatar
Total Posts 4

Re: Not able to run mojoportal from code

Yes,I believe.

I have Windows Server 2003 installed with service pack 1. Please let me know if I need to upgrade it further to any new service pack.

thanks

Vijay

9/29/2008 7:10:44 AM
Gravatar
Total Posts 18439

Re: Not able to run mojoportal from code

If you just run windows update it will find all needed updates. Install all windows updates especially anything related to .NET.

I think the problem on your system is it is not up to date so it doesn't recognize updated culture names as described in this blog post:

http://blogs.msdn.com/bclteam/archive/2007/07/12/new-net-2-0-security-patch-changes-some-culture-names-on-windows-xp-2003-2000-justin-van-patten.aspx

If your system is not up to date it will not recognize the culture zh-hant and this will cause the error you are seeing.

So there are 2 possible ways to fix it, the best way is to update your system so it recognizes the new culture names.

If that fails you can delete the file Web/App_GlobalResources/Resource.zh-hant.resx or rename it to Resource.zh-CHT.resx (which is the old name)

Hope it helps,

Joe

9/29/2008 7:29:47 AM
Gravatar
Total Posts 4

Re: Not able to run mojoportal from code

Thanks a lot Joe. it has started working....

One question more ?

Why do I need user.config file? Is it compulsory or Optional?

Many Thanks

Vijay

9/29/2008 7:32:06 AM
Gravatar
Total Posts 18439

Re: Not able to run mojoportal from code

Its optional but highly recommended so you don't lose customizations on upgrades and to avoid svn conflicts if working with code from svn.

more info here: http://www.mojoportal.com/webconfig.aspx

Hope it helps,

Joe

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