Ms sql - {"The referenced table must have a primary or candidate key. [ FK Name = ForeignKeyB_Details ]"}
I have a txt file which has all the sqltext in it separated by semi colon .Then I try to run a query one by one like this-
var conn = new SqlCeConnection(ConnectionString);
conn.Open();
var cmdArray = Regex.Split(sqlText, ";");
var cmd = new SqlCeCommand(null, conn);
foreach (var text in cmdArray)
cmd.CommandText = text;
if (!text.Equals(string.Empty))
cmd.ExecuteNonQuery();
else
break;
conn.Close();
I get the error {"The referenced table must have a primary or candidate key. [ FK Name = ForeignKeyB_Details ]"}
here is part of my txt file-
CREATE TABLE A
PrimaryId nvarchar(10) NOT NULL REFERENCES C(PrimaryId),
UserId nvarchar(20) NOT NULL,
FirstName nvarchar(30) NOT NULL,
MiddleInitial nvarchar(1) NULL,
LastName nvarchar(30) NOT NULL,
MobileNumber nvarchar(20) NULL,
PhoneNumber nvarchar(10) NOT NULL,
PhoneExtension nvarchar(6) NULL,
FaxNumber nvarchar(20) NULL,
EmailAddress nvarchar(50) NOT NULL,
CONSTRAINT PrimaryKeyA PRIMARY KEY(PrimaryId, UserId)
CREATE TABLE B(
MarketId int NOT NULL references E(MarketId),
UserId nvarchar(20) NOT NULL,
UserFirstName nvarchar(30) NOT NULL,
UserMiddleInitial nvarchar(1) NOT NULL,
UserLastName nvarchar(30) NOT NULL,
PhoneNbr nvarchar(10) NOT NULL,
Extension nvarchar(6) NOT NULL,
FaxNbr nvarchar(20) NOT NULL,
Email nvarchar(50) NOT NULL,
ShortName nvarchar(10) NOT NULL,
PublicIdFlag nvarchar(6) NOT NULL references D(publicId),
CONSTRAINT PrimaryKeyB PRIMARY KEY( MarketId, UserId)
ALTER TABLE B ADD CONSTRAINT ForeignKeyB_Details FOREIGN KEY(UserId, UserFirstName, UserMiddleInitial, UserLastName, PhoneNbr, Extension, FaxNbr, Email) REFERENCES A(UserId, FirstName, MiddleInitial, LastName, PhoneNumber, PhoneExtension, FaxNumber, EmailAddress);
Hi,
Foreign key columns are frequently used in join criteria when the data from related tables is combined in queries by matching the column or columns in the FOREIGN KEY constraint of one table with the primary or unique key column or columns in the other table.
For more information about the foreign key constraint, please refer to this link:
http://msdn.microsoft.com/en-us/library/ms175464.aspx
Here is a similar thread for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5a71948b-dfb1-46a5-8688-ccab9317e959/error-message-the-referenced-table-must-have-a-primary-or-candidate-key-fk-name-fktblatblb-?forum=sqlce
Thanks.
Tracy Cai
TechNet Community Support
Similar Messages
-
The content item must have a primary file.
I am trying to check in a new file use the service "CHECKIN_NEW" in UCM 11.1.1.6.
I checkin the *"CHECIN_NEW_TEST.hcst"* into the content server. And run it by submit the page to test the service.
The error cause like this: Content item '001026' was not successfully checked in. The content item must have a primary file.
And the log is :
!csUserEventMessage,wladmin,192.168.6.250:16200!$!csUnableToCheckIn,001024!csCheckinPrimaryFileRequired
intradoc.common.ServiceException: !csUnableToCheckIn,001024!csCheckinPrimaryFileRequired
*ScriptStack CHECKIN_NEW_SUB
3:doScriptableAction,**no captured values**3:doSubService,**no captured values**CHECKIN_NEW_SUB,**no captured values**3:validateStandard,dDocName=001024
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
at intradoc.server.Service.buildServiceException(Service.java:2326)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
at intradoc.server.Service.createServiceException(Service.java:2315)
at intradoc.server.DocServiceHandler.validateStandard(DocServiceHandler.java:1339)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:603)
at intradoc.server.Service.doCode(Service.java:575)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:547)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:542)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
at intradoc.server.Service.executeSubServiceCode(Service.java:4023)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
at intradoc.server.Service.executeServiceEx(Service.java:4018)
at intradoc.server.Service.executeService(Service.java:4002)
at intradoc.server.Service.doSubService(Service.java:3912)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:620)
at intradoc.server.Service.doCode(Service.java:575)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:547)
at intradoc.server.Service.doScriptableAction(Service.java:3964)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:620)
at intradoc.server.Service.doCode(Service.java:575)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:547)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:542)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
at intradoc.server.Service.executeActions(Service.java:528)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
at intradoc.server.Service.doRequest(Service.java:1956)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1354)
at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1731)
at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1704)
at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
The CHECIN_NEW_TEST.hcst as follows:
<html>
<head>
<$include std_html_head_declarations$>
</head>
<$include body_def$>
<$include std_page_begin$>
<form name="cuxCheckinNewPG" method="get" action="<$HttpCgiPath$>">
<input type="hidden" name="IdcService" value="CHECKIN_NEW" >
<input type="hidden" name="dDocAuthor" value=<$UserName$>
<$include idc_token_form_field$>
<table width="53%" height="100" border="1">
<tr>
<td width="306" height="26">dSecurityGroup</td>
<td width="325">
<input type="text" name="dSecurityGroup" value="Public" /> </td>
</tr>
<tr>
<td width="306" height="26">dDocTitle</td>
<td width="325">
<input type="text" name="dDocTitle" /> </td>
</tr>
<tr>
<td>primaryFile</td>
<td colspan="3"><INPUT NAME="primaryFile" TYPE="file"> </td>
</tr>
<tr>
<td colspan="2" align="middle">
<input type="submit" value="SubmitBtn" name="checkinSubmit"></td>
</tr>
</table>
</form>
<$include std_page_end$>
</body>
</html>
Thanks
Mandy
Edited by: user8898100 on Jul 2, 2012 6:16 PM
Edited by: user8898100 on Jul 2, 2012 6:17 PMIt's really more of an HTML issue with the form itself than a Content Server issue.
<form name="cuxCheckinNewPG" method="get" action="<$HttpCgiPath$>">You can't submit files using a GET method. This attribute must be "POST".
<form name="cuxCheckinNewPG" method="POST" enctype="multipart/form-data" action="<$HttpCgiPath$>"> -
Hiearchy Node [Alias] - unable to assign in the referencing table!
Hi All,
I really understand the definition and usage of Alias created in the Hierarchy & Taxonomy.
But is there any reason that am unable to assign or use these Alias Nodes in the referencing tables.
for example: Sales representative hierarchy by Region:
USA
- TX
Agent1
- WI
Agent2
- MI
Agent3
- CA
Agent1 [Alias]
Product table am using the above hierarchy and unable to assign/use the Alias node.
thanks
AlexanderHi Alexander,
Hope you must have seen the below explanation about Alias
Sometimes, you may want a group of products to appear in more than one location in the hierarchy tree, so that they can be found in various ways using drilldown search. A node alias provides just this ability, and allows products assigned to a single node to appear in two or more locations in the tree. For example, in a repository of gifts, you may have a hierarchy that lists all of the holidays, and you may want u201CChristmasu201D to be found in the tree under the node u201CChristianu201D (if navigating by religion) and the node u201CDecemberu201D (if navigating by month).
Add Internal Leaf cannot be used for Children because you can directly use child nodes in the reference table and for parents you have Add Internal Leaf option if you want to assign parent node to the reference table record.
Regards,
Jitesh Talreja -
I have created an 100 page booklet in Pages, with many photographs, and much written word, can I export it to ePub, and make an electronic book, because it says that "Note: The Pages document must have been created using a word processing template"?....
Basically what I want to do is publish the document into both an eDocument, and a hard copy document. What is the best way to do this?No Peter, this statement came right off the Apple ePub statement when outlining how to use ePub. the full context is:
Creating ePub files with Pages
Summary
Learn how to create ePub files with Pages.
Products Affected
Pages '09
ePub is an open ebook standard produced by the International Digital Publishing Forum. Pages ’09 lets you export your documents in ePub format for reading with iBooks on iPhone, iPad, or iPod touch.
iBooks supports both ePub and PDF file formats, and you can export both from Pages.
When to use ePub or PDF
Use ePub when text is the most important part of your document, for example when you create a book, a report, a paper, a thesis, or classroom reading material.
More details on using ePubUse PDF when layout is the most important part of your document, for example when you create a brochure, a flyer, or a manual with multiple illustrations.
More details on using PDF
Creating an ePub Document to Read in iBooks
You can export any Pages word processing document to the ePub file format for reading in an ePub reader, such as the iBooks application on the iPad, iPhone, or iPod touch. Documents created in page layout templates can’t be exported to the ePub format.
Documents exported to ePub format will look different than their Pages counterparts. If you want to get the best document fidelity between the Pages and ePub formats, style your Pages document with paragraph styles and other formatting attributes allowed in an ePub file. A sample document is provided on the Apple Support site that features styles and guidelines to help you create a Pages document that’s optimized for export to the ePub file format, which you can use as a template or a guide. To learn more about using paragraph styles in Pages, see the topics under the heading “Working with Styles” in the Pages built-in help.
To read your ePub document in iBooks on your mobile device, you must transfer the ePub file that you create onto your device.
To use the “ePub Best Practices” sample documentTo learn more about using the ePub format and get a better feel for how a Pages document might appear as a book in iBooks, it’s a good idea to download the “ePub Best Practices” sample document. After reading the guidelines and instructions within the document, you can use it as a template to create your own document. You can also import the styles from the sample document into a new document you create.
Download the “ePub Best Practices” sample document at the following web address:
http://images.apple.com/support/pages/docs/ePub_Best_Practices_EN.zip
Do either of the following:Use the sample document as a template.Import the paragraph styles from the sample document into a new or existing Pages document.
Export the document you create to ePub format to see how it looks in iBooks.
Preparing an existing Pages document for export to ePub format
Documents exported to the ePub format automatically appear with page breaks before every chapter. A table of contents is automatically generated, which allows readers to jump quickly to any chapter title, heading, or subheading in the book. In order to create a meaningful table of contents, it’s important to apply appropriate styles within your document. The ePub reader uses the paragraph styles to determine which items should appear in the table of contents for your book.
Note: The Pages document must have been created using a word processing template. -
Source tables for forms and tabular forms must have a primary key.
Why does HTML DB 2.0 return the message
"Source tables for forms and tabular forms must have a primary key."
when trying to generate a "Report and Form" page based on a view defined like "create view <applicationschema>.a as select * from <sourceschema>.b" ?
It should be possible for HTML DB to "see" that the table "<sourceschema>.b" already has a primary key.
bw - ChristianChristian,
In the create application wizard, when creating form or tabular form pages, you can only use tables with primary keys, and not views, because that wizard is automatically deriving the primary key from the table definition. If you want to build forms on views or tables without a primary key, you need to use one of the create form wizards while working on an existing application. Those wizards allow you to pick your own column as a primary key column.
Regards,
Marc -
Weblogic domain creation fails with "The domain location must have write permission."
Hi
I am trying to install and setup weblogic in Linux RHEL 5.4
so I can test webservices . This is what i have done
WLS Zip Distribution for Oracle WebLogic Server 12.1.1.0 - downloaded & installed.
Followed the steps in README.
- extract contents of tar, setup home, run installation-configuration script, setup wls environment
Step 5:
Create a new WLS domain and start WLS. It is recommended that you create domains outside the MW_HOME.
$ mkdir /home/myhome/mydomain
$ cd /home/myhome/mydomain
$ $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=128m weblogic.Server
-> returns the below error
$JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=128m weblogic.Server -Dweblogic.security.allowCryptoJDefaultJCEVerification=true
<Jun 25, 2013 3:39:57 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Jun 25, 2013 3:39:57 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Jun 25, 2013 3:39:58 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.21-b01 from Oracle Corporation.>
/apps/Informatica/tdwdomain/config not found
No config.xml was found.
Would you like the server to create a default configuration and boot? (y/n): y
<Jun 25, 2013 3:40:03 PM EDT> <Info> <Management> <BEA-140013> </apps/Informatica/tdwdomain/config not found>
<Jun 25, 2013 3:40:03 PM EDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:admin Enter password to boot WebLogic server:admin123
For confirmation, please re-enter password required to boot WebLogic server:admin123
<Jun 25, 2013 3:40:13 PM EDT> <Info> <Management> <BEA-141254> <Generating new domain directory in /apps/Informatica/tdwdomain.>
<Jun 25, 2013 3:40:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: Failure during domain creation
at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:119)
at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:82)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:74)
Caused by: com.oracle.cie.domain.script.ScriptException: The domain location must have write permission.
at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:757)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:573)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.DomainInfoHelper.executeSilentScript(DomainInfoHelper.java:854)
at com.oracle.cie.domain.DomainInfoHelper.createDefaultDomain(DomainInfoHelper.java:1775)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at weblogic.management.internal.CIEDomainGenerator.generateDefaultDomain(CIEDomainGenerator.java:62)
at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:114)
<Jun 25, 2013 3:40:17 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<Jun 25, 2013 3:40:17 PM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<Jun 25, 2013 3:40:17 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
- Any help appreciated.
Thankshi,
the binaries available for download are all packaged with 32bit JVM. Please have a look at the link below
WebLogic Server 12c (12.1.1), WebLogic Server 11g (10.3.6) and Previous Releases
It also has binaries for linux available. I am quoting from the site verbatim for your reference:
The following provides links to WebLogic Server 12.1.1 installers with 32-bit JVMs for Windows and
Linux, the generic installer that can be used on any supported platform, and the zip distribution. The
generic installer and the zip distribution do not include a JVM/JDK. For instructions on using the
generic installer, see this document.
In case you want to use your own latest version of JDK which can be a 32/64 bit version, you need to use the generic installer.
The error which you are getting is due to permissions. Make sure you have a dedicated user for installing weblogic and the necessary permissions are granted to the user(linux) to the installation directories. May be the script is trying to install java at a particular location on your machine and failing. Hence the above error is displayed.
Please have a look at the docs, you will find steps for weblogic installation on linux.
Thanks,
Souvik. -
Why am I having trouble running Adobe Flash Player 11 on my 2011 Macbook Air? I've downloaded and installed it repeatedly; yet when I try to open certain images online or play certain Youtube segments, I get the message, "You must have Adobe Flash 11..." My computer tells me it is installed and running.
If you're sure you've installed the latest version of Flash, take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 5.
1. If you're only having trouble with YouTube videos, sign in to your YouTube account and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
2. If you're getting a "blocked plug-in" error, then from the menu bar select
▹ System Preferences… ▹ Flash Player ▹ Advanced
and click Check Now. Quit and relaunch your browser.
3. Triple-click the line below to select it:
/Library/Internet Plug-Ins
Right-click or control-click the highlighted text and select
Services ▹ Open
from the contextual menu. A folder should open. Delete the following item, or anything with a similar name, if present:
Flash Player (failing).plugin
You may be prompted for your login password.
4. Re-download and reinstall Flash. Download it from this page:
Adobe - Install Adobe Flash Player
Never download a Flash update from anywhere else.
5. If you get a "missing plug-in" error, select
Safari ▹ Preferences... ▹ Security
from the Safari menu bar and check the box marked Enable plug-ins.
6. Select
Safari ▹ Preferences... ▹ Extensions
from the Safari menu bar. If any extensions are installed, disable them.
7. In the Safari preference window, select
Privacy ▹ Remove All Website Data
Close the window. Then select
▹ System Preferences… ▹ Flash Player ▹ Advanced
and click Delete All. Close the preference pane. -
DomainCreation fail:"The application location must have write permission."
Hi,
I'm facing an issue while creating a domain using pack.sh/unpack.sh and WLST, Please help me in resolving it.
ERROR:
Error CFGFWK-60550: Script execution aborted. The script may contain an error.
The application location must have write permission.
Template name - "new_dom_tmplt.jar"
Name of the dom to be created is "newdom"
Below are details of error:
[Red@Home Oracle/Middleware/wlserver_10.3/common/bin]$ ./unpack.sh -template=/appdata/wkst/cws15/cws2_dom_tmplt.jar -domain=/Red/sunil/domains/newdom
|<< read template from "/Red/sunil/templates/new_dom_tmplt.jar"
|>> succeed: read template from "/Red/sunil/templates/new_dom_tmplt.jar"
|<< write Domain to "/Red/sunil/domains/newdom"
|>> fail: write Domain to "/Red/sunil/domains/newdom"
CFGFWK-60550: Script execution aborted. The script may contain an error.
The application location must have write permission.
Thanks,
Sunil
Edited by: 907822 on Mar 22, 2012 2:14 AM
Edited by: 907822 on Mar 22, 2012 2:16 AMSelf answer,
for those who have faced this issue the solution is to use the "app_dir" parameter in the unpack.sh, make sure that the directory you are specifying is having all the read write permissions to the user.
Regard's,
Sunil -
Can someone verify the following regarding Find My Phone:
I assume the lost device (iPhone) and the device (ipad) one uses to find the lost item must have identical Apple IDs , PWs as well as identical iCloud identification?Back now. Are you saying that you entered you iCloud ID and password in the Find My iPhone app (see photo below), and it said you don't have an iCloud account? Are you sure this is the ID for your iCloud account (check Settings>iCloud next to Account at the top on the device you are trying to track)?
Also, did you try using this ID and password on icloud.com on your computer to try to track it, as explained here: http://help.apple.com/icloud/#mmfc0f2442? Did that work? -
How do I select rows from the same table that have multiple occurances
Hi Everybody,
I am trying to select records from a detail table by grouping it. The table has more than 1 million records and the query is not performing well. The basic question is how to select a distinct record from a table which matches all values in one column and any in the other.
desc SCV
ID NUMBER PK (ID + SCRID)
SCRID NUMBER FK(SC)
ID SCRID
1 1
2 1
3 1
4 2
5 2
6 3
7 4
8 4
desc PROJECTS
ID NUMBER PK
NAME VARCHAR2(100)
ID NAME
1 PROJECT1
2 PROJECT2
3 PROJECT3
4 PROJECT4
desc PJS
ID NUMBER
PROID NUMBER FK (PROJECTS)
SCRID NUMBER FK (SCV(SCRID + SCVID)
SCVID NUMBER
ID PROID SCRID SCVID
1 1 1 1
2 1 1 2
3 1 2 5
4 1 3 6
5 1 4 7
6 2 1 3
7 2 2 4
8 2 2 5
9 2 4 7
There are over 1 million records in PJS.
desc TBP
SCRID NUMBER
SCVID NUMBER
SCRID SCVID
1 1
1 2
1 3
2 4
2 5
3 6
4 7
4 8
The requirement is to select projects that have matching SCRID, SCVID from TBP such that
all distinct SCRID should match and within that and any SCVID match will do. (A "AND" between each SCRID and an "OR" for each SCVID in that SCRID like 'SCRID = 1 AND (SCVID = 1 OR SCVID = 2 OR SCVID = 3) AND SCRID = 2 AND (SCVID =....)
So, for the sample data it should return us PROID = 1
I have few queries written for this:
SELECT PROID FROM PJS,TBP WHERE TBP.SCVID = PJS.SCVID AND TBP.SCRID = 1
INTERSECT
SELECT PROID FROM PJS,TBP WHERE TBP.SCVID = PJS.SCVID AND TBP.SCRID = 2
INTERSECT
SELECT PROID FROM PJS,TBP WHERE TBP.SCVID = PJS.SCVID AND TBP.SCRID = 3
INTERSECT
SELECT PROID FROM PJS,TBP WHERE TBP.SCVID = PJS.SCVID AND TBP.SCRID = 4
This query performs well but the cost is very high, hardcoding, sorting.
The 2nd option is to:
SELECT pjs.PROID proid
FROM TBP tbp,
PJS pjs
WHERE pjs.SCVID = tbp.SCVID
AND pjs.SCRID = tbp.SCRID
GROUP BY pjs.PROID
HAVING COUNT(DISTINCT pjs.SCRID) = (SELECT COUNT(DISTINCT SCRID ) FROM TBP)
This has a low cost but runs slowly.
One more way I tried was with the IN operator like
SELECT DISTINCT PROID FROM PJS A,TBP T WHERE T.SCRID = 1 AND T.SCVID = A.SCVID
AND PROID IN (SELECT PROID FROM PJS A,TBP T WHERE T.SCRID = 2 AND T.SCVID = A.SCVID
AND PROID IN (...SO ON with each DISTINCT SCRID.
Again this involves too much of sorting.
Any help will be appriciated.
Thanks in advance.Hi Andrew,
Use DELETE t_itab statement inside the loop.
I have modified your code. It is perfectly working.See bellow -
LOOP AT it_zmember01 INTO wa_zmember01.
WRITE: / wa_zmember01-mnumber UNDER 'NUMBER',
wa_zmember01-mname UNDER 'NAME',
wa_zmember01-mdob UNDER 'DOB'.
WRITE / '-----------------------------------------------------------------'.
DELETE it_zmember01. " Modified
ENDLOOP.
DELETE it_zmember01. statement inside the loop will delete the current row of the table.
Regards
Pinaki -
<blockquote>Locking duplicate thread.<br>
Please continue here: [/questions/834409]</blockquote>
I was on facebook one day and i must have clicked something either on the screen or keyboard because everything turned white and all the text became pushed to the left. If i use 'https' (secure setting) then i can see my normal facebook, but i cant use apps such as picnik, games, etc..how can i change my fb back?I replied over here: https://support.mozilla.com/en-US/questions/834409
-
I took a pic
It's really holding my project im working back. I don't know how to fix this, Someone please help me. I can do screen shareing or anything I have Teamviewer installed. Thank you soo much whoever takes the time out to help me out ! P.S I had to switch from Windows to IOS Computer, So I switched from flashDevelop to FlashBuilder. I only got this error when i converted my project to flashbuilder basically copying and pasteing the source.Can anybody help?
-
ADF: To define the TopLink Table should have Primary Key
Hi,
Just I want to know prerequiste to define the TopLink based on JavaObjects from tables.
Regards
BabuHi,
Just I want to know prerequiste to define the TopLink based on JavaObjects from tables.
Regards
Babu -
How to get a temporary pin number to my primary email apple ID cause i can not access to my icloud cause i forgot password and answers to the security questions, neither key nor two steps.
You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
(123643) -
IRecruitment - Candidate Details must have one or more skill/qualification
Hi,
In the iRecruitment - Candidate Details Page
Is there any way to enforce the candidate to fill all of his details (skills/Qualification)??
I.e. have at least ONE line under these blocks??
N.B. it is easy to set any field to Mandatory, but I'm talking about the whole block, to have one or more records
ThanksHi,
Foreign key columns are frequently used in join criteria when the data from related tables is combined in queries by matching the column or columns in the FOREIGN KEY constraint of one table with the primary or unique key column or columns in the other table.
For more information about the foreign key constraint, please refer to this link:
http://msdn.microsoft.com/en-us/library/ms175464.aspx
Here is a similar thread for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5a71948b-dfb1-46a5-8688-ccab9317e959/error-message-the-referenced-table-must-have-a-primary-or-candidate-key-fk-name-fktblatblb-?forum=sqlce
Thanks.
Tracy Cai
TechNet Community Support
Maybe you are looking for
-
My Mac Mini doesn't recognize my Avengers DVD--it keeps saying "Supported disc not available." I've tried other DVD's which work, but not this one. itunes and everything else has been updated to the newest versions. Help? Also...It doesn't recognize
-
TS3276 How can I stop the "send"? It is stuck. Force quit doesn't help.
How can I stop "sending" mail? Force quit didn't work.
-
Customize date format in importer??
I just recently purchased PhotoShop Elements after years of using Google's Picasa to manage and organize my photo collection. The Picasa uploader formatted the subfolder names as YYYY-MM-DD to include the dashes. I now have over 500 folders formatt
-
TCP/IP not in Control Panel
Hello, I'm new to MAC so I'm sure this will seem like a silly question. I'm working on setting up 5 machines for internet access. 4 of them have orked great and were easy to configure. The 5th does not have the TCP/IP option in te Control Panel and,
-
Developing WebHelp for Different App. Scenarios
We are developing WebHelp projects for several of our Web-based applications. One of our applications has a unique set up, and I am not certain how to approach creating the Help system. The application, "Simple", has a menu that allows users to acces