Problem connecting with database when Flex Builder closed
Hello,
I developed a web page that connects to a database, reads some data and shows it on the screen. I use HTTPService to connect to a php server that takes the data from MySQL. Everything is OK when I run the web page from the Flex Builder, but when I run the page doing double click on the released .html file the connection fails and the program throws this error:
[RPC Fault faultString="Error #2028: Local-with-filesystem SWF file file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf cannot access Internet URL http://localhost/Test2/Test2.php." faultCode="InvokeFailed" faultDetail="null"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http::HTTPService/send()
at mx.rpc.http.mxml::HTTPService/send()
at FrontEnd/submitLabelsQuery()
at FrontEnd/updateLabels()
at FrontEnd/___FrontEnd_SetEventHandler5_handler()
Does anyone know how can I run the web page without using Flex Builder?
More info:
I'm using Flex Builder 3 for developing the web page and WampServer 2.0 for the connection with the database.
Thank you,
Onditz
You need to add a crossdomain.xml file at the root directory of your php server.
Thanks,
Nith
See the piece of information copied from the flex documentation:
To make a data service or asset available to SWF files in different domains or on different computers, use a crossdomain policy file on the server that hosts the data service or asset.
A crossdomain policy file is an XML file that provides a way for the server to indicate that its data services and assets are available to SWF files served from certain domains, or from all domains.
Any SWF file that is served from a domain specified by the server's policy file is permitted to access a data service or asset from that server.
By default, place the crossdomain.xml at the root directory of the server that is serving the data.
Similar Messages
-
Problem connection to database when opening Crystal Report in VB6 app
Hi all, first post, so be gentle!
I've developed a simple app and database using VB6 and SQL Server 2005 and is seems to be working well when i test it.
Problem i have is after i installed the app on another PC. When the user tries to open the report they get an error when the report tries to connect to the database. It appears the report is trying to connect to the SQL Server using the user's AD account details, yet i set the report up with a trusted connection. I created a replica ODBC connection (as used by me when designing the report) on the users PC to see if that was what was missing. THis was set up to use the generic SQL Server logon details. Unfortubately the report is still trying to connect with the user's AD details.
I had a bash at creating the VB commands to set the connection settings, but i couldn't get this to work.
If anyone can help point me in the right direction or show me the correct code/steps to get th connection details correct, i'd be very grateful.
Here is the code i have in my app:
(Form1)
Dim crxApplication As New CRAXDRT.Application
Public Report As CRAXDRT.Report
Private Sub cmdRunReport_Click()
ReportPath = App.Path & "\" & File1.FileName
If (File1.FileName = "SKU MTM Report - ADR.rpt" Or File1.FileName = "SKU MTM Report - BS100.rpt") Then
Set Report = crxApplication.OpenReport(ReportPath, 1)
Report.ParameterFields.Item(1).AddCurrentValue (Trim(DataCombo1.Text))
Report.ParameterFields.Item(2).AddCurrentValue (Trim(DataCombo2.Text))
Report.ParameterFields.Item(3).AddCurrentValue (Trim(DataCombo3.Text))
End If
frmreports2.Show
End Sub
(Form2 with Crystal ActiveX Viewer component)
Private Sub Form_Load()
CrystalActiveXReportViewer1.ReportSource = frmReports.Report
CrystalActiveXReportViewer1.ViewReport
End Sub
Thanks in advance for any advice!
Edited by: James McCaig on Feb 5, 2009 12:39 PMHere is an article on how to distribute the runtime using msm files. I think the articles was written in CR 9, but all applies, save the names of the msm files:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/901c0761-cf1d-2b10-dea4-8e83937a9337
Note that you have to use a utility such as Wise, InstallShield, MS Visual Installer, etc., to create your deployment.
I have also created a short wiki that describes the msm downloads for each version of CR:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsReportDesignerComponentRuntimeDistribution-Versionspre8.0.xto12.0
Ludek -
Problems connecting with database from java API
I've benn using XSQLRequest and I found a problem with
connections, because it can't connect from Java to database, but
if I access to a .xsql it works.
And also if I link to a .xsql first and after that I try to
access to Database form my servlet it works. So I think my
problem is to initialize the XSQLConfig.xml file in OC4J server.
Thanks in advanceWould you provide the way you deploy your XSQL app to OC4J and
how you get JDBC connection using JAVA? I execute the next code more or less:
miXSQLRequest = new XSQLRequest(XSQLQuery.getDOM
(),null);
miXSQLRequest.process(htParamsIn, pWriter, pErrors);
but and it's probabily my mistake I don't get any conecction
from the session or something similar because I thought that
it's made by XSQLRequest, and the XSQLRequest class takes the
default values of the connection pool from the file
XSQLConfig.xml (I put this file inside the lib directory of
OC4J) as the XSQLServlet.
Thanks for your help -
problem with connecting ipad 2 with crestron cp2e...help plss its urgent...
I hv a ipad 2 with mobile pro g connected with cp2e. when i pressed any button in ipad its connet with cp2e but after 4-5 sec one error comes (warning wifi was powered off while the device was in auto -lock(sleep)press connect to reconnect) when i pressed again its connected with cp2e. i am using netgear wireless access point . i also has been changed access point as well as updated ipad firmware bt problem is as it is .. pls help.Hi have you solved the issue ?
Cause I have the same problem.
Tnx -
Problem regarding to connection with database
while opening the SQL server 2008,it is unable to connect with database, showing as error 2
1. Make sure SQL Server Service is running
2. If a named instance, make sure SQL Server browser service is running
3. Make sure SQL Server is configured to allow remote connections
4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
5. Test server connectivity with PING from the client machine
6. Test port connectivity using TELNET or PowerShell to the server and port (from step 4) from the client machine. For example
a. TELNET <server-name> 1433
b. PowerShell: 1433 | % { echo ((new-object Net.Sockets.TcpClient).Connect("YourServerName",$_)) "server listening on TCP port $_" }
7. Check firewall settings if step 5 or 6 connectivity test fails
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
[b]How can i connect with database(oracle 9i) from form developer at runtim
Hi Friends,
My problem is as follows, please show me a way.
Let's asume, I have form (developed in 6i) which has database data block. Now, at form level a have assigned on_logon trigger and I have written the following PL/SQL statement in that trigger:
begin
null;
end;
So, when I run this form without connecting to database It does not prompt for a connection. Now I have button lebeled as "Connect" in this form, when user will click on it it will display a window having text boxes to enter user name, password and database name; once the user fill those text boxes and click on a button lebeled as "Ok" then the form runtime environment should be connected with database as per information provided by user. Here to mention that the user already been created, only the connection will be stablished. For example: I want to connect the form with database as "scott/tiger@oradata9i".
To do this, what PL/SQL command statement should i write in that "OK" button's "when_button_pressed" trigger?
If any of you know about this please help me.Hi
I've answered this question already. If I understand you right, you can use 'LOGON' built-in of Forms. Take a look into documentation. -
My time capsule seemed to have given up so I have just got a net gear router, I have no problem connecting wirelessly but when I connect an Ethernet cable it says it's connected but pages will not load
Do a factory reset .. nothing will be deleted from your backups and you will be able to get access to them again.
The Factory Reset Gen1-4.
Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
Be Gentle! Feel the switch click on. It has a positive feel.. add no more pressure after that.
TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility. -
Datareader is not able to connect with database-Urgent
Hi All,
All of a sudden the Datareader component in my ML experiment is not able to connect with database with the following error:
[ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: The value's length for key 'password' exceeds it's limit of '128'.
Module finished after a runtime of 00:00:00.2031339 with exit code -2
Module failed due to negative exit code of -2
It complains about the password being long-but the same credentials I have been using for the last 2 months and still able to use it to run sql queries on that same database using the management portal.
It appears that Azure encrypts the password and that encrypted password is too long...just my guess after looking that the output.Inside Ml it just says as internal error
Would appreciate if someone can point to the issue at the earliest...(There is a demo early next week)
Subscription:Enterprise,
LOCATION: East Asia
Regards,
BiswajitHi,
Please check this url:
https://studio.azureml.net/Home/ViewWorkspace/bc85d4f81d2246c4b1430eb395229a3a?&hashSeg=#Workspaces/Experiments/Experiment/bc85d4f81d2246c4b1430eb395229a3a.f-id.11776ae4400f4c1aa9f58308c30810fa/ViewExperiment
which is an experiment which I created doing save as of the experiment in which the data reader works.
I stripped everything except the data reader and setup the rest of the components...I finally have to write the results back ,so also pulled a Writer component.
Now,the data reader works fine..but the Writer fails:
Error 0071: Incorrect username "acnadmin" or password is passed
Strangely,its the same credentials set in the DataReader.
Looks like all the DataInput/Output components created recently only have the problem.
Once again,while the datareader in this case passes the password in plain text,the writer encrypts,hence fails. -
Unable to connect with Database server in MDM
Hi Experts,
I have installed the MDM server 7.1 on windows 64 bit box, but installed MDM console (32 bit).
Getting the issue like below
Can anybody please help me out to fix the issue.
Thanks in advance,
Bhaskar Ndear
Did you install Oracle client on MDM server. If not please install it and revert with the result..
Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
do the following
You need to create tnsnames.ora file even on the host where MDM is installed and define Oracle database host and instance there. Then, MDM user needs to have access to oracle client libraries and needs to have access to this tnsnames.ora file as well. Once you set this up, it will work fine. -
hey guys i got a problem connecting with itunes always giving me ox80090318 if u know the answer please let me know thx
Hello Makiaveli,
It sounds like you are getting this error code when you are trying to access the iTunes Store.
I found this article with this error listed in the symptoms section, for you that should help troubleshoot the issue named:
Apple software on Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123
Resolution
The cause for these issues is a program that monitors the Winsock protocol for Windows conflicting with Apple software. These programs usually use a Layered Service Provider (LSP) that can help identify the particular program installed. The programs that monitor this protocol have a variety of purposes, including security software, content filtering, and optimization of network traffic.
To find the LSP:
Download Autoruns for Windows from Microsoft
Look for Autoruns.ZIP and open the compressed folder.
After reviewing the contents and the license, drag autoruns.exe to the desktop.
Open Autoruns.
Click on the tab that says Winsock Providers.
A list of items should appear. A column showing the publisher should be available.
For items other than Bonjour, which is from Apple, check with the publisher for updates to resolve the conflict between their software and Apple software.
If the publisher is unfamiliar to you, you may be able to use the table below to find out more information about the origin of the modifications to Windows.
Some of the publishers and programs that are known to have versions with a conflict are listed below:
Product or Publisher
LSP Name
Bigfoot Networks / Killer Gaming
BfLLR over [MSAFD Tcpip [TCP/IPv6]]
Bsecure
Bsecure over [MSAFD Tcpip [TCP/IP]]
Bullguard
BGLsp over [MSAFD Tcpip [TCP/IP]]
Bytemobile, Inc.
BMI over [MSAFD Tcpip [TCP/IP]]
CA / Total Defense Internet Security
LAYERED_PROVIDER over [MSAFD Tcpip [TCP/IPv6]]
ContentWatch / Net Nanny
CWALSPSYS CWALSP MSAFD Tcpip [TCP/IP]
Covenant Eyes
Covenant Eyes Monitoring over [MSAFD Tcpip [TCP/IP]]
Dr. Web
DrWebSP.4 over [MSAFD Tcpip [TCP/IP]]
Earthlink Total Access
PropelLSP over [MSAFD Tcpip [TCP/IP]]
Eset
NOD32 protected [MSAFD Tcpip [TCP/IP]]
Fourelle Venturi
VENTURI_TP [MSAFD Tcpip [TCP/IP]]
FoxyProxy
FoxyProxy Service Provider over [MSAFD Tcpip [TCP/IP]]
Hide My IP / My Privacy Tools
My Privacy Tools - LSP over [MSAFD Tcpip [TCP/IP]]
MegaUpload / MegaKey
msadmid over [MSAFD Tcpip [TCP/IP]]
Netintelligence
NIHLSP over [MSAFD Tcpip [TCP/IP]]
Netscape Internet Service
SlipStream LSP over [MSAFD Tcpip [TCP/IP]]
Netsweeper
Liger over [MSAFD Tcpip [TCP/IP]]
Norman/Norman Security Suite
NLF over [MSAFD Tcpip [TCP/IP]]
Panda AntiVirus
PAV_LAYERED over [MSAFD Tcpip [TCP/IP]]
PC Tools / Spyware Doctor
PCTOOLS over [MSAFD Tcpip [TCP/IP]]
PureSight Internet Content Filter
Winsock over MSAFD Tcpip [TCP/IP]
Ratajik Software StationRipper
AVSDA over [MSAFD-Tcpip [TCP/IP]
Safe Eyes / McAfee Family Protection
Internet Content Filter over [MSAFD Tcpip [TCP/IP]]
Sendori
SendoriLSP over [MSAFD Tcpip [TCP/IP]]
SpeedBit Video Accelerator
SBLSP over [MSAFD Tcpip [TCP/IP]]
TellyAbroad
EasyHideIP over [MSAFD Tcpip [TCP/IP]]
Trend Micro
Trend Micro LSP over [MSAFD Tcpip [TCP/IP]]
VMWare
VMCI sockets DGRAM
Wave / Embassy Trust Suite
Wave Systems Kerberos LSP over [MSAFD Tcpip [TCP/IP]]
XFire
Xfire_LSP MSAFD Tcpip [TCP/IP]
Once you've identified the third-party software that installed the LSP, you should check for updates. If the software is your security software, see iTunes: Troubleshooting security software issues for additional information.
Bytemobile is usually associated with cellular data connection software. You may want to check if your provider has instructions to disable or uninstall that portion of the software, such as these instructions from AT&T.
Note: If unsure on the origin of your LSP, you may try to locate vendor information to determine which software is responsible for the non-default value here.
Thank you for using Apple Support Communities.
Cheers,
SterlingD -
How do I fix this message. When trying to set up the ipod again? There was a problem connecting with the server. please help
Was this the error?
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server -
Lync 2013. There was a problem connecting with the Exchange. Unable to load the magazine discussions.
Installed Lync Server Standart 2013, client PC MS Office 2013.
As the mail system - Lotus Notes Domino Server and Lotus Notes client, respectively.
Exchange is not installed at all.
question:
1 What is the message: "There was a problem connecting with Exchange. Unable to load the magazine discussions." and how it is fraught?
2 How can I fix this message? Cleaning the C: \ Users \% UserName% \ AppData \ Local \ Microsoft \ Office \ 15.0 \ Lync \ does not help
3 What are the disadvantages when using Lync Server Standart 2013 without Exchange? In principle, I put for Lync Exchange?
4 What are the advantages when using Lync Server Standart 2013 with Exchange?
5 Is it possible to work simultaneously Lync Server Standart 2013 + Exchange + Lotus Notes
Thank you.1) That sounds like a strange translation. But basically, it wants to connect to Exchange and it's complaining.
2) You can attempt to go to Tools->Options->Personal and set Personal Information Manager to None, and in Lync Management Shell run set-csclientpolicy
http://technet.microsoft.com/en-us/library/gg398300.aspx with the following options:
DisableCalendarPresence $True
DisableEmailComparisonCheck $True
EnableExchangeContactSync $False
There may be more, I've never tried to completely disable Exchange features from Lync.
3) No conferencing plugin for meeting invites, no automatic presence management based upon your calendar, no searching your Outlook contacts for new contacts, no voicemail, no conversation history,no unified contact store, and more:
http://technet.microsoft.com/en-us/library/jj688098.aspx
4) This is just #3 in reverse :)
5) Depends on your goals, but the experience wouldn't be great. You'd want to keep your contacts and calendar in Exchange and your email in Notes. It would be confusing to your users.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications -
How to connect with database in JBuilder?
Hi,
I try to connect with database in JBuilder7, but the connection is failed. please tell me what is wrong? thanks!
In connection tab:
Driver: sun.jdbc.odbc.jdbcodbcDriver
URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdb
Error:
com.borland.dx.dataset.DataSetException: [Microsoft][ODBC Driver Manager] Data source name too long
JunURL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdbshould be jdbc:odbc:DBname:book.mdb
-
I am trying to look at my I cloud account on a pc in the library it normally works fine but now says problem connecting with the server. what can i do or is there an issue today
Hi...
Try restarting the AMDS > How to restart the Apple Mobile Device Service (AMDS) on Windows
iCloud system status reports everything green > Apple - System Status -
Can I connect with Database using Session Bean
Hi,
I am new to EJB. I have small doubt.
can I connect with Database using Session Bean.
Regards,
Murali.Double post of http://forum.java.sun.com/thread.jspa?threadID=687239&tstart=0
Maybe you are looking for
-
How to Get property values from Shared Object in client's load event - Very urgent
I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet. Now when second user connects to the ser
-
Just bought the Apple TV2 yesteday. I'd like to pair both my macbook and my wifes macbook to the Apple TV. We both have seperate iTunes accounts. Is this possible without having to sign on or the other out of apple TV?
-
MS Exch Acc not syncing - manually setting it in iPhone or through iTune
Hi, I have confugured the MS Outlook in my personal laptop to work with my work email. The new iPhone seem to support MS Exchange account. Although I could setup my yahoo and gmail account pretty fast, I have failed to successfuly setup the MSEx acco
-
Dynamically retreiving fields of a table
Hi, I have a text file in the application server containing data corresponding to the fields of table EPROVAL15.I have declared an internal table and work area of the table type .While I am trying to split the file into respective fields it's throwin
-
Presentation on Retail and Marketing based on business perspective
Hi Friends, I am searching for a Presentation on Retail and Marketing based on business verticals. Could any one provide me with the link or presentation related to the above. Thanks in advance kishore