Avatar of sglee
sglee

asked on 

Coldfusion Database File Location

I am trying to create a new Data Source Name in Coldfusion MX7.
The database file is located unfortunately located on another computer and whenever I enter the UNC "\\MyAppServer\Database\ABC.MDB", I get an error.
I also tried a mapped drive like X drive pointing to \\MyAppServer\Database, but the result was the same.
Of course when I copied the database from \\MyAppServer\Database to a Local folder where CF resides, then no problem creating DSN name.
I like to know if I must have the data file on the local computer where CF MX7 resides in order to create a DSN.

Thank you.
Web ServersColdFusion Language

Avatar of undefined
Last Comment
sglee
ASKER CERTIFIED SOLUTION
Avatar of RickEpnet
RickEpnet
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of RickEpnet
RickEpnet
Flag of United States of America image

Sorry forgot Are these Domain Member servers or are they just Workgroup servers?
SOLUTION
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sglee
sglee

ASKER

To experts,
Sorry for the late reply. It has been hetic since I posted my question.

RickEpnet & ansudhindra:
--------------------------------------------
This folder as you see in the attached, I am currently logged in as domain administrator on the CF server and I can view/change/delete anything in the PO2000 folder that contains PO2000.MDB.
FYI, This CF server used to be part of old domain. Recently I disjoined it from old domain and joined it  to the new domain. The ACCESS database file "PO2000.MDB" is located on the new Domain Controller. The domain administrator has full access/control on the \\XXX\External\PO2000 folder.

agx_:, Here is the error message
----------------------------------------------
Connection verification failed for data source: PO2K
com.inzoom.adojni.ComException: Not a valid file name.
The root cause was that: com.inzoom.adojni.ComException: Not a valid file name. in Microsoft JET Database Engine code=0 Type=1

CF-Error-and-UNC-Path.doc
SOLUTION
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sglee
sglee

ASKER

ansudhindra:
-------------------------------------------------
I just created driver letter W mapped to \\XXX\External.
I entered W:\PO2000\po2000.mdb into CF and received the following error. Please see attachment for screenshots.

Connection verification failed for data source: PO2K
com.inzoom.adojni.ComException: 'W:\PO2000\po2000.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
The root cause was that: com.inzoom.adojni.ComException: 'W:\PO2000\po2000.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. in Microsoft JET Database Engine code=0 Type=1

CF-Error-and-UNC-Path2.doc
SOLUTION
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sglee
sglee

ASKER

ansudhindra:
-------------------------------
I tried \\192.168.1.9\External\PO2000\PO2000.MDB as seen in the attached, but I get the follwing error.

Connection verification failed for data source: PO2K
com.inzoom.adojni.ComException: Not a valid file name.
The root cause was that: com.inzoom.adojni.ComException: Not a valid file name. in Microsoft JET Database Engine code=0 Type=1


CF-Error-and-UNC-Path3.doc
SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sglee
sglee

ASKER

ansudhindra: _agx_:
------------------------
Since your suggestion about going to services.msc and change LOG ON information, I think I know where it went wrong.

Like I mentioned, this CF / W2003 App Server used to belong to old domain. We installed a new Domain, so I joined it to the new domain. While setting up a new domain (W2011SBS), I had to created a differnet administrive account callid "PSIADMIN" instead of traditional admin account name "ADMINISTRATOR" in W2003 server.
That said, I think CF was still using old local admin account called "administrator" which does not exist on new domain controller.

As you see in the attached, I changed user name and password on all 4 CF related services and restart, I could not even load CF Administrative screen to go to CF Admin Menu. So, I switched it back to "Log on as Local System Account".

Tonight should I try to create a local account called "PSIADMIN" and assign the same password and leave CF related services Login on properties as "Log on as Local System Account" and try to see if CF accesses the folder that has MDB?



CF-Error-and-UNC-Path4.doc
SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of sglee
sglee

ASKER

_agx_:
--------------------
yes administrator was the main admin account on CF server running W2003 Server.

Regarding "check the interact with desktop box" I am afraid to make any changes to these existing CF services anymore. We are running mission critial web-based applications off this CF server and I can't afford to make changes that would impact the operation of these existing systems.

So What I am going to try is to create a new local account in compmgmt.msc of CF server and log back in using that new account (which is identical to domain admin account username/pwd).
Avatar of _agx_
_agx_
Flag of United States of America image

Understood.  (Hopefully you have DEV or QA box you can test things on first?)

Avatar of sglee
sglee

ASKER

Thank you for your assistance. As you suspected, I tlhink it is a permission issue. As I indicated, this computer running W2003 Server used to be a part of one domain, but now on another domain (W2008 Server). When I log in to this computer, it uses a different administrative login name and I believe that is where the confusion comes from.
  All the local database files are running fine.
  Since this is a production server, I can't afford to mess with it, so what I decided to do is to setup  COLDFUSION server on another server running Windows 2003 with the same adminitrative account username and password as in Windows 2008 Server domain.

Thank you all.
Web Servers
Web Servers

A web server refers to the software that helps to deliver web content that can be accessed either through the Internet or through an intranet. The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, etc.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo