Run database query error; Help, please

I had trouble getting this recording to publish on my DB, I have the same shape, put in place to modify an existing record, as well as the addition of a new record. I have 2 errors, can someone help me see what I'm doing wrong? I write the code that I have a problem with and two errors. I'm sorry, this is probably simple. But I looked at this code too long and miss me the problem.

Code:
< cfelseif ParameterExists (Form.btnEdit_OK) >

< ParameterExists (Form.RecordID) cfif >
< cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
"< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
UPDATE SEEevents
SET SEEevents.display =' #form.display #', SEEevents.title =' #form.title #', SEEevents.eventDate ='#eDate #', SEEevents.eventTime =' #form.eventTime #', SEEevents.location =' #form.location #', SEEevents.contact =' #form.contact #', SEEevents.phone =' #form.phone #', SEEevents.fax =' #form.fax #', SEEevents.email =' #form.email #', SEEevents.URL ='#form. URL #', SEEevents.sponsor =' #form.sponsor #', SEEevents.Body ='#form. "PDSeditor #
WHERE RecordID = #form. RecordID #.
< / cfquery >
< cflocation url = "events_RecordView.cfm? RecordID = #Form.RecordID # ">"
< cfelse >
< cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
"< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
INSERT INTO SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body)
VALUES (' #form.display # "," #form.title # "," # #eDate # "," #form.eventTime # "," #form.location # "," #form.contact # "," #form.phone # "," #form.fax # "," #form.email # ', ' #form.) URL #', ' #form.sponsor # ', ' #form. PDSeditor #')
< / cfquery >
< cflocation url = "events_RecordView.cfm? RecordID = #GetNewRecord.ID_Field # ">"
< / cfif >

Here are the two errors:
error when editing an existing record:

