The official community for ColdFusion.
Recently active
Hi In my CF10 server ( Oracle 11g ), I am getting frequently getting below error :[Macromedia][Oracle JDBC Driver] No more data available to read.
Hi,I am installing Cold Fusion 9 on a 32 Bit, Windows 2008 with IIS 7.After the installation, when the Administrator page is to appear, receiving a 404 message.I have added ISAPI Extensions and ISAPI Filters to the the IIS.Also, have added cfm, cfc and cfml to the Handler Mapping for the website.Per the research, the web.config file needs to include the cfm, cfc and cfml?The web.config on the server wit the 404 error has no entry for the cfm, cfc and cfml.I looked on the production server for the web.config file and the file contains the cfm, cfc and cfml.Below is an example entry:<add name="cfmHandler" path="*.cfm" verb='"*" modules="IsapiModule" scriptProcessor="C:\JRun4\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />Also, i saw a mention that the 32 bit needs to be enabled for the DefaultAppPool advanced setting in IIS Manager.I did not see an entry for 32 Bit.If the above is added to the other web.config file, would the Administration page appear?
We are upgrading a server from CF7 to CF10 and have run into an issue with the server throwing a 500 error when executing a CF file in a sub directory. For example, we have a login page which uses Application.cfm. We successfully get through the login process but when we transfer the user to a .cfm file in the sub directory of the main directory, the 500 error occurs. If we transfer the user to an index.html page in the same sub directory, it executes just fine. So this appears to be some type of issue with executing a CFM page only, but the issue is occurring only in a sub directory. Server is Windows 2008 server running CF 10 with the latest Hotfix. Any ideas would be appreciated.Thanks, Jeff Hilliard
HiI have inherited a Coldfusion environment that is probably in need of a good update.I've been surfing about but can't seem to find anything.Where should i be looking?Thx
So we have had problems stopping the CF App Server service in Windows. Admittedly, this fails from GUI, Command Line, etc even logged in as Local Administrator. The service hangs on stopping and eventually after about 10 minutes you can "refresh" (in the GUI) and see that it has finally stopped. It is taking so long, however, that the patching fails for the update so we don't know how to get the Server update applied.Like I stated, this happens from GUI or command line whether patching or not - any simple attempt to stop/restart the CF App Server service will just hang and will eventually stop - just not very quickly. (and not quick enough for the server update to successfully complete).Any ideas? Any help/workaround to get the server update applied would be appreciated....
Has anyone had this issue? How would I go about fixing it?
Hi All,org.apache.poi java library helps to create an excel files as:<cfset setFile = createObject("java","java.io.FileOutputStream") /> <cfset xlsFile = setFile.init(filepath) /> <cfset writeableWorkbook = createObject("java","org.apache.poi.xssf.usermodel.XSSFWorkbook") /> <cfset cellStyleStatic = createObject("java","org.apache.poi.xssf.usermodel.XSSFCellStyle") /> <cfset region = createObject("java","org.apache.poi.ss.util.CellRangeAddress") /><!--- Insert cells and rows ---> <cfset temp = writeableWorkbook.write(setFile)> <cfset temp = setFile.close()>The process fail with out of memory error for 17,000 plus rows: GC overhead limit exceeded.Anybody knows how to fix this issue?Thanks!
In the block/CFIDE requests section of the Server Lockdown guide for Coldfusion 9, when we edit the applicationHost.config file to block Coldfusion URL sequences, Coldfusion brings up an error HTTP Error 500.19 internal server error. A web.config file was also created and placed in the web root of the Coldfusion install. How can we fix this?Thanks in advance
I have a cfgrid bound to a query in a cfc. The query indents one of the columns with blank spaces dependent on a hierarchy, like:... SELECT regularColumn, indentedColumn = replicate(CHAR(32),((Hlevel-1)*2))+' '+indentedColumn...Query works fine, i can see the indents in SQL server manager, but they never make it back to cfgrid. If i pick any other "visible" character works fine.Any ideas?Thanks
What are the required IIS 8.5 features need to run ColdFusion 11? Would the following install the correct features? Should something be added or removed from this list?add-windowsfeature Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Request-Monitor,Web-Security,Web-Filtering,Web-Performance,Web-Stat-Compression,Web-Mgmt-Tools,Web-Mgmt-Console
I noticed that when I'm debugging that I get errors on missing images. I did a Google search on "coldfusion cfide missing enddoc.gif parentdoc.gif" and found a web site that had them. (I don't think they know that they have directory browsing turned on" and compared their directory to mine and found I was missing 8 images. These images are all new with CF11 and I would like to know how to get them without taking them from someone else website who I don't know. They do make the debug output look better. Can anyone tell me where to get them?
Dear allWhy Have developer is using ColdFusion?It is extremely outdated, not much company is using it in the worldThanks
<!doctype html><html><head><link rel="stylesheet" type="text/css" href="style.css"></link><script type="text/javascript" src="jquery.js"></script></script></head><body style="background-color:#00BFFF"><div class="tabs"> <ul class="tablink"> <cfif session.x eq 1 or session.x eq 6><li <cfif session.current_page eq "ci">class="active" </cfif>> <a href="check_initiation.cfm?page=ci">Check Initiation</a> <li></cfif> <cfif session.x eq 2 or session.x eq 6><li <cfif session.current_page eq "ofac">class="active" </cfif>> <a href="ofac_approval.cfm?page=ofac">OFAC Approval</a> <li></cfif> <cfif session.x eq 3 or session.x eq 6><li <cfif session.current_page eq "fla">class="active" </cfif>> <a href="first_level_approval.cfm?page=fla">First Level Approval</a> <li>&l
Hi,I am trying to use JQuery in my cfm code for an input form.JQuery Code:CFQuery:Input Object code:The object is to generate a pseudo SSN based on the last digit used stored in a database table row if the checkbox is checked.The output looks like this:It doesn't seem to do anything to check and uncheck the box but throws no errors. Running the debuggers doesn't seem to even step into the jquery code.???? This isn't the first time I have tried to use JQuery selectors without success in my cf code...HELP!Thanks,Nathan Manning
I have table with a column that holds elapsed times in an hh:mm format. I'd like to add these times together to get a total, but I can't add something with a :, and dateadd() isn't a fan either.Any suggestions?I thought about breaking apart the hh:mm and converting the hours into straight minutes, then adding them together, but that seems clunky.
I have multiple dropdown lists on a form that are interdependent on each other. So, I'm using cfselects with binding based on selection of the previous drop down.Here's the scenario:Each 'sales representative' is assigned a number of clients. In turn, the clients are assigned a designated customer service rep.I have a form that is using a cfselect to bind the clients displayed in the client list based on which sales representative is selected.Once the 'client' is selected, I would like the next drop down list to populate with all customer service reps but have the rep that is actually assigned to the client be the default selected item in the drop down (e.g., selected="selected"). I need all service reps listed because there are instances that a case will be assigned to a different service rep than the default.I have scoured the web and reviewed many examples but am still at a loss.In my research found something similar to the code I'm using in the cfc (below) to pull the a list of all
I imagine this is easy, but have tried to search here as well as Google it and have come up empty. I have a CFINPUT dateField control that is OK when my form loads, but then I want the control to capture a new date selection from the user and update the form. I believe the onChange event is used to process this, but I don't know how to code it so that it will refresh the form using the new date and keep the user's date selection.
Has anyone been able to successfully index PDF documents with Solr in CF10?
Is anyone having problems invoking web services in CF10, IIS 7, Java Oracle? We recently upgraded, and the web services are now returning the following error that the component can't be found:The web service operation caused an invocation exception. The root cause was that: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface Should the web service be created in cfadmin? It won't let me. I was understanding the calling the webservice from cfinvoke would create the webservice, but it isn't.Any information outside of the Adobe documentation which I've read would be helpful.We have this identical file running on four different servers. It works on two of the four. The only difference I see in the server settings besides the version of CF and the operating system, is the vendor/version of Java.1. CF10, Java Sun, IIS 7.5.7600.16385 - working2. CF8, Java Sun - working3. CF10, Java Oracle -
I have been working with CFBuilder 2 some time ago and i use to write my projects in FTP Server. Unfortunately, i have problems with german characters (umlaut) are transformed to (????) when i see them in action. Is there any solution to this problem (added utf-8 utility) to FTP CFBuilder??? Thanks and congratulations on your great forum.
Hi,I am going rebuild the fresh high performance server.OS: Solaris 10 (64 Bit )Can you suggest, which version of Apache is ideal for Coldfusion10 installation.Thanks,Paul.
Hi all,I've got some code that validats and cleans data that a client will upload. It works in 3 phases and I've got 4 separate files to process the data - the first initialises everything. Phase 2 needs to repeat itself until their are no more validation errors (the initial sweep will remove some errors, which in turn may result in more errors, due to data dependencies). I am using CFLOCATION to move between the phases once each is complete.This works fine in the browser, but I want to run it as a Scheduled task, but when I run it as such, the CFLOCATIONS don't work This is the basic setupInitialisation ---- cflocates to phase1Phase1 ---- cflocates to phase 2Phase 2 ---- IF no errors, then cflocate to Phase3, else cflocate back to Phase2 for another sweep with a URL param to indicate it's not the 1st passPhase3 ---- all done.Anyone have any ideas how I can achieve this if cflocation won't work? I know I could set up each phase as a separate task and execute the
I wrote a process in Coldfusion treating more than 2000 Excel lines- conversion to Access DB (using cfspeadsheet)- deleting bad lines (cfloop)- deleting again bad lines against an other DB (cfloop)- then extracting suspect lines to transfer them a a new table (cfloop)- then building a new table with the remaining good lines. (cfloop)I built this on a local machine : Windows 7 (32bits) with CF9.0.2It does work perfectly in 16 minutes.I said to my client, I does work.Then I upload this to my server : Windows 2008 server and CF 9.0.0 (64bits)And then a lot of problems :- cfspeadsheet does not work the same : it does nor recognize "excludehearrrow" , it add double quotes in some fields. I modify my programs to get a solution to these.- the CFflush does not work the same, it does not display data after the 1st loop.- The process time is much more monger on the server (for a limited rows, 800)- When running with all rows, it never ends on the server (no error message) 
Whatever parameters are used in the CfmessageBox,I get that error :buttonType attribute is valid only for messagebox type "confirm".Running CF9.0Example code:<cfmessagebox name="PopMessage" callbackhandler="GrabUserInput" labelok="Check info" title="Warning!" icon="warning" type="alert" message="This is a message box"/><script type="text/javascript"> ColdFusion.MessageBox.show('PopMessage');</script>Thanks for help.
I use on Local CF 9.0.2I used CFspreadsheet with excludeheaderrowNo problemon the server it is CF 9.0.0and with same files , it does not accept : excludeheaderrowSo how to exclude the first line from an Excel file to read. (column headers).here is the code :<cfspreadsheet action="read" columnNames="emp_id,emp,policy,emp_cc,tdate,legacykey,pdate,etype,purpose,attendee,atype,title,company,amount" excludeheaderrow="yes" headerrow="1" query="nf_data" src="#data_file#" sheet="1">Thanks for help.Pierre.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.