Find Server Behavior/JavaScript Errors
I am getting an error whenever I created Update or Insert
record server behaviors in my pages. When I go through the process
of adding the behavior, it inserts the VBScript for my ASP page,
but then I get an error message when findServerBehaviors runs. In
DW8, it was referring the InsertRecord.htm, in DW CS3, it referres
to InsertRecord2.htm whenever I run and Insert Server Behavior. As
I said, it inserts the code, but it will not show an Insert Record
in the Server Behaviors panel.
If I close and open DW, the next time I open the page, the
behaviors will be listed in the panel, but the moment I make any
changes to the page, and the findServerBehaviors javascript is
triggered, I get the error message and lose the listing of the
insert or update in the behavior panel even those the VBScript code
is still in the page. This is super annoying.
Anyone have this problem?
It's probably some extension you have installed that's
causing the issue. I found a tech support article that helped -
can't remember where, but basically you recreate your configuration
by renaming your existing config folder to something like
"configuration-old" and then restart DW. It will create a new
config folder and you will have to re-enable all your extensions.
This solved the problem for me initially and I enabled a few
extensions every few days until one day the error started happening
again. For me the problem was caused by the extension "Justso
Picture Window". Once I disabled that extension, my problems went
away. It would be nice if DW had some way of telling you which
extension is causing an issue.
Similar Messages
-
Forms/4GL Tutorial Returns Cannot find server or DNS Error
Hi:
I am trying to plow through this tutorial (10.1.3.1.0) and when I run the SRList.jpsx page I receive the error: Cannot find server or DNS Error. The URL produced by JDeveloper is:
http://192.168.99.36:8988/SRTutorialADFBC-UserInterface-context-root/faces/app/SRList.jspx.
Any suggestions?
I've culled the forums and the Web, and cannot find a match. The only nugget that I can add is that I'm using JDeveloper with the OA Framework extension. I have been successful creating pages with OA Framework and executing them. Is there some incompatibility with OA Framework and ADF?
Any help is greatly appreciated!Mchrist,
You cannot use the OA Framework download to develop ADF apps.
I would create two batch/command files: in each one, set JDEV_USER_DIR and any other environment variables to point to a proper place and run the JDeveloper.
Just unzip JDev and OA Framework to separate locations and ensure that the user directory for each is in a separate location as well.
John -
Intermittent "Cannot find server or dns error"
We are getting "Cannot find server or dns error" intermittently. It happens most frequently using internet explorer on https. Anyone else getting this or have any suggestions?
(I have logged as TAR 1525537.999)
nullAfter many, many hours or research and corresponding with other
Oracle resources, we resolved the issue. We still receive the
"Cannot find server or DNS error" but with much, much less
frequency.
Here are the complete details:
Environment:
Windows NT 4.0 SP 6
Oracle 9iAS 1.0.2.2
Oracle 9iAS Portal 3.0.9.8.0
Oracle 8i Database 8.1.7.0.0
Apache HTTP Server: 1.3.19 (win32)
mod_ssl: 2.8.1
OpenSSL: 0.9.5a
SSL port: 443
Problem:
We were running into the following error intermittently (but very
frequently) when accessing pages in the Oracle Portal application
with SSL enabled:
"Cannot find server or DNS error" at the bottom of a "Page cannot
be displayed" error page.
Resolution:
7 Applied patchset for Oracle8i 8.1.7.1.1 (to database client and
server)
7 Applied patchset for Oracle8i 8.1.7.1.5 (to database client and
server)
7 Applied patchset for Oracle Portal 3.0.9.8.1
7 Implemented solution for Oracle Bug No. 1822053 (HTTP 404 Doing
Portal Development) by changing (and un-commenting) the following
line in our Apache http.conf file:
From: #SetEnvIf User-Agent ".*MSIE.*" nokeepalive
ssl-unclean-shutdown
To: SetEnvIf User-Agent ".*MSIE.*" ssl-unclean-shutdown
7 Implemented solution for Oracle Bug No. 1821195 (When uploading
large file using modplsql & SSL error reading data from client)
by replacing the existing ApacheModuleSSL.dll file with the
patched file referenced in the bug details.
Note: Bug No. 1821195 is for Oracle9iAS 1.0.2.2. It references
Bug No. 1773627 for Oracle9iAS 1.0.2.1.
I feel the biggest help was finding out about Bug No.
1821195/1773627. We were provided the bug details by a local
Oracle technical consultant, Dave McMarlin, referred to us by the
Oracle Joint Staff Account Manager. That solved our problem with
receiving the noted error message when we tried to add items to
the content area. Applying the change to the http.conf file
identified by Bug No. 1822053 (removing the nokeepalive entry) in
combination with the Oracle8i and Oracle Portal upgrade seems to
have solved our problems with the other intermittent occurrences
of the noted error message.
According to the details for the ApacheModuleSSL.dll patch, there
was mention of a bug in the "select" function in Windows NT 4.0:
"When checking a socket, if data can be read without blocking,
select () returns yes, but when actually reading from the socket
with recv(), that function returns WSAEWOULDBLOCK, which says
that reading would block. It seems that this problem does not
occur in usual operation, but only in an SSL enabled Apache
(modssl or apache-ssl) with https. The code for WIN32, which
handles writing to a socket, already contains a workaround for
this. The code for reading from a socket did not have a
workaround."
Oracle Technical Assistance Report and Bug Information:
TAR Number: 1727314.999
BUG Reference: 1924408
Open Date: 07/31/2001
Abstract: Intermittent "Cannot find server or DNS error" -
Problem with wrt54gl Cannot find server or DNS Error
Hello,
I am having problem with wrt54gl roouter. I have windows 2K professional that connected trough the wire. The browser (and other tools) is periodically loosing connection for around 30-60 seconds showing "Cannot find server or DNS Error". after refreshes it comes back. If I connect PC directly to internet without router I never have a problem. I have put statical resolution of dns servers(3 of them) and ip does not help. I switch between ports on pc and router site, change the cable, remove antivirus, put latest windows updates, use different browsers. Disable anable 2d network card (2 on mother board).
Any suggestions?
ThanksHi… Login to the setup page of the router and reduce the MTU to 1365. Upgrade or re-flash the firmware if needed.
-
One wouldn't expect the code supplied by a MAJOR CORPORATION and WEB DEVELOPMENT TECHNOLOGY LEADER to blow an error on one of the server behaviors it supplies as part of its standard install. But then again, there is reality. The UpdateRecord.js, to be found in your installation on Windows 7 at ..ProgramFiles(x86(/Adobe Dreamweaver CS5.5/configuration/ServerBehaviors/Php_MySQL/UpdateRecord.js causes an error when it is selected from the SERVER BEHAVIORS menu. This happens BEFORE you I enter anything into the fields. The error states: "While executing onLoad in UpdateRecord.htm, the following JavaScript error(s) occured: At line 687 of file "........UpdateRecord.js": name has no properties. I've looked at the code and it is beyond my comprehension. Something about the NAME of a value in the node list.... I just don't have the chops to go rewriting Adobe's code. If I did, I'd be making the big bucks. Does anybody know what to do about this? About my system: Windows 7, 64bit, CS5.5 (on a lease so it is up to date) using PHP and MySQL, on a remote dedicated server running Apache on Linux. :<)McFrisco
Ok, I deserved that spanking. I was just frustrated. Sorry for the rant.
I've managed to figure out a workaround on this. There really is something wacky going on with Dreamweaver and the Update Record handler. Here's what I did:
How to trick DREAMWEAVER into writing an UPDATE RECORD.
Dreamweaver's server behavior for Update Record doesn't work correctly sometimes. The symptom of this is that when you try to fill in the popup form provided by the Server Behaviors/Update Record menu item, it doesn't allow you to choose form fields to update to the database if they are posted there by a previous page. It only allows you to choose them if they are bound to the database. This doesn't do any good, because you are updating a record with the information from the database you want to update, NOT with new information. Kind of weird... But here's the way to get around it. Its a bit tedious but it works.
1. On a clean php page, set up a form with the input fields matching the database fields you want to update. This page is to be used as the RESULT page of a form submitted on a previous page where the UPdate Record won't work due to conflicts, plugins, or some other unknown reason.
2. Connect to the database table you want to update, and set up a new RECORDSET on the page.
3. Bind all the form fields to the appropriate database fields.
4. Do an Update Record behavior based on this form. This will actually do nothing but update the record with the stuff that is already in the record, as noted above.
5. Delete the php code that sets up the record set. But, LEAVE THE Update Record code alone! It is correct.
6. Change the bindings of all the fields in the FORM to the $_POST[] variables passed from the form on the previous page. (Make sure the previous page form uses the POST, not the GET method.)
Now, when you submit the form it will pick up the values in the form, which have been passed from the previous page's form. -
Database Control on Windows - Gives error Cannot Find Server or DNS Error
hi all,
After installing 10g on Windows, the necessary services for my new db are running, listener is up.
But when I try to bring up Database Control via http://pnclultraprd.corporate.mem.5500/em/console/logon/logon
I get "The page cannot be displayed. Cannot find server'
I've not had this before on new installations and I'm stuck.
Any tips? thanks, JohnWhat is the status of the enterprise manager and agent,
emctl status dbconsole
emctl status agentHTH
Aman.... -
XE and "Cannot find server or DNS Error"
I read other articles and here is some data for your to go over.
=====================================================================
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 28 09:37:18 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-12631: Username retrieval failed
SQL>
==================
C:\>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-NOV-2006 08:19
:39
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 27-NOV-2006 16:14:11
Uptime 0 days 16 hr. 5 min. 27 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=jantar)(PORT=15
21)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Also netstat does not show anything running on port 8080.
============================================
C:\Documents and Settings\N0139838>net start
These Windows 2000 services are started:
Alerter
COM+ Event System
Computer Browser
DHCP Client
Diskeeper
Distributed Link Tracking Client
Distributed Transaction Coordinator
DNS Client
EPAService
Event Log
Infrared Monitor
Logical Disk Manager
Machine Debug Manager
Messenger
Net Logon
Network Connections
OracleServiceXE
OracleXETNSListener
Plug and Play
Print Spooler
Protected Storage
Remote Access Connection Manager
Remote Procedure Call (RPC)
Remote Registry Service
Removable Storage
RunAs Service
SafeBoot Configuration Manager
SavRoam
Security Accounts Manager
Server
SMS Agent Host
SMS Remote Control Agent
SU Service
Symantec AntiVirus
Symantec AntiVirus Definition Watcher
Symantec Event Manager
Symantec Settings Manager
System Event Notification
Task Scheduler
TCP/IP NetBIOS Helper Service
Telephony
Windows Management Instrumentation
Windows Management Instrumentation Driver Extensions
Windows Time
WMDM PMSP Service
Workstation
The command completed successfully.
===========================================
Ping 127.0.0.1 or localhost is successfull.
===============================================
C:\Documents and Settings\N0139838>netstat -a
Nothing is running on port 8080.Accoding to your listener status, it is actively listening on behalf of host 'jantar', but NOT listening on behalf of host 'locahost'.
What happens when you "ping jantar"?
Are you using DHCP? -
Hi,
I have built a basic form from the HR schema but when I click the 'Run Form' button, I get a 'Cannot find server or DNS Error'.
I am running 10gR2 and Forms [32 Bit] Version 10.1.2.0.2 (Production)
Thanks for your help.I tried changing it to 1521 (the other listener port) with no success. When I changed it, I shutdown and restarted the OC4J.
http://Hagrid:8889/forms/frmservlet
C:\DevSuiteHome_1\j2ee\DevSuite\config\default-web-site.xml
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE web-site PUBLIC "Oracle Application Server 10g XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
<!-- change the host name below to your own host name. Localhost will -->
<!-- not work with clustering -->
<!-- also add cluster-island attribute as below
<web-site host="localhost" port="0" protocol="ajp13"
display-name="Default Oracle Application Server 10g Java WebSite" cluster-island="1" >
-->
<web-site port="8889" protocol="http"
display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site">
<!-- Uncomment the following line when using clustering -->
<!-- <frontend host="your_host_name" port="80" /> -->
<!-- The default web-app for this site, bound to the root -->
<default-web-app application="default" name="defaultWebApp" root="/j2ee" />
<!-- Do not delete this line. -->
<web-app application="forms" name="formsweb" root="/forms" />
<!-- -->
<!-- <web-app application="forms" name="formsweb" root="/forms" /> -->
<web-app application ="reports" name="web" root="/reports" />
<web-app application = "reports" name="demo" root="/repdemo" />
<!-- Access Log, where requests are logged to -->
<access-log path="../log/default-web-access.log" />
</web-site> -
Desktop create fails with javascript error (unable to proceed)
When creating a new desktop from a portal template the action fails and the only error I can find is a javascript error.
The error in the browser when trying to create a new desktop from the portal.
<b>Error: unterminated string literal</b>
Source File: http://localhost:7001/FoundationAppAdmin/portal.portal
Line: 2710, Column: 28
Source Code:
ror(s) occurred during XmlDisassemblerContext parsing: Parser Error...
That corresponds to this code in the web page source in the portal admin tool.
function showUserErrorMessages() {
alert(unEscapeChars("- Error: The desktop could not be disassembled. [com.bea.netuix.application.transform.disassembler.XmlDisassemblerException: com.bea.netuix.application.transform.disassembler.XmlDisassemblerException: One or more validation error(s) occurred during XmlDisassemblerContext parsing: Parser Error...
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
Parser Error...
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
Parser Error...
org.xml.sax.SAXParseException: Duplicate unique value [ID Value: bEarn] declared for identity constraint of element "desktop".
Parser Error...
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
Parser Error...
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'columns' is not allowed to appear in element 'netuix:layout'.
Message was edited by:
dallastxWhen creating the desktop from a .portal file in the admin tools, the .portal file is parsed and validated before persisting to the database. It looks like this is failing and you are getting some fairly straight-forward messages. Check the format of the contents in the .portal file and make the necessary corrections.
-
Javascript error in captivate 4
I don't have flash to create a new widget for a specific certificate that I need. So to get what I needed, I tried a javascript "print screen" script but I get error messages. just wondering if anyone has an idea how to correct.
Message;syntax error
Line: 1
Char: 1
Code: 0Hi there
If you are testing this locally and not from a server, the JavaScript error may be as simple as needing to adjust Flash Security.
Info for doing this is linked below.
Click here
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
For the last few days I am having a lot of problems with my Btinternet email - main one is that 7 out of 10 log ins I get a "Cannot find server" message. This morning I haven't been able to get in at all so far. (and yes, I am trying to log in via the link on the BT.com home page). I also get kicked out of email most times I click on Inbox and have to log back in again which is incredibly frustrating.
All this is since my laptop insisted on installing IE 11 but I don't know if there is a connection.
Any suggestions?If I go to the 'My BT' website and click on the 'Email' logo at the top right of the screen I get the email logion screen.
After typing my login details my web browser tries to display page
http://uk.mg.bt.mail.yahoo.com/
but it fails and I get an error message saying "502 - Cannot find server or DNS Error".
Has anyone got any ideas how I can access my emails? -
JavaScript Error when adding the Server Behaviors for insert Record in php_mysql
Hi guys,
I am using Adobe DreamWeaver CS4.
Here is the Scenerio, i am doing php mysql driven website.
While adding the server behavior for insert record i got following error
Plz help me..
Thanks in Advance
RafelNashHave you found a fix to this??
-
i get this error whenever i open pages created in CS4. ive tried deleting the cache file... deleting the entire configuration folder and letting DW re build it.. nothing... error still there. how can i turn it off? i also cant seem to find the "edit server behaviors" button.. double click? well DW freaks out with that aswell... yes i know i have some insanely hand edited code.. basically use DW as notepad replacement.. with extra features like having the option of "add recordset" then going and editing it to my liking.
the error
[quote]
The server behavior panel cannot determine whether "command" or "recordset (Query)" is applied to your page. Please select edit Server Behaviors and change one of the two behaviors to ensure that each is uniquely identifiable.
[/quote]
this is a total show stopper for me.. im going to have to go back to a previous version cant click "ok" every time i open a page.. and every time i follow a include file.
development ASP
Dreamweaver CS5
Question.. how to disable the error message from popping up? i'll take my chances with hand editing the recordset / command by hand if i need it changed.this is bleh... having to resort back to CS4..
is there any way to legaly go back to cs4 dreamweaver but still use the other cs5 applications? -
Update record error message: Server behavior, updaterecord.js
Hello,
I'm developing a website using PHP and MySQL on Dreamweaver CS5, Snow Leopard.
I'm having trouble with the updateRecord Server Behavior:
Right after selecting "Update Record" in "Server Behavior" menu, I get the following error message in a popup window:
while executing onLoad in UpdateRecord.htm, the following javascript error(s) occurred:
At line 687 of file "Macintosh HD:Applications:Adobe Dreamweaver CS5:Configuration:ServerBehaviors:PHP_MySQL:UpdateRecord.js." name has no properties
After selecting "ok" in the popup window, the "Update Record" window menu opens. However, when I tried to selected the desired table from the database in the dropdown menu, the same error message/popup window appears. I clicked "ok" once again, but the "column" textarea doesn't get populated at all. But, the "Value" dropdown menu does get populated with the correct data.
I need help asap. Please contact me if you need more information.
Thank you so much for taking your time to read my post, hopefully you'll be able to help me.
Best,
Alice LiI have this same problem. Was working fine then I removed the Recordset and added it again to change the name. After binding the dynamic info to my form fields I tryied to add an update record behavior and I got this error.
I had already done this once I think with no problem. I tried restarting Dreamweaver and the computer but the issue still persists.
Any help!? -
Can't Find Server at... error -- only one site, works from non-Macs fine
Greetings:
I have been getting a "Can't Find Server at www.teocommunications.com" error in Firefox for over a month now. I thought initially that it was a problem with the DNS entries and maybe the record had not proliferated though the DNS servers of my ISP or something of that nature. This is not the case.
I have tried to bring my site up in Safari and it yields the same result.
Did an nslookup, and everything resolves fine. Every once in awhile the site comes up on my Mac, but most of the time it gives the error. At all times, if you try to go to it from a Windows machine or my smart phone it works fine 100% if the time. My wife's Windows Vista machine with Firefox brings it up fine 100% of the time (she is on the very same network). I can get it to work for some reason if I totally reboot the Mac or reset the router (but the router is obviously not the problem)... it has to be something in the Mac OS (10.6 and 10.5) that is going on. I have eliminated all other possible problems. Curiously enough, it seems to also be a Leopard (not just Snow Leopard) issue... I can reproduce the error at my school (which is on a totally different network than my home) on the Mac Pro Intels they have which are still on Leopard.
I am on the latest version of Snow Leopard on a brand new Mac Mini.
This problem is only with my site (that I know of) but again it happens ONLY on Macs with Leopard or Snow Leopard. I am very annoyed by this problem and because it is my professional work site, it is imperative that I find the solution and soon.
Hope someone can help.
APPLE, please look into possible configuration or DNS issues in Leopard/Snow Leopard, as before I posted here, I did try several 'fixes' for issues like this for Firefox before I noticed that Safari was getting the same issue and ANY OTHER PLATFORM sees my page just fine!Hi Guys:
It sometimes works from my Mac as well. I can get it to load if I reboot the Mac and then in a few reloads it is back to the same error.
I did try openDNS as well and it did not still load. I can pretty much guarantee that it is not the DNS records, it is something going on between my Mac (or the Pros at school). Other sites from my same host work fine, my domain is setup exactly the same. They do use ISPConfig... and it could be something with that program, but I can not seem to confirm any problems there.
I reset my router and the site is currently loading again on my Mac, but I can tell you it will be throwing the error in the very near future because that is one fix that worked before and it worked exactly two loads when I switched to a different wireless access point that is not my router.
SO, the fact that it loads one to up to twenty times on someone's Mac is not enough to reproduce the problem. It takes several reloads and then the problem magically re-appears. This is why the fact that it is working right now on my machine is not good enough to call it fixed.
Try to reload my site several times and see if it gives you the error.
I have (as I stated) tried a lot of what is being suggested here and re-tried it, but nothing fixes it for very long
I appreciate the help and hopefully we can figure out why the situation exists.
Thanks for the help so far and please feel free to keep suggesting ideas, but for reference I have tried:
1. modifying settings in Firefox (although it does not matter what browser I use,the result is always the same)
2. resetting the router and DSL modem
3. modifying the /etc/hosts file on my Mac
4. dscacheutil -flushcache
5. using openDNS instead of my ISP (which is AT&T)
6. removing the DNS settings and using the router settings
7. turning off airport and back on after 30 seconds
8. renewing my DHCP clients
9. Signning onto a different wireless access point (which is actually a new ISP that I am going with and so they are a totally different network and subnet).. they are setup all over town with wireless access. -- pretty cool actually.
None of this seems to fix the problem loading only my site. Since I do have access to the hosting provider (I work with them)... I have done some things on the hosting side too. All to no avail.
Maybe you are looking for
-
Controlling Leopard user permissions with launchd-user.conf
INTRODUCTION: For the uninitiated OS X file permissions are still being developed and documented. In the meantime some default permissions are not prudently set, eg new items created by users grant read access to 'everyone'. There is growing interest
-
Dear friends, Can i present ALV output with Main Heading and within there r subheadings like the following ? Main Heading 01 Main Heading 02 Sub Head1 Sub Head2 sub Head3 sub Head4 s
-
Converting greyscale images to single spot colour
Hi there. I'm trying to convert a greyscale image into a single spot colour image. The spot colour is PMS425C, a grey version but as I'm only printing 2 colours I need to convert these images into one spot colour. Can somebody please assist? Thanks
-
Strange observations regarding Weblogic's jdbc pool
Hi, We have strange problem in wls5.1 sp 8. We have configurate WLS with 30 threads (weblogic.system.executeThreadCount) and a connection pool with initial number of connections of 70 and maximum of 100 (the RDBMS is Oracle). We see (with Weblogic co
-
I am trying to take a screen capture using shift-apple-4. I here the camera click, but the image is no where to be found. It does not appear on the desktop, or in the dock. Any thought???? David