strange problem with the database link
Hello worldI have a strange problem with the link of database in Oracle 11 g Express Edition;
There are two computers: computer-server and the client computer. Tnsnames.ora are the same on both computers IE.
CT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = XE)
)
)
I created the database link:
Create database link zdalny
Connect to < user_id > identified by < password >
using "CT".
Customer cannot connect with server when I do not use above the command. But when I change 'use' for using "krzysztof:1521" or by using "krzysztof" or "server IP:1521" - everything is ok.
Why I ask. Because in all the materials that I read about Oracle command with the help of "CT" should work correct. But there is no. Do you know why?
Thanks in advance and apologize me for my English.
Rgds
Krzysztof
Here's the tnsnames of your server, but to connect to the oracle server db (any client or to another instance of db oracle), you must install oracle client.
However, in your condition, you want to connect the DB1 Oracle OracleDB2 using a link db, I'm right? In this case you should always set the entry in the tnsnames.ora
To verify that you can connect to Oracle DB2 from DB1 Oracle, you can use tnsping in the command line.
In your case
c:\tnsping CT
Krzysztof Szymaniak wrote: CT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
Check your tnsnames entry in the machine, you are trying to connect to. And check if the tnsping is successful.
Sometimes the error message says not everything, which means that you need to troubleshoot yourself and learn from the experience.
Always in the opposite case, refer to the documentation.
See you soon.
Published by: Spongebob December 14, 2011 09:30
Tags: Database
Similar Questions
-
Strange problems with the database
Hello
I just got my Fuze and am very happy with it; However, I am having a very strange problem with the database. I have a 16 GB sdhc card that I use with the "rocket" and there are about 4 songs on the card that will not play and have no information charge tag. Their tags appear in the tag browser (not the in the track information screen) as just an empty rectangle. Under the track information screen, sizes are listed as ~ 4000 mb. The songs will not play and I can not jump in front of one of these songs once they were loaded.
At first, I suspected some kind of corruption of tag, so I set out that night to track down the problem. I removed the 16 GB card and reset the player. Then, I loaded one of the corrupt in the internal memory of the player. The track has been scanned and played correctly. Then, I removed the track of the internal memory and it loaded on another SDHC card. Yet once, everything worked correctly, so I knew that the card I was using was a kind of system files or physical problem. I returned the original 16 GB sdhc card in the reader and checked that the file was still unplayable, and then I plugged the "rocket" to my computer. I transferred the unplayable file on my computer and compared (with md5sum) to the original file, thinking that if there was the file system or physical corruption the copy of the map would be damaged. However, the files were equivalent.
To make things even more interesting, I also have problems with the registration of the kind. I have some files tagged Genres such as 'Classic' and 'Rock '. In the list of the genre, I see this:
C
CL
CLA
CLAS
Class
Classic
Classic
Classica
Classic
Rock
So, there is corruption on the kind of 'Classic' but not the kind of "Rock". Each of the substrings of 'Classic' contains only a few titles, with most of the other titles listed where they should be. I checked that the tracks are labeled correctly and in exactly the same way as the other tracks that do not have this problem.
I am at a total loss about what to do, and I'd really appreciate any advice or suggestions. I use the current firmware, 2.03.31a and the songs in question are in Ogg Vorbis format.
MM
Thanks for your replies.
I managed to find what may be the problem. Tracks that received corrupt tags had the names of total path with more than 256 characters. It seems that the driver internal fat32 the rocket uses vomits all over the place when the path name is too long. Before the "rocket", I got an iPod running rockbox tags with the same directory structure that I have on the "rocket", so I don't think that this restriction on the length of the path name is a limitation or requirement of the fat32 file system. Reduce the path corrected the problem with the files being unreadable.
However, the problem with foires genres the rest. Looking at the files show that corruption, they all have a little information in tags. Most of the information is contained in the hashes I have files that identify them via musicbrainz. The limit on the total number of characters in the tags of the track includes the "rocket" label is not read or use?
MM
-
Problems with the navigation links in EDIT mode in the Business Catalyst Muse sites.
Has anyone else had problems with the navigation links / EDIT mode in sites Business Catalyst Muse?
In EDIT mode, I can't use the list drop DOWN the SELECT DIRECTLY to go to another page or a link. The drafting of the text or label works, but to actually go to a /visit link a hard link is broken.
Others have this problem as well.
No work around?
Thank you!
I have the same problem! Contact BusinessCatalyst today taught me that it is a known bug and have Adobe Muse to fix! LiveChat ticket No. #159685
When I launched the Web site in may 2015 everything worked well, but since the update of CC, this problem occurred.
The tip of solution, I received the BC is to always use the navigation menu bar. This does not work for me because my client wants a menu of polaroid...
-
Strange problem with the formatting of the text
Hello
I had a strange problem with the formatting of the text. I created a document in Polish language and the strange thing happens when it divides the word to the next line. For example here on this part of the page, I have a word "umieszczamy", which should be divided "' u - CEF - szcza - my", but my Indesign divides in umi-eszczamy (as shown on the picture). " How can I fix it so it divides the word correctly?
Concerning
What language is awarded when you select the text? Hyphenation, but also the spelling, is controlled by the dictionary that is assigned to the text.
If the language is correct, you might have to change the hyphenation in the user dictionary.
-
Hi Experts,
I am facing a problem with Dblink
AMT OF remote Db
Local Db AMTX1 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ABC.DEF.COM)(PORT = XXXX))) (CONNECT_DATA = (SID = X1)))
I am able to connect to X 1 with the id user USR & PWD passwordX2 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = XYZ.DEF.COM)(PORT = YYYYY)) ) (CONNECT_DATA = (SID = ELF) (GLOBAL_NAME = ELF.world) ) )
However, when I create db link
It is created, however when I test, he says the invalid user id and passwordcreate database link L1 connect to USR identified by PWD using 'X1'
Please let me know what I am doing wrong
Thanks in advance
Kind regards
Published by: 34MCA2K2 on July 11, 2012 08:37
Published by: 34MCA2K2 on July 11, 2012 09:18Please refer to this http://lihaobin.com/?p=78
Maybe a problem with the case-sensitive password
-
Connection problem with the database, the closure of Flex Builder
Hello
I developed a web page that connects to a database, reads data and it shows on the screen. I use HTTPService to connect to a php server that supports MySQL data. Everything is OK when I run the Flex Builder web page, but when I run the page doing double click on the file released .html the connection fails and the program generates this error:
[RPC Fault faultString = "" error #2028: file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf SWF file with Local file system cannot access Internet URL http://localhost/Test2/Test2.php. "faultCode ="InvokeFailed"faultDetail ="null""]
to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal: call ()
at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal: call ()
at mx.rpc.http::HTTPService/send()
at mx.rpc.http.mxml::HTTPService/send()
in FrontEnd / submitLabelsQuery)
in FrontEnd / updateLabels)
in FrontEnd / ___FrontEnd_SetEventHandler5_handler)Does anyone know how can I use the web page without using Flex Builder?
More information:
I use Flex Builder 3 to the development of the web page and WampServer 2.0 for the connection with the database.
Thank you
Onditz
Hi Onditz,
Previously, I also faced the same problem when working with Php as the Backend, the problem is that Flex does not call your PHP page
It is the way I solved it to export your Flex Project at Flex Release Build.
Right click on the export of project---> Flex project---> Release Build---> copy all the files on your server where all of your PHP files are and then call the application from the browser
-
Strange problem with the keyboard event listener
I have a full screen touch app. To close the application, I set an event listener on keyboard for the key "0". I don't want the press user due to some restrictions Alt + F4 key combination. Problems begin when the application loses focus. Here's the code;
protected function onComplete(event:FlexEvent):void
{this.setFocus ();
this.addEventListener (KeyboardEvent.KEY_DOWN, trapKeys, true, 0, true);}
private void trapKeys(e:KeyboardEvent):void {}
If (e.keyCode == 96) {}
This.Close ();
}
Else if (e.keyCode == 48) {}
This.Close ();
}
}When the user change the screen to a different with Alt + TAB application, or any other combination of keys flex app loses focus and does not work when he turns back to my app "0". How can I solve this problem?
Thanks in advance.
Hi, Ahmed.
I have absolutely no problem with the solution you are trying to set up - you use mode full-screen interactive mode of keyboard?
Please consider:
on full add keyboard listener
protected function applicationCompleteHandler(event:FlexEvent):void
{
this.stage.addEventListener (KeyboardEvent.KEY_DOWN, trapKeys);
};
//
protected function applicationActivateHandler(event:AIREvent):void
{
If (this.stage)
{
switch the State to display full-screen when activated
If (this.stage.displayState! = StageDisplayState.FULL_SCREEN_INTERACTIVE)
{
this.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
};
};
};
//
private var exitHandled:Boolean = false;
on NUMBER_0 | NUMPAD_0 exit-close
protected function trapKeys(event:KeyboardEvent):void
{
If ((event.keyCode is Keyboard.NUMBER_0
|| event.keyCode is Keyboard.NUMPAD_0)
(& this.exitHandled == false)
{
exitHandled = true;
this.stage.removeEventListener (KeyboardEvent.KEY_DOWN, trapKeys);
This.Close ();
};
}
(Note: applicaton of the events 'applicatonComplete' and "applicationActivate" are routed to over managers)
Kind regards
Peter
-
Strange problem with the opening of FaceBook
Hello
When I connect Facebook with my own account, patients of the page loading style mode. But the strange Hat if I sign with my account of a friend, everything will be OK.
Another thing when I connect with my own account firefox will show me a message not reliable!
Where exactly is the problem?
"Another thing when I connect with my own account firefox shows me a message not reliable!
-> To resolve untrusted connection messages, check the Date and time of the clock on your computer: (double) click on the clock icon in the Windows taskbar
- Date and Time Properties -> go to The Internet time --> select automatically synchronize with a time server Internet
- under Server , select time.windows.come and click on the update now button
- Click OK
Check and tell if its working.
-> For all other issues, do the above suggestions in the following articles:
- Clear the Cache and Cookies
- Make sure you use the "remember history" setting described in this article-> privacy, and-not-track browsing history settings
-> your Firefox Plugins are outdated, so update by clicking on the following link:
- http://www.Mozilla.com/en-us/pluginCheck/
- When Plugins download configuration files, remove the check mark from downloading other software options with your Plugins (toolbars, McAfee, etc.).
Check and tell if its working.
- Date and Time Properties -> go to The Internet time --> select automatically synchronize with a time server Internet
-
Satellite L850 - 1 H 4 - a strange problem with the FN key
Hello
I have a strange problem on my laptop. When I uninstall my PVAT my start "FN" key works, when I install it it s not working not properly. Its market not only the volume key (F9 and F10) without pressing the "Fn", if I want to press F9 or F10 I have to press FN + F9, even with the rest of the buttons.
When I install PVAT I have to press FN, so I can use my F keys (e.g. F3 to search on the browser tool, alt + f4 - I have to press Fn + alt + f4), and I can't use real functions like mute, disable Touchpad etc. Use the volume keys only. Y at - it a problem if I run my computer without PVAT, this may affect its performance?
Where could be the problem and can I fix it? I'm with Windows7 x 64, but the laptop was with no OS when I bought it. And there is a problem with this version, I bought its impossible to install the Pakc3 Service, it s with SP1, can be the problem? I put t know what to do... perhaps I run the laptop without PVAT, sounds good, because the buttons work fine without it, but I don't know if it interacts with something else.
Thanks in advance!
Its possible to use the function buttons by pressing another button without the use of the fn or FN.
This option can be changed in the BIOS.Go to the BIOS by pressing F2.
In the BIOS, choose Advanced-> system configuration Options
Here you should find the option that allows to change the special function keys which allows you to use the function FN or without button Fn buttonBy the way: this theme has already spoken here in the forum several times. therefore recommend that you use the advanced search to Forums before posting new thread
-
Strange problem with the KING and IMAQ find right 3 edges
So first of all, I noticed that the KING produced by KING features seems to have an incompatibility with the entrance to find right IMAQ 3 edges:
In my code, I have the strange problem "IMAQ find right edges 3" is the production of edges that lie outside the limits by the wired KING specifided: "."
In this case, a return on investment, defined by a rectangle, I [476, 1559, 752, 1779], but the best line produced by VI shape is outside this rectangle (see ordered 1876).
How is that possible?
I finally thought to it - it was my fault. I was updating the global rectangle in the KING entered correctly, but not the contours.
I fixed the wiring and now it works fine.
Detective Conan!
G
-
Strange problem with the default location of Documents
I have recently reinstalled Windows after a hard disk failure. Fortunately, I had previously moved the library of 'My Documents' to a secondary drive, so I don't lose anything. Merge all records (i.e. move the new default library to merge with the library on my secondary drive) seemed to cause some problems with some file search programs, then my new primary drive being much bigger than my old one that I decided just to move the library of My Documents from my drive C (the OS partition).
Here's the weird part: under start > Documents (right click) > properties, I have the save location set to C:\Users\MyName, which (I think) is normally by default when you install Windows. But if I click on "restore defaults", it switches to the root of one of my secondary drives (drive E).
This is problematic because some of my games can't seem to find my old safe. Backups are in Documents > my games, but instead to find there as it should the games create a new folder 'My games' in the root directory of drive E, although I still have My Documents to save the location defined in its usual location on my primary C drive.
So I think the problems are linked, and I can't understand why by clicking on "restore default settings" on the start menu > properties of Documents it would lead to the use of the root of my E drive as the location for all the files and folders "My Documents".
I carefully edit the registry to make sure that this value is set correctly. Be sure to include the name of the final folder ('Documents') in the path. If you simply specify your user folder, all your documents will be dump it instead of inside the real documents folder.
-
I'm following a course of Lynda.com to work with Wordpress via Dreamweaver.
I installed a local test via MAMP server. Several times.
I get to the State where I can load the file index.php from Wordpress without problem in DW.
But when I click on the button find to discover dynamically related files I get an error 'dynamically-related files cannot be solved because the site definition is not correct for this server".
I went on all stages of installation via MAMP and Wordpress installation and configuration of a DW site. I can't find what I'm doing wrong.
I searched the internet and have seen that it is a common problem but it cannot get specific steps to correct this. I saw a discussion there re this 3 years, but the steps are exactly what I did.
So I really need help!
Thank you
Sandy
Hi Nancy,.
I solved the problem. I went to WordPress permalinks settings and changed to the default setting as WP set up automatically for something else.
Now I see all the dynamically linked pages in DW.
In all the messages in the forums, they declare to change the permalinks. But don't tell you how to get there and what to take. Why leave out this important information?
Ugh!
-
Strange problem with the license...
Hi all!
I have a very strange problem and I got nowhere with navigation on all ads in this forum. My environment is as follows:
An ESX 3.5 update 3 Server with 2 cards integrated network interface and two Intel Quad Port cards VT. I put the on board to be the port of the console and the other on board to be the network of Virtual Machines. Here are the two separate networks, separated by a Cisco firewall. The IP of the console is 10.10.10.10 and virtual machines are on a network of 172.16.10.x. I also have a VC (physical) server with network cards two, one on the 10.10.10.x network and the other network 172.16.10.x. I installed the license server on the VC, and she won the 172.16.10.x listening address (although I discovered he will listen on the network 10.x.x.x). Then I edited the file hosts on the ESX Server to include the VC server using a name resolution. I ping the name/address of the server successfully. I also have my firewall configured to allow all traffic between two networks (as long as the traffic is initiated by the 10.10.10.x network). I cannot see any errors or not on the firewall.
The strange thing is that I am able to the ESX by VC license but it stays there for a little while and then loses the configuration. Then, I try to do it again without success. I point to the assessment option and it works again. I then point to the license server and takes it. I can do the same thing on the ESX itself with similar results. I tried to use the name of host or IP address; exact same results. The error simply indicates that the server could not find the license server.
The really strange thing is that even when the server is authorized, any action I do on the server (configuration, start and stop VMs, etc) is extermely slow and some of them simply because of time.
Did anyone have clues here? I'm lost...
Thank you in advance. ?:|
Tom
Hi BDHHI.
Do not know if she could solve your problems but... According to what you say, the license server becomes the 172... interface as the default interface. Go to network connections-> Advanced Options-> advanced settings and make sure that the interface with 10.10 IP... is on top, services will have this default IP address.
On which network will be launching connection, maybe I'm wrong, but that it could be open in both directions.
Kind regards
AlexNG
-
Problems with the database, on delete cascade
Hello
I am in a project with the Flahs CS4 with air and as3. I create a database by code, everything is ok. I have 2 tables,
a main table with a code field as primary key and other details of the table, named e.g. DetailTable, with 3 fields as the primary key. What I want to do, this is a deletion of a row in MainTable, all lines of DetailTable, where the field code is the same as the field in MainTable code should be deleted also.Here's the SQL code to create the tables.
var sql2:String = "CREATE TABLE If NOT EXISTS MainTable ('+ '.
"code INTEGER PRIMARY KEY AUTOINCREMENT, ' +.
"quote," +
'date ' +.
" " +
")";var sql3:String = "CREATE TABLE If NOT EXISTS DetailTable ('+ '.
"code INTEGER, INTEGER position, type INTEGER, ' +.
"path of TEXT, TEXT document, ' +.
'PRIMARY KEY (code, position, type) +.
'FOREIGN KEY (code) REFERENCES Detallesecuencia (code) ON DELETE CASCADE ' +.
")";
Thus, when the tables are created, insert data. I connect without a problem, remove a line in MainTable (see code), to remove the line with the example code = 4, but in the DetailTable, all with code = 4 lines are NOT deleted, why?[CODE]
Inside of a classprivate var conn: SQLConnection;
public void constructorClass() {}
Conn = new SqlConnection ();
ConexionBD();
}function ConexionBD() {}
conn.addEventListener (SQLEvent.OPEN, openHandler);
conn.addEventListener (SQLErrorEvent.ERROR, errorHandler);
var dbFile:File = File.applicationDirectory.resolvePath ("mydatabase.db");
conn.openAsync (dbFile, SQLMode.UPDATE);
}function deleteRow() {}
selectData:SQLStatement = new SQLStatement();
selectData.sqlConnection = conn;
selectData.text = "" DELETE FROM MainTable WHERE code =: param1 ";"
selectData.addEventListener (SQLEvent.RESULT, resultHandler);
selectData.addEventListener (SQLErrorEvent.ERROR, errorHandler);Delete line in MainTable code = 4, but not to delete all the rows in DetailTable with code = 4
selectData.parameters [": param1"] = 4;
selectData.execute ();
}
[/ CODE]Thanks in advance
Hmmm, well then maybe it's you must go down the road of the old school and delete individual tables as needed, rather than rely on the cascade delete.
-
Strange problem with the loading of the page.
Hello everyone. First of all, I am a newbie. Recently, I decided it was time to refresh my site, which was built using Frontpage, and with the recommendation of a friend, I bought DW CS4. I look for many tutorials in recent weeks and still feel I have only scratched the surface of the posibilities of DW. I'm kinda learning as I go and I have a feeling, when I get my site to the top and run I will build another.
Now that I have that out of the way I started with a template and changed it a bit to account for what I'm doing. However I came across a small question, well I think that is a problem and its driving me crazy. When the page load the style is in every sense and jump together. Is this normal?
Here is the link: http://www.profleetsales.com/order_guides.php
What is happening just above the tabs Spry menu.
Normal?
This is the great (heavy) or the images on it that give it weight. From of ovefr would not change cela.
Maybe you are looking for
-
Satellite Pro P300: Need driver "Mass storage controller" of Vista 64-bit
Hi, please help. I just upgraded my laptop from Windows Vista 32 bit Vista 64-bit. I managed to find all the drivers apart: the driver "Mass storage controller" (yellow exclamation in Device Manager). I don't know where to look for this driver. Any h
-
Help to install a second hard drive in an a6407c
Hi, recently, I ran out of hard drive space and decided to add an additional hard drive. The drive I bought is a "Seagate Barracuda 1 TB 7200 RPM / MIN SATA 3 Gb/s 32 MB Cache 3.5 inch internal Desktop Hard Drive ST310005N1A1AS-RK-Retail Kit. My comp
-
Reference Dell WinPE 5.0 driver CAB
I have SCCM SP1 R2 and the Dell customer integration Pack 3.1 2012. When I try to import the ACR 5 of WinPE from the SCCM console, it fails with 'the selected driver package is incompatible. Does anyone else have this problem? My understanding is t
-
I heard that after a few years of use, Windows-based computers lose their ability to function. This happened to me before and I bought a new laptop. Now, I think that it happens again. The laptop (Dell Inspiron) with Windows 7 Home Premium is now slo
-
shivers speak lenta sistema inicializacao lenta
FIZ uma verficacao e detectou lentidao na inicializacao sistema dom.