Post installation issues

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.
1/5/2011 9:26:13 PM
Gravatar
Total Posts 53

Post installation issues

Hi,

I have recently copied all the files to my website's folder. I am getting error while running the website.

1. Error 95 Unrecognized configuration section system.web.extensions. D:\mojo\Web.config 1058 (on local machine)

2. On commenting system.web.extensions i get: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Any help would be greatly appreciated.

 

Cheers

aditya

http://www.easytipsandtricks.com

1/5/2011 11:06:07 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: Post installation issues

Hi,

did you rebuild the solution before copying the website?

I had such issue, I cleaned the solution then rebuild it.

 After rebuilding  copy the website there, if still have the same error, please provide more details:

Mojo version, Operating system, IIS version you are using and if possible the line of web.config

good luck

1/5/2011 11:45:28 PM
Gravatar
Total Posts 53

Re: Post installation issues

Thanks for reply Ghalib!

I just noticed a strange thing:

The error

Error 90 Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config 59

appears to be in my web.config of the framework (on my local machine).

 

On server it is:

Server Error in '/' Application.
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Stack Trace:

[BadImageFormatException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +8812786
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128
System.Web.Compilation.BuildManager.CompileResourcesDirectory() +31
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +304

[HttpException (0x80004005): Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729

[HttpException (0x80004005): Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8894095
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259

 

1/6/2011 12:54:20 AM
Gravatar
Total Posts 53

Re: Post installation issues

Got it fixed by getting the 3.5 version of AjaxControlToolkit.

But, now another error: Error 3 Could not load file or assembly 'mojoPortal.Features.UI' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

 

Cheers
aditya
http://
www.easytipsandtricks.com

1/6/2011 2:37:38 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: Post installation issues

Hi,

seems you do not have some DLLs on your copy, I recommend you to go to http://mojoportal.codeplex.com/releases/view/57498 and download the stable version of mojoPortal :

for .NET 4.0 http://mojoportal.codeplex.com/releases/view/57498#DownloadId=186375

or .NET 3.5 http://mojoportal.codeplex.com/releases/view/57498#DownloadId=186376

 

They are stable and have no errors.

 

Good luck

 

1/6/2011 3:29:01 AM
Gravatar
Total Posts 53

Re: Post installation issues

Thanks for the reply Ghalib!

Atleast I stepped up!

Downloaded the files and but running the website gives:

Error 1 The base class includes the field 'pnlWrapper', but its type (mojoPortal.Web.UI.ModuleContainer) is not compatible with the type of control (System.Web.UI.WebControls.Panel). D:\test\mojo\LinkModule\Links.ascx 1
 

 

Hope we would be able to close this thread soon!

Thanks a ton!
Aditya
http://
www.easytipsandtricks.com

1/6/2011 5:20:28 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: Post installation issues

ok, lets now check the next:

restart your IIS, or stop it clean all the cache in the .NET Framework temp (you can find it in

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

if you are using .NET 3.5  version or in

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

if you are using .NET 4 version)

if you stopped IIS start it again

Hope it will help!

That may solve the problem otherwise we have both to wait Joe enlightened

1/6/2011 5:57:43 AM
Gravatar
Total Posts 53

Re: Post installation issues

Not Yet :(

Same error:
Error 3 Could not load file or assembly 'mojoPortal.Features.UI' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

yesThanks for your replies anyway heart
Aditya
http://www.easytipsandtricks.com/

1/6/2011 6:09:59 AM
Gravatar
Total Posts 18439

Re: Post installation issues

Hi Guys,

This must be about the 50th time I've helped someone with this problem so I put the answer in our FAQ. See the first 2 items in the FAQ.

http://www.mojoportal.com/faq.aspx

Hope it helps,

Joe

1/6/2011 8:25:42 AM
Gravatar
Total Posts 53

Re: Post installation issues

Thanks for your reply Joe!

in the v3.5 version, I am getting this error:

 

Error 1 The base class includes the field 'pnlWrapper', but its type (mojoPortal.Web.UI.ModuleContainer) is not compatible with the type of control (System.Web.UI.WebControls.Panel). D:\etat_mojo35\LinkModule\Links.ascx 1


Error 2 File 'Links.ascx.cs' was not found. D:\etat_mojo35\LinkModule\Links.ascx 1 85 D:\etat_mojo35\

 

Error 3 D:\etat_mojo35\LinkModule\Links.ascx: ASP.NET runtime error: The base class includes the field 'pnlWrapper', but its type (mojoPortal.Web.UI.ModuleContainer) is not compatible with the type of control (System.Web.UI.WebControls.Panel). D:\etat_mojo35\LinkModule\Links.ascx 7 1 D:\etat_mojo35\


Hope this is resolved before I goto bed crying

 

cheers
aditya
http://www.easytipsandtricks.com


 

1/6/2011 8:28:43 AM
Gravatar
Total Posts 18439

Re: Post installation issues

Hi,

It sounds like you installed on top of a previous version. What happened is that the Feature LinksModule was renamed to List and the folder and files were also renamed. You can safely delete the LinkModule folder and that should resolve this issue.

Hope it helps,

Joe

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