Print Page | Close Window

Initial Setup, Log File

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2443
Printed Date: 25-Mar-2025 at 7:23am


Topic: Initial Setup, Log File
Posted By: yimbot
Subject: Initial Setup, Log File
Date Posted: 15-Jan-2011 at 4:55pm
Hi,
 
I have added DevForce support to an Intersoft Silverlight Business Application.
 
For the most part, it seems to work well, however, I am net getting server logging.
 
My Web.Config has the following entry:
 

<ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig">

<logging logFile="log\DebugLog.xml" />

<objectServer>

<serverSettings useAspNetSecurityServices="true" />

</objectServer>

</ideablade.configuration>

I have an empty Log folder in the asp project with no XML or other documents in it.
 
I have basically left the existing RIA Services in place for user authentication as it did not seem worth the effort to change it to DevForce. I basically just added the references to both projects and modified the Web.Config and Global.asax.
Are there any other steps I need to take to get this working?
 
Has anybody converted an Intersoft Business application to work purely with DevForce? This would be preferable to me to not use RIA at all, but as I mentioned, I would rather get my application developed and not expend the energy on replacing RIA with DevForce for the User Authentication.
 



Replies:
Posted By: kimj
Date Posted: 15-Jan-2011 at 6:19pm
In order to create the log file the process running the DevForce services needs write permissions to the log folder.  You can do this by granting either the application pool user Id or the IIS_IUSRS group write access to this folder.  Do this through either the file system (right click the folder then select Properties-> Security) or through IIS Manager  (right click, Edit Permissions -> Security).
 
The integration with RIA for authentication shouldn't be a problem, as DevForce will use the credentials of the logged in user.  I should add though, that unless you've customized the login process the conversion to DevForce authentication shouldn't be too painful, since the DevForce Business Application Template contains authentication/registration features that closely parallel RIA.  Even if not using this template you can still pull out the files needed (which we'll provide information on if you're interested).
 
You've probably already seen it, but if not we have a sample application integrating with Intersoft ClientUI MVVM (unfortunately not the Business MVVM, at least not yet).  See http://drc.ideablade.com/xwiki/bin/view/Documentation/ClientUIDevForceIntegration - http://drc.ideablade.com/xwiki/bin/view/Documentation/ClientUIDevForceIntegration .
 


Posted By: yimbot
Date Posted: 16-Jan-2011 at 2:55am
Great,
 
Thanks kimj. Should've been obvious...



Print Page | Close Window