Hi Brad,
My app have five tabs, all my tabs are running OK except when it needs to make
an ajax call. My application.cfc was instantiating my new components, but I
took that section out of there because ajaxcfc don't like that e.g:
<cfset application.site_user = createObject("component",
"components.site_user").init(Application.Global.dsn,Application.Global.dsnUN,Application.Global.dsnPW,Application.Global.file_path)>
<!---cfset application.permissions = createObject "component",
"components.permissions")--->
Now I created the object on the cfm page that needs that component.
Now, the things that you mentioned I donât know if relate to this as well.
Two of the original tabs are still working, but my new other tabs work too
until I made an ajax call.
I will look into the things that you say.
David
>What Charlie pointed out was simply a syntax issue separate from what
>appears to be a permissions problem.
>
>Your error seems to be that ColdFusion does not have read access to the
>web-inf directory. What user is ColdFusion running under? If CF starts
>with Windows as a service, a user can be specified for that service.
>The default with windows is "System". If this is your production
>server, I would recommend creating a special user for CF to run as which
>is NOT an administrator for security's sake. That user will need access
>to the web-inf directory among other things. BTW: component.cfc is the
>base object that all components inherit from.
>
>Here is a knowledge base article on the subject:
>http://kb2.adobe.com/cps/172/tn_17279.html
>
>~Brad
>
>Thank you for replying,
>
>I made the change:
><cffunction name="setPermUser" returntype="any" hint="Set User
>Permission" access="remote">
>
>Still the same error.
>
>David
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323565
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4