catching error from cfcontent.

2001-04-17 Thread Percy E Perez

Hello all,

I am trying to trap an error thrown by cfcontent, I wrapped cfcontent with
cftry, but when I generate the error, I do not get my message but rather.

"Please inform the site administrator that this error has occurred (be sure
to include the contents of this page in your message to the administrator)."

which I don't want my users to see.

Any suggestions,
I am running 4.0.1/nt4.0/sp6a.

Thanks

Percy E Perez

cftry
CFCONTENT TYPE="#v_mime#"
FILE="#v_file#"

cfcatch type="any"
Blah
/cfcatch
/cftry



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFContent and spaces

2001-03-12 Thread Percy E Perez

Hello all,

I am using cfcontent to access files across the network no problem as long
as I using IE, however when I used netscape I get an HTTP Error 400.  Of
course this happens only when the file has spaces.  Is there a command i can
issue such as URLEncodedformat?

Thank you for all the help.


Percy E Perez



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Unlocking Access database under CF 4.5

2001-02-12 Thread Percy E Perez

Hello all,

I have checked the CF archives looking for unlocking an access database.  I
found that issuing an invalid query against the datasource will release the
lock.  I have tried this under my current ISP, but no go.  Is there anything
different under CF4.5?
Sys info:
Windows NT Server 4.0 Service Pack 6
Cold Fusion Version 4, 5, 1, SP1
ADODB Version 2.50.4403.9
MDAC Version 2,50,4403,12

Any help, suggestions would be greatly appreciated.


Percy E Perez


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Running a MS SQL Server DTS Package from ColdFusion

2001-01-16 Thread Percy E Perez

Anyone has any suggestions on how to run a DTS package from a coldfusion 
page?
I found article# Q252987 on technet on how to do this using ASP, but I 
would rather implemented in ColdFusion.  Thank you for any suggestions.


