Problem in Cold Fusion MX

we have an issue displaying content that is under a database,
with a datatype ntext. CF don't give us any error but it just don't
display the field that is in a ntext datatype.
Is there a way to get Cold Fusion to display the content that
is under that datatype?
Everything goes well with CF5 but with CF7, that problem
appear??? Help anyone???

I have correct the problem by placing the ntext value last in
the select statement... that is king of weird... doesn anybody know
another way to correct that problem???
You have to put:
<cfquery datasource="dsfusion" name = "voir">
select
id,titre,chronique,images,date_parution,heure_parution,signature,domaine,chroniqueur,cour riel,grande_images,commentaire,approbation,para1,para2,para3,para4,para5,para6,para7,para8 ,para9,para10
from contenu
where id = #identification#
</cfquery>
instead of
<cfquery datasource="dsfusion" name = "voir">
select * from contenu
where id = #identification#
</cfquery>

Similar Messages

  • Problems with Cold Fusion Forms

    Hey Everybody -
    Pretty new to these forums and cold fusion in general. I
    created a number of forms in cold fusion for a school. They sign up
    for classes and when they fill out ALL text fields they
    successfully submit the form and they see a success page. Sounds
    great right? well kind of.
    If a user doesnt fill out the entire form, and submits it
    gives them an error with coldfusion errors. So I am faced with a
    few choices. I can either: have the form forward them to an error
    page instead of the coldfusion error, or if there's a way I can
    fill in the null values so that there isnt a problem with nulls. I
    want to have validation but I want it in a seperate page since I
    dont have the room to add errors in the form itself.
    Any help would be great. Thanks in advance.

    I always do ALL my form validations with a client-side JS
    **and** with server-side CF.
    I don't use <cfform>, I know <cfform> is
    dependant on the java version the user has installed on their end.
    I know I came across quite a few issues where on one machine the
    <cfform> worked fine, and on another it konked out.
    Anways, this is one of my most basic forms:
    =============================================
    PAGE1.cfm
    <html>
    <head>
    <script>
    function validate() {
    var IA = document.ContactUs;
    var errorMSG = "";
    if(IA.FullName.value == "") {errorMSG += "Full Name\n";}
    if(IA.Email.value == "") {errorMSG += "Email\n";}
    if(errorMSG != "") {
    alert("The following fields are required:\n\n" + errorMSG);
    return false;
    </script>
    </head>
    <body>
    <form name="ContactUs" action="page1_x.cfm" method="post"
    onSubmit="return validate();">
    <table>
    <tr>
    <td align="right">Name: </td>
    <td align="left"><input type="text" name="FullName"
    maxlength="50" size="25"></td>
    </tr>
    <tr>
    <td align="right">Email Address: </td>
    <td align="left"><input type="text" name="Email"
    maxlength="50" size="25"></td>
    </tr>
    <tr>
    <td align="right">Comments: </td>
    <td align="left"><textarea name="Comments"
    cols="20" rows="5" id="comments"></textarea></td>
    </tr>
    <tr>
    <td colspan="2">
    <input type="submit" name="SubmitContact"
    value="Submit">
    <input type="reset" name="Reset" value="Reset">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    =============================================
    =============================================
    page1_x.cfm
    <cfif isdefined("FORM.SubmitContact") and FORM.FullName
    NEQ "" and FORM.Email NEQ "">
    <!--- is all is OK, do whatever it is you want to do.
    --->
    <cfelse>
    <!--- if the submit button was no clicked, fullname and
    email (required fields) not filled out, send them back to the form
    --->
    <cflocation url="page1.cfm?status=1" addtoken="no">
    </cfif>
    =============================================
    Now, there is sooooo much more you can here for a full blown
    error-proof script. You can also check if the e-mail is a valid
    e-mail (server side), and if the field is a numeric field (like zip
    code, phone number, etc) then check if that field is valid, etc.
    This is just a run-of-mill simple form and validation
    submission using both client-side JS and server-side code.

  • Problem with Cold Fusion and SQL Express

    I can connect to this database with EMS but have this error
    when I try to connect through ColdFusion. Any ideas?
    Connection verification failed for data source: SEAN
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver][Macromedia][SQLServer JDBC Driver]The requested instance is
    either invalid or not running.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver][Macromedia][SQLServer JDBC
    Driver]The requested instance is either invalid or not running.
    Best Wishes,
    Dave

    Thanks CJ and TSB,
    I did find that the TCP/IP was disabled but still have an
    error when I try to connect.
    Connection verification failed for data source: K
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver][Macromedia][SQLServer JDBC Driver]The requested instance is
    either invalid or not running.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver][Macromedia][SQLServer JDBC
    Driver]The requested instance is either invalid or not running.
    Any other ideas?
    Thanks,
    Dave

  • Cold Fusion Problems

    I am trying to access information that is really in PDF format (I think) but uses Cold Fusion to do the work. Does OSX have a problem with Cold Fusion and if so is there a work around?
    Thanks

    I think Preview should be able to handle those kind of files

  • Flex/cold fusion wizard & Visual Query builder has a problem

    has anybody tried the cold fusion / flex application wizard in flex 3?
    to get there follow these menu choices:
    file     new     other     cold fusion wizards     coldfusion / flex application wizard
    I previously installed cf8 and the rds query viewer works fine.
    i simply choose from the following menus:
    window     other views...     Cold Fusion     RDS dataview
    i was initially prompted for the rds password which i entered.
    in the RDS Dataview, I can see the tables, columns, and data for all my existing datasources.
    Unfortunately, when I use the COld Fusion/Flex application wizard,
    I get to the page layout and design screen, add a page with the name artists, choose page type master,  and click the Edit master page button.
    Nothing happens when I click the Edit Master Page button.  I followed the cf/flex tutorial exactly but there is no query builder.
    I dont know if this is related but in the RDS query viewer, the Visual Query BUilder doesn't work.
    I think this may be the problem (the visual query builder has a problem)
    Unfortunately, how do I fix this problem

    already found the answer
    flex has to be run as administrator if using WIndows Vista
    simply shut down flex, right click the startup icon, choose run as administrator, and the visual query builder runs fine.
    Dont know why this occurs because you are always prompted for the rds password.
    anyway, problem solved.
    http://forums.adobe.com/message/228385#228385

  • JVM cold fusion problem

    We are running weblogic 6.0, accessing it from cold fusion.
    What we are seeing is, we can access the application server --
    sometimes. Seems about 50% of the time we get succes, the other 50% we
    are getting an exception "Exception: Cannot instantiate class:
    weblogic.jndi.WLInitialContextFactory"
    We have been trying to figure this out for days now, it appears that the
    WLInitialContextFactory class is being unloaded and is failing on trying
    to reload -- sometimes.
    has anyone else out there seen problems like this and gotten a fix?
    We made the jvm memory in cold fusion to 32MB's, 4MB's initial and it
    doesnt seem to be running very low on memory.
    We have changed from using jdk1.2.1, jdk1.2.2, jdk1.3 and they all seem
    to perform the same. The percentage of failure seems to change slightly
    but I am guessing that the gc in the different jvm's is working
    differently.
    Any help you can add will be MUCH appreciated!
    -chris

    Thanks a lot!
    I had the same problem and nearly go nuts with it. At Macromedia I only found
    an article which described a 'limitation to ColdFusion classloader' (nice description
    for a bug).
    Karsten.

  • Air,Flex ,Cold Fusion There is a problem with P4990 Release of AIR Updater

    using Air/Flex/cf I am not able to connect to my Cold Fusion
    component after running the P4990 UPdate this morning, It worked
    fine on both an XP and Vista Machine running P4880 , but now even
    after a restart my simple connection to the cfcomponent is hanging
    and will not run.
    this worked fine in the release I was running this morning,
    runs fine in a browser just not after patching ?
    two questions ,
    where can I download the P4880 Release Again
    and is this a bug or a change ? ,
    if its a change what is the new way of connecting.
    Ray

    I read through the notes and iI even recreated my air file,
    but it is still hanging , here is the html for the connection
    to the app as well as the flex remote connection I am using, it all
    works in the browser, but again just hangs in air after this update
    <cfoutput>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"
    name="VPR_Users" width="1003" height="650" align="middle"
    id="VPR_Users">
    <param name="movie"
    value="/VS/Modules/Administration/plugins/users/ui/screens/VPR_Users.swf?u=#Application.V iper.userID#"
    />
    <param name="quality" value="high" />
    <param name="bgcolor" value="##869ca7" />
    <param name="allowScriptAccess" value="always" />
    <embed
    src="/VS/Modules/Administration/plugins/users/ui/screens/VPR_Users.swf?u=#Application.Vip er.userID#"
    quality="high" bgcolor="##869ca7"
    width="1003" height="650" name="VPR_Users" align="middle"
    play="true"
    loop="false"
    quality="high"
    allowScriptAccess="always"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.adobe.com/go/getflashplayer">
    </embed>
    </object>
    </cfoutput>
    FLEX CONNECTION CODE (flexgateway is my cfc)
    <mx:RemoteObject id="VIPER" destination="ColdFusion"
    source="VS.bin.engine.flexgateway" showBusyCursor="true">
    <mx:method name="setUserInfo"
    result="setUserInfoResult(event)"
    fault="Alert.show(event.fault.message)"/>
    </mx:RemoteObject>
    the function that runs and hangs
    private function init():void{
    pUserID = Application.application.parameters.u;
    VIPER.setUserInfo(pUserID);
    the variable is entering into flex fine, the flex application
    is loading into the air harness fine but when I run the page ,
    it hangs like it is not even connecting.

  • Cold Fusion in a generic thread pool and enabling JAVA don't mix

    I've got Cold Fusion MX installed on a server running Sun One 6.1. I ran into a problem trying to enable JAVA (for servlet support) which I had previous disabled because I didn't use it.
    Well, when I went to enable JAVA on the server last week, the service wouldn't restart and the error logs gave me no indication of the problem.
    Through a tedious trial-and-error process I've found that having Cold Fusion running under a generic thread pool while trying to have JAVA (the j2ee plugin) running under Sun One simply doesn't work (for whatever reason).
    Once I killed the pool, everything runs fine.
    Does anyone happen to know why this is? I keep CFMX under its own thread pool because there are certain elements to CFMX that aren't wholly stable and can result in CFMX crashing. If it crashes, the process keeps accepting requests, but never processes them. I'd like to keep the native thread pool free to keep accepting non-CFMX requests even when CFMX crashes.
    Thus the separate thread pool for CFMX.
    But now I can't run CFMX in a separate thread pool with JAVA enabled.
    Anyone have any insights into why this is?
    Thanks

    Two things. Firstly, it's better to use     private static final Object classLock = new Object();because that saves you worrying about whether any other code synchronises on it. Secondly, if you do decide to go for the delegation route then java.lang.reflect.Proxy may be a good way forward.

  • I'm unable to connect to database thru cold fusion

    I'm unable to connect to database thru cold fusion. it
    sometiems give me an error that your uname is undefined , soemtimes
    it gives ur index page not found so i created index page also but
    still im unable to connect to database n update my records..plz
    help me out..im a fresher in cold fusion

    I am having a similar problem having CFMX 7.02 verify my SQL
    Server 2005 Data Sources.
    I am using the sa account for CF to access the db's. But i
    get the following error:
    Connection verification failed for data source: myDatabase
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Every role in SQL Server has the sa grantor Grant enabled. I
    can also login to SQL Server with the sa account w/o a hitch.
    I don't know what else to do. The server information is set
    to the ServerName port 1433, datasource name and database name are
    the same as the database name in sql server, and the username and
    password are set for the sa account.
    Thanks!

  • Cannot browse server following installation of hotfix 4 to Cold Fusion 9.0.1

    Hi
    I've been tasked with updating a ColdFusion 9.0.1 installation to the latest patches.  I've started with Hotfix 4.  The installation appeared to go OK, and the services started after I applied the update.  However, when I went to moved onto the next update (APSB13-10) starting by browsing to the update file I ran into a problem.  When I click on the "browse server" button to locate the .jar file for the next update I encounter an error:  "Unable to authenticate on RDS server using current security information".  I've also found that if I try to put the full path into the Update File line and hit "Submit Changes" it errors.
    This seems to be the same problem as http://forums.adobe.com/message/5256752#5256752, but there's no solution to the problem in that discussion.
    I've checked the RDS settings, and RDS is unchecked.  I notice that this screen is different from the pre-upgrade screen, but this seems to be as a result of, I think, APSB13-03, which is included in HotFix 4.  If I try to make any changes on this screen it errors and logs me out of the Cold Fusion administrator.  I've tried commenting out the RDS section in the web.xml file, but this gives me a different error.
    I'm doing this on an isolated test server which has no access to the network.  If I revert to the snapshot I took before the upgrade attempt ColdFusion runs as expected.
    Any ideas what might be the problem?  Thanks in advance.

    In case it helps anyone I've realised what I was doing wrong here.
    The main “problem” was that one of the updates included in Cumulative Hotfix 4 is APSB13-03 (http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-03.html).  I knew this changed the behaviour of RDS but my knowledge prior to this work of ColdFusion and in particular RDS was very limited, and so I didn't understand the implications of this hotfix.  What this update does is disable RDS by default; I wasn't really aware what the RDS status of my server was prior to the update, partly because before this update there is no "disable RDS" tick box to show whether it is enabled or disabled.  With RDS disabled, you can't browse as the update instructions require you to do.  Obviously RDS was enabled on my setup without me realising it.
    My understanding of this wasn't helped by the fact that when I tried to paste a path into the box and hit the "update" button I got a different error, which I described in my original post.  Similarly if I tried to change RDS settings, or do pretty much anything in the administrator, it failed and logged me out in the same way.  It seemed to me that the whole thing was broken by the updates and I didn't know how to fix it.
    So, following the excellent advice of Charlie Arehart in two articles: http://www.carehart.org/blog/client/index.cfm/2010/12/12/cfmyths_cumulative_hotfixes and http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break, I went back to the start and installed the cumulative hotfixes one by one.  Although I don't think I actually needed to do this, as Hotfix 4 seems to contain all the previous hotfixes, it did help me realise that the browsing/RDS issue and the error and logout when I tried to do anything in the administrator were two different problems. After further bit of googling I found people suggesting that you should use https to access the administrator, but the shortcut I had was taking me to http (as far as I know I was using the default shortcut).  I found that by going to https the problem of being logged out when trying to do anything disappeared and I could put a UNC path in to update the .jar file for the next update.  I also was now able to enable RDS for single password and could browse like the hotfix instructions advise.  I've since disabled RDS and accepted the inability to browse as a "feature", happy that it's more secure as a result.
    So my “problems” were largely self-inflicted due to my own ignorance of the product, but it wasn’t helped by Adobe’s apparent inability to grasp that there may be similarly ignorant people attempting these updates.  It would have been nice to see some guidance from them.  Furthermore, the cumulative hotfix 4 page (http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-4-coldfusion-901.html) doesn’t even mention RDS, let alone that the default behaviour changes.  It’s only when you check the individual hotfix information that you can see the information that helped me to realise where I was going wrong.
    As for using https not http; great, but if I’m right that my shortcut is the default out-of-the-box shortcut, where’s the information to advise to change to using https as a result of one of the hotfixes included in hotfix 4 (originally, I think, hotfix 2)?  It’s certainly not mentioned on the page for cumulative hotfix 4. 

  • Cold Fusion Issue

    Hi There my name is Javier and I am a baby on this java issues.
    I am having this problem trying to get the pay flow program from VeriSign to work with the cold fusion administrator I did all the steps but when I test it came out with an error saying that I need to install the JVM or JRE because it didn't find it so you need to tell the path of the jvm.dll on the Cold Fusion Administrator in order for this test to run succesfully.
    I did a search for jvm.dll nothin but I notice there is some java files there so I did a test went to this site download jre 4.1.1.8 and install it on my home computer the installation went fine and then I notice the installation creates a directory called JRE4.1.1.8 and I did a search for the jvm.dll but also ntohing like that shows up instead I found two dll files, javai.dll and another java dll file but the question is: IF i DESIRE TO INSTALL THE NEW VERSION OF JVM ON THE SERVER WHAT DLL FILE SHOULD I CHOOSE TO BE DEFINE ON THE COLD FUSION ADMINISTRATOR, was there any changes from the last version of JVM to the news version I am assuming there is but I don't know what to look for.
    Any help on this matter would be highly appreciated.

    Did you figure out the solution to your problem? I am running into the same issue.

  • JDBC/Cold Fusion to 8.1.6 DB

    I'm using the 8.1.7 JDBC client on a Win2K Cold Fusion Server. The client connects to the database, but frequently hangs in the midst of a simple query. When I look at the task manager in Windows, the jrun process has maxed out at 99% with very little RAM being used. I'm trying to figure if this is a JDBC problem or a java runtime bug.
    anyone have suggestions?

    Update: I am running the rmjvm.run( true ) procedure to remove the jvm install. This is hanging as well. It creates the 'MONSTER' rollback segment, via the initjvmaux.rollbacksetup call, but then hangs (it appears) after that...I'll let it run a bit longer but this getting very frustrating is to say the least (of course, I have said more @()$*&@$(*#&!!!).
    If I do a fresh install on the same machine, same parameters, and everything works then Oracle needs to work on their conversion utilities...and I thought their problems were just limited to their GUI tools...oh well. Oh yeah, perhaps a class action lawsuit against big O for loss of productivity because their conversion utility didn't work as documented. Don't get me wrong, best DB on the market, unfortunely, that's where their success ends in my opinion.

  • Oracle Sequence Vs autoincrement feature in cold fusion-Weird error!!!

    When a oracle sequence is used with cold fusion there is a problem with sequence generation. It generates sequence
    like "5,4,6,5...."etc. It works fine when using the autoincrement feature. Our application demands using the sequence from oracle.
    Have you come across any problem as this? Can anyone tell me if there is any disadvantage using oracle sequence with cold fusion.
    Please let me know the disadvantages of the same if any...
    Thanks!
    Janani.

    This was definitely the right answer, I thought ODAC was already installed on the server, but apparently not. I installed the 64-bit OCAC XCopy version on the server and now it works.

  • Cold Fusion Developer on Intel Mac

    I just ordered an Intel Mac....will I be able to install cold
    fusion on it for development?
    I saw the system requirements posted on the site were for
    Power PC processors. So I was just curious if anyone has
    successfully used cf with Intel yet; without problems.
    Thanks,

    Many of us have this running on Intel just fine.
    Heres probably the two best links out there to get it
    working..
    http://webmages.com/cfmxIntelOSXguide.html
    http://cyberdust.wordpress.com/2006/04/12/cfmx7-on-macbook-instructions/
    Cheers
    Brendon
    "jmortimer" <[email protected]> wrote in
    message
    news:eljlv4$8jr$[email protected]..
    >I just ordered an Intel Mac....will I be able to install
    cold fusion on it
    >for
    > development?
    > I saw the system requirements posted on the site were
    for Power PC
    > processors.
    > So I was just curious if anyone has successfully used cf
    with Intel yet;
    > without problems.
    >
    > Thanks,
    >
    >

  • Cold Fusion Application Server

    Hello all,
    I'm having the weirdest issue with our CF server. They do not
    run. However when I start Cold Fusion Application Server, I cannot
    login to any of my backend admins. I suspect that it is because it
    tries to set an application variable. Then I check for to see if
    there the app var is set, if not it redirects to the login page.
    I am guessing that the app var is not being set. If I stop
    Cold Fusion Application Server, everything works fine.
    I don't want to have reinstall CF 5 (on Windows 2000 srv).
    Any ideas???
    thanks

    DettCom,
    I had a similar problem to this, but I don't know if you have
    the same configuration (it was on CF 6.1). I don't know a whole lot
    on CF 5.
    I was storing client variables in the cdata/cglobal tables,
    and one variable's string ended up longer than I had planned for
    (although it was, in fact, correct). I had to increase the size of
    the "data" field in CDATA.
    Also, anything in the logs? (I know you probably would have
    mentioned if there were).
    - Mike

Maybe you are looking for

  • Me32K - Need to change the mail subject line, attachment name

    Hi, can u please throw light on the below three points which needs to be achieved. 1. Subject line of the mail needs to be modified from standard to "PO# XXXXXXXXXX". 2.  Attachment name should be updated from stanadrd to "PO_XXXXXXXXXX". 3. Also by

  • Pie chart wedge itemRollOver

    I need help with creating a custom pie chart class that will allow a function call on pie wedge rollOver. Right now I can get a function call on rollover using itemRollOver using; import mx.charts.events.ChartItemEvent; -in the <mx:PieChart>; itemRol

  • Illustrator CS6 crashing on save

    Hello, Illustrator CS6 has been crashing for one of my users on save recently. She has been sending me multiple crash reports and I have not been able to figure out what's going on.  Here's a little history She is running and intel 2.66 with 8 GB of

  • Simple zsh

    I want to know how you most easily do this. Often I find myself doing this command: for a in PATTERN; do cksfv -i -g $a/*.sfv; done I would like to make a simple command that I can issue like: chk PATTERN and it would run that command. But I'm not su

  • Flash CC stage empty when drawing

    When I draw on the Flash CC stage nothing I draw comes up. Only when I a drag and select the entire stage then the drawing shows up. But once I click off the drawing it disappears. I have no idea what is going on.