Print Page | Close Window

n-tier deployment issues

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=855
Printed Date: 28-Mar-2024 at 7:52am


Topic: n-tier deployment issues
Posted By: orcities
Subject: n-tier deployment issues
Date Posted: 25-Jun-2008 at 8:15am
I am trying to deploy my app. I have posted my issues w/ ClickOnce on another thread, still no response.
 
I have create a setup project for the BOS server. Which I believe works correctly, at least on the test run it did. I have tried creating the deployment for the data layer, have some issues but that is for another thread.  I have been unsuccessful in deploying the CABANA app. I have used ClickOnce, but it fails when I try to run it.
 
I am assuming the issue is with the IdeaBlade.ibconfig. Below is a list of what the BOS and Client have. Please let me know if it is correct:
 
 ???Is the rdbKey information needed on the client???
 
BOS-
AppHelper.dll - (Contains IdeaBlade.ibconfig)
Model.dll
IdeaBlade.Persistence.Server.dll
(Other required IdeaBlade dll's)
IdeaBlade.ibconfig - (loose) <contents>

 <rdbKey name="default" databaseProduct="Unknown">

    <connection><ConnectionString to server></connection>

    <probeAssemblyName>IdeaBlade.Common.EntityModel</probeAssemblyName>

    <probeAssemblyName>LOC.CEMS.Model</probeAssemblyName>

  </rdbKey>

  <remoting>

    <remotePersistenceEnabled>true</remotePersistenceEnabled>

    <communicationsTechnology>Remoting</communicationsTechnology>

    <remoteBaseURL><Address to the Datalayer server></remoteBaseURL>

    <serverPort>9009</serverPort>

    <serviceName>CabanaServer/PersistenceServer.rem</serviceName>

    <serverDetectTimeoutMilliseconds>-1</serverDetectTimeoutMilliseconds>

    <proxyPort>0</proxyPort>

  </remoting>

Client (Published ClickOnce) - ???Is the rdbKey information needed on the client???
AppHelper.dll - (Contains IdeaBlade.ibconfig)

 <rdbKey name="default" databaseProduct="Unknown">

    <connection><ConnectionString to server></connection>

    <probeAssemblyName>IdeaBlade.Common.EntityModel</probeAssemblyName>

    <probeAssemblyName>LOC.CEMS.Model</probeAssemblyName>

  </rdbKey>

  <remoting>

    <remotePersistenceEnabled>true</remotePersistenceEnabled>

    <communicationsTechnology>Remoting</communicationsTechnology>

    <remoteBaseURL><Address to the BOS server></remoteBaseURL>

    <serverPort>9009</serverPort>

    <serviceName>CabanaServer/PersistenceServer.rem</serviceName>

    <serverDetectTimeoutMilliseconds>-1</serverDetectTimeoutMilliseconds>

    <proxyPort>0</proxyPort>

  </remoting>




Replies:
Posted By: kimj
Date Posted: 02-Jul-2008 at 6:31pm
The rdbKey connection information is not needed on the client.  The rdbKey itself may be needed on the client to probe for interface implementations, such as IIdGenerator.  If you are not using Id generation then you may be able to remove the rdbKey from the client ibconfig altogether.
 
If you are not using IIS to host your BOS, then you don't need to use the .rem extension on the serviceName.  If you are using IIS, then you should be using port 80 for the serverPort.  When using IIS, the remoting configuration will actually come from the web.config, although you should keep the <remoting> element in your server-side ibconfig because it is (unfortunately) still used for some tracing messages.
 
 



Print Page | Close Window