<config>
<project value="aiwoc" />
<dsn value="leo" />
<type value="mssql" />
<mapping value="/leo/aiwoc/model" />
<mode value="development" />
</config>
<objects>
<object name="employee">
<hasOne name="certificate">
<relate from="bemsId" to="bemsId" />
</hasOne>
<hasMany name="step">
<link name="employeeStep" />
</hasMany>
<hasMany name="employeeStep">
<relate from="bemsId" to="bemsId" />
</hasMany>
<hasOne name="employee" alias="myFocal">
<relate from="focalId" to="bemsId" />
</hasOne>
<hasOne name="employee" alias="myManager">
<relate from="managerId" to="bemsId" />
</hasOne>
</object>
<object name="certificate">
<field name="id" alias="CertificateId" />
<hasOne name="employee">
<relate from="bemsId" to="bemsId" />
</hasOne>
</object>
<object name="employeeStep">
<hasOne name="employee">
<relate from="bemsId" to="bemsId" />
</hasOne>
<hasOne name="employee" alias="leaderEmployee">
<relate from="leader" to="bemsId" />
</hasOne>
<hasOne name="step">
<relate from="stepId" to="id" />
</hasOne>
<hasMany name="employeeStepComments">
<relate from="stepId" to="stepId" />
<relate from="bemsId" to="bemsId" />
</hasMany>
<hasMany name="employeeStepDocuments">
<relate from="stepId" to="stepId" />
<relate from="bemsId" to="bemsId" />
</hasMany>
<hasOne name="employeeStepComments" alias="comment">
<relate from="commentId" to="commentsId" />
</hasOne>
</object>
<object name="employeeStepComments">
<hasOne name="employeeStep">
<relate from="stepId" to="stepId" />
<relate from="bemsId" to="bemsId" />
</hasOne>
</object>
<object name="employeeStepDocuments">
<hasOne name="employeeStep">
<relate from="stepId" to="stepId" />
<relate from="bemsId" to="bemsId" />
</hasOne>
</object>
<object name="step">
<field name="id" alias="StepId" />
<hasMany name="employee">
<link name="employeeStep" />
</hasMany>
<hasMany name="employeeStep">
<relate from="id" to="stepId" />
</hasMany>
</object>
</objects>
</reactor>
What does your reactor.xml look like?
Nathan Owen
Web Master
Idaho Department of Environmental Quality
1410 North Hilton Street
Boise , Idaho 83706
(208) 799-4890
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Kyle Hayes
Sent: Friday, September 29, 2006 8:43 AM
To: [email protected]
Subject: Re: [Reactor for CF] Error when initing new project
It works...that is for the directory problem, no I am receiving this error:
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'employee'.
The error occurred in \\sw\regionweb\Dev\ANA\c3n\reactor\base\abstractGateway.cfc: line 547
I checked the datasource and it checks out just fine in CFadmin. I also checked the owner of the tables and cf has all the appropriate perms.
On 9/29/06, Kyle Hayes <[EMAIL PROTECTED]> wrote:
I am talking to the server admin to see what he says about it. He doesn't believe that CF has the permissions to do that. I will get back to you to let you know if that is the issue. I am sure you are right, and I was mistaken about it having the correct permissions. My work just recently moved me to this server and so I am still getting used to it. Thanks for your help, Doug.
On 9/29/06, Doug Hughes < [EMAIL PROTECTED]> wrote:
Actually, not \\sw\regionweb\Dev\ANA\c3n\reactor\core, but \\sw\regionweb\Dev\ANA\c3n\reactor\project
CF needs to be able to create directories in there and write files. If it can't you'll get errors.
Doug
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Doug Hughes
Sent: Friday, September 29, 2006 11:08 AM
To: [email protected]
Subject: RE: [Reactor for CF] Error when initing new project
Does the CF process have read/write access to \\sw\regionweb\Dev\ANA\c3n\reactor\core?
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Kyle Hayes
Sent: Friday, September 29, 2006 11:01 AM
To: [email protected]
Subject: [Reactor for CF] Error when initing new project
I recently had to move my project to a new CF server and received the following error in the ObjectTranslator.cfc:
The specified Directory attribute value \\sw\regionweb\Dev\ANA\c3n\reactor\core\../project/aiwoc/Record/ could not be created.
The error occurred in \\sw\regionweb\Dev\ANA\c3n\reactor\core\objectTranslator.cfc: line 246
Called from \\sw\regionweb\Dev\ANA\c3n\reactor\core\objectTranslator.cfc: line 62
Called from \\sw\regionweb\Dev\ANA\c3n\reactor\core\objectTranslator.cfc: line 28
Called from \\sw\regionweb\Dev\ANA\c3n\reactor\core\objectFactory.cfc: line 132
Called from \\sw\regionweb\Dev\ANA\c3n\reactor\reactorFactory.cfc: line 26
Called from \\sw\regionweb\Dev\ANA\c3n\leo\aiwoc\Application.cfc: line 30244 :
245 : <cfif NOT DirectoryExists(directory)>
246 : <cfdirectory action="" directory="#getDirectoryFromPath(
arguments.path)#" />
247 : </cfif>
248 : </cffunction>
Any help would be appreciated!
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
