The official community for ColdFusion.
Recently active
I had CF8 running on iis7 and this used to work fine. When a user logged into IIS7 with windows authentication, the cgi.auth_user variable would stay set the entire time they were in the particular folder that required authentication.I just upgraded to CF10 and iis7.5 and now, when a user logs into a folder that requires windows authentication, the cgi.auth_user variable is set for just the page which required authentication, when they travel to the next page(s) via links, the cgi.auth_user variable is changed to NULL.The entire folder is set to require windows authentication, but no cgi.auth_user value is set...Can anybody help?
Hey all,I recently downloaded Coldfusion 10 and the Coldfusion Builder 2 trial. Everything installed fine but I run into a problem when trying to setup a server in CF Builder. The section for server settings tells me "Server home is not valid" when I point it to the C:\Coldfusion10 directory. It also greys out the version box leaving me unable to select a version. As a result when I try to start the server I get "Error retrieving server version" and "Unable to find JNDI port" errors. I've watched 2 video tutorials and done Google searches but I'm not sure if I'm doing something wrong or perhaps there some sort of incompatability with the software.Has anyone else encountered this and can point me in the right direction? Here's a screen cap of my settings and the error.Thanks.
For mac users-I use Adobe to open and work with Architectural plans. The measure tool has been a valuable partner in working up bids and scaling things when no measurements exist. However, no one has addressed how to use the scale tool for these type of drawings. Here is what I have come up with. Hold the option key and click the drawing and the change scale ratio menu appears. If your drawing says 1/4=1' use .25 in the scale ratio / select inch = use 1 in the next window / and ft in the last.Any of these digits should get you an accurate scaling of your document providing it was scanned properly. I have been looking for a list like this for years. I hope it helps you. .50 for 1/2" = 1'.1250=1/8"=1'.25 for 1/4=1'.37 FOR 3/8=1'.75 FOR 3/4=1'0.09375 FOR 3/32 =1'.189 FOR 3/16 =1'0.0625=1/16 = 1'0.0425 =1/20 =1'
I am running windows7, cf8 entrprise, and have setup several databses successfully. For some reason this one isn't working.Datasource: colcadbaseDriver: otherCF Data Source Name:colcadbaseJDBC URL: jdbc:mysql://localhost:3306/colcadbaseDriver Class: com.mysql.jdbc.DriverWhen I try to verify the dbase, I get the following error:Connection verification failed for data source: colcadbasejava.sql.SQLException: Timed out trying to establish connectionThe root cause was that: java.sql.SQLException: Timed out trying to establish connectionAny ideas what is happening here?
My dept is using one asp web app and one cf web app. Both apps. kind of related, many people use both, sometimes at the same time.To access these two apps, admin and users are using the same username and password.I'm trying to build a login interface on the CF app. for users to login into the asp application, eliminating the need for users to open another when they are already in the CF app.So I use CF Hot Link technique (using cfhttp url="url for the asp login UI"> and I got the asp login screen show up on my CF web app.How can I get this login "talk" to the action page on the asp side? is it even possible?Thanks,Alec
I have a webpage already want to make a app also can u help
Hello, I need to send array of array to Net webservice (rest) but the webservide respond the error:{"Exception":"Object reference not set to an instance of an object.","StackTrace":"I have an sample how can I send the with PHP and works but I try to send with CF code and I can not.This is the PHP$agent = array( array( ramoTecnico => 1, codAgente => 5095 ) &
HelloWe just migrated from CF9 to a CF10 installation. In CF9 cfstat was always working great and gave good information for monitoring.Now on CF10 cfstat first didnt even work (0 everywhere) so I changed the port in settings like some adviced on the internet.After that the 0 started to change. But now even the changed number will stay as it is (Just Pg/Sec and Db/Sec changes and running requests are changing).So I cant use cfstat anymore because I dont really see how many requests are running and how many are queued.Is there any solution how to fix that or are requests queued broken in CF10? Or am I even missing something?thanks in advance
Hi,when I try to open the coldfusion administrator (CFIDE/administrator/index.cfm) the login is showin ok, I enter the password, and it redirects to the CFIDE/administrator/enter.cfm with this error:The SHA-256 algorithm is not supported by the Security Provider you have chosen.It is Coldfusion : 10,0,13,283111 Enterprise, running on Websphere 7.0.0.31Regards
I am at my wits end. I have built a portal around the CF Calendar only to discover that in IE 9 the CF_Cal will not advance the months. Below is the tag that shows a popup calendar to select the date. In IE9, clicking on the back or forward button does nothing. Any help wuld be appreciated. <cftry><cfif parameterexists(attributes.target) EQ 0><cfthrow message="NoTarget"><cfelseif parameterexists(attributes.formname) EQ 0><cfthrow message="NoTarget"></cfif><cfparam name="attributes.date" default="#Now()#"><cfparam name="attributes.image" default="0"><cfoutput><script language="JavaScript">var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December")var totalDays = new Array(31,28,31,30,31,30,31,31,30,31,30,31)function openCalWin_#attributes.target#() { stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' &n
I downloaded the latest CF10 installer from Adobe. Installed it on Windows Server 2012 and it works fine for regular port 80 web traffic. But, I get a connection error when I try to use https (port 443). I have bindings in IIS 8 for both http and https. Does anyone have any ideas on how to troubleshoot this?
At first I though this to be a Vista issue, but it happens on XP as well. I have downloaded both the Trial and the Dev editions, (appear to be the same), and after initial extraction I get "Please select another location to extract the installer to:". Thoughts. I am running as Administrator on both systems. I'd really like to check 8 out.
Hello,I have been unable to find any instructions on how to do an upgrade from CF9 ( Linux - RHEL 6.0 ) to CF 10.I have a CF10 full copy and license yet there does not seem to be an upgrade option via the installer when I run it.~Stu 😞
So here's the deal. I have a Config object. It is passed a path to an XML file, and upon init, it processes all the XML and creates variables needed so that in the end you can make calls to it like 'Config.getSetting( 'nameOfSetting' )'. Well, one of the things the XML file defines are ColdFusion THIS-scope settings like 'sessionManagement', 'applicationTimeout', etc.In the application.cfc, I was thinking about having the following code:<cfif isDefined( 'application.Config' )> <cfset application.Config.processPseudoConstructor() /><cfelse> <cfset tmpConfig = new path.to.Config( 'path/to/config.xml' ) /> <cfset tmpConfig.processPseudoConstructor() /></cfif>What the processPseudoConstructo() function does is execute an interative loop over all the (now-existing) internal-to-Config 'this-scoped' values, so it will be setting ColdFusion this-scoped variables needed
Using CFDOCUMENT to convert html to PDF, but the resulting PDF pages are buggy. For instance table cell backgrounds bleed outside the table cell borders, and lots of other rendering issues that make it hard to use this tool. Has the PDF conversion been upgraded in CF10, or should I look for another PDF converter? And if so, which one?
I am using Cold Fusion 10,0,9,284568 which was installed as part of a software package purchased from a third party called Sunapsis. This software prepares mass email messages to be sent to our students however, our servers are limited as to how many message can go out at a time. Because of this we are only able to send about 25-30 emails out of a 1000 the rest go into an undelivr directory. I can take those and resend them but I still only get out about 25. Is there a feature in adobe that allows us to send mass email in smaller groups?
Hi all,I am at a loss how to access a variable that's set inside of a cfdocumentitem tag. The reason I'm doing this is that a client of mine is wanting to print invoices in their browser but they are using double sided paper so I need to access the current page number and if it's not an odd numbered page, I need to force another page break.So my code looks somerthing like this:<cfdocument format="pdf"><cfloop query="getOrders">Invoice stuff here...<cfdocumentitem type="pagebreak"></cfdocumentitem><!--- Add one page break by default after every order ---> <cfdocumentitem type="footer" evalatprint="true"> <cfif CFDocument.CurrentPageNumber MOD 2 EQ 0> <cfset AddPageBreak = 0><!--- This is the back side of a page so we don't need to add another page break ---> <cfelse>
There is an insane number of files in this folder, and I need to just delete the contents OR better yet delete the folder and recreate it. Cannot do either. I have not tried to stop CF7 MX and then tried to delete the folder. Not sure if that will help.
Change Default Connection Properties for SQL Server / ColdFusion 7 I've started working with indexed views in my Microsoft SQL Server 2005 database. Whenever a SQL statement alters a field ( INSERT, UPDATE, DELETE ) used by the index on an indexed view certain connection settings must be set. SET ANSI_NULLS ON SET ANSI_PADDING ON SET ANSI_WARNINGS ON SET CONCAT_NULL_YIELDS_NULL ON SET NUMERIC_ROUNDABORT OFF SET QUOTED_IDENTIFIER ON SET ARITHABORT ON When ColdFusion connects to SQL server the ARIHABORT setting is OFF causing SQL statements to fail. I currently have two workarounds for this: 1. Use a stored procedure created with the required settings. 2. Run a cfquery containing the required settings before the UPDATE, INSERT, or DELETE cfquery statement. Questions: 1. Is it possible to configure ColdFusion's connection to set ARITHABORT ON by default? 2. Does Microsoft's JDBC driver use this setting by default? My environment: Microsoft SQL Server 2005 ColdFusion 7.0.2 W
After trying to use a stand-along version of Adobe ColdFusion Builder 2 (built on Eclipse) that was slow as molasses I am, instead, trying to run CFB as a plug-in to a standard Eclipse installation. So far so good. However....I have a Logitech mouse with a ton of buttons I've customized with Logitech's SetPoint to perform common tasks such as Copy, Cut, Paste, Undo, etc....These buttons are not working in Eclipse. I've tried messing around in the key mapping areas but it doesn't appear as if the key commands are being sent in from the mouse at all.Here's the oddity: When I was using CFB as a stand-along install these buttons were working. Now, as a plug-in to Eclipse they are not.Is there a setting somewhere in Eclipse to allow key commands from external apps like Logitech SetPoint?
So, you do the research on how to get a CFGRID to update via SQL update because there isn't much control in the CFGRIDUPDATE function. You follow the online assistance and still get: Complex object types cannot be converted to simple values.Here is the code, can someone help a guy out? What am I missing?<cfif IsDefined('form.evalgrid.rowstatus.action')><cfloop index="i" from="1" to="#ArrayLen(form.evalgrid.rowstatus.action)#"><cfquery name="updatevaluations" datasource="abcde">UPDATE evaluationsSET pridefslascore = '#form.evalgrid.pridefslascore#'WHERE evaluationid = #form.evalgrid.original.evaluationid#</cfquery></cfloop></cfif>Forever thankful for a solution.B.
http://leaguemanager.playerspace.com/json.cfm?json_type=league_roster&league=73&requesttimeout=99999&return_script=%2Fmanager_pro.cfm%2Fleague%2F73%2Faction%2Fmanageusers%2Fcontent_action%2Fleague_rosterThe page seems to just output half the intended data. Sometimes, if I refresh it, I can get it to output completely, but usually it just reaches a point and stops displaying and the loading circle in the browser disappears.Any ideas why?This is an AWS load balanced CF10 Server running Windows Server 2008
I have a file that queries orders and writes them out in xml to be polled by some software that reads the order into an erp system. It reads fine but I can't parse an xml reponse that will update order status with xmlParse , it throws an error. I get the software response xml with GetHTTPRequestData().content fine. I just can't do anything with it there. As soon as I add xmlParse it errors out. I can write out the response to a seperate file and work on it there , but it get's overriden on the next iteration.I'm looking for an alternate solution. Is there any way to create some code to "catch" the xml in the seperate file I write or post it to , but not have the the code that will update my status table overwritten each time the request is sent? This is not a web service , just plain xml with http post 's.Tks.
Hi,We have a ColdFusion (9.01) application deployed under WebSphere 7. There are some application credentials stored in a J2C alias that was configured using the WAS console. I would like to know if there is any way I can retrieve those credentials programmatically using ColdFusion.I found an example of how to retrieve them using Java which is currently not an option but I was wondering if the underlying objects can be accessed from CF.Here is the Java example:public static javax.resource.spi.security.PasswordCredential getJ2CData(String j2cAlias) throws Exception { String methodName = "getJ2CData"; javax.resource.spi.security.PasswordCredential result = null; try { // ----------WAS 6 change ------------- &nbs
I'll try to make it simple, but ask any questions if I need to explain further.I have a situation where fields in the database are datatype decimal. Some of these datatype fields are NULL, which is good.When other non-decimal datatype fields in the CFGRID are updated but the datatype decimal fields are not updated it is not passing NULL to the CFGRIDUPDATE. It appears that it is passing the following: ,,,,,, With no single quotes around each individual variable and even though that would appear to be NULL to me and there were no updates, it causes the error: Invalid data '' for CFSQLTYPE CF_SQL_DECIMAL. And yes, "Allow NULLS" is checked in the Database.Here is an example of the source code after the CFGRID is submitted to the CFGRIDUPDATEs. You can see that after 'CI' there are a lot of commas and no values because no values were entered but they are not recognized as NULL. [4063,'A053965','13-14 ','','','134
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.