Calling asp pgm in cold fusion

i have a asp program which i have to call in cold fusion and
work with. now how can i call can some one give me some
directions...thanks.

Naturally, an Adobe ColdFusion application engine is not
going to run
ASP code. You can supposedly using the Blue Dragon CF/.NET
server.
Using Adobe's ColdFusion server you can connect to ASP
resources with
hyper links, web services and cfhttp calls.
manju thammaiah wrote:
> you right, since i don't have that info i don't know
that. any way i am just trying to find out is it possible to call a
asp program and what are my optins. thanks.

Similar Messages

  • How to call C through Cold Fusion?

    I have some legacy C code.Does anybody know how to
    call it from Cold Fusion?
    Thanks!

    Depends on what it does and how you need to interact with the
    code. Do you have the option of simply passing arguments and
    retrieving output via CFEXECUTE? Is it something akin to CGI that
    may require using the CFX framework?
    &laz;

  • How to convert asp to cold fusion?

    Hello All,
                This is nagaSeshu,I want to convert asp to clod fuasion.Right now our application is in simple asp,Because of some reasons we are planing to change our appliction into cold fusion.So is there any converters to convert asp into cold fusion pages automatically.If any one having idea about this please give me reply.
    Thanks &regards,
    NagaSeshu,

    An application in "simple ASP" should be straightforward to convert to CF, but it will nevertheless be a manual process.  There won't be a one-to-one correspondence between the ASP code and the CF code:  the CF equivalent is likely to be much smaller and simpler.
    The difference (and the potential advantage of CF) lies in its fundamental approach to the problem:
    ASP is, well, Visual Basic.  It's a programming language by nature, and a web-page is therefore "a script."  The web-server hands the car-keys to the page (full of executable code...) and the page drives the car to its destination.
    CF is, in general, much more of a declarative language.  The various documents contain a well-defined structure ... the structure of HTML itself ... and they are parsed and processed (conceptually speaking...) by an external processor which carries out the desired action based on the overall structure of the page that it sees.  Since "most pages of a certain type are more-or-less exactly the same, and there might be thousands of them," CF gives you a few well-chosen ways to build "pages like that" and to do so quickly.  CF "already knows how to drive the car to the destination," and the stuff that you write consists mostly of details.
    (I recognize that my description, above, of CF's actual modus operandi is not technically correct.  But the big-picture conceptual idea stands, and that's all I'm driving at here.)
    The best way to take advantage of a tool like CF in a conversion project is, "when in Rome, do what the Romans do."  Study CF to see what it can do "quickly and easily," and adapt your project's design to shamelessly take advantage of that way.  Do not spend a lot of time trying to figure out how to "jimmy" CF so that it will do a certain thing in a certain way.
    The choices that were made by CF's designers are pretty-good ones.  Although CF gives you "a full programming language if you want to use it," its greatest strength is in what you don't have to write in order to get "a certain thing" done.  If you find yourself writing a lot of programming, then you need to step-back and have another look:  "there's more than one way to do it."  CF's interpretation of a dot-NET application will be quite different from the original, and it should be.  If it isn't, you're not getting market-value out of the conversion effort.

  • How not to use Cold Fusion and Java

    Overview
    This write up is intended to give java developers that are
    developing ColdFusion applications some beneficial information:
    things that are not documented.
    Scenario
    The company builds enterprise class web application software
    for fortune 500 companies. It had purchased a CF 7 based product,
    had and existing proprietary J2EE based product, and needed to
    integrate the two while meeting a host of new requirements. These
    requirements were based on delivering a better user experience,
    faster / cheaper integration, increased flexibility /
    configuration, useablily, decreasing maintenance costs, the ability
    to deploy in either install or ASP models. An initiative was
    started to create a new framework that integrated the best of each
    technologies. Tactically, this meant that we were to build a hybrid
    CF and java application: one that used building blocks (decoupled /
    cohesive components) that would allow applications to be rapidly
    assembled, configured and deployed. This made sense on several
    levels, the team was composed of Java and CF developers, the CF
    rapid application development was very productive, there is great
    functionality delivered in the CF platform and initial performance
    tests showed no cause for alarm
    The agreed upon design, based on requirements, and analysis
    by both the CF and Java staff has us using CF in the presentation
    layer, using a CF based MVC, use of CF based web services. The MVC
    was deployed using CFC inheritance for model objects and views made
    use of CF custom tags. The internals of the application, used a
    rules engine, some proprietary java, ORM, and other J2EE
    technology. The initial performance of the system was reasonable.
    We pushed on with product implementation.
    Then it was time to load test the application, and tune it.
    Under load the response times were orders of magnitude slower,
    sometimes the pages even timed out.
    Armed with our profiler, oracle execution plans and we
    charged ahead addressing issue after issue. Note that we took
    meticulous care in tweaking the active thread pool and ensuring
    that our CF setup was tuned for our application. None of the
    observations here are a condemnation of the language; rather they
    are aspects that, when considered together, not conducive for
    building integrated java and CF frameworks that use a structured /
    OO programming practices. Further detail can be provided on
    request.
    CFC inheritance should be avoided - resolution of variable
    scope is expensive even if properly declared.
    Since CF creates a class per method under the covers call
    stacks become very large, especially if used in a loop. This is
    nominally exacerbated by CF calls necessary to set up for the
    method call (String.toUpper()).
    Nesting of loops and if statements should be kept to a
    minimum - the conditional for each lookup of logical operator like
    LT, GT are synchronized. Under load this results in thread waits.
    Jrun has as single thread pool - both http and web service
    requests use the same pool. Under load this leads to thread
    deadlock. There are work arounds, but they are painful.
    Recursion should be avoided - we had a few recursive routines
    and these had to be rewritten.
    Custom Tags - should be used sparingly - each custom tag
    makes a synchronized call to the license server - (This may be
    fixed in CF 8)
    Summary
    In the end we got the performance to reasonable numbers, but
    we ended up moving some code to java (Custom Tags) and getting rid
    of 'good programming' practices (Inheritance, loops, etc), mandated
    proper variable scoping for those things left over. We prototyped a
    sans cold fusion implementation and had an order of magnitude
    improvement in performance and number of requests served per
    second.
    The lesson? Use Coldfusion in its sweet spot: make a query,
    iterate over the results and format for display. Extensive use of
    structure programming techniques or OO CFCs should be avoided: they
    will work but under load - but are better as a prototype. Building
    frameworks in CF? Think twice, no three times, and, if you must, be
    minimalist.
    Text

    interesting aslbert123,
    Not that I doubt you, but could you answer some questions
    about your implementation that was so slow:
    1.) Did you put your CFCs in the application or server scope?
    2.) Were you initializing your CFCs, via CreateObject or
    <cfinvoke>, on every request?
    3.) Are you sure that you were properly Var'ing every
    variable in your methods? (people typically forget about query
    names and loop iterator variables)
    4.) Could you give examples of how your inheritence was set
    up?
    5.) For CustomTags, did you call them the old <cf_tag>
    way or the newer, better-performing <cfimport> way?
    6.) How did you connect CF to Java exactly?
    Thanks,
    Aaron

  • How do you determine what version of PHP is on the cold fusion server

    I am trying to find out what version of PHP is on my cold
    fusion server, how do I do this? Does coldfusion come with
    PHP?

    In the C:\Windows folder, locate the file called php.ini and
    open it in Notepad.
    <?php phpinfo() ?>
    I answered it myself. Maybe it can help someone else.

  • Flashbuilder and Cold Fusion  (using application/session variables)

    I would like to know if anybody uses Flashbuilder with Cold Fusion?
    Since Cold Fusion has lots of different scopes of variables (application, session, client, form, url, etc...) how do you manage this in Flex/Flashbuilder?
    Are there forums or groups specifically for using Flex3/Flashbuilder with backend server side technologies such as Cold Fusion?.
    The only server side technology that I have interest in is Cold Fusion.  I've seen basic tutorials and videos using Cold Fusion CFC's and data binding with Flex.  I haven't seen or heard anything using a Cold Fusion application, session, or client variable in Flex.
    Hopefully some of you have some experience on this topic.
    Thanks

    hey popster,
    i too had this question some time ago. my entire app was built on CF with HTML before i started integrating Flex 3 with it. i found that i needed to create cookie variables for all my session variables i was using in order to maintain and remember who the user was in my CFC calls. i also found that after i compiled a flex app, i changed the .html to .cfm (the file that loads the compiled SWF file). by doing this i was able to pass CF session variables into the flex app and you can refer to these anywhere in Flex by using Application.application.parameters.{variable name here} 
    add the CF variable in the FlashVars line to pass it into Flex (see the last line of code). this will create a variable (in my case i'm passing session.employeenumber). then in your flex app you can reference it by using Application.application.parameters.emplid:
    AC_FL_RunContent(
       "src", "Request",
       "width", "100%",
       "height", "87%",
       "align", "middle",
       "id", "Request",
       "quality", "high",
       "bgcolor", "#869ca7",
       "name", "Request",
       "allowScriptAccess","sameDomain",
       "type", "application/x-shockwave-flash",
       "pluginspage", "http://www.adobe.com/go/getflashplayer",
       "wmode","transparent",
       "FlashVars","emplid=<cfoutput>#session.employeenumber#</cfoutput"
    A little trick I learned (does Adobe really expect us to re-engineer how our apps have been working by no longer using sessions for Flex?). Then in your CFCs if you also create cookies for every session variable you can maintain the variables based on user login. HOPE THIS HELPS!
    -Matt

  • 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.

  • Email a form without Cold Fusion

    Hi everyone,
    I have a client whose hosting doesn't provide Cold Fusion. on
    his website, there is a form that the content must be emailed to
    him after customer submission. Is there anyway to do it without
    cold fusion, Cfmail command?
    thanks in advance.

    you can just use a regular mailto with a form, and it will
    send. However the
    formatting on the receiving end is somewhat of a pain in the
    "Shida" <[email protected]> wrote in message
    news:eo1cgi$s0o$[email protected]..
    > is there any way other than CF or ASP or PHP?
    > I have heard of some kinds of web forms, but I don't
    know about them
    > either.

  • 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.

  • Cold fusion 9 Installation on Windows server 2008 (IIS 7.0) - IIS websites not working ?

    I am having a 64 bit machine on which windows server 2008 R2 is installed. IIS 7.0 is configured and running on it. on which I have my organisations main website. I have to install Cold fusion on this machine as some of my site pages are designed with CF.
    I used all the default settings for installing cold fusion 9. It got completed succefully. But after I restarted my system and tried accesing my ASP.net website it was not loading the page. Text getting displayed was only as follows '<script> src="'. Later I unsistalled CF and my site was working fine.
    Please can any one guide me to successfully install Cold fusion without disturbing my main site deployed on IIS ?

    Sarfarajms, I don't recognize what about the CF install would conflict with ASP.NET, but I'll note this:
    If you downloaded CF 9 recently, you are still running 9.0--which does NOT formally support IIS 7. If you followed the steps about enabling IIS 6 compatibility and such (in the install guide or some blog entry), perhaps that caused the conflict.
    Instead, you will want to install 9.0.1 (CF 9 Updater 1, which is NOT provided in the current 9.0 install). THAT is the first release to formally support IIS 7. And if you read the updater installation guide (http://www.adobe.com/support/documentation/en/coldfusion/901/cf901install.pdf), it discusses how to deal with the upgrade depending on what you had done with respect to IIS, starting at the bottom of its page 8.
    Hope that helps.
    /charlie

  • Cold fusion 9 500 - Internal server error.

    all of a sudden none of our cfm web pages work on a windows 8 server running iis 7 .... the server shows no errors in the event viewer .... occasionally functionality comes back w/o doing anything ...... cold fusion did have all the hotfixes updated a few months ago but i cant get to the admin page to give what the version is
    thxs

    Well if you got over your misplaced indignation for a moment, let's see:
    ColdFusion is what people will google for, so in the spirit of helping others who might have the same question as you later on, spelling it right will help the community.
    Jason's observation that you give us absolutely nothing to go on so it's basically impossible to help you is a fairly poignant observation, right? You do want help? Right, so here's some suggestions:
    Articulate your issue clearly, with sufficient detail that we can help you. Read this:
    http://www.catb.org/esr/faqs/smartquestions.html
    Secondly... being rude to someone like Jason who really is one of the most helpful people on
    these forums is a pretty stupid idea. And just serves to make you look a bit of a [profanity edited out]. Esp. with the caps lock on.
    But anyway, let's call that a false start. Give us the details of your issue, and we'll try to help.
    Cheers.
    Adam
    Message was edited by: m.m.murphy

  • Cold Fusion Communication

    I want to find out whether coldfusion can talk with SVN ,the reason is I should be able to download the component from SVN to my local system modify and then add it again to back to SVN or directly upload a new component from my local system to SVN. Basically my cold fusion application sholud be able to talk with SVN to perform the above functions.

    This is some dude named Dan's Prior Art, His site is dead but google gave a cached page...  I can imagine all kinds of mods and uses for something like this...
    Cool ColdFusion and Subversion integration
    December 5th, 2007 Dan Skaggs Leave a comment Go to comments
    I recently decided to outsource my souce code management to CVSDude. I had been running SVN on my VPS that I have at Slicehost and that had been running okay.  However, I’m only good enough at SVN administration to get the server up and running and create a few repositories and there were other things that I needed to do with SVN that I frankly didn’t have time to learn how to do.
    One of the things that I’d heard talked about that made life much easier was using Subversion’s various hooks to automate some things around different SVN events.  I emailed tech support asking how we could configure the “post-commit” hook to update the files on my VPS each time I made a commit into the SVN module.  The tech told me that they do this by configuring an HTTP call to a page (or script etc) on your server.  That page then triggers an SVN update of the specific module.
    After hearing this, I began thinking about how to use CFEXECUTE to trigger the SVN update and was actually surprised how simple it was.  My VPS runs on Fedora Core 6, so, like any *nix operating system, you need to make sure permissions on the files are set so that the user which runs ColdFusion can write to the directories.  Once that was accomplished, all it took was a few lines of code and we’re ready to start receiving HTTP callbacks from CVSDude’s servers.
    CVSDude structures their SVN URLs in the format http://username-svn.cvsdude.com/modulename (or https://).  All my modules are named in reverse domain order for the web site that it is for (for example, this one is ws.skaggsfamily.dan).  I had already checked out all my modules into a specific directory.
    The HTTP callback from CFSDude’s server has 4 URL parameters that they send over: root (full path to module), author (user), revision and date.  So all I really had to do was grab the URL.root value and extract the name of the module, pass that to the CFEXECUTE tag and, voila, automatic updating of the module immediately after the commit.
    There were only 2 gotchas that I had to figure out:
    Put the full path to the svn executable
    Add in your username and password to the string in the arguments attribute of CFEXECUTE
    The code that I used is below.  I’m sure there’s more that I could have done with it, but this is a good start I think.
    <cfif structKeyExists(URL, “date”) AND URL.date NEQ “” AND
        structKeyExists(URL,”author”) AND URL.author NEQ “” AND
        structKeyExists(URL, “revision”) AND URL.revision NEQ “” AND
        structKeyExists(URL, “root”) AND URL.root NEQ “”>
        <cfset module = replaceNoCase(URL.root, “http://username-svn.cvsdude.com/”, “”)>
        <cfexecute name=”/usr/bin/svn”
          arguments=”up /var/sites/#module# –username yourUserName –password yourPassword”
          timeout=”300″
          variable=”result”>
        </cfexecute>
        <cflog log=”Application”
          type=”information”
          text=”#URL.author#:#URL.root#:#URL.revision# – #result#”>
    <cfmail to=”[email protected]
        from=”[email protected]
        subject=”Server updated successfully”>
    The server has been successfully updated with your lastest changes. 
    Details of the update are below:
    Date: #URL.date#
    Module: #URL.root#
    Revision: #URL.revision#
    Results:
    #result#
    </cfmail>
    </cfif>

  • Cold fusion hosts

    Hi
    I know that website hosts that support coldfusion are usually
    quite expensive. I have found one called 'godaddy' which provides
    coldfusion support for around $6 per month (basic package is $3.99,
    with cold fusion support $1.99 extra). Does anyone have any
    experience with them? is it a little too cheap to be true??

    > I know that website hosts that support coldfusion are
    usually quite
    > expensive.
    > I have found one called 'godaddy' which provides
    coldfusion support for
    > around
    > $6 per month (basic package is $3.99, with cold fusion
    support $1.99
    > extra).
    > Does anyone have any experience with them? is it a
    little too cheap to be
    > true??
    Stay away from GoDaddy. Everyone I've heard that uses them
    has had problems with CF. It's an old version also. I have a
    list
    of hosts and what they offer at
    http:///www.rgreathosts.com
    Also, I use
    http://www.gearhost.com which
    has very reasonably
    priced CF and it's up to date.

  • I have a cold fusion site.Is there a way to integrate Amazon to Cold Fusion so the persons products entered in the site will automatically be added to the amazon store as well?

    Is there a way to integrate Amazon to Cold Fusion so the persons products entered in the site will automatically be added to the amazon store as well?

    If Amazon has an API to add products to an Amazon store (and I'm fairly sure they do), you would just have to write code to submit your products via that API (probably using CFHTTP calls).
    -Carl V.

  • Cold Fusion 5 Support?

    Hello
    Got some applications which are running under Cold Fusion 5
    Server. Can someone tell me if Adobe still supports this versions
    (patches,hotfixes etc.) or is it out of lifetime cycle? I didn't
    find something on adobe.com about this...
    thanks for your answers

    Hello,
    It is only supported for Gold Support customers. For any
    regular calls, Bronze and Silver Support plans we only provide
    support for CFMX versions (6.0, 6.1, 7, and 7.0.1). So 5.0 is out
    of lifetime cycle.

Maybe you are looking for

  • Simple source codes using JAXM Provider

    Hi guys, I am new to this technology. I looked around the web for simple codes using JAXM Provider but not luck. I will appreciate your help if someone out there have working example using JAXM service Provider. Thanks in advance...

  • Performance in CO-PA Actual Assessment

    Hi All, I would need to improve the performance, in DB space and duration for the process of transaction KEU5. The use case is the following: I have just one Operating Concern, account-based Each period processing, includes 45 cycles, one for each as

  • How can I figure out if my bmp has Nvidia graphics

    How can I figure out if my bmp has the Nvidia graphics ?

  • HELP! iTunes will not sign in

    I bought a macbook last week and installed snow leopard as soon as i got it home. Everything seems fine except for iTunes. When i try and sign in it just shows the "accessing itunes store" message and does not sign me in. It is the latest version of

  • Masking the URL of a Report

    Hi, I've integrated an oracle report with my application (built using apex 2.2). The url however displays the database instance username and password. Is there any way to mask these details of the URL. Thanks in advance. Regards, Priyanka