mojoPortal.Features.UI was not found

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.
3/24/2009 9:38:16 AM
Gravatar
Total Posts 220

mojoPortal.Features.UI was not found

Hi, I unzipped the "mojoportal-2-2-9-5-sourcecode.zip", set my connection string and the write permission to the data foulder, but both in IIS Setup and after debugging in VS 2008 Express, the browser opens with the following message.
Although it is in german, I hope you understand what is happening. What can I do? Thank you.

Serverfehler in der Anwendung /.
Konfigurationsfehler
Beschreibung: Fehler beim Verarbeiten einer Konfigurationsdatei, die für diese Anforderung erforderlich ist. Überprüfen Sie die unten angegebenen Fehlerinformationen, und ändern Sie die Konfigurationsdatei entsprechend.

Parserfehlermeldung: Die Datei oder Assembly "mojoPortal.Features.UI" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.

Quellfehler:
Zeile 762: <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />Zeile 763: <add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />Zeile 764: <add verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI" />Zeile 765: Zeile 766: </httpHandlers>

Quelldatei: D:\Projekte\Mojoportal\mojosc\Web\web.config Zeile: 764

Überwachung beim Laden der Assembly: Mit folgenden Informationen kann bestimmt werden, warum die Assembly mojoPortal.Features.UI nicht geladen werden konnte.
=== Zustandsinformationen vor Bindung ===LOG: Benutzer = BALU\BossLOG: DisplayName = mojoPortal.Features.UI (Partial)LOG: Appbase = file:///D:/Projekte/Mojoportal/mojosc/Web/LOG: Ursprünglicher PrivatePath = D:\Projekte\Mojoportal\mojosc\Web\binAufruf von Assembly : (Unknown).===LOG: Diese Bindung startet im default-Load-Kontext.LOG: Die Anwendungskonfigurationsdatei wird verwendet: D:\Projekte\Mojoportal\mojosc\Web\web.configLOG: Die Computerkonfigurationsdatei von c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config wird verwendet.LOG: Die Richtlinie wird derzeit nicht auf den Verweis angewendet (private, benutzerdefinierte, teilweise oder pfadbasierte Assemblybindung)LOG: Download von neuem URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/5e73a6a6/8371b5ea/mojoPortal.Features.UI.DLL.LOG: Download von neuem URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/5e73a6a6/8371b5ea/mojoPortal.Features.UI/mojoPortal.Features.UI.DLL.LOG: Download von neuem URL file:///D:/Projekte/Mojoportal/mojosc/Web/bin/mojoPortal.Features.UI.DLL.LOG: Download von neuem URL file:///D:/Projekte/Mojoportal/mojosc/Web/bin/mojoPortal.Features.UI/mojoPortal.Features.UI.DLL.LOG: Download von neuem URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/5e73a6a6/8371b5ea/mojoPortal.Features.UI.EXE.LOG: Download von neuem URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/5e73a6a6/8371b5ea/mojoPortal.Features.UI/mojoPortal.Features.UI.EXE.LOG: Download von neuem URL file:///D:/Projekte/Mojoportal/mojosc/Web/bin/mojoPortal.Features.UI.EXE.LOG: Download von neuem URL file:///D:/Projekte/Mojoportal/mojosc/Web/bin/mojoPortal.Features.UI/mojoPortal.Features.UI.EXE.

 

3/24/2009 11:17:13 AM
Gravatar
Total Posts 18439

Re: mojoPortal.Features.UI was not found

No I cannot read German.

Make sure you have .NET 3.5 SP1 installed.

You need Visual Web Developer Express 2008 SP1

You may need to use the mojoportal-complete-withoutsilverlight.sln

Rebuild the solution before trying to debug. 

Make sure mojoPortal.Web is the startup project.

Hope it helps,

Joe

3/24/2009 11:30:04 AM
Gravatar
Total Posts 220

Re: mojoPortal.Features.UI was not found

