House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CreateObject error on new server

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Phelan
07/21/2008 09:46 AM

In our application we have a cfc that we instantiate to a variable in certain instances.  This has always worked without issue until we got our new server.  On the new server, when I call the CreateObject method, it produces the error: The filename, directory name, or volume label syntax is incorrect The new server is running: Server 2003 IIS6 And CF7 The old server runs: Server 2000 IIS5 CF7 The paths on both servers are the same.  The call that fails is: <cfset LTFunc=CreateObject("component","/xyz/lts/LTFunctions")> Any ideas? Please note my new email address. David Phelan Senior CF Developer LifePoint Informatics (Formerly Labtest.com) (201) 447-9991 Ext. 318 dphelan@lifepoint.com<mailto:dphelan@labtest.com>

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
07/21/2008 09:51 AM

----- Excess quoted text cut - see Original Post for more ----- Use dots instead of slashes. Dots are the preferred nomenclature for specifying path information of CFCs. Also, make sure you've created the appropriate mapping to the xyz directory within the CF Administrator. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Phelan
07/21/2008 10:12 AM

I changed it to the dot notation but still got the same error.  We have a map to the root and the xyz/lts directory is directly below the root. Please note my new email address. David Phelan Senior CF Developer LifePoint Informatics (Formerly Labtest.com) (201) 447-9991 Ext. 318 dphelan@lifepoint.com ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Tyrone
07/21/2008 10:53 AM

> I changed it to the dot notation but still got the same error.  We have > a map to the root and the xyz/lts directory is directly below the root. I had a problem like this a long time ago.  Deleting and re-creating the mapping solved it.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Phelan
07/21/2008 11:21 AM

That did it!  Thanks Very Much! Please note my new email address. David Phelan Senior CF Developer LifePoint Informatics (Formerly Labtest.com) (201) 447-9991 Ext. 318 dphelan@lifepoint.com ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference