Hey everyone...
 
I have been "away" from Reactor for a few weeks working on another project... Anyway, so today I went and got an updated copy from SVN and installed it in my server (I also completely removed all of the old reactor files), and now when I run my page (that was working fine before), I get this error.
 
----------------
 

The parameter USERNAME to function init is required but was not passed in.

 
The error occurred in D:\inetpub\wwwroot\webapps\Reactor\core\objectFactory.cfc: line 102
Called from D:\inetpub\wwwroot\webapps\Reactor\core\objectFactory.cfc: line 29
Called from D:\inetpub\wwwroot\webapps\Reactor\reactorFactory.cfc: line 30
Called from D:\inetpub\wwwroot\xxx\wwwroot\admin\index.cfm: line 4
100 : 		<cfargument name="name" hint="I am the name of the object to translate." required="yes" type="string" />
101 : 		<cfset var Object = CreateObject("Component", "reactor.core.object").init(arguments.name, getConfig()) />
102 : 		<cfset var ObjectDao = CreateObject("Component", "reactor.data.#getConfig().getType()#.ObjectDao").init(getConfig().getDsn(), getConfig().getUsername(), getConfig().getPassword()) />		
103 : 		
104 : 		<cfset ObjectDao.read(Object) />
 
And, just so you have all the info you need, my config looks like this:
 
 <config>
  <dsn value="ratings" />
  <type value="mssql" />
  <mapping value="/reactordata" />
  <mode value="development" />
  <project value="myproject1" />
 </config>
 
Thanks,
 
Michael

Reply via email to