Unable to run installation of mojoportal

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/22/2008 5:34:13 AM
Gravatar
Total Posts 11

Unable to run installation of mojoportal

Hi there,

I have downloaded "mojoportal-2-2-6-8-mssqlreleasefiles.zip" as well as "mojoportal-2-2-6-8-sourcecode.zip" from http://developer.novell.com/wiki/index.php/Mojoportal. After making virtual directory (created as web) of the downloaded folder named web resulted in error following error

The namespace 'Resources' already contains a definition for 'Resource' 

Please note that i have made the installation as described in the installation documents of at mojoportal.com by making slight changes in sql server connection string after making a db in sql server. I am trying to run the installation/web for five days but with no result. Waiting for your quike response as already so much time is wasted. Take care & bye.

Regards,

Muhammad Yasir Iqbal.

8/22/2008 5:59:45 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

Hi Muhammed,

If you've been having trouble for 5 days you should have asked for help sooner.

You don't need both of those zip files. Just use the mojoportal-2-2-6-8-mssqlreleasefiles.zip

Unzip it, configure an IIS Virtual directory or web site pointed at the web folder that was extracted (you can put this folder anywhare and you can rename it as well). Make sure the IIS web site is configured for 2.0 ASP.NET. If using Vista or Win 2008 you must configure the IS web with the "Classic" app pool.

Right click the folder and chopose properties, then click the Security tab and enable permission for the IIS user (ON Win 2003 it will be IIS_WPG and on XP it will be aspnet_machinename, on Vista/Win2008 it will be NETWORK SERVICES)). Give that user read permission on the whole web root folder, then give it full control permission on the Data sub folder.

Set your connection string in Web.config

Open a browser and visit /Setup/Default.aspx so it can run its install scripts on the database.

If you get an error, post the whole error message and give details of your operating system and database version.

Hope it helps,

Joe

8/22/2008 6:45:16 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Hi dear,

        First of all i am thankful to you of your concerns. I appriciate your quik response. I have already did this settings as you are explaining. Now i did it again by mojoportal-2-2-6-8-mssqlreleasefiles.zip and unzipping it in a folder, then i make a virtual directory of web folder after renaming it, connection which i am using is "server=tswk17\SQL2005;UID=sa;PWD=sql2005;database=Mojo" where tswk17 is my machine on the contrary i gave permissions to aspnet user of full control of the folder. I am using windows xp Version 2002 service pack 2. The full error message is the below one.

 

Server Error in '/MyMojo' 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:

[No relevant source lines]


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.4.cs Line: 25


Show Detailed Compiler Output:

C:\WINDOWS\system32> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\73896e58\00be434f_bce1c801\Jayrock.Json.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\0862c9a0\006994aa_3dffc801\mojoPortal.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\1340abc8\00c3f6ac_3dffc801\SiteOffice.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\adc5c6cc\00be434f_bce1c801\CSSFriendly.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\82a72eef\00be434f_bce1c801\Newtonsoft.Json.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\3b0492b5\00be434f_bce1c801\Subkismet.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\9efb658b\00be434f_bce1c801\DotNetOpenMail.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\8e3c0dbd\0096c5ab_3dffc801\WebStore.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\27a4ba01\00be434f_bce1c801\Brettle.Web.NeatHtmlTools.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\24b2dd33\00be434f_bce1c801\SharpMimeTools.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\29b2a3aa\0058b1b7_3dffc801\SurveyFeature.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\428a7b34\00be434f_bce1c801\Microsoft.Web.Preview.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\b04e9ede\003c63a9_3dffc801\mojoPortal.Web.Framework.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c69fe0e4\00c3f6ac_3dffc801\SurveyFeature.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\32a7f4c9\0096c5ab_3dffc801\mojoPortal.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\1871a965\00117ad8_c5e3c801\DotNetOpenId.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\253f3185\00fe4eb5_3dffc801\SiteOffice.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\8045ce3b\00be434f_bce1c801\RSS.NET.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\196cd404\006994aa_3dffc801\mojoPortal.Net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\b1895078\001d59af_3dffc801\mojoPortal.Web.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\59fba280\00cf2642_bce1c801\SubSonic.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\cf559559\004a8ab0_3dffc801\PollFeature.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\78dbf57e\004a8ab0_3dffc801\SiteOffice.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\f095435c\00be434f_bce1c801\log4net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\7208593a\0058b1b7_3dffc801\SampleExternalWebPart.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c8f3d957\00be434f_bce1c801\Lucene.Net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c7884922\00be434f_bce1c801\Novell.Directory.Ldap.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\4c791314\0096c5ab_3dffc801\mojoPortal.Business.WebHelpers.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\ef9c0502\00c3f6ac_3dffc801\PollFeature.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\9eef8f5a\00c3f6ac_3dffc801\mojoPortal.Web.Editor.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\daa658f9\000a7f4a_bce1c801\AjaxControlToolkit.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\e5edb754\00eef055_3dffc801\TimelineNet.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\edfb3d94\0085e2b8_3dffc801\SampleExternalModule.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\37a825ec\0077bbb1_3dffc801\SiteOffice.ExternalMail.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\7511657a\004a8ab0_3dffc801\WebStore.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\2007a799\00be434f_bce1c801\OpenPOP.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\d483d177\00be434f_bce1c801\Brettle.Web.NeatUpload.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c126ee65\00be434f_bce1c801\Jayrock.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\5508ca4f\004a8ab0_3dffc801\SurveyFeature.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c141e4b6\002b80b6_3dffc801\WebStore.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\0f1eacac\00be434f_bce1c801\Brettle.Web.NeatHtml.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\31fa4637\00a4ecb2_3dffc801\PollFeature.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\cde1a814\00c3f6ac_3dffc801\mojoPortal.Web.Controls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\b7caa3ce\00be434f_bce1c801\Org.Mentalis.Security.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\9cc0ef6d\00be434f_bce1c801\MetaDataExtractor.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c07a3229\00298944_bce1c801\GCheckout.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.dll" /debug- /optimize+ /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.devtools.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.siteofficeresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.sitemailresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.surveyresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.profileresource.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.webstoreresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.accesskeys.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.resource.zh_hant.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.gearsdbtoolresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.timezoneresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.setupresource.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.externalmailresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.resource.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.sampleexternalmodule.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.pollresources.resources" /w:4 /nowarn:1659;1699 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.6.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.1.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.3.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.2.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.14.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.12.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.13.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.10.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.11.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.9.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.8.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.15.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.5.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.4.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.7.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.4.cs(25,18): error CS0101: The namespace 'Resources' already contains a definition for 'Resource'
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.lf6r5ns6.6.cs(11,11): (Location of symbol related to previous error)

 

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 