Maybe I don't have the SPs and I used the mojo-core. I'll try it once more and when the message comes again, I'll try to translate the main points of it.
Pardon my poor english and thank you very much so far.

Matthias

3/24/2009 12:15:03 PM
Gravatar
Total Posts 220

Re: mojoPortal.Features.UI was not found

Hi Joe,

now I use the mojoportal-complete-withoutsilverlight.sln and it works :-))

Cheers,
Matthias

3/24/2009 12:18:44 PM
Gravatar
Total Posts 18439

Re: mojoPortal.Features.UI was not found

Hi Matthias, 

Gald you got it working!

Many Thanks for the beer!

Cheers,

Joe

9/25/2009 11:32:48 AM
Gravatar
Total Posts 1

Re: mojoPortal.Features.UI was not found

Hi Joe,

I am new in ASP.NET. I've just followed the recommendation you made here to copy mojoportal-core.sln and rename it when developing a custom feature end I ended up with the error on the bottom of this post. This one is in English, so I hope it will help. I don't like the fact I cannot build just on the core but I can live with it. Appart from this, I really like mojoportal and I'm currently digging in it Smile.

---------

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'mojoPortal.Features.UI' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 870: <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />

Line 871: <add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />

Line 872: <add verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI" />

Line 873: <!--

Line 874: <add verb="*" path="*SiteImage.ashx" type="mojoPortal.SiteImageService.SiteImageHandler, mojoPortal.SiteImageService" /> 

Source File: C:\...\My Documents\Visual Studio 2008\Projects\mojoportal\Web\web.config Line: 872

I may send you also Assembly Load Trace if needed.

9/25/2009 11:39:13 AM
Gravatar
Total Posts 18439

Re: mojoPortal.Features.UI was not found

Hi Matthias,

mojoportal-core.sln has no features except Html content feature. If you want to do a build without the features like Blog, Forums, etc, you can do it with this solution. However for that to work must do a clean checkout and never build the main solution mojoportal.sln becuase it has all the features and once you build it copies all the files for installing the other features up to the Web project. So later when you build just the core it throws erros because the features were previously installed. So the only way to get a build without features is clean checkout in a new folder, use a new db and only compile the mojoportal-core.sln or the custom copy.

I recommend not to use mojoportal-core.sln unless you DO NOT want any of the features.

If you do want all the features then you should copy mojoportal.sln to create your custom .sln file. Then you will have all the included features and can add projects for your custom features.

Hope it helps,

Joe

1/6/2011 12:34:02 AM
Gravatar
Total Posts 53

Re: mojoPortal.Features.UI was not found

Hi,

You may need to use the mojoportal-complete-withoutsilverlight.sln

Where can i get the mojoportal-complete-withoutsilverlight.sln?

 

Thanks

1/6/2011 6:46:08 AM
Gravatar
Total Posts 18439

Re: mojoPortal.Features.UI was not found

That solution no longer exists.

 

  • mojoportal.sln has all the features and is targeting .NET 4.0
  • mojoportal.mssqlonly.sln is the same as mojoportal.sln but removes the projects for databases other than MS SQL. If you only plan to use MS SQL then this solution will load faster and build faster without the additional data projects.
  • mojoportal-core.sln is just the core web content management system with minumal features and targets .NET 4.0
  • mojoportal.net35.sln has all features and targets .NET 3.5 but requires manual changes to Web.config as described in the link above about the .NET 4 transition plan
  • mojoportal.mssqlonly.net35.sln is the same as mojoportal.net35.sln but removes the projects for databases other than MS SQL. If you only plan to use MS SQL then this solution will load faster and build faster without the additional data projects.
  • mojoportal-core.net35.sln is just the core web content management system with minumal features and targets .NET 3.5
  • mojoportal.mono.sln is meant for use in MonoDevelop on Linux not for use in Visual Studio

Generally for custom development you should copy one of these .sln files and rename it then add your own projects to your custom .sln

Hope it helps,

Joe

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