Percy E Perez


 -Original Message-
 From: Clint Tredway [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 16, 2001 11:59 AM
 To: CF-Talk
 Subject: RE: SQL Manager


 Yep, this will be taken care of soon.

 -Original Message-
 From: Neil Clark [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 16, 2001 10:44 AM
 To: CF-Talk
 Subject: RE: SQL Manager


  yep, I would NEVER want anyone connecting to the Master DB.
 I always keep
 my SQL Servers on the inside of the firewall allowing no
 access from the
 outside world - only from the cf server.

 Neil

 ! ---
 Neil Clark
 Senior Web Applications Engineer
 ColdFusion / Spectra / XML
 mcb digital [Allaire Premier Partner]
 Tel. +44 (0)20 8941 3232
 Tel. +44 (0)20 8408 8131 [Direct]
 http://www.mcbdigital.com
 ---

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Server problem

2000-12-13 Thread Percy E Perez

Ramesh,

I lookup these error messages with net helpmsg 232 and 1450 and these what I get:

H:\net helpmsg 232

The pipe is being closed.


H:\net helpmsg 1450

Insufficient system resources exist to complete the requested service.

Unfortunately I am not familiar with TIDs.  I hope this helps,

Percy E Perez



 -Original Message-
 From: ramesh d [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 13, 2000 3:45 AM
 To: CF-Talk
 Subject: Server problem
 
 
 Hi
 
 I created one file which generates 200 Purchase orders
 and sends to database. 
 these purchase orders actually Xml Packets(after
 parsing only we r sending data to db)
 
 So when i execute related to this file i am getting
 below errors.
 
 Any body ware abot TID s or Window NT 232 errors.
 
 Is there any problem in server configurations or need
 to change resources of server?
 
 We are using 256MB ram only in testing server.
 Is there any cause of this problem.
 i would be appreciate if any suggestions.
 
 Thanx in advance
 Ramesh
 
 
 "Error","TID=149","12/13/00","12:25:05","Error number
 232 occurred while attempting to write the reply to
 the web server."
 "Error","TID=149","12/13/00","12:25:05","Windows NT
 error number 232 occurred."
 
 
 
 "Error","TID=256","12/13/00","13:57:14","Error number
 1450 occurred while attempting to write the reply to
 the web server."
 "Error","TID=256","12/13/00","13:57:14","Windows NT
 error number 1450 occurred."

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Updating two frames when sumitting a form

2000-10-31 Thread Percy E Perez

Hello everyone,

  I have a page consisting of three frames.  One of these frames has a form.
I am trying to update two frames at the same time when I click on submit.

Any suggestions?

Thank you in advance.


Percy E Perez


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Setting NULL Value

2000-09-15 Thread Percy E Perez

Hello All,

I am trying to set a field to null value, but I am getting an error.

Error Diagnostic Information
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot use empty object or
column names. Use a single space if necessary.

SQL = "UPDATE tdc_doc_infocard SET file_zipped=NULL WHERE info_card_id =
'25261640596840'""

However if I run this statement in the Query Analyzer, it works.

Any suggestions?

Thanks in advance.


Percy E Perez

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



CFCONTENT Internet Explorer

2000-06-21 Thread Percy E Perez

Hello Everyone,

   I have a problem with CFCONTENT, whenever I retrieve a PDF file using
CFCONTENT, my internet explorer thinks is a CFM page.  I visited allaire's
website and they have a workaround which is specifying my link as:
http://www.website.com/file.cfm/file.pdf?docId=101010rev=G  This seems to
make it download,  however my AdobeAcrobat reader does not launch, but some
ActiveX square.  If I call: http://www.website.com/files/doc1.pdf directly,
then it launches ADobe plugins.  Any suggestions?  I want to use CFCOntent
since it provides the Delete File option, which deletes the file as soon as
it gets downloaded, as of now I'm using redirection in order to get the pdf
file.

BTW,  I am running CF PRO 4.0.1 with NT4.0/SP4

Thank you all in advance.

Percy E Perez


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



No Subject

2000-05-22 Thread Percy E Perez

Hello,

Is anyone having problems accessing Allaire's website?  I am trying to
register for the upcoming conference, but I get the following error:



Error Occurred While Processing Request
Error Diagnostic Information
A problem was encountered trying to access the system registry. Error number
6 occurred.



Please inform the site administrator that this error has occurred (be sure
to include the contents of this page in your message to the administrator


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



CF Authentication

2000-04-28 Thread Percy E Perez

Hello,

Anyone has information, references on what is the best way to authenticate
users.  Should I authenticate using NFS Security (IIS), use MS SQL's
authentication, or just create one from scratch... Pros/Cons???

Thank you for your response.

Percy  E Perez

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: using CFFILE to save a file directly to a sql database

2000-04-18 Thread Percy E Perez

Check the tag Gallery in allaire's website.  There is one tag that deals 
with BLOBs.

Percy E Perez



At 01:58 PM 4/18/00 -0600, you wrote:
--=_5598966==_.ALT
Content-Type: text/plain; charset="us-ascii"


Is there a way to have CFFILE insert an image file directly into a sql 
database
rather than save it to a directory?
Thanks
Joel

Joel Richards
Web Developer
Brainstorm Industries
http://www.brainstormin.net/[EMAIL PROTECTED]
--=_5598966==_.ALT
Content-Type: text/html; charset="us-ascii"

Is there a way to have CFFILE insert an image file directly into a sql 
database rather than save it to a directory?
Thanks
Joel

Joel Richards
Web Developer
Brainstorm Industries
http://www.brainstormin.net/[EMAIL PROTECTED]
--=_5598966==_.ALT--

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



MS SQL Authentication or CF???

2000-04-10 Thread Percy E Perez

Hello all,

Can anyone explain what is the best way to authenticate or secure cf 
pages.  One of my co-workers suggest creating SQL users and authenticate 
against that, however I wonder if there is a better way...

Any comments, references or suggestions, would be greatly appreciated.


Percy E Perez


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.