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

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 JPA Implementations and SQL BIGINT in primary keys

    I have a general Question about the mapping of the SQL datatype BIGINT. I discovered, that there are some different behaviour depending on the JPA implementation. I tested with TopLink Essentials (working) and with Hibernate (not working).
    Here is the case:
    Table definition:
    /*==============================================================*/
    /* Table: CmdQueueIn */
    /*==============================================================*/
    create table MTRACKER.CmdQueueIn
    CmdQueueInId bigint not null global autoincrement,
    Type int,
    Cmd varchar(2048),
    CmdState int,
    MLUser bigint not null,
    ExecutionTime timestamp,
    FinishTime timestamp,
    ExecutionServer varchar(64),
    ScheduleString varchar(64),
    RetryCount int,
    ResultMessage varchar(256),
    RecordState int not null default 1,
    CDate timestamp not null default current timestamp,
    MDate timestamp not null default current timestamp,
    constraint PK_CMDQUEUEIN primary key (CmdQueueInId)
    The java class for this table has the following annotation for the primary key field:
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "CmdQueueInId", nullable = false)
    private BigInteger cmdQueueInId;
    When using hibernate 3.2.1 as JPA provider I get the following exception:
    avax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:218)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:176)
    at $Proxy16.persist(Unknown Source)
    at com.trixpert.dao.CmdQueueInDAO.save(CmdQueueInDAO.java:46)
    at com.trixpert.test.dao.CmdQueueInDAOTest.testCreateNewCmd(CmdQueueInDAOTest.java:50)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at
    Caused by: org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
    at org.hibernate.id.IdentifierGeneratorFactory.get(IdentifierGeneratorFactory.java:59)
    at org.hibernate.id.IdentifierGeneratorFactory.getGeneratedIdentity(IdentifierGeneratorFactory.java:35)
    at org.hibernate.id.IdentityGenerator$BasicDelegate.getResult(IdentityGenerator.java:157)
    at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2108)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2588)
    at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
    at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290)
    at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108)
    at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
    at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212)
    ... 34 more
    This means, that their ID generator does not support java.math.BigInteger as datatype.
    But the code works if I take TopLink essentials as JPA Provider.
    Looking at the spec shows the following:
    In chapter 2.1.4 "If generated primary keys are used, only integral types will be portable." Integral datatypes are byte, short, int, long and char. This would mean, that the Hibernate implementation fits the spec but there seem to be a problem in general with BIGINT datatypes.
    I use a SYBASE database. There it is possible to declare a UNSIGNED BIGINT. The range of numbers is therefore 0 - 2^64 - 1. Since in Java a long is always signed it would mean its range is from -2^63 -1 to 2^63 -1. So a mapping of BIGINT to java.lang.long could result in an overflow.
    The interesting thing is, that I used NetBeans to reverse engineer an existing database schema. It generated for all Primary Keys of Type BIGINT automatically a java.math.BigInteger. But for other fields (not being keys) it mapped BIGINTs to java.lang.long.
    It looks like there are some problems with either the spec itself or the implementation of it. While TopLink seems to handle the problem correctly, Hibernate doesn't. But Hibernate seems to fulfill the spec.
    Is anybody familiar with the Spec reading this and can elaborate a little about this situation?
    Many thanks for your input and feedback.
    Tom

    Not sure if I clearly understand your issue, would be good if you can explain it a bit more clearly.
    "I select a value from LOV and this value don't refresh in the view"
    If you mean ViewObject, check if autoSubmit property is set to true.
    Amit

  • Problem with Macbook pro and Airport Express!!!

    I'm having the same problem I have seen others with right now with my macbook pro and my airport express. I have set up and reconfigured the A.Express 3 times now. I have the green light, i have the Ethernet configured, I have full bars of reception but I cannot access the signal. meaning I can not go online even though everything is set up correctly and says that it's good to go. Anybody have any advice?
    Is it an issue with having to re access the network I created with the Airport utility?
    It worked the first time I configured the A. Express with my macbook pro no problem. Then suddenly my computer was just not getting internet. Even though all the settings were ok and I was even getting full bars reception from the device on my comp. So I reset the A.Express and have been having the problem mentioned above since that point. Please help me if you have any advice. Thanks so much in advance.

    I had the same problem, and to test if I was connected launched Safari and Safari after a few seconds of not connecting, it shows you a dialog box, with options to follow up, I follow the dialog box and like magic I am connected to the Internet.

  • A difficult problem with php code and sql code

    it's good place to visit(Paged Result Sets with PHP and Oracle)
    http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_paged.html
    maybe below part php code could not be used in above address's php code.
    if((isset($l_company) and $l_company != $rows['COMPANY']) or empty($stmt) and empty($total_pages) ) {
    echo "<tr bgcolor='#CCFFCC'>";
    echo "<td colspan= 3 align='center'>".$l_company."</td>";
    echo "<td >".$totalcomany." </td>";
    $totalcomany = 0;
    echo "<td > </td>";
    echo "</tr>";
    $l_company = $rows['COMPANY'];
    because the same company in one page could calculate sum while if
    the same company in two pages could not do that.
    and what do you think of ?
    thanks !

    Hi,
    this is because your sql-statement selects only the rows, you need to build this one page.
    Neither php nor the given result from your query knows about data wich will be part of the result of another page.
    Greetings from Hamburg
    Thorsten Körner

  • Problem with VMWare Fusion and OS 10.6.8 and Safari

    when i try to open Safari from say a tracking number or even if i try to install an extension for safari from a download by double clicking it in my downloads folder instead of my mac version of safari opening it opens safari in vmware fusion this just started a few days ago i haven't updated anything i'm using safari 5.1 on my mac and this is a imac intel 2.8ghz intel 2 dual processor
    please help as this is causing me a lot of problems
    thanks Mike

    It's not a big concern, apparantly the assocaition what program opens that file when you click on it is off kilter.
    It's surely a VMFusion issue as they tweak things a bit in OS X as to be able to merge OSX and the guest operating together for a more seamless experience.
    Perhaps you opened the file once in Safari in VMFusion and now it has that association, or when there was a menu selection you picked the wrong one by accident.
    Register on get on the VM forums and post your question there and they can assist, it's a easy fix but it escapes me.
    I run VMFusion too and noticed this ability once when I had OS's merged, but I don't merge operating systems anymore, rather I prefer to keep each one seperate.
    Good luck, ask on VM's forums and you'll be fine.

  • Problems with FF 4 and Download express. Is there a fix in sight? How do I download FF 3.6 in the meantime?

    Have been happily using Firefox 3.6 with Download Accelerator
    version 9.4. Have now gone over to FF 4.0 and find that DAP
    no longer integrates with FF. Have tried latest versions of both programs without success. This is a recognized problem, but I can't find any way of downloading an earlier version of Firefox to get out of this situation. How do I download FF v3.x? Is there a fix for this integration problem imminent ? Regards Urxrob

    Did you look on the Processes tab in the Task Manager?
    See http://kb.mozillazine.org/Kill_application
    Check in the Task Manager (XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC, Processes tab) if there are hanging Firefox processes.<br />
    If you see any <i>firefox.exe</i> processes then click the End button to end those Firefox processes.
    See also "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *[[Firefox hangs]]

  • Problem with 7920 phone and callmanager express 4.1

    Hello to all, I have callmanager express version 4,1, in I registered a telephone model 7920, this telephone it receives and it makes calls without no problem, but when it makes the forward by nonanswer or by occupied to the voice mail, after reading the voice mail leaves the line retained, is to say of the 2 ephone-dn that I form to him, 1 of them this retained by the forward to the voice mail and I cannot do called by that channel somebody it knows that I must do so that the telephones or the CUE releases the line and it does not leave it retained. Thanks

    Which exact SW version do you have on all tghe device involved, ?

  • Anyone having problem with VM Fusion and lion?

    There seems to be an issue in running VM Fusion with Lion.  My every attempt is met with the following message
    File not found: Virtual Disk.vmdk
    Any fix or info would be appreciated.
    Thank you

    You might want to try this----
    http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&d ocTypeID=DT_KB_1_1&externalId=1003483
    Good luck

  • SQL server with Cold Fusion?

    Hi everyone,
    I am supposed to write a website, that its database is SQL
    server and about 80,000 - 100,000 records in there.
    is it OK to go with cold fusion? OR better to go with .NET
    for faster and more reliable speed?
    I would appreciate your help.

    The app server generally doesn't care so long as it supports
    the DB driver. If the database is designed properly, the DBMS will
    be doing most of the "grunt" work.
    Any enterprise level app server can process a large database,
    so go with your strengths, and SQL server will do you just fine.
    I also wouldn't say .NET is faster ... I've seen my share of
    sites using .NET that are slow as molasses. Your server
    configuration will determine that more often than the app server,
    so long as it is an enterprise level app server ... both of which
    .NET and CF are.
    We run a SQL server for many clients and all are on CF ...
    one table alone has over 250,000 records in it. What and how you
    output will determine the speed between the 2, not how many records
    it can handle.

  • I am having a problem with Windows Fusion installed on a MacBook.

    I am having a problem with Windows Fusion installed on a MacBook OS 10.  When attempting to use a Browser, (either IE, or Chrome), under Windows Fusion, I cannot browse to ANY page except Gmail.com.
    I checked all security settings, and found no problem. Neither browser will allow me to do ANYTHING other than go to Gmail.com!!!
    I am not sure if I have some virus on my Windows side, because Google and Safari both work perfectly on my Apple side, just not when running Windows Fusion.
    Is there some setting I am missing, or do you think I have malware/virus issues?? My Internet connection is DEFINITELY working fine - I can send, receive, open, and close all my email on Gmail only, and can navigate freely on Gmail, but cannot get to any other site even hyperlinked to Gmail.
    Any help would be greatly appreciated.
    Thank you very much.

    HartEJ wrote:
    ...Neither browser will allow me to do ANYTHING other than go to Gmail.com!!!...
    If you've already tried my previous suggestions, it may be that something has tampered with the DNS settings in your Windows VM, which might bypass the settings your Mac uses. Assuming you're using Windows 8, these instructions explain how to check and change the DNS settings. There's also a link in those instructions listing a variety of suggested DNS settings. If you do try changing the settings, record what the settings currently are in case you want to return to them.

  • How to convert/download videos embedded with cold fusion?

    Does anyone know of a free video conversion software that will convert and download online videos embedded with cold fusion ("cfmid=?") format/extension?  I tried a few online sites and they do not support that format yet.   Please help.  Thank you so much!
    Judy

    Actually COLD FUSION was a hoax a few years ago. COLDFUSION is the app.
    If you need content from a web site, talk to the developer.
    fwiw - Since ColdFusion is an Adobe app, you should try asking your question on that forum. This one is here to primarily support Shake.
    Have fun.
    x

  • Spry With Cold Fusion + Tutorials

    Hi,
    I want to try Spry with cold fusion . Can anyone help me on
    getting some tutorials?

    >
    http://www.adobe.com/devnet/dreamweaver/articles/edit_data_in_ajax.html
    A more advanced demo application, without tutorial, but with
    more advanced
    features, is now available here:
    http://www.massimocorner.com/spry/dynamic_spry.zip
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

  • What's happening with cold fusion?!

    first, this very page is throwing js errors in both ie8 and firefox 24.0  , i can't reply to any posts
    then, with all this flurry of security breaches on gov websites running cold fusion, do we have a comprehensive white paper showing how to plug all the security holes that were uncovered?

    Thanks Carl,
    when clicking the reply link on the forum, in ie8 i get:
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
    Trident/4.0; (R1 1.6); .NET CLR 2.0.50727; .NET CLR 3.0.04506.30;
    .NET4.0C; .NET4.0E; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
    InfoPath.3)
    Timestamp: Mon, 18 Nov 2013 15:26:45 UTC
    Message: Not implemented
    Line: 1616
    Char: 13546
    Code: 0
    URI:
    http://forums.adobe.com/4.5.6/resources/scripts/gen/220b1b06a29f901e1d24252ac800883e.js
    and in fireFox:
    ReferenceError: $ is not defined
    https://www.adobe.com/account/sign-in.adobedotcom.html?returnURL=%2Fcfusion%2Fmembership%2 Findex%2Ecfm%3Floc%3Den%5Fus%26nl%3D1%26ref%3Dlogin
    Line 70
    ion amariutei | [email protected] | 212-578-1011
    From:
    Carl Von Stetten <[email protected]>
    To:
    ion <[email protected]>
    Date:
    11/18/2013 11:19 AM
    Subject:
    what's happening with cold fusion?!
    Re: what's happening with cold fusion?!
    created by Carl Von Stetten in Advanced Techniques - View the full
    discussion
    Site seems to be working fine for me.  As to plugging security holes,
    there are two things you need to do:
    1.      Keep your servers updated with the latest patch(es).  If you are
    on CF10, use the built-in automatic updater.  If on CF8 or CF9, take a
    look at David Epler's Unofficial Updater project.
    2.      Follow the appropriate ColdFusion lockdown guide for the version
    you are running.
    For CF9:
    http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/910
    25512-cf9-lockdownguide-wp-ue.pdf
    For CF10:
    http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf1
    0/cf10-lockdown-guide.pdf
    -Carl V.
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in
    the forum to embed the image at
    http://forums.adobe.com/message/5851524#5851524
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/5851524#5851524]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/5851524#5851524]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Advanced Techniques at Adobe Community
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/thread/416458?tstart=0.
    The information contained in this message may be CONFIDENTIAL and is for the intended addressee only.  Any unauthorized use, dissemination of the information, or copying of this message is prohibited.  If you are not the intended addressee, please notify the sender immediately and delete this message.

  • Problems with ListViews Drag and Drop

    I'm surprised that there isn't an Active X control that can do this more
    easily? Would
    be curious to find out if there is - although we aren't really embracing the
    use of
    them within Forte because it locks you into the Microsoft arena.
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
    PM ---------------------------
    "Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
    Please respond to "Stokesbary, Michael" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    cc:
    Subject: Problems with ListViews Drag and Drop
    I am just curious as to other people's experiences with the ListView
    widget when elements in it are set to be draggable. In particular, I am
    currently trying to design an interface that looks a lot like Windows
    Explorer where a TreeView resides on the left side of the window and a
    ListView resides on the right side. Upon double clicking on the
    ListView, if the current node that was clicked on was a folder, then the
    TreeView expands this folder and the contents are then displayed in the
    ListView, otherwise, it was a file and it is brought up in Microsoft
    Word. All this works great if I don't have the elements in the ListView
    widget set to be draggable. If they are set to be draggable, then I am
    finding that the DoubleClick event seems to get registered twice along
    with the ObjectDrop event. This is not good because if I double click
    and the current node is a folder, then it will expand this folder in the
    TreeView, display the contents in the ListView, grab the node that is
    now displayed where that node used to be displayed and run the events
    for that as well. What this means, is that if this is a file, then Word
    is just launched and no big deal. Unfortunately, if this happens to be
    another directory, then the previous directory is dropped into this
    current directory and a recursive copy gets performed, giving me one
    heck of a deep directory tree for that folder.
    Has anybody else seen this, or am I the only lucky one to experience.
    If need be, I do have this exported in a .pex file if anybody needs to
    look at it more closely.
    Thanks in advance.
    Michael Stokesbary
    Software Engineer
    GTE Government Systems Corporation
    tel: (650) 966-2975
    e-mail: [email protected]

    here is the required code....
    private static class TreeDragGestureListener implements DragGestureListener {
         public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
         // Can only drag leafs
         JTree tree = (JTree) dragGestureEvent.getComponent();
         TreePath path = tree.getSelectionPath();
         if (path == null) {
              // Nothing selected, nothing to drag
              System.out.println("Nothing selected - beep");
              tree.getToolkit().beep();
         } else {
              DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
                   .getLastPathComponent();
              if (selection.isLeaf()) {
              TransferableTreeNode node = new TransferableTreeNode(
                   selection);
              dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
                   node, new MyDragSourceListener());
              } else {
              System.out.println("Not a leaf - beep");
              tree.getToolkit().beep();
    }

Maybe you are looking for