Problem creating simple Script Object
I have not been able to get this simple Script Object to work. It should be simple, but this is my first script object, and as I'm new to LS and JS I'm not very adept at writing JS (functions, variables, you name it).
Would someone be so kind as to help me get this easy one down so I can study it and see where I went wrong?
What this script object would do is call a function that checks the value of two check boxes. If one checkbox's value = 1 then the textstring "Male" gets written to the lower text box. If the other box's value = 1, then "Female" is written to the same box (and of course, Male is deleted)
Thanks!
Graham
Hi Graham,
Adobe Reader using the same JavaScript engine as used by Mozilla (called SpiderMonkey) and their website has a lot of information about learning and using JavaScript, https://developer.mozilla.org/en/JavaScript. Only problem is Mozilla has moved on to version 1.8.1 and I think Reader is still on 1.5, but they make it easy to work out what features are available in what version.
Array literals are good if you aren't going to reuse them, maybe a better alternative would be to reference the captions of the checkboxes or radiobuttons.
Bruce
Writing ["", "MaLe", "FemaLe"] creates an array literal so I could have written something like;
var
genders = new Array("", "MaLe", "FemaLe");
var gender = Number(Gender.rawValue);this.rawValue
= genders[gender];
Similar Messages
-
Problem with simple script tutorial
In comparing and trying to replicate visibility functionality via scripting, I downloaded ChangingVisualObjectProperties.pdf to work on while going through the Scripting Basics PDF from Adobe. However, what should be a simple task has proved vexing.
In a word, I can't get a button to change the visibility of a textfield object. I even went to the extreme of setting my file up to be identical in structure and naming convention to the tutorial file. Next, I did screen grabs of all the important property settings for the tutorial file and replicated that in my file. And finally, copied and pasted the actual bit of JS from the tutorial to my example. All to no avail.
Attached are two files. The first is the sample script tutorial from Adobe's site entitled ChangingVisualObjectProperties.pdf. I've included it simply to make it easy for anyone who wants to compare the tutorial to my sample file. The button in question is CheckBox7.
My file is called MyChangingVisProps.pdf and contains only two objects, CheckBox7 and TextField.
If someone could tell me what I'm missing, I will be very grateful!
GrahamWell, I just found the answer in another post.... File-> Save As and choose Dynamic XML Form!
Is there some reason this doesn't take effect when setting options in the Properties dialog?? Talk about a GOTCHA moment!
Graham -
Problems creating extension (View Object) in JDeveloper 9.0.3.5
Note: I originally posted this on the JDeveloper forum - but I was told to post it in this forum.
This is on Windows XP Pro SP2 with JDeveloper 9.0.3.5 - patch 6469392 (appropriate for 11.5.10.6).
I'm trying to create an extension for a view object for the Oracle Applications Framework. I've exported the appropriate MDS repo contents to my system using export. One of the first issues I've seen is the step where I import the the business components XML file (server.xml) and I get the following warning:
Warning: This Business Components Package was built with an earlier version of Oracle Business Components for Java. Unable to upgrade since it is readonly. oracle.apps.pos.isp.server
I've encountered these strange "readonly" errors all along the way. When I try to create the VO itself, I notice the wizard is in readonly mode, preventing me from associating query columns with view attributes (I cannot change a view attribute for a query column for many of the query columns). Why are things in readonly mode?I've seen is the step where I import the the business components XML file (server.xml) and I get the following warning:
Warning: This Business Components Package was built with an earlier version of Oracle Business Components for Java. Unable to upgrade since it is readonly. oracle.apps.pos.isp.server
Ans : VO , EM and AM related xml files not need to import to MDS, only PG and Region related xml file need to import to MDS. -
Error creating a 'script' object in ANT
Hey there! We are using Ant to build our pl/sql files. In order to run them through the sql*plus we need to use javascript to get them in the proper form.
Currently we are using JDev 10.1.2 for development. I upgraded the version of Ant to 1.6 using the libraries.xml method and now I am stuck and getting this error when I try to compile:
Error(25): Could not create task or type of type: script.
I have both Rhino and the BSF jars in my 'additional claspaths'.
Any help would be greatly appreciated.
thanks!When you updated the "libraries.xml" file with Ant 1.6, did you include the "ant-apache-bsf.jar"? This JAR defines the script task in Ant 1.6.
-Matt Hawkins
Oracle JDeveloper -
How to properly create path art object, please help
Hello there,
I have a vector of AIRealPoint , each point is actual X, Y coordinate of the stroke. I need to create path art object out of this vector.
I'm somehow confused how to correctly construct segments array form the given AIRealPoints, my goal is to have single path object where count of segments is equal to count of AIrealPoints first and last points are anchors. SDK documenation is not really helping here...
Please, take a look at the code snippet, it seems I'm doing something wrong with in and out params of segment , in any case I fail to create simple path object ....
ASErr CretaeVectorPathTest2(vector<AIRealPoint>& stroke)
AIArtHandle artHandle;
ASErr result = kNoErr;
try {
AIRealPoint start;
long lngStrokeLength = stroke.size()-1;
AIArtHandle lineHandle = NULL;
AIErr error = sAIArt->NewArt( kPathArt, kPlaceAboveAll, NULL, &lineHandle );
if ( error ) throw( error );
error = sAIPath->SetPathSegmentCount( lineHandle, lngStrokeLength );
if ( error ) throw( error );
AIPathSegment *segment = new AIPathSegment[lngStrokeLength];
// This is a first point of the path
segment[0].p.h = stroke[0].h;
segment[0].p.v = stroke[0].v;
segment[0].in = segment[0].out = segment[0].p;
segment[0].corner = true;
for(inti=1 ;i< lngStrokeLength-1;i++)
segment[i].p.h = stroke[i].h ;
segment[i].p.v = stroke[i].h ;
// NOT GOOD!!!
segment[i].in.h = stroke[i-1].h ;
segment[i].in.v = stroke[i-1].v ;
segment[i].out.h = stroke[i+1].h;
segment[i].out.v = stroke[i+1].v;
segment[i].corner = false;
// NOT GOOD!!!
// This is a last point of the path
segment[lngStrokeLength].p.h = stroke[lngStrokeLength].h;
segment[lngStrokeLength].p.v = stroke[lngStrokeLength].v;
segment[lngStrokeLength].in = segment[lngStrokeLength].out = segment[lngStrokeLength].p;
segment[lngStrokeLength].corner = true;
error = sAIPath->SetPathSegments( lineHandle, 0, lngStrokeLength, segment );
if ( error ) throw( error );
error = sAIPath->SetPathClosed( lineHandle, false );
if ( error ) throw( error );
// apply color width etc.
AIPathStyle style;
error = sAIPathStyle->GetPathStyle( lineHandle, &style );
if ( error ) throw( error );
style.strokePaint = true;
style.stroke.color.kind = kFourColor;
style.stroke.color.c.f.cyan = 0;
style.stroke.color.c.f.magenta = 0;
style.stroke.color.c.f.yellow = 0;
style.stroke.color.c.f.black = 100;
style.stroke.width = 0.75;
style.stroke.dash.length = 0;
delete[] segment;
error = sAIPathStyle->SetPathStyle( lineHandle, &style );
if ( error ) throw( error );
catch (ai::Error& ex) {
result = ex;
return result;
Thanks,
DavidAs for beziers, Illustrator uses cubic beziers which are fairly straight forward (thank goodness!). Here's a lift from Wikipedia's Bezier entry:
This image is pretty good at demonstrating how AI's bezier segments work. In the animation, the moving point has two lines sticking off it, ending with two points. If P3 was an AISegment, the left-hand blue point would be in and the right-hand point would be out. If we were to translate the state of the animation in its last frame into AI code, you'd basically have something like this:
AISegment segment1, segment2;
segment1.p = p0;
segment1.in = p0;
segment1.out = p1;
segment2.in = p2;
segment2.p = p3;
segment.out = p3;
Note that this would imply any line that continues beyond either end point isn't a smooth beizer curve (i.e. the curve is limited to between these points). That effectively makes them corner points (I think). Also, the line formed by linking in & p or out & p is the tangent to the curve at p, which I think you can make out from from the animation.
Another way to get a feel for this is to use the pen tool to draw a line with a few segments. If you then pick the sub-select tool (white selection arrow, not black selection arrow) and select individual points on the curve, you'll see when you do that two 'anchors' jut out from each point. Those are the in & out for that point on the curve.
Its all a little confusing because technically, a bezier segment between p & q would be p, p.out, q.in & q. (four vertices). To avoid repeating information, and keep it simple for non-beziers, AI's segments are still the vertices. So if you wanted to make the nth segment a beizer, you'd need n & n+1 from AI's path, and you'd modify two-thirds of each AISegment (p, out from n & in, p from n+1).
I hope that helps, but if you have any further questions, feel free to ask! If you need to do anything fancy with beziers, there are some helpful utilites in AIRealBezier.h. -
Problem in creating a callable object of type Business Logic
Hi SDN,
I am trying to create a callable object of type Business Logic in CE.
When I give all information and click Next, I get this error message.
Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui.co.CExpConfig. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
Can anybody help me out with this problem.
Regards,
SumangalaHi.
I'm having the same problem as Senthil in NW2004s SP15 with my application service and methods not showing up in the Callable Object wizard for Composite Application Services after I choose the Endpoint. The only application name that shows up in the wizard is caf.tc, and the only service names that show up for it are LDDataAccessor, Metadata, and PropPermissionService.
My IDE is on one machine and the application server I deploy to is located on a different machine. My endpoint to the remote application server looks to be correctly configured. The Composite Application Service seems to be deployed properly as I'm able to see it and test that it works in the Web Services Navigator <http://remotehost:50000/wsnavigator/>
My deployed application service is a remote enabled service and is also web services enabled as well.
I'm not sure if this is relevant, but I noticed that the generated Java code does not create any remote EJB interfaces (only home and local interfaces were generated).
Something else I noticed is that when I proceed to the External Service Configuration -> Business Entities screen <http://remotehost:50000/webdynpro/dispatcher/sap.com/cafUIconfiguration>, I only see three business entities displayed, and the following error message is displayed: "Corrupt metadata has been detected. This may prevent some objects from being displayed. Check the server log for more details." I was unable to find anything in the instance log files. Is the error message indicative of the problem?
I am developing locally without a NetWeaver Development Infrastructure (NWDI) in place.
I'm wondering if the credentials specified in the endpoint require any special roles or privileges.
Senthil, do any of these additional descriptions apply to you as well?
Edited by: Ric Leeds on Jun 20, 2008 4:37 PM -
How would I create a simple script that does these specific things?
I am trying to create a script that does these few simple task but I can't seem to compile all the cmdlets together into one. I can pick one task out and have a command for it but I want one script to do it all. Here are the tasks I need it to do.
store the current location (as in C:\scripts)
test to see if a folder C:\output exists, if it does not, create it
prompt the visitor for a folder name (no C:\)
obtain a directory listing of that folder showing all .ps1 files only
place the results of this listing in a file named PS1_files_[folder name].txt in the c:\output folder
repeat this task as part of a loop until an empty string is entered
restore the present location (for example C:\scripts)This is a very good script for a someone new to computers to use as a learning exercise. You will learn how the computer works an learn how to use scripts to manage the computer.
This is the excat kind of scritp a teach hands you to do on the first day of class. THe challenge will help you learn.
Start here to learn how to write a script:http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
Good luck. Post back with specific questions. Do not forget to include your script and the complete error message.
You need to learn basic computer logic and decision making. The learning materials will step you through that.
¯\_(ツ)_/¯ -
"Create Simple document" from other objects
Scenario: Creating a document using option "Create Simple document" from other objects
I have created a document type and defined the object link for Functional Location with option "create simple document"
When clicking on create icon on the additional data tab on IL02 screen, The system asks for the document type and then the file to be uploaded.
The document type that i have defined has the Description filed as mandatory field and hence i am not able to create the document.
However, for the Document type when i set the description field as not mandatory the system creates DIR. But this DIR has no description.
Please let me know if there is a BADI, using which i could set the Functional location name as the description OR if there is some enhancement by which the user is asked to enter the description when creating the document.
Warm Regards,
Vivek MohankumarHi Vivek,
After my tests I would like to inform you that this is
the standard system behavior as the document description field is
maintained as mandatory in transaction DC10. Please note that for the
simple creation of documents this should not be set as a mandatory
field.
The creation mode can be defined in transaction DC10 for each object
under 'Define object links'.
Please note that the value "1" for the creation of documents is used
to enable a user to simple attache a word file to an object
without going to the transaction CV01n. Therefore the system behaviour
is different then creating a document by CV01n and attaching a
file to it. With simple creation mode there should not be any
mandatory fields as the user cannot enter anything during the creation
process.
However, you can change the behaviour how the document is created by
MM02 transaction if you change the customizing in transaction DC10
like this:
If you maintain the value "2" for creation of documents, the user is
put to transaction CV01n and then the description can be entered. So
maybe this would solve the issue.
Regarding a useful BADI I can only recommned you to test BADI DOCUMENT_OBJ1,
DOCUMENT_OBJ2 or DOCUMENT_MAIN01 for fill the description field.
I hope this information could be useful for you and help to avoid the
mentioned error message.
Best regards,
Christoph -
VBA: problems in creating and storing objects in array with loop
I created a Class named Issue. Then I created a function that creates Issue objects, set their properties with data from a worksheet and store them into a variant array through a loop. the problem is that everytime that the loops runs it overwrites the properties
of the same object instead of creating a new object, setting its properties. Would anyone know how to solve that? The loop code goes below:
'Stores all the Issues objects in an Array
Function StoreAllIssues() As Variant
Dim IssuesSheet As Worksheet
Set IssuesSheet = Sheet1
Dim intLastRow As Integer
intLastRow = Uteis_Jorge.LastRowFunc(IssuesSheet, 1)
Dim IssuesArray() As New Issue: ReDim IssuesArray(0)
For i = 2 To intLastRow
Dim MyIssue As New Issue
MyIssue.IssueName = IssuesSheet.Cells(i, 1)
MyIssue.Suggestion = IssuesSheet.Cells(i, 2)
MyIssue.Priority = IssuesSheet.Cells(i, 3)
MyIssue.Resolution = IssuesSheet.Cells(i, 4)
MyIssue.JobStatus = IssuesSheet.Cells(i, 5)
MyIssue.AssignedTo = IssuesSheet.Cells(i, 6)
Set IssuesArray(i - 2) = MyIssue
ReDim Preserve IssuesArray(i - 1)
Next i
ReDim Preserve IssuesArray(i - 3)
StoreAllIssues = IssuesArray
End Function
Jorge Barbi Martins ([email protected])Hi Jorge,
You can set the MyIssue to Nothing every time you don't use the MyIssue object, in this way, the array will properly store the new MyIssue object:
For i = 2 To intLastRow
Dim MyIssue As New Issue
MyIssue.IssueName=IssuesSheet.Cells(i,1)
Set IssuesArray(i - 2) = MyIssue
ReDim Preserve IssuesArray(i - 1)
Set MyIssue = Nothing
Next i
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem creating non-persistent Child Objects
I have the need to create a non persistable child object in the
jdoPreStore of a parent object. I then perform some tests on the parent
to determine if the child object needs to be persisted or not. If I leave
the child non persistent it still writes to the database.
I was performing the follwoing piece of code
Class Parent {
// The relationship is a 0 to many
public Child createChild() {
Child child = .....//create non persistent object
child.setParent(this);
getChild().add(child);
It appears that if I remove the getChild().add(child). It does not
persist (as desired).
Is this correct behaviour?? I dont think that it should be, but if it is
then I have a further problem.
If that child object inherits from another object and you remove the
getChild().add(child) kodo outputs an invalid object to the database. It
doesnt insert a row to the child table. But it inserts a row to the
childs inherited object table. This is now an invalid object and will
fail upon loading.
Any help on this would be appreciated.
Thanks
Luke.JDO has something called persistence by reachability. This means that
objects do not have to explicitly be marked as to be persistent as JDO
will traverse the object graph to ensure that all nodes are persistent.
I think you are seeing this behavior combined with another side
behavior: Kodo requires that both sides of a relation be set.
Basically, keep your objects in synch (set both sides of the relation).
And if you want to hold onto a reference to non-persistent object
before you decide what to do with it, add a transient field or a field
marked "persistence-modifier="none"" in your metadata and then process
those transient fields in jdoPreStore ().
i.e.
if (//businessLogic is true)
persistentField = transientField;
Luke wrote:
I have the need to create a non persistable child object in the
jdoPreStore of a parent object. I then perform some tests on the parent
to determine if the child object needs to be persisted or not. If I leave
the child non persistent it still writes to the database.
I was performing the follwoing piece of code
Class Parent {
// The relationship is a 0 to many
public Child createChild() {
Child child = .....//create non persistent object
child.setParent(this);
getChild().add(child);
It appears that if I remove the getChild().add(child). It does not
persist (as desired).
Is this correct behaviour?? I dont think that it should be, but if it is
then I have a further problem.
If that child object inherits from another object and you remove the
getChild().add(child) kodo outputs an invalid object to the database. It
doesnt insert a row to the child table. But it inserts a row to the
childs inherited object table. This is now an invalid object and will
fail upon loading.
Any help on this would be appreciated.
Thanks
Luke.
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
Problem of create an Image object ?
Dear all :
the following code does not work when i use it in the application rather than in the applet :
Image img = createImage(new MemoryImageSource(org_width,org_height,palette,0,org_width));
where org_width , org_height is an int , while palette is an int[] that contain the pixels data in an application .
So i then tried to create the ImageProducer object :
ImageProducer ip = new MemoryImageSource(org_width,org_height,palette,0,org_width);
But how can i create an Image object using the ImageProducer in an application ? Or any ways to create an Image object using the int [] pixel data in an application ?Hi
I don't know if this is what your looking for, but I had the same problem, and it helped me, so why not try looking at it
http://forum.java.sun.com/thread.jsp?forum=31&thread=167305
Aagaard -
Anybody who wants to create a small and simple Script for me?
Hi,
I am kind of new to Mac and totally AppleScript illiterate, but maybe there is a kind soul amongst all of you that can create an "easy" script for me?
Well, here it goes:
Every time I boot up my iMac, two things happen, the first is that I programed the "System Preferences" window to open automatically and display the "Energy Saver" section on the "Sleep" sub-section, so far so good and the second thing is that no matter what I have tried to avoid it, the "Customize" window for a program named "Butler" opens also.
Now for the request:
I would like the "System Preference window which displays the Energy Saver section" to change from "Sleep" to "Options" and while being there(in options), to tick(select) AND UN-tick(Un-select) immediately after the "Automatically reduce the brightness of the display before display sleep" Option.
After doing all of this, the window should be closed.
Now, is it possible to create a Script that performs all of the above and besides closes the "Butler" window afterwards?
I know I am asking too much, but I know too that maybe there is someone with a heart of gold and the sufficient knowledge to help me.
Thanks a lot
Enrique Diazruanova... Every time I boot up my iMac, two things happen, the first is that I programed the "System Preferences" window to open automatically and display the "Energy Saver" section on the "Sleep" sub-section, so far so good and the second thing is that no matter what I have tried to avoid it, the "Customize" window for a program named "Butler" opens also ...
From your initial post, it appears that you have the Butler application running and have used it to access one of the Energy Saver opptions already. I don't have that particular application or a laptop to test, but if you've gotten it to access one option it should be able to access another one. -
Problem in creating No. Range Object
HI All,
I have one ztable ZDESIGN having fields
NFDESIGN
DEPT
MACH_TYPE
MATNR
CODE
CUST_NM
MACH_NO
MAKTX
NETWORK_NO
QTY
MOD_CODE
STATUS
DVER
IMPL
PART_ST
RELBY
RELDT
i want to store the number in code field on save. but i want to add many records at one time.
while creating number range object(SNRO) , foll error is coming
Table ZDESIGN may have only the no.range el.field and the subobject as a key
how create number range object.
ThanksHi Kushi,
Number ranges are not meant for initialization.
you need to use subobjects which allows you to create number range values for example based on the month.
you need not to increase the number every time.
the FM gives you increased number every time.
as i said earlier create entries in SCARR table. carrid values like 01 02 03 04 -- 10 11 12 ETC.
12 sub objects for 12 months.
then go to SNRO tcode and create the values for each month.
in the program
data date type sy-datum.
month(2) type c.
month = sy-datum+3(2) will give you the current month.
pass this to the FM NUMBER_GET_NEXT
along with other parameters.
hope this is clear to you.
regards
Ramchander Rao.K -
ECATT problem in creating test script
Hello Everybody,
when i am creating test script in ECATT
i am getting this type of error " no script text exit " .
i didn't understand this error .
if anybody hv knowledge abt this then plz suggest me
also give me some documentation related ECATT with print-screen
ASPHi sandeep,
You can refer the following link. Here, you can get more knowledge about eCATT.
http://help.sap.com/saphelp_nw04/helpdata/en/10/f3383fe58d5900e10000000a114084/frameset.htm
Do reward point if it is useful...
Regards,
Gopi -
Error when creating a ReportDocument object in ver 11.5.3300.0
When I try to create a new ReportDocument from .NET the application exists with no other information. There is an event log entry similar to this one:
Faulting application CrystalTest1.vshost.exe, version 9.0.21022.8, time stamp 0x47316898, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x04525da0, process id 0x10fc, application start time 0x01c9c2d6d624913d.
Investigating more I tracked down that the error happens when I try to create various COM objects from Crystal Reports (for example by running the following vbscript: Set o = CreateObject("CrystalClientDoc.ReportClientDocument")). The error is always an Access Violation in cachemanager.dll on address 3f8691b5:
3F869172 push ebx
3F869173 push esi
3F869174 push edi
3F869175 push 3F873464h
3F86917A call dword ptr ds:3F86C04Ch
3F869180 mov ebx,dword ptr esp+10h
3F869184 mov esi,eax
3F869186 mov eax,dword ptr esi
3F869188 mov ecx,esi
3F86918A mov dword ptr esi+4,ebx
3F86918D call dword ptr eax+8
3F869190 push esi
3F869191 lea edi,esi+14h
3F869194 push eax
3F869195 mov ecx,edi
3F869197 call 3F8690EE
3F86919C mov edi,dword ptr edi
3F86919E push edi
3F86919F push 0FFFFFFFCh
3F8691A1 push ebx
3F8691A2 call dword ptr ds:3F86C254h
3F8691A8 push dword ptr esp+1Ch
3F8691AC push dword ptr esp+1Ch
3F8691B0 push dword ptr esp+1Ch
3F8691B4 push ebx
3F8691B5 call edi
3F8691B7 pop edi
3F8691B8 pop esi
3F8691B9 pop ebx
3F8691BA ret 10h
The full stack trace is:
00455B60()
cachemanager.dll!3f8691b7()
http://Frames below may be incorrect and/or missing, no symbols loaded for cachemanager.dll
user32.dll!7735f8d2()
user32.dll!7735f794()
user32.dll!7735f73d()
user32.dll!77360817()
user32.dll!773539f7()
ntdll.dll!771f99ce()
user32.dll!77353cf7()
user32.dll!77353b94()
user32.dll!77353cc3()
atl71.dll!7c12c51d()
atl71.dll!7c12c633()
atl71.dll!7c121653()
user32.dll!77353d9a()
cachemanager.dll!3f86922f()
cachemanager.dll!3f86949e()
cachemanager.dll!3f869600()
cachemanager.dll!3f868aec()
msvcr71.dll!7c349565()
kernel32.dll!760e4911()
ntdll.dll!771de4b6()
ntdll.dll!771de489()
The address called at 3f8691b5 seem to always contain the following data in my case:
00455B51 00 00 add byte ptr eax,al
00455B53 00 00 add byte ptr eax,al
00455B55 00 00 add byte ptr eax,al
00455B57 00 DA add dl,bl
00455B59 44 inc esp
00455B5A 44 inc esp
00455B5B 3A 00 cmp al,byte ptr eax
00455B5D 00 00 add byte ptr eax,al
00455B5F 8B db 8bh
00455B60 C7 44 24 04 70 1F F4 01 mov dword ptr esp+4,1F41F70h
00455B68 E9 4E 39 41 3F jmp 3F8694BB
00455B6D 00 00 add byte ptr eax,al
00455B6F 00 DF add bh,bl
00455B71 44 inc esp
00455B72 44 inc esp
00455B73 3A 00 cmp al,byte ptr eax
00455B75 00 00 add byte ptr eax,al
00455B77 88 E0 mov al,ah
00455B79 66 45 inc bp
00455B7B 00 90 5B 45 00 B8 add byte ptr eax-47FFBAA5h,dl
The data and the address seem to be always the same in my case.
I am running 32-bit Vista Ultimate on a dual core Intel Centrino CPU. I have a Crystal Reports Deployment suite installed. The cachemanager.dll is 106,496 bytes and the file version is 11.5.8.998
Pelase help!Hi Ludek,
Thanks for looking into this.
> What version of .NET are you using?
I have all version of .NET installed but please note that .NET is not required to reproduce the problem. Please read again my initial post. The error can be reproduced with this single line of VB Script and there is no .NET involved:
Set o = CreateObject("CrystalClientDoc.ReportClientDocument")
The same can be reproduced by creating a new ReportDocument object from .NET in any type of .NET application.
> What CR Service Pack are you on?
I haven't installed any additional service packs. Please see the versions of the files I have on my system to figure out the service pack:
Crystaldecisions.Crystalreports.Engine.dll file version = 11.5.9708.998
cachemanager.dll file version = 11.5.8.998
clientdoc.dll file version = 11.5.8.998
The other computers where all works good have the same versions installed.
> What .NET Service Pack are you on?
All latest service packs and updates from Microsoft are installed
> What is the version of the CR assembly crystaldecisions.Crystalreports.engine.dll referenced in your application?
The assembly version is 11.5.3700.0, file version: 11.5.9708.998, file size: 393,216 bytes
> Is this a web or a win app?
The error happens in btoh web and windows forms applications as well as by simply trying to create the Crystal COM object directly from VB Script without involving any .NET. So the same error will occur if CR are used from VB6 for example.
> What OS are you on?
Again as per my original post I am using a 32-bit Vista Ultimate on a dual core Intel Centrino CPU
> What happens if you try to run an existing application?
I get a crash in unmanaged code in cachemanager.dll at 0x3f8691b7. All the details are in my original post (scroll up). When this happens in a .NET application, the process is terminated and Vista shows a message that the program has stoped working. There is an error in the event log (see my original post)
> There are different ways of instantiating a report. The sample app vbnet_win_simplepreview has all of these. Running the app with the different options may give us a clue... Was Crystal Reports installed before .NET or after?
Crystal Reports Basic for Visual Studio 2008 was installed with VS 2008. After that I installed Crystal Reports Server Deployment
> Have you tried to reinstall Crystal Reports?
Yes I did reinstall both Crystal Reports Basic for Visual Studio 2008 and Crystal Reports Server Deployment in reverse order (i.e. the server deployment first and then the basics)
Maybe you are looking for
-
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/926176]]</blockquote> Yesterday I tried ordering from walmart.com and selected and edited my order with ease. When I clicked on "Check out now and Place Order" I was re=cycl
-
Error while activating ODS Object (urgent)
Hi Gurus, I am getting an error while activating ods object. Error/warning in dict. activator, detailed log --> Detail. Row type /BIC/AGLCATODS00 is not active or does not exist. Table type /BIC/WAGLCATODS00 could not be activated. Table /BIC/AGLCAT
-
Help I can't get rid of the beach ball in system preferences!
Hi, I have an iMac OS X 10.8.3. Every time I go to system preferences to change my screen saver I immediatley get the beach ball and the enire thing freezes up. I can't do ANYTHING within system referneces and I can only get out by 'force quit'. We
-
I have just placed an order for a 2GHz MBP on Apple Store. I was aware of some problems regarding whine, heat etc. befofore placing the order, but I decided to go ahead anyway. Have I made a wise move? Should I still be concerned and should I cancel?
-
WD ABAP Application exists in SE80 but not in SICF
Hi, how could I make my WebDynpro ABAP applications available in the services list of SICF? My problem is, that the WD applications from the WebDynpro Component "FITV_FPM_START" (e.g. FITE_EXPENSES), which I need for my ESS in portal, appear in my AB