Regards,

Muhammad Yasir Iqbal.

8/22/2008 6:59:17 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

Hi Muhammed,

Its a strange error I have not seen before.

The only clue that I see in the error is this fragment:

"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll""

It means you have the MS Ajax entensions (System.Web.Extensions.dll) installed in the GAC (Global Assembly Cache) on your machine. Most likely it is trying to use that one instead of the one (System.Web.Extensions.dll) I put in the  /bin folder

I'm pretty sure it will always try to use the one in the GAC instead of the one in the /bin folder. The one in your GAC is version 1.0.61025.0 (older) than the one I put in the Web/bin folder (version 1.0.61231.0)

What I would try is go to Add/Remove programs and uninstall the old version of MS AJAX framework that you have on your machine. Then recycle the mojo app by touching the Web.config (ie type a space in it and save it). By uninstalling it from the GAC, mojoportal will be allowed to use the newer one in the bin folder that it needs.

Hope it helps,

Joe

8/22/2008 7:17:49 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Hi dear,

       Yes you were right i had ajax extension installed on my machine but even after uninstalling it the error persists even if i opened that web site in vs2005 it is giving me same below error

The namespace 'Resources' already contains a definition for 'Resource'

as well as when i try to run it via browser by typing in following address

http://localhost/MyMojo/Setup/Default.aspx

it is giving me the same error i posted you earlier. One more thing the other connection string besides MSSQL server connection is their also in web.config and user.config, do i have to remove these connection strings besides sql server connection string? Any help is deeply appriciated. Waiting for your response. Take care and bye.

Regards,

Muhammad Yasir Iqbal.

 

8/22/2008 7:24:31 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

No, you do not have to remove any other connection strings.

What do you mean about opening it in VS 2005, release files don't work in visual studio, for that you need the source code. Lets solve it for one thing at a time release files or source code not both

Try close all browser pages except maybe google, clear all temporary internet files from the browser cache.

Reboot the machine.

Try the release files again, post the error again and lets see if there is anything different in the error, at least the previous clue about the old ajax should be gone, lets confirm it.

Hope it helps,

Joe

8/22/2008 7:39:29 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Hi Dear,

       I have reboot the machine, remove the temporary internet files and for the sake of clarity i also remove temporary files from following folder which asp.net creates for each website automatically in the following folder

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\

but i am afraid nothing changed resulted in the same error. Any idea?

Regards,

Muhammad Yasir Iqbal.

8/22/2008 7:45:57 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

Please post the current error detail as I already requested.

8/22/2008 7:47:49 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Dear Joe,

       It has the same error which i posted you earlier, nothing changed.

Server Error in '/MyMojo' 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:

[No relevant source lines]


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.4.cs Line: 25


Show Detailed Compiler Output:

