Casual "more than 4,294,967,296 tuples" errors upon query to ROLAP cube
With SSAS 2008R2 SP2 CU12 I observe the behavior that looks weird to me and I'd be very thankful for explanation or help with this problem as long as this issue is experienced by our customer and it has critical status now. Fortunately, I was able to reproduce
this in lab environment, so I've pretty much details.
I have an independent process that constantly adds facts and members to relational tables that are used in ROLAP cube and dimensions.
I have MDX query like this:
SELECT
NON EMPTY
{[Measures].[MyPhysicalMeasure1]} ON COLUMNS
,NON EMPTY
[MyDim1].[MyDim1].[MyDim1].ALLMEMBERS*
[MyDim2].[MyDim2].[MyDim2].ALLMEMBERS*
[MyDim3].[MyDim3].[MyDim3].ALLMEMBERS*
[MyDim4].[MyDim4].[MyDim4].ALLMEMBERS*
[MyCalendarDim5].[MyCalendarDim5].[Minute].ALLMEMBERS*
[MyDim6].[MyDim6].[MyDim6].ALLMEMBERS*
[MyDim7].[MyDim7].[MyDim7].ALLMEMBERS*
[MyDim8].[MyDim8].[MyDim8].ALLMEMBERS*
[MyDim9].[MyDim9].[MyDim9].ALLMEMBERS*
[MyDim10].[MyDim10].[MyDim10].ALLMEMBERS*
[MyDim11].[MyDim11].[MyDim11].ALLMEMBERS
DIMENSION PROPERTIES
MEMBER_CAPTION
,MEMBER_UNIQUE_NAME
ON ROWS
FROM
SELECT
[MyCalendarDimNamedSet_12Months] ON COLUMNS
FROM
SELECT
StrToSet
("[MyDim12].[MyDim12].&[MyMember1].&[MyMember11]"
,CONSTRAINED
) ON COLUMNS
FROM [MyROLAPCube1]
CELL PROPERTIES
VALUE
,BACK_COLOR
,FORE_COLOR
,FORMATTED_VALUE
,FORMAT_STRING
,FONT_NAME
,FONT_SIZE
,FONT_FLAGS;
So, here is scenario:
1) If I run this query for a 1st time I'm getting the error:
"The expression contains a function that cannot operate on a set with more than 4,294,967,296 tuples."
2) If I keep the process that adds facts and members running I'm constantly getting the same error on attempt to execute MDX:
"The expression contains a function that cannot operate on a set with more than 4,294,967,296 tuples."
3) If I stop the process that adds facts and members and wait for few seconds, the query will be successfully executed!
4) If I keep the process that adds facts and members stopped, the query will be successfully executed at any time.
5) If I keep the process that adds facts and members stopped, reconnect client, the query will be successfully executed at any time.
6) If I keep the process that adds facts and members stopped, restart SSAS and reconnect client, the query will be successfully executed at any time.
7) If I resume the process that adds facts and members, wait for few seconds, the query will fail with the same error:
"The expression contains a function that cannot operate on a set with more than 4,294,967,296 tuples."
I have already tried replacing the NON EMPTY with NonEmpty function, as some articles suggest - no luck, results will be the same.
I'd be very thankful for explanation or any help with this problem!
Thanks!
Hi Andrei,
The error “The expression contains a function that cannot operate on a set with more than 4,294,967,296 tuples” was described on the link
http://support.microsoft.com/kb/2430162
And it said that it was fixed in the Cumulative update package 2 for SQL Server 2008 Service Pack 2, however, you have applied CU 12 in your environment and still can reproduce this error. So I am afraid this issue can occurs on some particular condition.
So I recommend you submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback and hope it is released in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature
in the following release after official confirmation.
We appreciate your comprehension.
Regards,
Charlie Liao
TechNet Community Support
Similar Messages
-
hi i am receiving "exact fetch returns more than requested number of rows oracle error". but i am not able to locate the error in the below code. Any help would be appreciated!!!
CREATE OR REPLACE PROCEDURE load_scene_collection_item (
--pdname VARCHAR2,
-- LOCATION TO ADD/CHANGE below!!!
pITEM_TYPE_ID INTEGER,
pSCENE_COLLECTION_ID INTEGER,
pCOLLECTION_ITEM_NAME VARCHAR2,
pCOLLECTION_ITEM_DESC VARCHAR2,
pDEFAULT_COORD_X NUMBER,
pDEFAULT_COORD_Y NUMBER,
pDEFAULT_COORD_Z NUMBER,
pDEFAULT_WIDTH NUMBER,
pDEFAULT_HEIGHT NUMBER,
pDEFAULT_ROTATION INTEGER,
pDEFAULT_ALPHA INTEGER,
pfname VARCHAR2) IS
src_file BFILE;
dst_file BLOB;
lgh_file BINARY_INTEGER;
BEGIN
src_file := bfilename('BUSINESSBLOBSIMAGES', pfname);
-- insert a NULL record to lock
Insert into SCENE_COLLECTION_ITEM
( ITEM_TYPE_ID,
SCENE_COLLECTION_ID,
COLLECTION_ITEM_NAME,
COLLECTION_ITEM_DESC,
COLLECTION_ITEM_IMAGE,
DEFAULT_COORD_X,
DEFAULT_COORD_Y,
DEFAULT_COORD_Z,
DEFAULT_WIDTH,
DEFAULT_HEIGHT,
DEFAULT_ROTATION,
DEFAULT_ALPHA,
CREATE_USER,
CREATE_DATE)
Values ( pITEM_TYPE_ID, pSCENE_COLLECTION_ID, pCOLLECTION_ITEM_NAME, pCOLLECTION_ITEM_DESC, EMPTY_BLOB(),
pDEFAULT_COORD_X,
pDEFAULT_COORD_Y,
pDEFAULT_COORD_Z,
pDEFAULT_WIDTH,
pDEFAULT_HEIGHT,
pDEFAULT_ROTATION,
pDEFAULT_ALPHA,
sys_context('USERENV', 'OS_USER'),
sys_extract_utc(systimestamp))
RETURNING COLLECTION_ITEM_IMAGE INTO dst_file;
-- LOCATIONs(2) TO ADD/CHANGE above!!!
-- lock record
SELECT COLLECTION_ITEM_IMAGE
INTO dst_file
FROM SCENE_COLLECTION_ITEM
WHERE ITEM_TYPE_ID = pITEM_TYPE_ID
AND SCENE_COLLECTION_ID = pSCENE_COLLECTION_ID
AND COLLECTION_ITEM_NAME= pCOLLECTION_ITEM_NAME
AND COLLECTION_ITEM_DESC= pCOLLECTION_ITEM_DESC
AND pDEFAULT_COORD_X = DEFAULT_COORD_X
AND pDEFAULT_COORD_Y = DEFAULT_COORD_Y
AND pDEFAULT_COORD_Z = DEFAULT_COORD_Z
AND pDEFAULT_WIDTH = DEFAULT_WIDTH
AND pDEFAULT_HEIGHT = DEFAULT_HEIGHT
AND pDEFAULT_ROTATION = DEFAULT_ROTATION
AND pDEFAULT_ALPHA = DEFAULT_ALPHA
FOR UPDATE;
-- LOCATION TO ADD/CHANGE above!!!
-- open the file
dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
-- determine length
lgh_file := dbms_lob.getlength(src_file);
-- read the file
dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
-- update the blob field
UPDATE SCENE_COLLECTION_ITEM
SET COLLECTION_ITEM_IMAGE = dst_file
WHERE ITEM_TYPE_ID = pITEM_TYPE_ID
AND SCENE_COLLECTION_ID = pSCENE_COLLECTION_ID
AND COLLECTION_ITEM_NAME= pCOLLECTION_ITEM_NAME
AND COLLECTION_ITEM_DESC= pCOLLECTION_ITEM_DESC
AND pDEFAULT_COORD_X = DEFAULT_COORD_X
AND pDEFAULT_COORD_Y = DEFAULT_COORD_Y
AND pDEFAULT_COORD_Z = DEFAULT_COORD_Z
AND pDEFAULT_WIDTH = DEFAULT_WIDTH
AND pDEFAULT_HEIGHT = DEFAULT_HEIGHT
AND pDEFAULT_ROTATION = DEFAULT_ROTATION
AND pDEFAULT_ALPHA = DEFAULT_ALPHA
-- LOCATION TO ADD/CHANGE above!!!
-- close file
dbms_lob.fileclose(src_file);
END load_scene_collection_item;
Thanks in advance!!!!Hi PaulHorth,
Thanks for the quick reply.
Actually, i am getting error while updating the records.
below is the error message:
Error starting at line 1 in command:
exec load_scene_collection_item(3,15,'2 Lane 4way Stop','4 Way Stop Intersection with 2 lanes in each direction',0,0,0,400,517,0,1,'2 Lane 4way Stop.PNG');
Error report:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "DP_OWNER.LOAD_SCENE_COLLECTION_ITEM", line 55
ORA-06512: at line 1
01422. 00000 - "exact fetch returns more than requested number of rows"
*Cause: The number specified in exact fetch is less than the rows returned.
*Action: Rewrite the query or change number of rows requested -
How to Notify more than one person in case of error in ALE
In ALE/EDI, While maintaining Partner Profile(we20), if in case we want to notify more than one person in case of error, how to maintain it in the <b>Post Processing: Permitted Agent tab</b>? Can anyone guide me navigating through the steps on how to proceed with this?
enter in to the T-code.
first it asks for validation from date click it.U will get th einitial screen.
1.Enter the organisation name & description found at the basic data tab and press enter u can see that name will be diaplayed at the top grid.
2.In the tool bar of the grid u can see drop down box in that select staff assignment.
3.Now select createposition icon.
4.Now place the cursor in user field right click & select assign->user in that enter ur user.
Repeat the process to number of users.
Save it. -
Method called more than once - and dies with EXC_BAD_ACCESS error
Hi,
In my app, I have 4 views with their respective viewControllers. In the appDelegate.m, I provide methods that allows to switch to any of these views. Following is code for switching to the editView:
-(void) flipToEditView {
[self populateTheList]; // populate an array
EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
[self setEditVC:anEditVC];
[viewController.view removeFromSuperview];
[self.window addSubview:[editVC view]];
[anEditVC release]; }
The view is not switched - and moreover, this method is called more than once; and the app dies with EXCBADACCESS!
2009-08-23 14:54:40.648 iNotate[2128:20b] Album (before): x= 0 y=20 width=320 height=460
2009-08-23 14:54:40.653 iNotate[2128:20b] Album (after): x= 0 y= 0 width=320 height=480
warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable
(gdb) bt
#0 -[iNotateAppDelegate flipToEditView] (self=0x523690, _cmd=0x9563) at /Users/sam/MY_FILES/iPhone Apps/app/Classes/iNotateAppDelegate.m:116
#1 0x00008661 in -[FirstView editAction] (self=0x546a30, _cmd=0xac94) at /Users/sam/MY_FILES/iPhone Apps/app/FirstView.m:25
#2 0x30a4eee6 in -[UIApplication sendAction:to:from:forEvent:] ()
#3 0x30ab0d36 in -[UIControl sendAction:to:forEvent:] ()
#4 0x30ab11fe in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
#5 0x30ab0544 in -[UIControl touchesEnded:withEvent:] ()
#6 0x30a67917 in -[UIWindow sendEvent:] ()
#7 0x30a56fff in -[UIApplication sendEvent:] ()
#8 0x30a561e0 in _UIApplicationHandleEvent ()
#9 0x31565dea in SendEvent ()
#10 0x3156840c in PurpleEventTimerCallBack ()
#11 0x94a713c5 in CFRunLoopRunSpecific ()
#12 0x94a71aa8 in CFRunLoopRunInMode ()
#13 0x31566600 in GSEventRunModal ()
#14 0x315666c5 in GSEventRun ()
#15 0x30a4eca0 in -[UIApplication _run] ()
#16 0x30a5a09c in UIApplicationMain ()
#17 0x000027e8 in main (argc=1, argv=0xbffff068) at /Users/sam/MY_FILES/iPhone Apps/app/main.m:14
Current language: auto; currently objective-c
(gdb) continue
2009-08-23 14:54:55.885 iNotate[2128:20b] >>>>>>>>>>>>>>>>>> populateTheList
(gdb) bt
#0 -[iNotateAppDelegate flipToEditView] (self=0x523690, _cmd=0x9563) at /Users/sam/MY_FILES/iPhone Apps/app/Classes/iNotateAppDelegate.m:116
#1 0x00008661 in -[FirstView editAction] (self=0x5457b0, _cmd=0xac94) at /Users/sam/MY_FILES/iPhone Apps/app/FirstView.m:25
#2 0x30a4eee6 in -[UIApplication sendAction:to:from:forEvent:] ()
#3 0x30ab0d36 in -[UIControl sendAction:to:forEvent:] ()
#4 0x30ab11fe in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
#5 0x30ab0544 in -[UIControl touchesEnded:withEvent:] ()
#6 0x30a67917 in -[UIWindow sendEvent:] ()
#7 0x30a56fff in -[UIApplication sendEvent:] ()
#8 0x30a561e0 in _UIApplicationHandleEvent ()
#9 0x31565dea in SendEvent ()
#10 0x3156840c in PurpleEventTimerCallBack ()
#11 0x94a713c5 in CFRunLoopRunSpecific ()
#12 0x94a71aa8 in CFRunLoopRunInMode ()
#13 0x31566600 in GSEventRunModal ()
#14 0x315666c5 in GSEventRun ()
#15 0x30a4eca0 in -[UIApplication _run] ()
#16 0x30a5a09c in UIApplicationMain ()
#17 0x000027e8 in main (argc=1, argv=0xbffff068) at /Users/sam/MY_FILES/iPhone Apps/app/main.m:14
(gdb) continue
2009-08-23 14:55:22.493 iNotate[2128:20b] >>>>>>>>>>>>>>>>>> populateTheList
Program received signal: “EXCBADACCESS”.
(gdb) continue
What's happening here?
Sam!-(void) flipToEditView {
[self populateTheList]; // populate an array
EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
[self setEditVC:anEditVC];
[viewController.view removeFromSuperview];
[self.window addSubview:[editVC view]];
[anEditVC release]; }
}<---- is this } matched elsewhere? -
Creating more than one serial number for a material upon Goods Receipt
I am trying to configure the system to create more than one serial number automatically for a material and have the equipment record created at the same time with the same number as the serial number. For example using MB1C, receiving a material for a quantity of 2, the Maintain Serial number pop up box appears, selecting the 'Create serial number automatically' , I receive an error message ' Number of numbers to be assigned must be 1
Message no. NR030
Can someone help me with this issue.I have tried MIGO and get the same error. The Plant data/stor 2. tab of the material master for this particular material is set as follows
Serial no. profile NS01 SerLevel 1 Keep equipment number and serial number synchronous.
Would there be configuration missing? -
Dear Experts,
I have got Project Server 2013. These projects are migrated from 2007 to 2010 and to 2013. All the functionality working fine as expected, But few schedule got more than 500 lines of Task, We are unable to "Edit" those projects "In Browser".
We have tried in both IE and Chrome, When you try Edit it throws error "Something went wrong, I checked the co relation Id in the logs. I get the below,
02/09/2015 15:08:32.84
w3wp.exe (0x16D8)
0x04EC 0xB217023
ahjqp High
[Forced due to logging gap, cached @ 02/09/2015 15:08:32.70, Original Level: Verbose] SQL connection time: 0.0809460420248942
75f5e79c-783e-a090-5f32-f52e977a9b62
[Forced due to logging gap, cached @ 02/09/2015 15:08:32.85, Original Level: Verbose] The SecurityTokenServiceHeaderInfo including the correlation ID was added.
Batch request was created without a batch name, specify a batch name for better telemetry.
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.GetSqlBatchRequest(String batchName) .....
[Forced due to logging gap, cached @ 02/09/2015 15:08:33.89, Original Level: VerboseEx] PWA:, ServiceApp:Project Server Service Application...
the above error repeated more than 100 times
Same thing goes to the below error also
Entering Function=TTaskTable::GetElemProp DynamicLogging triggered SessionID = {EE8AD295-E5AD-E411-943A-005056A95E5E}
Leaving Function=TTaskTable::GetElemProp returning HRESULT:8C010003 SessionID = {EE8AD295-E5AD-E411-943A-005056A95E5E}I really appreciate and thank for
the support. Thanks
Jacob MichaelHi Jacob,
Have you tried re-publishing the projects from MS Project and see if that helps?
500 tasks are quite a lot for the browser to deal with; I usually recommend switching to MS Project when you have that number of tasks for a project
Paul -
I can open more than 8 pages on my touch, error?
I noticed today (before update to 1.1.4) that safari opens more then 8 pages and that the amount of pages that normally shows right down on the screen, is only an empty box now, no number at all. Anyone had this?
I think mine would open like 10 or so.. but then it would kinda freeze up
-
Cannot open more than 1 file without generating windows error
I am using Adobe Photoshop CS3 10.0.1 extended on Windows XPSP3. While I can open and edit any single file in the program, if I try to open a second file a windows error report is generated and the Photoshop is closed.
I have uninstalled and reinstalled the application, turned off potentially conflicting services, removed scanner drivers etc. without resolving the problem.
Any suggestions what might be the root of the problem?
The machine has 4GB RAM and a very large (but single) hard drive.durrant_d wrote:
It's not limited to just Photoshop, but Elements 6 and Lightroom 2 but not Illustrator CS3. Interesting that it will pull up the images in the pre-editor but only errors when actually entering the workspace.
This sounds like a memory problem that is tied to the OS since it occurs across different programs. If the paging file has enough capacity then perhaps bad RAM? -
Hai..How to append more than 2 XML..i got error
public function sendXML():void
Application.application.prabu=new XML(<SolvEdge/>);
for(var i:int=0;i<Application.application.locArr.length;i++)
temp1XML=new XML(<patient/>);
ResultXML=new XML(<results/>);
ResultXML.@survey_id='JNTHK20100810';
ResultXML.@serviceline_id='';
ResultXML.@location_id='';
ResultXML.@score='';
ResultXML.@surveytype='';
ResultXML.@visittype_id;
temp1XML.@fname=Application.application.fname;
temp1XML.@lname=Application.application.lname;
temp1XML.@dob=Application.application.DateofBStr;
temp1XML.@ssn=Application.application.ssnStr;
temp1XML.@dos;
temp1XML.@hospital_value;
temp1XML.@surgeon_id;
temp1XML.@id=Application.application.ID;
Application.application.prabu.appendChild(temp1XML);
Application.application.prabu.patient.appendChild(ResultXML);
this is my coding for generate XML in for loop but i got the error in appendChild
that error is follows \
Error
TypeError: Error #1086: The appendChild method only works on lists containing one item.
at XMLList/http://adobe.com/AS3/2006/builtin::appendChild()
how can add this xml in for loop??????That seems bizarre. Maybe this will work:
if ( Application.application.prabu.children.length() == 0 )
Application.application.prabu.prependChild(temp1XML);
else
Application.application.prabu.appendChild(temp1XML);
But there really must be a better way. -
Encore can't burn more than one DVD at a time: Sense Code 56400
For a long time now I've been unable to burn multiple DVD's at a time. I burn more than one and I get an error and have to make a coaster out of yet another DVD
I just upgraded to 24 gb of DDR3 PC 1600 RAM, I have an 6 Core Processor, I have 7.8 on everything accept my hard drive which is 7.0 out of 7.9 according to my Windows 7 Pro. 64 bit system.
I have 2 different DVD burners, one is a blu-ray burner too. I have the same issues, only different error readings it seems, on both drives. The first drive didn't burn even one for some reason so I tried the second. The second drive would burned 3 and on the fourth I got the errors' which I've included screen shots of below. I was surprised I got through three before I got to this error. By the end of the week I have a large project I need to make 30 DVD's of. HELP!!!!!
A long time ago on my older machine I had similar problems and I went through different drives and discs until I seemed to come up with the magic combination which seemed to be a Plextor burner and Verbatim. But, then i got a bad batch of verbatim and tried Maxell and used those successfully for a while. Right now I'm using what a friend gave me, TDK's. I'm wondering if that's what the problem is... HELP!!!!I have managed to get it to work consistently now. I just burned 20 DVD's without a problem.
I tried everything you suggested except the imageburn software. I didn't like that site, I was too anxious to try and figure out where to download that software in the midst of all the advertisements on that site.
After clearing out everything in startup and services except what I needed I still wasn't able to burn successfully. Finally I went and purchased some Verbatim DVD-R discs and wahlah! Actually, after the first try with the verbatim I had an error code when trying to burn with Encore. So, I created and image file as you suggested and then I used Cyberlink's Power2Go to burn the image file and from there on it seems everything is solid.
I think the biggest problem was using TDK discs. I came to the realization a few years ago that certain disks are not as predictable as others and that verbatim and maxell seem to be the best. I did get one bad batch of verbatim though one time and that's when I switched to Maxell. My friend gave me 200 of the TDK's and I've been having problems ever since. But, I wasn't sure what it was exactly because he gave me those around the same time I rebuilt my system.
I had also found the Plextor seems to be the best bet for burners. But, I had been using an HP one lately and thought maybe that was the problem. However, now it seems to be fine.
I really don't know what fixed it. I mean, nothing definitely worked until I started using the Verbatim today. But, that first verbatim erroring perplexed me. I had done some other things too, like removed some programs, like a bunch of HP printer crap. I even removed my virus software, Window Security Essentials. I just reinstalled it so now I'm wondering if I can burn as consistently. I had seen somewhere where someone said they removed Windows' Defender to get theirs working.
Anyways, I guess what I need to do is format my main hard drive, only put adobe stuff on it, and then take my old computer set it up for everything else. That'll probably be the best thing to do... If I have anymore problems like this I'm doing that right away! -
LSMW For Converting Open Sales Orders (not working for more than 1 item)
Hi,
I am using following standard object for Open sales orders .
Object 0090 Sales documents
Method 0000
Program Name RVINVB10
Program Type D Direct Input
Its not working for more than 1 line item.
For more than 1 line item its giving Error saying that
'102122 V1 845
Print parameter SAPML2 1 is not defined
Can anybody help me out in this regard.
Thanks in advance.
Nitin.hello, friend.
i will still research the subject. but the first thing that comes into my mind is t-code VA05. with this, you have the option to change the Plant en masse. so a possible workaround is for you to list a number of sales orders using VA05. you then sort the line items by Plant. choose all items with the same plant, change the plant via mass change... then change back to the original plant. hopefully, the new settings should apply.
do test a few sales orders by doing this for a larger scope.
regards. -
Hi,
We have developed an universe on BI query and developed report on it. But while running this BO query in Web Intelligence we get the following error
A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. MDX result contains too many cells (more than 1 million). (WIS 10901)
This BO query is restricted for one document number.
Now when i check in the BI cube there are not more than 300-400 records for that document number.
If i restrict the BO query for document number, delivery number, material and acknowledged date then the query runs successfully.
Can anyone please help with this issue.follow this article to get the mdx generated by the webi report.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90b02218-d909-2e10-1988-a2ca74547900
then try to execute the same in mdxtest transaction in bw -
ORA-01704:String literal too long with update of more than 4000 chars
Hi,
I want to update a table column in Oracle Database(version 10) with more than 4000 chars.
The datatype of the table column is NCLOB.
I want to achieve this with one single line of update query as below,
update mytable set MY_DESCRIPTION = 'longdesc' where ID = '111' ;
But there's a problem, if the 'longdesc' is more than 4000 chars, it gives the error , "ORA-01704:String literal too long"
How can I achieve this in sql developer ?
I dont want to do this using stored procedures, I want to do this update using only sql statement.
Please help.
thanks,
sudhakarHello Sudhakar,
I am afraid, this will never work by SQL.
Just because an SQL-Statement must not contain a string literal over 4,000 characters (or did that change lately?).
Maybe you can bypass the limit with PL/SQL ... but you will certainly run into the 32K limit sooner or later
regards
Peter -
Error message that no virtual memory pops up & crashes when application is run for more than 1 hour
My application uses VISA serial operations. It has arrays to store data collected from various devices. I reinitialise the arrays each time the index reaches 50.
Data acquisitions is carried out in separate threads by invoking the runVI method.
When i run the application on Win XP continuaously for more than 1 hour it gives an error message that no more virtual memory to complete the task and the system hangs up.
I open the serial port only once and close it when the application is terminated. But serial read/write operations are done continuaously
Is the error caused due to memory leakage? How can i solve the problem. It's very urgent and i shall be thankful if i ge
t the help.Yes, it sounds like a memory leakage (either that or you're trying to run an advanced app on an old computer w/ little memory and a small hard drive).
Things to try:
1. Ensure it's only labview, and not say labview and another application interacting. This isn't a likely case, but you never know what people have on their boxes and I've seen some weird things with virus scanners. Hit Ctrl-Shift-Esc to get the task manager. Go to processes and watch the memory consumption (click Memory twice to sort in descending order) of the various processes. If labview keeps rising, you've got a leak.
2. If only a reasonable amount of memory is being used, double check your page file settings (read virtual memory).
From the Control Panel
Select System
Select
Advanced Tab
Under Performance, select the Settings button
Select Advanced Tab
Under Virtual Memory, let windows dynamically adjust the page file (and any XP speed tweakers out there can now chime in about how wrong this is. This essentially allows windows to keep upping the virtual memory as needed by various processes.
3. Find the leak. In LV Tools->Advanced->Profile VIs. Turn on memory stats. Start the profiler. Start your vi. If the vi crashes labview totally, you'll have to keep hitting snapshot to find the leaky vi (the one that's memory keeps growing).
4. Upload the vi to the forum so we can give it a looksee.
G'luck
2006 Ultimate LabVIEW G-eek. -
Crystal Report - More than one table from MySql
Hello, I am in need of help big time.
I have am using Visual Studio 2010 and Crystal Report 10.
The problem that I am incounting is that I am unable to retreive data from more than one table from a MySql database. I have been stuck on this for too long and need to hjump the hurdle.
I am using a MySql connection string, a dataset and a crystal report which is based on the dataset.
The main error that I am having is, the browser opens and a form appears saying "The report you requetsed requires further information" With the Server name: DataSetPropertiesDetials, while the User name and Password fields are then enabled.
I am guessing I am missing something in my code.
When I retreive data from one table the report is fine, but when I try to use more than one table it throws the error.
My Code is below and also attached:
Imports System.Data.SqlClient
Imports System.Configuration
Imports MySql.Data.MySqlClient
Imports CrystalDecisions.ReportSource
Imports CrystalDecisions.Web
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim con As MySqlConnection
Dim rpt As New CrystalReport3()
Dim myReport As New ReportDocument
Dim myData As New DataSet
Dim cmd As New MySqlCommand
Dim cmdUser, cmdProperty, cmdBranch As New MySqlCommand
Dim daBranch, daProperty, daUser As New MySqlDataAdapter
con = New MySqlConnection()
'Connection String
con.ConnectionString = "Server=****;Database=***;UID=***;Password=****"
Try
con.Open()
cmdBranch.CommandText = "SELECT branch FROM tblbranch"
cmdBranch.Connection = con
daBranch.SelectCommand = cmdBranch
daBranch.Fill(myData)
cmdProperty.CommandText = "SELECT ref, keys_held, key_no, keys_out, no_name, address_line1, address_line2,key_label FROM tblproperty"
cmdProperty.Connection = con
daProperty.SelectCommand = cmdProperty
daProperty.Fill(myData)
cmdUser.CommandText = "SELECT known_name FROM tbluser"
cmdUser.Connection = con
daUser.SelectCommand = cmdUser
daUser.Fill(myData)
myReport.Load("REPORT LOCATION")
myReport.SetDataSource(myData)
myReport.Database.Tables(0).SetDataSource(myData.Tables(0))
CrystalReportViewer1.ReportSource = myReport '
Catch myerror As MySqlException
MsgBox(myerror.Message)
End Try
End Sub
End ClassHi,
You have 3 SQL commands but you are calling SetDataSource only once. You need to look through for each of the SQL Commands.
Good luck,
Brian
Maybe you are looking for
-
Linking error in OElinux 5.4.1 while installing EBS R12.1.1
i am installing EBS R12.1.1 in Oracle enterprise linux 5.4.1 i have done all pre steps and created stage area . while insatlling the EBS it shows ERROR [root@arun ~]# unset ENV [root@arun ~]# cd /u01/stage/startCD/Disk1/rapidwiz [root@arun rapidwiz]#
-
ITunes won't open on other user
I can run itunes on the user account that I installed it on, but when I try to run it on another user, it says "itunes has encountered an error and needs to close" before it opens. Both accounts have admin privileges, and were created at the time of
-
I have a text file that has data in specific positions of the file. ie. Pos 1-20 Name Pos 21-30 Division Pos 31-38 Birthdate I saved the file in the DB and want to process it to read the data in the specific positions I listed above. I started with t
-
I need a serial Number for lightroom and photoshop. Its working on the imac already, I am paying. Now want to install on the mac book. There are no adobe-mails...
-
Is it possible to uninstall ios7? I have an older Iphone4 and ios7 cripppled it/
I just downloaded the new ios7 and shortly after I started noticing that it wasn't acting right, couple of things I saw, texting wouldn't register, I would text a word and it would just sit there and do nothing. then 10 seconds later the letter wou