resource name exist

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/23/2008 3:35:13 AM
Gravatar
Total Posts 26

resource name exist

hi

this is viren here..hi i had a chat with u previously ..i want to install mojoportal but still not able to...plz help me with this..i hav done the following steps..

download code from tortoise svn...

after add mojoportal.data.mssql...reference..

after tht i hav edit web.config..for connection string...

i set mojoportal.wem prject as start up project & in setup folder i hav set default.aspx to start up page..after compiling & pressing f5 i got this error plz help me..also tell me how to install this poratl....

the error is

Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0101: The namespace 'Resources' already contains a definition for 'Resource'

Source Error:

 

Line 24: [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 25: [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
Line 26: public class Resource {
Line 27:
Line 28: private static global::System.Resources.ResourceManager resourceMan;
 

Source File: c:\Documents and Settings\virendra.ranjane\Local Settings\Temp\Temporary ASP.NET Files\root\5a8e21f6\a8386167\App_GlobalResources.03xcffcl.15.cs Line: 26

 

 

8/23/2008 5:02:06 AM
Gravatar
Total Posts 18439

Re: resource name exist

Hi,

I helped someone else with this problem just yesterday. The background information for this problem is discussed in this blog post:
http://blogs.msdn.com/shawnste/archive/2006/11/14/problems-compiling-resources-in-net-2-0-apps-after-updates.aspx

The problem is that ISO codes changed for some languages, in this case it is specifically the Traditional Chinese translation, where the ISO code changed from zh-CHT to zh-Hant. Our resource file for this language uses the new name Resource.zh-Hant.resx, but your machine apparently does not recognize the new ISO code zh-Hant and it causes this error.

The first thing you should do is run Windows Update and make sure you are up to date on all .NET updates and service paks. After doing that your machine may correctly recognize zh_Hant and if so it will fix the problem for you and this would be the best solution.

If getting all the updates does not solve it, try renaming the file Web/App_GlobalResources/Resource.zh-Hant.resx to Web/App_GlobalResources/Resource.zh-CHT.resx

If that doesn't work try just deleting the file that you renamed to Resource.zh-CHT.resx

Please let me know which of these solutions worked for you.

Hope it helps,

Joe

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