C:\WINDOWS\system32> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\73896e58\00be434f_bce1c801\Jayrock.Json.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\0862c9a0\006994aa_3dffc801\mojoPortal.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\1340abc8\00c3f6ac_3dffc801\SiteOffice.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\adc5c6cc\00be434f_bce1c801\CSSFriendly.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\2c723429\00be434f_bce1c801\System.Web.Extensions.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\82a72eef\00be434f_bce1c801\Newtonsoft.Json.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\3b0492b5\00be434f_bce1c801\Subkismet.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\9efb658b\00be434f_bce1c801\DotNetOpenMail.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\8e3c0dbd\0096c5ab_3dffc801\WebStore.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\27a4ba01\00be434f_bce1c801\Brettle.Web.NeatHtmlTools.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\24b2dd33\00be434f_bce1c801\SharpMimeTools.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\29b2a3aa\0058b1b7_3dffc801\SurveyFeature.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\428a7b34\00be434f_bce1c801\Microsoft.Web.Preview.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\b04e9ede\003c63a9_3dffc801\mojoPortal.Web.Framework.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c69fe0e4\00c3f6ac_3dffc801\SurveyFeature.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\32a7f4c9\0096c5ab_3dffc801\mojoPortal.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\1871a965\00117ad8_c5e3c801\DotNetOpenId.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\253f3185\00fe4eb5_3dffc801\SiteOffice.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\8045ce3b\00be434f_bce1c801\RSS.NET.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\196cd404\006994aa_3dffc801\mojoPortal.Net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\b1895078\001d59af_3dffc801\mojoPortal.Web.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\59fba280\00cf2642_bce1c801\SubSonic.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\cf559559\004a8ab0_3dffc801\PollFeature.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\78dbf57e\004a8ab0_3dffc801\SiteOffice.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\f095435c\00be434f_bce1c801\log4net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\7208593a\0058b1b7_3dffc801\SampleExternalWebPart.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c8f3d957\00be434f_bce1c801\Lucene.Net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c7884922\00be434f_bce1c801\Novell.Directory.Ldap.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\4c791314\0096c5ab_3dffc801\mojoPortal.Business.WebHelpers.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\ef9c0502\00c3f6ac_3dffc801\PollFeature.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\9eef8f5a\00c3f6ac_3dffc801\mojoPortal.Web.Editor.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\daa658f9\000a7f4a_bce1c801\AjaxControlToolkit.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\e5edb754\00eef055_3dffc801\TimelineNet.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\edfb3d94\0085e2b8_3dffc801\SampleExternalModule.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\37a825ec\0077bbb1_3dffc801\SiteOffice.ExternalMail.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\7511657a\004a8ab0_3dffc801\WebStore.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\2007a799\00be434f_bce1c801\OpenPOP.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\d483d177\00be434f_bce1c801\Brettle.Web.NeatUpload.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c126ee65\00be434f_bce1c801\Jayrock.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\5508ca4f\004a8ab0_3dffc801\SurveyFeature.Business.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c141e4b6\002b80b6_3dffc801\WebStore.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\0f1eacac\00be434f_bce1c801\Brettle.Web.NeatHtml.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\31fa4637\00a4ecb2_3dffc801\PollFeature.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\cde1a814\00c3f6ac_3dffc801\mojoPortal.Web.Controls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\b7caa3ce\00be434f_bce1c801\Org.Mentalis.Security.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\9cc0ef6d\00be434f_bce1c801\MetaDataExtractor.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\assembly\dl3\c07a3229\00298944_bce1c801\GCheckout.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.dll" /debug- /optimize+ /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.devtools.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.siteofficeresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.sitemailresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.surveyresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.profileresource.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.webstoreresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.accesskeys.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.resource.zh_hant.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.gearsdbtoolresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.timezoneresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.setupresource.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.externalmailresources.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.resource.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.sampleexternalmodule.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\resources.pollresources.resources" /w:4 /nowarn:1659;1699 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.8.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.9.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.13.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.12.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.11.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.10.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.6.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.7.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.4.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.5.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.2.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.3.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.1.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.15.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.14.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.4.cs(25,18): error CS0101: The namespace 'Resources' already contains a definition for 'Resource'
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mymojo\78b779e9\3630f534\App_GlobalResources.bw7cmdij.6.cs(11,11): (Location of symbol related to previous error)

 

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 

Regards,

Muhammad Yasir Iqbal.

8/22/2008 7:59:15 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

Something did change, the previous clue about System.Web.Extensions.dll in the GAC is gone, that is what I wanted to confirm.

When I google for "The namespace 'Resources' already contains a definition for 'Resource'" I see a lot of results so I don't think this is a mojoportal specific problem. You may want to search it yourself and find possible causes/solutions.

One thing I would try, is see my document here about setting the browser preferred language. Set your language to en-US and tell me if it still gives this error. If it solves it, then tell me what language you were using when the error happened and I will try to cause the same error on my machine.

