Aaron,

It sounds like you need point your IIS webroot one level further down (to
c:\inetpub\wwwroot\appname) so as to have the same setup as your production
server.  Our production servers never have more than one application under
the one virtual server, so the issue of having the app name in the path
never arises, but it does mean on IIS 5/XP (which doesn't support multiple
virtual servers) you have to reconfigure the web root every time you want to
work on a different app.

Jaime Metcher

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Aaron
> Roberson
> Sent: Tuesday, 27 March 2007 3:42 PM
> To: [email protected]
> Subject: [CFCDEV] Help with Component Path/Package
>
>
> On my local windows machine running XP Pro and IIS 5 I specify the
> component path like so:
>
> createObject("component","appname.com.user.user").init();
>
> But on my remote server running Windows 2000 Server and IIS 5 I have
> to specify the component path like so:
>
> createObject("component","com.user.user").init();
>
> This is a huge problem because it requires that I change the
> path/package name on every object invocation and within every object
> that returns a full qualified path and object name as the return type
> or accepts an argument with the path and object name as the type.
>
> Just to let you know, my webroot locally is C:\Inetpub\wwwroot\ (app
> path as C:\Inetpub\wwwroot) and my webroot remotely seems to be
> something like D:\home\ (app path D:\home\appname).
>
> What is the answer to this?
>
>
> You are subscribed to cfcdev. To unsubscribe, please follow the
> instructions at http://www.cfczone.org/listserv.cfm
>
> CFCDev is supported by:
> Katapult Media, Inc.
> We are cool code geeks looking for fun projects to rock!
> www.katapultmedia.com
>
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
>
>




You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to