|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
CreateObject error on new server
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:Dave Phelan 07/21/08 09:46 A > In our application we have a cfc that we instantiate to aDave Watts 07/21/08 09:51 A 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.Dave Phelan 07/21/08 10:12 A > I changed it to the dot notation but still got the same error. We haveAndrew Tyrone 07/21/08 10:53 A That did it! Thanks Very Much!Dave Phelan 07/21/08 11:21 A 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> ----- 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! 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 ----- > 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. 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 -----
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||