Hope it helps,

Joe

8/22/2008 8:08:34 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Dear Joe,

          I have checked the browser preferred langauges for both internet explorer and firefox, they have already have on and only language en-US. I am afraid the system is still unable to run even after i unzipped again the release files.

Waiting for your response.

Regards,

Muhammad Yasir Iqbal.

8/22/2008 8:21:01 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

Try deleting these files from App_GlobalResources:

Resource.zh-Hant.resx
Resource.zh-CN.resx

and let me know if it makes any difference

This link has some relevant information:

http://blogs.msdn.com/shawnste/archive/2006/11/14/problems-compiling-resources-in-net-2-0-apps-after-updates.aspx

If that doesn't solve it then please google for this: "The namespace 'Resources' already contains a definition for 'Resource'"

and do your own research to try and solve it.

Hope it helps,

Joe

8/22/2008 8:26:56 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Dear Joe,

       I googled for this error and found out the following message

Hi everyone.
i'm having some problems with the global resources in asp.net 2.0. i boiled
it doen to this:
i create a brand new website and add an App_GlobalResources folder. I then
add to this folder 2 resource files named:
MyResource.resx
MyResource.yi.resx
Then I build the site and get the following Error Message in the Error List:
The namespace 'Resources' already contains a definition for 'MyResource'
In file: App_GlobalResources.sg8-m9lm.1.cs
What I find is that if I change the "yi" to, for instance, "fr", then there
is no error. additionally if i rename the "MyResource.resx" to something else
like "MyOtherResource.resx", then it builds Ok, but then I dont have
strong-typed access to the rsource files.
What can the problem be? I would appreciate any lead. On google I didn't get
a single reference to this specific problem.
Thankfully,
YisMan
 

Now my question to you is that in release zip extracted files we have App_GlobalResources folder we have following files, does this error has some thing to with this, please confirm Resource.cs.resx,Resource.de.resx,Resource.es-MX.resx,Resource.fa.resx,Resource.it.resx,Resource.nl.resx,Resource.pt-BR.resx,

Resource.resx,Resource.ru.resx,Resource.sv.resx,Resource.tr.resx,Resource.zh-CN.resx,Resource.zh-Hant.resxResource.ru.resx

Regards,

Muhammad Yasir Iqbal.

8/22/2008 8:32:58 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Dear Joe,

       Success atlast . Setup started successfully. I am thankful to you for your time. If any thing comes up i will let you know. I appriciate your concerns, you have been very helpful to me.

Thanks and regards,

Muhammad Yasir Iqbal.

8/22/2008 8:35:59 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Dear Joe,

       After running /setup/Default.aspx. Following time out exception accured.

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
Running script mojoportal-core - 2.2.6.7 - 00:00:11.1699445
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at mojoPortal.Data.SqlHelper.ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:01:11.8313354
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.
 

Do i have to run setup again or setup has been successful. Waiting for your response.

Regards,

Muhammad Yasir Iqbal.

8/22/2008 8:38:16 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

So deleting those 2 files did solve it?

Its really a dificult problem as described in that blog post I linked above, it seems that on some machines it will work and on others it will not. Proabably it was the file Resource.zh-Hant.resx, on some machines (yours) it would probably work if that file was named Resource.zh-CHT.resx, but on other machines it needs to be Resource.zh-Hant.resx

At least now I know what to tell anyone if this problem comes up again.

Best,

Joe

8/22/2008 8:40:58 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

It should not be needed to run setup again, if it ran ok before, but it looks likes you got a database timeout running it, so maybe it would be better to start over with a new empty db.

Hope it helps,

Joe

8/22/2008 8:50:59 AM
Gravatar
Total Posts 11

Re: Unable to run installation of mojoportal

Dear Joe,

       Every thing seems to be working fine . I am thankful to you. One thing i must say i very much like you and MojoPortal. Happy coding.

Regards,

Muhammad Yasir Iqbal.

8/24/2008 9:19:31 AM
Gravatar
Total Posts 5

Re: Unable to run installation of mojoportal

I'm a first time user and I just want to add my thanks as well!  I had exactly same problem.
I deleted the extra resource.*.resx files (Resource.nl.resx, Resource.ru.resx, Resource.de.resx etc) and it seem to work.

Just for future reference, my platform:

  • winXP sp2 (stand alone machine)
  • iis 5.1
  • asp 2.0.50727
  • Using application protection (medium)

 

8/24/2008 9:44:48 AM
Gravatar
Total Posts 18439

Re: Unable to run installation of mojoportal

Hi,

You only needed to delete Resource.zh-Hant.resx, it was not needed to delete all those other ones.

I think if you had upgraded your machine to XP SP 3 this problem would not happen.

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 (XP SP3). After doing that your machine may/should 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

Hope it helps,

Joe

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