Error 1000: AFx Library library exception: Sql encountered an error: These columns don't currently have unique values.
Hi everyone,
Using the Writer block, configured with a correct SQLAzure instance, I experience this error:
- Error 1000: AFx Library library exception: Sql encountered an error: These columns don't currently have unique values.
I have read that this error can be related to inheritance problems, but my table does not have inheritances of any kind:
CREATE TABLE [dbo].[my_table](
[my_float] [float] NULL
) ON [PRIMARY]
GO
Writer block parameters:
Comma separated list of columns to be saved:
temp (from Bike Rental UCI Dataset)
Data Table name: [dbo].[my_table]
Comma separated list of datatable columns:
[my_float]
The experiment from which I have extracted the writing part was able to correctly write to DB until few days ago. Is it possible that some changes in the platform are causing this issue or am I doing something wrong?
Thank you and best regards,
FV
Hi Maureen,
Yes, the scenario is correct. On SQL profiler I can't see any SQL operation that can lead to that kind of error, but as you were saying it was worth trying anyway having that error message.
New test scenario:
CREATE TABLE [dbo].[my_table_identity](
[ID] [int] IDENTITY(1,1) NOT NULL,
[my_float] [float] NULL,
CONSTRAINT [PK_my_table_identity] PRIMARY KEY CLUSTERED
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
) ON [PRIMARY]
-- These lines work fine on SQL Management Studio
INSERT INTO [dbo].[my_table_identity] (my_float) VALUES (1.23)
INSERT INTO [dbo].[my_table_identity] (my_float) VALUES (1.23)
INSERT INTO [dbo].[my_table_identity] (my_float) VALUES (1.23)
-- I can see all new rows with each one a different ID
SELECT * FROM [dbo].[my_table_identity]
dbo is the default schema for my Azure login.
New writer block parameters:
Comma separated list of columns to be saved: temp
(from Bike Rental UCI Dataset)
Data Table name: my_table_identity
Comma separated list of datatable columns: my_float
I still get the same error: Error 1000: AFx Library library exception: Sql encountered an error: These columns don't currently have unique values.
I have also tried to pass the "instant" column instead of "temp", as it hasn't any duplicated values, but still no luck.
I attach the log file (purged of sensitive information) because I see some error / warnings there.
https://dl.dropboxusercontent.com/u/40411467/azure_log.txt
Thank you again and best regards,
FV
Similar Messages
-
I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried uninstalled and installing the app and the error remains. I have windows 8. Can anyone please help???
Use Windows Explorer to open the folder containing your catalog. The normal location is Pictures\Lightroom. Locate a folder with the extension .lrdata and delete that folder. Then you should be able to start Lightroom again, and Lightroom will begin building and new previews folder. Do not delete anything else.
-
I run windows 7/8 and lightroom 5.7 I am getting an error message and here it is " lightroom encountered an error when reading from its preview cache and needs t quit" How do I fix this.
THANKS
Hank Wilkinson
Please visit my web site <http://www.hankwilkinson.com/> www.hankwilkinson.com for the latest of my photos
For information on any of these photos please email me or call 612-756-9970 -
Hi,
I'm using SQL Server 2008R2 Reporting Services.
When i click on Web Services URL link it throws the below error.
"Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
and in the Event viewer i can see the below error for reporting services.
"Failed to unload app domain DefaultDomain. The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
Any help would be greatly appreciated.Related thread has a solution:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
Kalman Toth Database & OLAP Architect
Free T-SQL Scripts
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Please help with below error...
I have been trying to access my icloud account in laptop with windows 7 operating, but I couldn't able to log in to icloud which show following error " icloud encountered an error while trying to connect to the server".
I have icloud icloud control panel.
But I can access my same icloud account in another laptop with windows xp operating.My recommendation is to download Apple’s Safari version 5.1.7 for Windows to access iCloud.com. It consistently works for me!!!! To make things easier with Safari, I made iCloud.com its Homepage. I’m using it to access iCloud.com from all of my PCs.
On my Windows 7 systems it appears that some add-ons are causing problems when you try to access iCloud.com with the 32-bit version of IE9, but the 64-bit version seems to work fine, more than likely because there are few add-ons that are 64-bit and the 64-bit version of IE9 can't be the default browser in Windows 7. -
All I am simply trying to do is put some songs from my iTunes playlist on my computer onto my iPhone.
By erasing the content of my iPhone I'm scared that I will lose all my photos and messages etc.
Help please!See Recover your iTunes library from your iPod or iOS device.
tt2 -
Help
There might be some issue with the previews.
You can try to delete the preview cache, while LR is not runnning. LR will build a new one on need or can manually start it from the library menu.
File locations -
I recently updated my iPad 2 to iOS 5 beta 2 and updated iTunes to the second beta. Now whenever I connect my iPad toitunes,it instantly pops up with an error message saying "iTunes has stopped working. A problemcaused the program to stop working correctly. Please close the program." iTunes still mdetects my other two iPhones and iPod touch on 3.1.3, 4.1, and 4.2.1. Also, iTunes will recognize my iPad just fine on the administrator account.
You are using ADE on Windows or Mac ? and their versions ??
Please restart your machine and try once again.
Thanks -
Ever since the update, when I load iTunes it encounters an error and force closes. I have uninstalled and reinstalled everything Apple twice and that hasn't fixed the issue. Is there a way to go back to an older version of iTunes?
http://support.apple.com/kb/TS3694
http://support.apple.com/kb/TS3125
http://support.microsoft.com/kb/299357 -
Please answer my question quickly!!!
Hey radyslav,
There's an article that applies to your situation, I'd follow the steps within here:
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Take care,
Delgadoh -
Please Help I don't know what to do and the laptop isn't mine
If you don't need the changes saved then you can force quit the word app. On the menubar, cick the > Force quit > select word.
-
Installer encountered an error 0x80096002
A solution of mine requires
Microsoft ActiveX Data Objects 6.0 Library
Microsoft ActiveX Data Objects (Multi-dimensional) 6.0 Library but I am running VS 2012 so I removed the references to 6.0 and tried to install Windows6.1-KB2640696-v3-x64.msu and I get the error:
Windows Update Standalone Installer. Installer encountered an error 0x80096002. The certificate for
the signer of the message is invalid or not found
So I looked up this error and found a "solution". It seemed to involve installing WIF, But
I still get the same error. Ideas? This seems like a very round about question when all I really want is the latest COM type libraries.
Kevin BurtonSo you are saying that I should apply this patch to allow the patch for OBDC to work? Becuase if that is what you are saying the OBDC patch still gives me the same error. How do I get the latestes OBDC COM type libraries for Windows 8?
Kevin Burton
Hi Kevin,
Windows 8 includes an updated version of ODBC 3.8. Please take a look at the following article:
What's New in ODBC 3.8:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee388580(v=vs.85).aspx
In addition, we discuss SQL Server Data Warehousing related issue in this forum. If you have any more questions about Windows Desktop Development, please post them in the following forum for better support:
http://social.msdn.microsoft.com/Forums/en-US/category/windowsdesktopdev
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
The Service has encountered an error: ...(kNetworkError)
Was running 10.5.5 iCal server just fine. Then I decided to move the "Data Store:" in the settings tab to another location. Ever since then, when I click on the iCal service, the grinding wheel rolls on and gives this error...
The service has encountered an error.
Try to refresh the view (10.1.1.6/iCal). Report the
problem to the administrator if it persists.
(kNetworkError)
Please help. Sometimes, it does let me change the Data Store: area but then goes on to the error above. I tried refreshing, quiting, restarting the service, moving the folders around (library/calendarserver).I am getting a similar error, but when trying to access the DHCP service. The message is "The service has encountered an error. Try to refresh the view (<host>/DHCP). Report the problem to the administrator if the problem persists. (The service did not recognize the command)".
-
Error 1000 when opening a vi from tools menu
Hi All,
I have created a vi(attached), which creates a new library and adds another vi to it. This vi seems to be working fine when we open and run it from its location on the disk. If I try opening and then running this vi by selecting it from the LabVIEW tools menu (This was done by placing it in the location-National Instruments\LabVIEW 8.6\project ), I get an error 1000 after the property node for 'Name' . Error 1000 states 'The VI is not in a state compatible with this operation'. I would be really glad to know why this happens or even an alternate solution for it.
Thanks in Advance,
Ibrahim.
Attachments:
AddtoLibrary.vi 14 KBIf you run it from the tools menu, it is running in a seperate Application Instance called NI.LV.Dialog of LabView. You need to get hold of the Main Application Instance.
Have look at this link:
http://forums.lavag.org/Accessing-VIs-across-contexts-t12950.html&pid=57735
But be warned, that it is located under the rusty nails section and this stuff is not officaially supported by NI or anyone else.
Felix
www.aescusoft.de
My latest community nugget on producer/consumer design
My current blog: A journey through uml -
hi,
I am having having problems with the getArray() of oracle.sql.ARRAY.
Here are the details:
Oracle Database - 9.2.0.6. The JDBC driver used -10.2.0.1 jar.(the latest available).
I am calling a stored procedure from java, that has out param as a collection (VARRAY) of a user defined type.
The stored procedure works fine, if the user/schema used to connect,contains actual type, and i am able to extract the user defined object from the oracle.sql.ARRAY, via getArray().
But if i use a different user to connect which has public synonyms and execute rights to the actual type, i get the following error:
java.sql.SQLException: Internal Error
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
at oracle.sql.ARRAY.getArray(ARRAY.java:370)
The problem is happening because we have 2 different users to connect to the database. one is the dba user, which contains all the types, packages and other one the application user, which we are supposed to use, to connect via java. This application user does have access to types via public synonym, but it gives the above mentioned error.
Please help :(.
Regards,
Gaurav.Hi avi,
Even I am getting the same error inspite of preceding the type name with the same user who has created the type.
It has displayed the array length.When I am trying to fetch each array, I am getting the error.
ARRAY simpleArray = (ARRAY) cs.getObject(3);
System.out.println("Array is of length " + simpleArray.length()); ********************** The above stmt prints 2 records ******************
But it goes to exception in the foll stmt..
Object [] objArrStructArray = null;
try{
objArrStructArray = (Object[]) simpleArray.getArray();
}catch(SQLException e){
e.printStackTrace();
Do u know abt this?
The foll is the error which I am getting.
java.sql.SQLException: Internal Error
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
at oracle.sql.ARRAY.getArray(ARRAY.java:353)
at com.telstra.plo.data.NetworkDAO.findCablesInBuffer(NetworkDAO.java:730)
at com.telstra.plo.data.NetworkDAOTest.testFindCablesInBuffer(NetworkDAOTest.java:45)
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:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Thanks
Archana
Maybe you are looking for
-
How to scan the downloaded files
I have installed Norton 360 in my computer. I want to scan the files that is downloaded using Norton 360. How to do it? and what .exe should i use?
-
How restet field-content selection-screen when I return to screen 1
Hi! My case! 0) Abap report pgm with selection-screen fields. 1) I have a screen where the user send in information in X fields. 2) The content is shown as an ALV list. 3) Table will be updated. 4) Return to first screen where screen-output has be
-
How to refund purchases, or report a problem on previous purchases?
with the old iTunes you could report a problem with specific purchases. however, i can not find anything that represents doing so in the new iTunes.
-
Hello, Please, help me! I need to change "File Character" when I export application with Apex 4.2.1.00.08 version, but this option, is not possible. The ComboBox already select with "Unicode UTF-8]', but I need "ISO-8859-1 - Europa Ocidental", how ca
-
CREATEBLOCKONEQ: calc performance issue.
Hello Everyone, We've been using one of the calc on but it takes a heck lot of time to finish.It runs almost for a day. I can see that CREATEBLOCKONEQ is set to true for this calc. I understand that this setting works on sparse dimension however Proj