Run database query error.
[Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Too few parameters. 1 expected.

The error occurred in C:\websites\108392zj7\admin\events_RecordAction.cfm: line 70

68: < cfif ParameterExists (Form.RecordID) >
69: < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
"70: < cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
71: UPDATE SEEevents
72: SET SEEevents.display =' #form.display #', SEEevents.title =' #form.title #', SEEevents.eventDate ='#eDate #', SEEevents.eventTime =' #form.eventTime #', SEEevents.location =' #form.location #', SEEevents.contact =' #form.contact #', SEEevents.phone =' #form.phone #', SEEevents.fax =' #form.fax #', SEEevents.email =' #form.email #', SEEevents.URL ='#form. URL #', SEEevents.sponsor =' #form.sponsor #', SEEevents.Body ='#form. "PDSeditor #



--------------------------------------------------------------------------------

SQL UPDATE SEEevents SET SEEevents.display = '0', SEEevents.title = 'VIP dinner', SEEevents.eventDate='04/13/2007', SEEevents.eventTime =' 8:30 pm - 23:00 ', SEEevents.location = 'person Restaurant', SEEevents.contact = 'person', SEEevents.phone ='(000) 000.6262', SEEevents.fax = ", SEEevents.email ="[email protected]", SEEevents.URL =' http://www.person.com', SEEevents.sponsor =", SEEevents.Body =' < font size = "2" face = "Verdana, Arial, Helvetica, sans serif" > < strong > Notes: facilities > bookings must be confirmed with a great Cardinal < br > < strong credit > price : < Facilities > Advance: $125. per person (including drinks and tips) at the door: $150. per person, < i > Limited places available < /i > < / police > ' WHERE RecordID = 13
DATASOURCE ETUCE
VENDORERRORCODE-3010
SQLSTATE 07002

This is the error when publishing a new record:

Run database query error.
[Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Type mismatch of data in the expression of the criteria.

The error occurred in C:\websites\108392zj7\admin\events_RecordAction.cfm: line 78

76: < cfelse >
77: < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
"78: < cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
79: INSERT IN SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body)
80: VALUES ("#form.display #", "#form.title #", "# #eDate #", "#form.eventTime #", "#form.location #", "#form.contact #", "#form.phone #", "#form.fax #", "#form.email # ', ' #form.) URL #', ' #form.sponsor # ', ' #form. PDSeditor #')



--------------------------------------------------------------------------------

SQL INSERT INTO SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body) VALUES ('0 ', 'test', ' # #03/25/2007 ", 12:47 ', 'Home', 'CJD', '' 000-000-0000,", '[email protected]', 'www.saratogaexpo.com', ' ', ' ')
DATASOURCE ETUCE
VENDORERRORCODE-3030
SQLSTATE 22018

Can someone help me tweek this code? I see double at this stage. Thank you.

Phoenix

I thought about it. It's a java tag used by my editor throwing the error in the backup / update of the function.

Thanks a lot for all the help everyone!
If I can ever help anyone in any way, feel free to ask.

Tags: ColdFusion

Similar Questions

  • Run database query error - help!

    I have a cfquery code that looks like this:

    < CFQUERY DATASOURCE = "MaBase" username = "myuser" PASSWORD = "MonMotpasse" NAME = "codelist" CACHEDWITHIN = "#CreateTimeSpan (0,1,0,0) #" >
    SELECT *.
    OF systemcode
    WHERE (((systemcode) TRIM) LEN = 2 OR LEN (TRIM (systemcode)) = 4)
    < CFSWITCH EXPRESSION = "#CAT #" >
    < CFCASE VALUE = "1" > (MID (systemcode, 1, 2) BETWEEN ' 01 'AND ' 05') AND < / CFCASE >
    < CFCASE VALUE = "2" > AND (MID(systemcode,1,2) BETWEEN ' 06 "AND 15") < / CFCASE >
    < CFCASE VALUE = "3" > AND (MID (systemcode, 1, 2) FROM 16 'TO 24') < / CFCASE >
    < CFCASE VALUE = "4" > AND (MID (systemcode, 1, 2) BETWEEN 25 'AND 27') < / CFCASE >
    < CFCASE VALUE = "5" > (MID (systemcode, 1, 2) FROM 28 "TO 38") AND < / CFCASE >
    < CFCASE VALUE = "6" > AND (MID (systemcode, 1, 2) BETWEEN 39 'AND 40') < / CFCASE >
    < CFCASE VALUE = "7" > (MID (systemcode, 1, 2) 41 "TO 43") AND < / CFCASE >
    < CFCASE VALUE = "8" > AND (MID (systemcode, 1, 2) WITH 44' 49') < / CFCASE >
    < CFCASE VALUE = "9" > (MID (systemcode, 1, 2) FROM 50 "TO 63") AND < / CFCASE >
    < CFCASE VALUE = "10" > AND (MID (systemcode, 1, 2) FROM 64 "TO 67") < / CFCASE >
    < CFCASE VALUE = "11" > AND (MID (systemcode, 1, 2) BETWEEN 68 "AND 71") < / CFCASE >
    < CFCASE VALUE = "12" > AND (MID (systemcode, 1, 2) BETWEEN 72 'AND 83') < / CFCASE >
    < CFCASE VALUE = '13' > AND (MID (systemcode, 1, 2) WITH 84' 85') < / CFCASE >
    < CFCASE VALUE '14' = > (MID (systemcode, 1, 2) BETWEEN 86 'AND 89') AND < / CFCASE >
    < CFCASE VALUE = "15" > AND (MID (systemcode, 1, 2) 90 '-97') < / CFCASE >
    < CFCASE VALUE = "16" > (MID (systemcode, 1, 2) BETWEEN 98 "AND 99") AND < / CFCASE >
    < CFDEFAULTCASE > < CFLOCATION URL = "somewhere.htm" > < / CFDEFAULTCASE >
    < / CFSWITCH >
    ORDER BY systemcode
    < / CFQUERY >

    It works perfectly in CF 5.  However, when running in CF 8 I get the error message:

    Error running Query.FUNCTION of database mydatabase. LEN does not exist the specific sequence of files included or processed is: home/httpd/vhosts/somedomain.com/httpdocs/reference/systemcode.cfm, line: 24

    (which refers to the cfquery above)

    "mydatabase" is the name of the database and LEN is a function.    It checks the length of systemcode to 2 or 4, if they are then check if the value of #CAT # is 1 and the 2 first characters from 01 to 05, then select the line.  I don't know what's wrong with CF5 but CF8?  It's driving me crazy.  Any help is appreciated.

    I don't see why

    all of a sudden it does not work with CF8 and MySQL,

    If you changed databases, which is the source of the problem, do not upgrade CF.  MySQL won't understand specific features of MS Access and vice versa. Don't expect applications written for type of databases operate automatically with another.  Although there are sql standards, each database is different. It is quite common for database providers have names completely different functions, the types of data and same syntax. You'll need for any check your database queries and convert all specific syntax of access, data types, etc. for the MySQL equivalents.

    Is there the equivalent MySQL for these two functions (TRIM and)

    LEN)?

    Yes. See the string functions section in the mySQL online documentation.

    http://dev.MySQL.com/doc/refman/5.0/en/string-functions.html

    I don't know that he had a PLATE and LEN in MS Access

    database.  I guess I mixed them.

    Yes. It's a little confusing because CF and MS Access have these functions.  In this case, you use access functions, not of CF.

    http://www.techonthenet.com/access/functions/index_alpha.php

    > Yes, I put a

    CFLOCATION inside the cfquery.  Never meet that

    scenario, so I did not know if it works.

    Well, if you use code, it should be something that you tested. So, you know how it behaves. But CFLOCATION really does not belong inside a database query.

    `

  • Run database query error.

    I have reflected on this all morning and cannot understand why this does not all ideas anyone?

    The error occurred in D:\Hosting\dlservice\admin\report_confirm_edit.cfm: line 81

    79: < / cfif >
    80: WHERE ReportID =
    81: cfqueryparam value = "" #URL.recordID # "cfsqltype ="cf_sql_numeric">"
    82: < / cfquery >
    83: < cflocation url = "edit_reportsOK.cfm" >


    81: cfqueryparam value = "" #URL.recordID # "cfsqltype ="cf_sql_numeric">"

    Here is the code:

    I had a field in the database called Desc and I had named it on the form. Well, can't use it. Reserved word. Anyway, he changed his ReportDesc who removed the "" b/c coldfusion blend. anyway... I think you catch my drift.

  • Run database query, invalid use of the:

    I have a tutorial of ColdfusionMX problem when I get to add tags on the top of the code view. And I write the same thing as the tutorial.
    I get an error message that says:
    Query execution error database.
    error occurred during the processing of the application.
    Invalid use of ',' () in a query expression

    I need help desperately,
    Geordeslys,

    The web site, you access has met an unexpected error.
    Please contact the site administrator.

    The following information is for the creation of Web sites for debugging purposes.

    Error occurred while processing request
    Run database query error.
    Invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID.

    The error occurred in C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutorial\TMPhy0vtntf3u.cfm: line 1

    1:
    2: SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE
    3: ART, ARTISTS, MEDIA

    --------------------------------------------------------------------------------
    Dear CF_dev2,

    Is that what you mean by full CF code?

    Georgeslys,
    SQL SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE OF ARTISTS, ART, MEDIA WHERE ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID
    Cftutorial DATA source
    VENDORERRORCODE 3092
    SQLSTATE

    Resources:
    See the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322;. PC Media Center 4.0; IEMB3; IEMB3)
    Remote address 127.0.0.1
    Referrer
    Date/time 03-Sep-07 19:11

    Stack trace (click to enlarge)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1) at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)

    com.inzoom.adojni.ComException: invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID
    AND ART. MEDIAID = MEDIA. MEDIAID. in the Microsoft JET Database Engine = 3092 code Type = 1
    at com.inzoom.ado.Command.jniExecute (Native Method)
    at com.inzoom.ado.Command.execute(Command.java:40)
    at com.inzoom.jdbcado.Statement.exec(Statement.java:34)
    at com.inzoom.jdbcado.Statement.execute(Statement.java:107)
    at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
    at coldfusion.sql.Executive.executeQuery(Executive.java:753)
    at coldfusion.sql.Executive.executeQuery(Executive.java:675)
    at coldfusion.sql.Executive.executeQuery(Executive.java:636)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    to coldfusion. CfmServlet.service (CfmServlet.java:107)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:318)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:426)
    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Inconsistent database query error

    I get an error for a simple display query. I use MS Access and CF8. The error is as follows:-

    Run database query error.
    ''

    And to clarify that two single quotes.

    The query I use is as follows: -.

    SELECT *.
    OF tbl_positionRequest
    WHERE position = ' #URL. Position #'
    ORDER BY Position CAD

    He said that the error occurs in the line WHERE.
    The variable is passed correctly, I the debugged in the origin and home page. The funny this is that the output in the debug information is correct when I run it in access and the same query works for another data base (with different domain names).

    In CF Admin I use access Unicode driver and I think that might be the problem.

    Any help would be appreciated.
    See you soon
    David

    Run the query with just the select and from clauses. Do not display the data, just look at the recordcount. I guess a word reserved with position problem.

  • _ "Windows Explorer has stopped working" error - HELP Please! __

    I tried pretty much everything I can try in this thread, and nothing seems to work! It is very probably the the most annoying problem that I experienced with windows! I can open all the files and programs it is just that the 'Windows Explorer has stopped working"error appears literally every 5 to 15 seconds!  I click on cancel, and the other appears which says "Windows Explorer restarts" help please, I've never been more ready to give up on windows for good!

    Thank you, Bryan

    Hello

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    Hope these helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Newspapers are not sent to the database of Dr. help, please

    Hello

    I have create a databas physics ensures the local site. the works of dataguard.

    But the database pending cannot receive the journal when the standby database installs remotely and change IP, / etc/hosts, listener.ora and tnsnames.ora.

    It seems that work waiting for network problem coz log shipping database to the local site.

    Help, please.

    message below

    AIX 5300-12-04-1119 + Oracle 11.2.0.2

    # Journal of primary database alerts. #########

    ******************************************************************

    LGWR: Definition of 'active' from archive to destination LOG_ARCHIVE_DEST_2

    ******************************************************************

    Wed Sep 09 18:40:13 2013

    WARN: Cra1: termination pid 2916466 hooked to an IO operation

    WARN: Cra1: termination pid 3350692 hooked to an IO operation

    krsv_proc_kill: kill 1 process (process by index)

    Wed Sep 09 18:40:24 2013

    krsv_proc_kill: kill 1 process (process by index)

    Arc1: Error 16198 done hung operation of e/s to LOG_ARCHIVE_DEST_2

    Arc1: Default detected process ARCH

    Arc1: Default detected process ARCH

    ARC1: FROM PROCESS ARCH

    Wed Sep 09 18:40:27 2013

    ARC2 started with pid = 20, OS id = 2916468

    ARC2: Started archiving

    WARN: ARC2: termination pid 585944 hooked to an IO operation

    Wed Sep 09 18:40:27 2013

    ARC3 started with pid = 22, OS id = 3383458

    ARC3: Started archiving

    ARC1: FROM PROCESS ARCH COMPLETE

    Reclaiming entered dead process FAL [pid 2916466]

    krsv_proc_kill: kill 1 process (process by index)

    WARN: ARC3: termination pid 585944 hooked to an IO operation

    krsv_proc_kill: kill 1 process (process by index)

    ARC2: Default detected process ARCH

    ARC2: FROM PROCESS ARCH

    Wed Sep 09 18:40:34 2013

    Arc0 started with pid = 19, OS id = 3854466

    ARC3: Become the heartbeat ARCH

    Arc0: Started archiving

    ARC2: FROM PROCESS ARCH COMPLETE

    Reclaiming entered dead process FAL [pid 3350692]

    Reclaiming entered dead process FAL [pid 585944]

    Wed Sep 09 18:45:28 2013

    WARN: Cra1: termination pid 3854466 hooked to an IO operation

    WARN: Cra1: termination pid 2916468 hooked to an IO operation

    WARN: Cra1: termination pid 3383458 hooked to an IO operation

    Wed Sep 09 18:45:42 2013

    WARN: Cra1: termination pid 3858682 hooked to an IO operation

    krsv_proc_kill: kill 1 process (process by index)

    krsv_proc_kill: kill 1 process (process by index)

    krsv_proc_kill: kill 1 process (process by index)

    Wed Sep 09 18:45:53 2013

    krsv_proc_kill: kill 1 process (process by index)

    Arc1: Default detected process ARCH

    Arc1: Default detected process ARCH

    Arc1: Default detected process ARCH

    ARC1: FROM PROCESS ARCH

    Wed Sep 09 18:45:55 am 2013

    Arc0 started with pid = 19, OS id = 3858686

    Wed Sep 09 18:45:55 am 2013

    ARC2 started with pid = 20, OS id = 3383460

    Arc0: Started archiving

    Wed Sep 09 18:45:55 am 2013

    ARC3 started with pid = 22, OS id = 585962

    ARC2: Started archiving

    ARC2: Become the heartbeat ARCH

    Reclaiming entered dead process FAL [pid 3383458]

    ARC3: Started archiving

    ARC1: FROM PROCESS ARCH COMPLETE

    Reclaiming entered dead process FAL [pid 2916468]

    Wed Sep 09 18:46:57 2013

    Reclaiming entered dead process FAL [pid 3854466]

    Wed Sep 09 18:46:59 2013

    NSA2 started with pid = 47, OS id = 2838532

    Wed Sep 09 18:47:02 2013

    Thread 1 Advanced for you connect to sequence 4883 (switch LGWR)

    Currently Journal # 2 seq # 4883 mem # 0: /u2/oracle/oradata/plmdb/redo02.log

    Wed Sep 09 18:47:02 2013

    Archived journal 4860 extra for each sequence 1 4882 0x5c432f01 dest ID thread entry 1:

    # Log alerts standby database. #########

    krsv_proc_kill: kill 1 process (RFS slowed by thread/sequence)

    RFS [66]: assigned to the RFS 700480 process

    RFS [66]: open the newspaper for thread 1 sequence 4872 dbid 1547947009 branch of the 757523841

    Wed Sep 09 18:46:59 2013

    Primary database is in MAXIMUM PERFORMANCE mode

    RFS [67]: assigned to the RFS 463046 process

    RFS [67]: no waiting redo logfiles available for thread 1

    RFS [67]: open the newspaper for thread 1 4883 dbid 1547947009 branch of the 757523841 sequence

    Wed Sep 09 18:51:03 2013

    RFS [64]: network Possible disconnect with primary database

    Wed Sep 09 18:51:15 2013

    krsv_proc_kill: kill 1 process (RFS slowed by thread/sequence)

    Wed Sep 09 18:51:16 2013

    krsv_proc_kill: kill 1 process (RFS slowed by thread/sequence)

    Wed Sep 09 18:51:16 2013

    RFS [68]: assigned to the RFS 626724 process

    RFS [68]: open the newspaper for thread 1 sequence 4867 dbid 1547947009 branch of the 757523841

    RFS [69]: assigned to the RFS 684156 process

    RFS [69]: open the newspaper for thread 1 sequence 4866 dbid 1547947009 branch of the 757523841

    RFS [70]: assigned to the RFS 483332 process

    RFS [70]: open the newspaper for thread 1 sequence 4872 dbid 1547947009 branch of the 757523841

    # Primary database: journal of archives report #.

    INSTALLATION GRAVITY MESSAGE_NUM ERROR_CODE CAL TO_CHAR(TIMESTAMP,'DD-MON-YYY MESSAGE)

    ------------------------ ------------- ----------- ---------- --- ----------------------------- ------------------------------------------------------------

    Setpoint error of Transport Services 41532 16198 YES 9 October 2013 17:41:22 WARN: cra1: termination pid 3600618 hooked to an IO operation

    Setpoint error of Transport Services 41533 16198 YES 9 October 2013 17:41:27 WARNING: cra1: termination pid 4071430 hooked to an IO operation

    Setpoint error of Transport 41536 16198 YES 9 October 2013 17:41:36 ARC1: 16198 error due to guillotine operation of e/s to LOG_ARCHIVE_D

    EST_2

    Setpoint error of Transport Services 41540 16198 YES 9 October 2013 17:41:36 WARN: ARC2: termination pid 3960900 hooked to an IO operation

    Log Transport Services 41543 16198 YES error 9 October 2013 17:41:41 WARN: ARC3: termination pid 3960900 hooked to an IO operation

    Setpoint error of Transport Services 41548 16198 YES 9 October 2013 17:46:37 WARN: cra1: termination pid 3797106 hooked to an IO operation

    Setpoint error of Transport Services 41549 16198 YES 9 October 2013 17:46:42 WARN: cra1: termination pid 3600622 hooked to an IO operation

    Setpoint error of Transport Services 41550 16198 YES 9 October 2013 17:46:46 WARN: cra1: termination pid 4071432 hooked to an IO operation

    Setpoint error of Transport Services 41551 16198 YES 9 October 2013 17:46:51 WARN: cra1: termination pid 4001810 hung on an IO operation

    Newspapers are not shipped to the physical database ensures [1130523.1 ID]

    ) Please work with your network administrator to make sure that the following firewall features are disabled.

    • SQLNet fixup protocol
    • Deep Packet Inspection (DPI)
    • SQLNet packet inspection
    • Fixed SQL
    • SQL ALG (Juniper firewall)

    Disable SQL ALG.

  • Install device driver CD/DVD of Windows 7 error HELP Please!

    Hi all, I currently have a problem extremely weird about installing windows 7. I get the following message:

    "A required CD/VDVD drive device driver is missing. If you have a driver on floppy disk, CD, DVD or USB flash drive, please insert it now. »

    I downloaded the Windows 7 upgrade utility and it said everything was fine except for messenger, something aero and my printer.

    Any ideas anyone? Thanks in advance.

    ARGH its boring that his does not work. People claim that its something to do with writing speed but I installed the copy on my computer laptop too. I downloaded my Windows 7 since the MSDN site and have tried 3 downloads separated and all come with the same question.

    I found the answer, I hope this will help others.

    1. I've updated my BIOS and drivers, the DVD burned on the slowest speed possible (x 2), but without success.
    2. reinstalled windows XP and run the Upgrade Advisor, and he says I can tun Windows 7 very well.
    3. tried installed and got the error error driver CD/DVD.

    Step 3 confused me and to be honest a little fing and jeffing, BUT although the Upgrade Advisor said that everything was OK, I decided to go to my local "Rip Off World" and buy an external DVD drive. Went into the BIOS and the value that it is the primary boot device and hey presto it was install and sorters suitcase!

    I could not find the drivers for my CD or DVD so, as that was the issue before the installation of Windows 7 (with external DVD drive), I tried I pulled the power cables of my internal CD and DVD players. After I installed Windows 7 now, I placed the power cables, turn it back on and guess what... Windows 7 detects and updated the drivers for me!

    Computers are sometimes a pain in the * and other great times!

    Hope this helps others.

  • Smartphones blackBerry 507 error (help please before go me crazy)

    Hi guys,.

    This morning I tried to update my Curve 8310 on the latest operating system, using BB Manager.

    He kept coming up with an error... "Application cannot connect to your device" I clicked retry again and again but nothing. So I click on cancel, and now I have no OS on my BlackBerry.

    Sometimes just with a logo of the application with 507 under him on the screen.

    I downloaded the latest OS and tried again, but it won't work.

    I tried an older operating system and it will not work.

    I tried to restore a backup, but it won't work.

    IM completely lost on what to do... I need this work on Monday

    Please can someone help me,

    Thank you!

    1. connect your USB cable to your PC in the BACK port, or another to the back of your PC, not a hub or the front USB port.

    2 here is a link to the latest OS released for the 8310. Use it.

    507 number only means that the Desktop Manager does not see any OS loaded into the device. Log on to the PC again and run Loader.exe again and it should load the operating system on the device.

    More instructions and download here:

    http://www.BlackBerryForums.com/General-8300-Series-discussion-curve/211998-latest-OS-8310-4-5-0-304...

    Good luck.

  • Microsoft Visual C++ runtime Library runtime error help please

    I hope that someone will please help me with this, I can't use my Photoshop elements 9 and need!

    I found the instructions here ://helpx.adobe.com/photoshop-elements/kb/microsoft-c-runtime-error-launcing.htm http://http l

    and am running windows 7 Home premium.

    I want to try the instructions in the link above and my question is basically, am sure that, for most of you, but how I "navigate until" and where exactly I enter the path of the file so I can try this solution?

    I tried down on the start menu "search programs and files" and not come up with anything.  I also have to where my folder options displays the hidden files and folders, but am still not find C:\Program Data\Adobe\Photoshop Elements\9.0\Locale\en_us\

    If anyone can help me to learn at this point exactly how can I do to rename?

    Hi jo Mango,.

    Yes, I finally thought it out on mine (the technique how to dispose of anyway) and it's working now, thank God!

    Just follow the instructions here: http://helpx.adobe.com/photoshop-elements/kb/microsoft-c-runtime-error-launcing.html

    I had to type the file path in the address bar at the page.   Also if you can't find anything on your computer like that, go into your control panel and find the folder options and make sure that you have enabled to display the hidden files and folders.

    Hope that helps!

    This guy explains how pretty good http://mgxp.blogspot.com/2011/10/runtime-error-when-starting-photoshop.html

  • Air the fan runs all the time help please

    Hello

    my air fan macbookbook just Can not stop, its rotation at high speed that I can't use my laptop comfortably

    I tried to reset the SMC, but did not work it runs fast even before the charging system

    I've included screenshots of istat cpu and sensors please take a look

    any help would be appreciated

  • Database query error

    QFile databaseFile(QDir::home().absoluteFilePath("testDatabase.db"));
    
    //open the database file
    if(databaseFile.open(QIODevice::ReadWrite))
    {
         sda=new SqlDataAccess(QDir::home().absoluteFilePath("testDatabase.db"),this);    sda->execute("CREATE TABLE Persons"
                    "("
                    "_id INTEGER PRIMARY KEY AUTOINCREMENT,"
                    "name TEXT NOT NULL UNIQUE,"
                    "status TEXT NOT NULL,"
                    ")");
        }
    
        if(sda->hasError())// THIS ALWAYS RETURNS TRUE
        {
            showDialog("","error");
        }
    

    Hi, I initialize my database when my application is run for the first time and the SqlDataAccess.hasError (); Returns the value True.

    There is an obvious error, what am I doing here?

    0o0o

    Ahh, he found a coma bit at the end of the sql statement

  • I associated .exe for Word Pad. Now I'm screwed not of my programs to run. I need help please

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    Hi, I have associated .exe for Word Pad. This means that all .exe files are trying to be open with the word pad. I can not restore and I can't change the default programs because they are all two .exe in the first place. I think I am screwed big time unless someone knows how to solve this problem. I appreciate all help.

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    Restore the .exe Windows Vista file association, after badly with another application

    Hope the above information helps you.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    And if you need help of the file Association:

    And how to set file Associations:

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    How do I... Change file extension associations in Windows Vista?

    See you soon.

    Mick Murphy - Microsoft partner

  • BlackBerry Smartphones BB sync error - help please?

    New BB user...

    Not able to synchronize calendar outlook to the device. 0x80040fb3 error code.

    seems to be getting about 3/4 across and then fail.

    Any advice?

    Thank you

    Please read this link

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB14818&sliceId=2&docTy...

  • Addition of several xml using Insertxmlbefore in a single query. Help, please.

    Oracle version

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    PL/SQL Release 11.2.0.4.0 - Production

    CORE Production 11.2.0.4.0

    AMT for Linux: Version 11.2.0.4.0 - Production

    NLSRTL Version 11.2.0.4.0 - Production

    I have an xml where I need to insert a new xml basedupon the partyID.

    for each partyid in the need to xmoutput to insert representative data.

    with t as (
    select 1 source_no , xmltype('<report>
                       <partyReported partyId="1">
                         <name> TEST123</name>
                      </partyReported>
                      <partyReported partyId="2">
                         <name> TEST456</name>
                      </partyReported>
                   </report>')
                   xmloutput
                   from dual
                )
              ,
              t_member as (
               select 1 candidate_no, xmltype('<Representative>
                                           <name> rep123 </name>
                                  </Representative>') rep_xml from dual
              union all
              select 2 , xmltype('<Representative>
                                           <name> rep456 </name>
                                  </Representative>') from dual
            )
            , t_rep_member as(
            SELECT
              source_no
            , X.*
            , xmloutput
         FROM
              t
            , XMLTABLE ('/report/partyReported' passing xmloutput COLUMNS candidate_no INTEGER PATH '@partyId', candidate_idx FOR ordinality ) AS X
         )
         , all_data
         as (
         select sourcE_no, a.candidate_no, xmloutput, rep_xml from t_rep_member a, t_member b
         where a.candidate_no = b.candidate_no
         )
         select source_no, MergeRepXml(repxml(candidate_no,rep_xml,xmloutput)) final_xml from all_data
         group by sourCe_no;
    
    

    source_no, candidate_no, candidate_idx, xmloutput
    
    1    1    1    "<report>                   <partyReported partyId="1">                     <name> TEST123</name>                  </partyReported>                   <partyReported partyId="2">                     <name> TEST456</name>                  </partyReported>                </report>"
    1    2    2    "<report>                   <partyReported partyId="1">                     <name> TEST123</name>                  </partyReported>                   <partyReported partyId="2">                     <name> TEST456</name>                  </partyReported>                </report>"
    
    
    
    

    I solved this problem, but I get an error message when I try to do 1000 of them.

    ERROR:

    ORA-22813: value of the operand is greater than the limits of the system

    create or replace
    type RepXml as object( candidate_no number, rep_xml xmltype, output xmltype)
    /
    create or replace
    type RepXmltab as table of RepXml
    /
    
    
    
    
    
    create or replace
    type MERGEREP as object
    (
      -- string varchar2(4000),                  -- deleted
      val_table  RepXmltab ,           -- added
    
    
      static function ODCIAggregateInitialize
        ( sctx in out MERGEREP )
        return number ,
    
      member function ODCIAggregateIterate
        ( self  in out MERGEREP ,
          value in     RepXml
        ) return number ,
    
      member function ODCIAggregateTerminate
        ( self        in  MERGEREP,
          returnvalue out xmltype,
          flags in number
        ) return number ,
    
      member function ODCIAggregateMerge
        ( self in out MERGEREP,
          ctx2 in     MERGEREP
        ) return number
    );
    
    
    create or replace
    type body MERGEREP
    is
    
      static function ODCIAggregateInitialize
      ( sctx in out MERGEREP )
      return number
      is
      begin
    
         sctx := MERGEREP( repxmltab(null,null,null) );
         --val_table:= repxmltab(null);
    
        return ODCIConst.Success ;
    
      end;
    
      member function ODCIAggregateIterate
      ( self  in out MERGEREP ,
        value in     RepXml
      ) return number
      is
      begin
    
        self.val_table.extend;
        self.val_table(self.val_table.count) := value;
    
        return ODCIConst.Success;
      end;
    
      member function ODCIAggregateTerminate
      ( self        in  MERGEREP ,
        returnvalue out xmltype ,
        flags       in  number
      ) return number
      is
    
        v_data  xmltype ;
    
      begin
    
    v_data:= null;
    
    for x in (
         select candidate_no,rep_xml,output
          from   table(val_table)
          )
          loop
          v_data:= x.output;
    
          end loop;
               
       
        for x in
        (
    select candidate_no,rep_xml,output
          from   table(val_table)
          )
        loop
        select insertxmlbefore(v_data,'/report/partyReported[@partyId="'||x.candidate_no||'"]', x.rep_xml) into v_data from dual;
    null;
        end loop;
    
        returnValue := ( v_data) ;
    
    v_data:= null;
    
        return ODCIConst.Success;
    
      end;
    
      member function ODCIAggregateMerge
      ( self in out MERGEREP ,
        ctx2 in     MERGEREP
      ) return number
      is
      begin
    
        for i in 1 .. ctx2.val_table.count
        loop
          self.val_table.extend;
          self.val_table(self.val_table.count) := ctx2.val_table(i);
        end loop;
    
    
    
        return ODCIConst.Success;
    
            end;
      end;
    /
    
    create or replace
    function MergeRepXml
      ( input RepXml )
      return xmltype
      deterministic
      parallel_enable
      aggregate using MERGEREP
    ;
    /
    
    

    With my limited knowledge, I tried to write recursive with clause and achieve the expected results, but many lines are displayed.

    WITH
         t1 AS
         ( SELECT * FROM aps_extendedoutput WHERE source_no = 261177
         )
         --     select * from t1;
       , t AS
         (SELECT
              source_no
            , X.*
            , xmloutput
         FROM
              t1
            , XMLTABLE ('/report/role/partyReported' passing xmloutput COLUMNS candidate_no INTEGER PATH '@partyId', candidate_idx FOR ordinality ) AS X
         )
         --     select * from t;
       , all_data AS
         (SELECT
              /*+ materialize */
              t.candidate_no
            , rep_xml
            , source_no
            , t.candidate_no
            , xmloutput
         FROM
              t
            , aps_reppartyxml t_p
         WHERE
              t.candidate_no = t_p.candidate_no
         )
         --   select * from all_data;
       ,recursive_data(candidate_i, xmloutput, source_no, candidate_no) AS
         (SELECT
              1 candidate_i
              , xmloutput
            ,  source_no
            , 0 candidate_no
         FROM
             t1
         UNION ALL
         SELECT
              candidate_i + 1
              , insertxmlbefore(rd.xmloutput,'/report/role/partyReported[@partyId="'
              ||ad.candidate_no
              ||'"]', ad.rep_xml) xmloutput
            , ad.source_no
            , rd.candidate_no
         FROM
              all_Data ad
            , recursive_data rd
         WHERE
              ad.sourcE_no        = rd.source_no and
               candidate_i     < 3
         )
    SELECT *  FROM recursive_data;
    
    

    for example

    SQL> create table t_member as (
      2  select 1 candidate_no, xmltype('
      3                                rep123 
      4                      ') rep_xml from dual
      5  union all
      6  select 2 , xmltype('
      7                                rep456 
      8                      ') from dual
      9  );
    
    Table created.
    
    SQL>
    SQL> set long 5000
    SQL>
    SQL> with t (source_no, xmloutput) as (
      2    select 1
      3         , xmltype('
      4                      
      5                          TEST123
      6                      
      7                      
      8                          TEST456
      9                      
     10                   ')
     11    from dual
     12  )
     13  select t.source_no
     14       , xmlserialize(document
     15           xmlquery(
     16             'copy $d := .
     17              modify (
     18                for $i in $d/report/partyReported
     19                  , $j in fn:collection("oradb:/DEV/T_MEMBER")/ROW
     20                where $j/CANDIDATE_NO = $i/@partyId
     21                return insert node $j/REP_XML/* before $i
     22              )
     23              return $d'
     24             passing t.xmloutput
     25             returning content
     26           )
     27           indent
     28         ) as final_xml
     29  from t ;
    
     SOURCE_NO FINAL_XML
    ---------- --------------------------------------------------------------------------------
             1 
                 
                    rep123 
                 
                 
                    TEST123
                 
                 
                    rep456 
                 
                 
                    TEST456
                 
               
    

Maybe you are looking for