use source code in VS2008 sp1

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.
2/1/2010 3:00:06 PM
Gravatar
Total Posts 76

use source code in VS2008 sp1

Hello,


I downloaded the source using tortoiseSVN.

I setup the user.config for pointing to my local MS-SQL-database.

But when i start debugging the code i get folowing error in my webbrowser:

 

Server Error in '/' Application.
Configuration Error
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 922: <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />
Line 923: <add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />
Line 924: <add verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI" />
Line 925: <!--
Line 926: <add verb="*" path="*SiteImage.ashx" type="mojoPortal.SiteImageService.SiteImageHandler, mojoPortal.SiteImageService" />


Source File: C:\Projects\Mojoportal\Web\web.config Line: 924

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

=== Pre-bind state information ===
LOG: User = CP679938-A\Hanzie
LOG: DisplayName = mojoPortal.Features.UI
(Partial)
LOG: Appbase = file:///C:/Projects/Mojoportal/Web/
LOG: Initial PrivatePath = C:\Projects\Mojoportal\Web\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Projects\Mojoportal\Web\web.config
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.


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

 


What can this be?

Thnx

2/1/2010 3:03:42 PM
Gravatar
Total Posts 70

Re: use source code in VS2008 sp1

Hi,

First you have to build the entire solution. From Build Menu choose "Rebuild Solution", then you can debug it and it will run, if you encounter errors just keep clicking the play button, as errors are expected when the database has not been initialized. See the VisualStudioReadme.txt.

Hope that helps,

Steve

2/1/2010 3:11:01 PM
Gravatar
Total Posts 76

Re: use source code in VS2008 sp1

Thnx for that very quick reply!

Unfortunatly it doesn't work. I keep getting the same error!

2/1/2010 3:16:56 PM
Gravatar
Total Posts 76

Re: use source code in VS2008 sp1

Hello,

when i search for the folowing file "metaweblogapi.ashx" it finds nothing? Is this ok! Maybe the download of the sourcecode was not ended correctly?

2/1/2010 3:55:29 PM
Gravatar
Total Posts 76

Re: use source code in VS2008 sp1

Sorry,

updated the source-files and now it works!

Thnx

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