Incorrect number of subscript accessing external object property loadfile in open event
Hi
I used the following method to view pdf OLE Object Control -> Insert Control -> Then I select Adobe pdf reader. After that I wrote the following script in the open event of the form
ole_1.object.loadfile("H:\document\empdoc.pdf") . But when I run the application the following error is coming
"Incorrect number of Subscript Accessing external object property loadfile in open event" please can u help.
With Thanks
Pol
Hi Polanchan,
I've tried the following code in both PB 11.2 and 12.6 on Windows 7 and I do not see the error message you are seeing.
string ls_filename
ls_filename = "my.pdf"
ole_1.object.LoadFile(ls_filename)
What version of Acrobat Reader do you have on your machine? I have version 10.1.13.
Patricia Steinhardt
SAP Active Global Support
Similar Messages
-
When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors. But if I boot off an external drive and check the same SSD, no errors are reported.
This happens not just with the SSD in my Mac Mini, but with another SSD in my MacBook (both now running Mavericks). So far as I know, all of the kit I am using is in good order (despite the file corruption reports). So I am beginning to wonder if it could be due to a bug in Mavericks? Both SSD drives have been formatted to MacOS Extended (journaled) format. Should I have used a different format, I wonder?
Has anyone else encountered this issue?
Does anyone have a solution?
Or an explanation that might help my investigation of the issue?
Thanks guys,I understand that the Corsair Force 3 is not one of the SSD drives that are supported on Apple Macs.
I did try downloading and using Trim Enabler, but the error message came up both when it was off and when it was on.
I understand that not everyone thinks Trim Enabler is a good program, though there is a new version out now, so I may give it another try. -
Access abap object from external system
In R/3 have a Business Objects how can I access this object, for example Workflow BO, from java (external system) using XI????
My goal is create workflow´s in r/3 sending as input the workflow characteristics and then create the workflow in R/3 and sending as output the idworkflow was creatde.
thanks in advanced.Dear Murali,
Try this
a)Start transaction SXI_CACHE.
b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
If you still face issue try this .
Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
Regards
Agasthuri Doss -
Incorrect number of data lines in TST03
Hi,
one of our scheduled jobs is being cancelled with no errors but those found on SP12 - Consistency Check:
Incorrect number of data lines in TST03
Any idea of what might be happening?
SM21 reports the following:
Error 13 for write/read access to a file. File =
Error at DB commit, return code 016384
SAP Commit Failed
Stop Workproc20, PID 9915
Start Workproc20, 4 times since system startup. PID 10255
Invalid object name for TemSe object: " "
Failed to create log for job /SAPAPO/BACKGROUND_SCHEDULING
Calling program reports invalid handle for TemSe object (magic==X'NULL-ptr')
Delete session 001 after error 023
Thanks
AntonioHi Naveen...
yes, the problem was solved but it had nothing to do with SAP itself...
We have our APO system on two servers: the message server (and DB) runs on an iSeries and the application server and LiveCache server on a SuSE Linux machine. This last server has several iSeries shared (NFS) folders mounted and all TemSE objects are created on one of these folders.
Now the problem is we use a Vision solution for our HA. Whenever Vision is "touching" a file, Linux can't "see" the lock status due to NFS limitations. So, when it is trying to access the same file, a "permission denied" error message is issued to SAP, causing the job to abort and the TemSE object to become inconsistent.
One solution is to change from NFS to Samba.
Another one, much faster to implement, is stopping the Vision job during the night period, when those SAP jobs run. Since then, we didn't had any more problems.
Of course, this is simply a workaround and not a permanent solution!
Could this be your scenario as well?
I hope you can solve your problem...
Merry Christmas and a Happy 2009 for everyone!
Antonio -
How to access an object in a bean
I am looking for a way to access an object in a bean and make available to the page.
for example if i have a Bean called User and it contains an attribute Called Company as an attribute in User. Now I have User.getCompany(). and I can do this
<%User user = request.getUser();
Company company = user.getCompany();
request.setAttribute("comp", company); %>
how do I do this with useBean ?I am looking for a way to access an object in a bean
and make available to the page.
for example if i have a Bean called User and it
contains an attribute Called Company as an attribute
in User. Now I have User.getCompany(). and I can do
this
<%User user = request.getUser();
Company company = user.getCompany();
request.setAttribute("comp", company); %>
how do I do this with useBean ?You can access a JavaBean Object property of another JavaBean inside the JSP with the use of EL (Expression Language)
So if you are using JSP 2.0 or higher try this:
<jsp:useBean id="user" class="your.package.User" scope="request"/>
${user.company.id}I tested the above and it works.
Note that you need to set the Company object in the User object before trying to access it inside the JSP.
You can also set it in the JSP if you want, (before trying to access it), but its cleaner to do it in a Servlet.
Both User and Company must follow JavaBeans notation.
So in the above case the User object is something like this:
package your.package;
public class User{
private Customer customer;
public User(){}
public Customer getCustomer(){
return customer;
public void setCustomer(Customer customer){
this.customer = customer;
}And your Customer JavaBean is something like this:
package your.package;
public class Customer{
private int id;
public Customer(){}
public int getId(){
return this.id;
public void setId(int id){
this.id = id;
} -
403 Forbidden Error while trying to access External SharePoint site in SP 2010
I am trying to access external Claims based SP site and trying to download the file from a doc library.
I am receiving the 403 Forbidden error when executing the code.
I am using SP 2010 and Client Object Model.
PFB the code I am running.
using (SPCOM.ClientContext clientContext = ClaimClientContext.GetAuthenticatedContext(siteURL))
if (clientContext != null)
clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
clientContext.Load(clientContext.Web);
clientContext.ExecuteQuery();
SPCOM.Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
using (SPCOM.FileInformation fInfo = SPCOM.File.OpenBinaryDirect(clientContext, item["FileRef"].ToString()))
string fileName = (string)item["FileRef"];
fileName = string.Concat(SaveLocation, fileName.Substring(fileName.LastIndexOf("/") + 1));
//now save it
using (System.IO.FileStream outPutFile = System.IO.File.OpenWrite(fileName))
fInfo.Stream.CopyTo(outPutFile);
fInfo.Stream.Close();
I suspect the OpenBinaryDirect method ,
I am also using Cookie based authentication I guess PFB the code for that.
public static ClientContext GetAuthenticatedContext(string targetSiteUrl)
return (GetAuthenticatedContext(targetSiteUrl, 0, 0));
/// <summary>
/// This method will return a ClientContext object with the authentication cookie set.
/// The ClientContext should be disposed of as any other IDisposable
/// </summary>
/// <param name="targetSiteUrl"></param>
/// <returns></returns>
public static ClientContext GetAuthenticatedContext(string targetSiteUrl, int popUpWidth, int popUpHeight)
CookieCollection cookies = null;
cookies = ClaimClientContext.GetAuthenticatedCookies(targetSiteUrl, popUpWidth, popUpHeight);
if (cookies == null) return null;
ClientContext context = new ClientContext(targetSiteUrl);
try
context.ExecutingWebRequest += delegate(object sender, WebRequestEventArgs e)
e.WebRequestExecutor.WebRequest.CookieContainer = new CookieContainer();
foreach (Cookie cookie in cookies)
e.WebRequestExecutor.WebRequest.CookieContainer.Add(cookie);
catch
if (context != null) context.Dispose();
throw;
return context;
If anyone has an idea of why is this happening, pls help me.
Thanks,
K.V.N.PAVANHi,
Please try to add following line of code before you initialize cookie container.
e.WebRequestExecutor.WebRequest.UserAgent = “Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)”;
http://razirais.wordpress.com/2011/05/19/how-to-fix-sharepoint-online-403-forbidden-error-while-downloading-files-using-client-object-model/
Or change the following line of code
clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
to
clientContext.Credentials=new NetworkCredential("Username", "Passworkd", "Domain");
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
Accessing External Url using Http Utility | Error when using from Weblogic on Solaris
We are using Http Utility (http://jakarta.apache.org/commons/httpclient/) from
Apache for accessing external URL. A XML string is sent as POST parameter to the
URL and the response is also an XML string. The URL is accessed over HTTPS protocol.
I am setting the following parameters in the java class:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
// set the property
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
The java class written to access the external URL using Http Utility works perfectly
fine when it is run from either the command line (of Windows or Solaris using
main() ) or from weblogic on windows. The same java class throws an exception
when run from Solaris instance of Weblogic
2003-09-30 11:02:12,411 FATAL [com.bp.beyondbp.presentation.userregistration.action.LloydsValidator]
EXCEPTION: com.bp.beyondbp.presentation.userregistration.exception.LlyodsValidationFailedException,
MESSAGE: Write Channel Closed, possible SSL handshaking or trust failure;
CAUSE: (java.io.IOException: Write Channel Closed, possible SSL handshaking or
trust failure)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.postXMLtoLloyd(LloydsValidator.java:243)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.validateLlyodsForNewUser(LloydsValidator.java:95)
at com.bp.beyondbp.presentation.userregistration.action.PreferencesActionForm.validate(PreferencesActionForm.java:326)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1344)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:779)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2179)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2534)
I tried to debug the problem by looking at system properties on windows and solaris,
the difference that I found was
On Windows
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol
On Solaris
[exec] tModelInstanceInfo_description : weblogic.utils|weblogic.tils|weblogic.net|weblogic.management
After this I changed the startWLS.sh on Solaris and set
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol in java options.
On looking the system properties again, the output was
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol|weblogic.utils|weblogic.utils|weblogic.net|weblogic.management
But still the error is same. Can somebody help me out here as to what is going
wrong? Please find the java class attached for reference, please have a look at
postXMLtoLloyd() method in the class file..
[LloydsValidator.java]We are using Http Utility (http://jakarta.apache.org/commons/httpclient/) from
Apache for accessing external URL. A XML string is sent as POST parameter to the
URL and the response is also an XML string. The URL is accessed over HTTPS protocol.
I am setting the following parameters in the java class:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
// set the property
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
The java class written to access the external URL using Http Utility works perfectly
fine when it is run from either the command line (of Windows or Solaris using
main() ) or from weblogic on windows. The same java class throws an exception
when run from Solaris instance of Weblogic
2003-09-30 11:02:12,411 FATAL [com.bp.beyondbp.presentation.userregistration.action.LloydsValidator]
EXCEPTION: com.bp.beyondbp.presentation.userregistration.exception.LlyodsValidationFailedException,
MESSAGE: Write Channel Closed, possible SSL handshaking or trust failure;
CAUSE: (java.io.IOException: Write Channel Closed, possible SSL handshaking or
trust failure)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.postXMLtoLloyd(LloydsValidator.java:243)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.validateLlyodsForNewUser(LloydsValidator.java:95)
at com.bp.beyondbp.presentation.userregistration.action.PreferencesActionForm.validate(PreferencesActionForm.java:326)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1344)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:779)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2179)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2534)
I tried to debug the problem by looking at system properties on windows and solaris,
the difference that I found was
On Windows
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol
On Solaris
[exec] tModelInstanceInfo_description : weblogic.utils|weblogic.tils|weblogic.net|weblogic.management
After this I changed the startWLS.sh on Solaris and set
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol in java options.
On looking the system properties again, the output was
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol|weblogic.utils|weblogic.utils|weblogic.net|weblogic.management
But still the error is same. Can somebody help me out here as to what is going
wrong? Please find the java class attached for reference, please have a look at
postXMLtoLloyd() method in the class file..
[LloydsValidator.java] -
Grey screen and "incorrect number of thread records"
I think I am in trouble. My eMac will not boot and gets stuck on the great screen with the Apple logo and the spinning windmill. I have followed the instructions in the Apple help article up to but not including "archive and install". I tried the advanced secure boot and the messages I got over and over were "HFSSWAPHFSPlusBTIternalmode: catalog record #30 keylength=34 expected=144 node=15278 File ID=4 volume= Macintosh HD device=/dev/disk 0s 10"
And
"Jan31 12:00:35 Launched: /System /Library/CoreServices/Loginwindow.app/Contents/MacOS/Loginwindow Port/dev/console exited abnormally: Trace/ BPT trap"
And
Jan31 12:02:13 Launched: Getty repeating too quickly on port/ dev/ console, sleeping"
I rest the PRAM and NVRAm as instructed.
I booted from the OSX 10.4 install disk and ran the verify disk and repair disk sequences several times. It did repair a number of things but it kept coming back to "
Message was edited by: Mont Rigaud Stud
Itkept coming back to "incorrect number of thread records". Even after running repair disk again several times it came back to the same thing and said
"the volume Macintosh HD could not br repaired after 3 attempts
ERROR: the underlying task reported failure On exit
1HFS volume checked
1 vOlume could not be repaired because of an error
Repair attempted on 1 volume
1 volume could not be repaired"
What should I do? I am NOT BACKED UP! How do I back up now? Can I usean external Hard drive? I really do not want to lose my photOs, email and business files.
I am typing my question on my iPhone, so that accounts for the poor capitalization.
Thanks
DougWill it boot in Safe Mode? See
What is Safe Boot, Safe Mode? (Mac OS X)
http://docs.info.apple.com/article.html?artnum=107392
Takes a while to run, but it usually "fixes" problems.
Resolve startup issues and perform disk maintenance with Disk Utility and fsck
http://docs.info.apple.com/article.html?artnum=106214
Cheers, Tom -
DBMS_SQL.PARSE to access remote objects
I am using following code in a procedure ...
DBMS_SQL.PARSE (cur, vSQL, DBMS_SQL.NATIVE);
where variable vSQL can contain a remote object.
A DB link (with Fixed User option) exists to access that database.
The DB link is working. The remote object is accessible outside this procedure.
When this command is executed, I get ...
ORA-24374: define not done before fetch or execute and fetch
... error.
Can DBMS_SQL handle remote objects?
Oracle version is 9.2.0.5.0
Any help would be greatly appreciated.Here is the code I am running ...
CREATE OR REPLACE PROCEDURE p_sql_valid_or_not_cnt
(vSQL IN VARCHAR2, vValid OUT NUMBER, vMessage OUT VARCHAR2, vCount OUT NUMBER) IS
-- Purpose: Returns 0 in vvalid if SQL is valid, else returns -1. Returns row count when SQL is valid.
-- Parameters:
-- IN : vSQL
-- OUT : vValid
-- OUT : vMessage
-- OUT : vCount
cur INTEGER := DBMS_SQL.OPEN_CURSOR;
fdbk INTEGER;
BEGIN
DBMS_SQL.PARSE (cur, vSQL, DBMS_SQL.NATIVE);
fdbk := DBMS_SQL.EXECUTE (cur);
vCount := 0;
LOOP /* Fetch next row. Exit when done. */
EXIT WHEN DBMS_SQL.FETCH_ROWS (cur) = 0;
vCount := vCount + 1;
END LOOP;
vValid := 0;
vMessage := 'No errors';
DBMS_SQL.CLOSE_CURSOR (cur);
END p_sql_valid_or_not_cnt;
To run ...
set serveroutput on
declare
i number;
m varchar2(500);
c number;
begin
p_sql_valid_or_not_cnt('SELECT * FROM TAB where 1 <> 1',i,m,c);
DBMS_OUTPUT.PUT_LINE(i);
DBMS_OUTPUT.PUT_LINE(m);
DBMS_OUTPUT.PUT_LINE(c);
end;
This runs fine.
But when I try to access an object from a remote server using DB link. I get the error ...
set serveroutput on
declare
i number;
m varchar2(500);
c number;
begin
p_sql_valid_or_not_cnt('SELECT * FROM REMOTE_SCHEMA.T_REMOTE@REMOTE_SERVER where 1 <> 1',i,m,c);
DBMS_OUTPUT.PUT_LINE(i);
DBMS_OUTPUT.PUT_LINE(m);
DBMS_OUTPUT.PUT_LINE(c);
end;
declare
ERROR at line 1:
ORA-24374: define not done before fetch or execute and fetch
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1125
ORA-06512: at "SYS.DBMS_SQL", line 328
ORA-06512: at "IMEPAS.P_SQL_VALID_OR_NOT_CNT", line 16
ORA-06512: at line 6
I can run the SQL that I am passing as vSQL directly in SQLPLUS ...
This code in itself works.
SELECT * FROM
REMOTE_SCHEMA.T_REMOTE@REMOTE_SERVER
where 1 <> 1;
The user I am using to logon to my server is also there on REMOTE_SERVER.
The DB LINK is created by CONNECTED USER option. The user on REMOTE_SERVER has explict select access on the table (not via role) I am accessing.
Any help would be much appreciated. -
Cannot access external data , Failed to get the document information.
Hi All,
In my dashboard there are live office connections which has optional prompts defined in SAP BI. I have bound the cells to these prompts in live office object properties.
There are no errors while refreshing the LO connections from excel sheet.
But when i run that dashboard and give BLANK value for that prompt then it throws the error :
Cannot access external data , Failed to get the document information. (LO 26315).
Reply highly appreciated.
Thanks & Regards,
DJHi Hardik,
I am building a similar solution as yours connecting webi reports to Bex queries and reading the webi data through live office into the dashboards. I am using almost similar versions as yours - BW 7.1 SP5, BO 4.1 SP4, Dashboards and Live Office SP4 versions. I am facing issues setting up the live office connections itself. I create the Live office connections within an excel and when I try to import this excel spreadsheet into my dashboard designer, it runs forever and crashes.
Could you please list out the steps you performed to get the Dashboard to preview live office data? Do you have OLAP connections for BW cubes and created WebI reports using these connections or You created a Universe on top of the Bex Queries?
It would be great if you could share the steps performed.
With respect to your issue, check if the report engine service is running. Do you have any error message details apart from this error?
Thanks.
Regards,
Rohini. -
Simple question (Trace issue) Access of undefined property
Having a strange issue with my new Flash Builder and the trace command. Anyone seen this before and why?
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
var myString:String = "Help";
trace(myString);
//Error 1120: Access of undefined property myString.
]]>
</fx:Script>
</s:Application>your trace command isn't in a function
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="doThis()">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
private var myString:String = "Help";
private function doThis():void
trace(myString);
]]>
</fx:Script>
</s:Application> -
Help on accessing Oracle object !
Hi,
Looking for a help in accessing oracle object using JDBC. I've the following object defined in Oracle.
TYPE ty_ctg_prod AS OBJECT(
PROD VARCHAR2(40 ),
NODE_ID NUMBER ,
CTG_ID NUMBER );
TYPE ctg_PROD_ary AS VARRAY (50) OF ty_ctg_PROD;
The procedure out parameter is returning :
x_ctg_prod_ary OUT ctg_prod_ary
Do I need to use a OracleTypes.STRUCT API Or oracle.sql.ARRAY to access data in this scenario.
Any pointers will be highly appreciated.
Thanks,
Shamik// Get the object1 value from the second column col_object1
oracle.sql.STRUCT object1 = (oracle.sql.STRUCT)collabstatement.getObject(2);
// Get the object1 values from each row
Object[] object1Values = object1.getAttributes();
// Get the first value of object1, which is a string
String str = (String)object1Values[0];
// Get the second value of object1, which is of the type object2
oracle.sql.STRUCT object2 = (oracle.sql.STRUCT)object1Values[1];
// Get the values of object2
Object object2Values[] = object2.getAttributes();
str = (String)object2Values[0];
BigDecimal num = (BigDecimal)object2Values[1];you can also use :oracle.sql.Datum[] attrs = oracleSTRUCT.getOracleAttributes();more info :
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/objects/ObjectTypes.html -
Error 80043ac1 - An external object raised an error. No Error Description
Hello,
After installing Crystal Reports runtime XI R2, I've been having the error:
Crystal Reports ActiveX Designer error 80043ac1 -
An external object raised an error. No Error Description.
This same runtime package have already been successfully installed in other server (Windows 2003 as well).
I have already tried to give permission to IUSR user (full control) in Windows temp folder.
Does anybody have any information on this issue?
Thanks in advance,
BrunoThank a lot for replying Don.
I have tried to use Process Monitor, and found out that I had to give permission for IUSR to the root drive.
I gave some permissions, and the error message changed:
"Create object failed
An error occured while creating "oCrystal". error '8007007e'"
oCrystal is an application variable that I created in global.asa it contains:
<object runat="server" scope="application" id="oCrystal" progid="CrystalRuntime.Application.11"></object>
I run Process Manager again, and found another process with "access denied" for user IWAM, so I gave again permissions for it and finally worked.
Thanks!
Edited by: BrunoDuraes on Sep 2, 2009 4:56 PM -
Every once in a while (500 iterations or more) I'm getting an exception in the static method below stating "calling thread cannot access this object because a different thread owns it". Thing is, this method references no external objects
and performs no special threading operations. All of the WPF objects are created and consumed in this method. The only aspect that is multi-threaded is that this method can get called concurrently on different threads in the same app domain (the
project is a Windows service). That said the fileToDecollate parameter will be unique every time, so there is no "collision" as far as that goes.
Any ideas? This is maddening and in theory it should not be possible to blow this error.
Exception Information------------------------------------------
System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.DependencyObject.GetLocalValueEnumerator()
at System.Windows.Xps.Serialization.SerializersCacheManager.GetTypeDependencyPropertiesCacheItem(Object serializableObject)
at System.Windows.Xps.Serialization.SerializersCacheManager.GetSerializableDependencyProperties(Object serializableObject)
at System.Windows.Xps.Serialization.SerializablePropertyCollection.InitializeSerializableDependencyProperties()
at System.Windows.Xps.Serialization.SerializablePropertyCollection.Initialize(PackageSerializationManager serializationManager, Object targetObject)
at System.Windows.Xps.Serialization.SerializableObjectContext.CreateContext(PackageSerializationManager serializationManager, Object serializableObject, SerializableObjectContext serializableObjectParentContext, SerializablePropertyContext serializablePropertyContext)
at System.Windows.Xps.Serialization.ReachSerializer.DiscoverObjectData(Object serializedObject, SerializablePropertyContext serializedProperty)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.FixedDocumentSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.ReachDocumentReferenceSerializer.PersistObjectData(SerializableObjectContext serializableObjectContext)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.ReachDocumentReferenceCollectionSerializer.SerializeDocumentReference(Object documentReference)
at System.Windows.Xps.Serialization.ReachDocumentReferenceCollectionSerializer.SerializeDocumentReferences(SerializableObjectContext serializableObjectContext)
at System.Windows.Xps.Serialization.ReachDocumentReferenceCollectionSerializer.PersistObjectData(SerializableObjectContext serializableObjectContext)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeObject(SerializablePropertyContext serializedProperty)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeProperty(SerializablePropertyContext serializablePropertyContext)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeProperties(SerializableObjectContext serializableObjectContext)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeObjectCore(SerializableObjectContext serializableObjectContext)
at System.Windows.Xps.Serialization.DocumentSequenceSerializer.PersistObjectData(SerializableObjectContext serializableObjectContext)
at System.Windows.Xps.Serialization.ReachSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.XpsSerializationManager.SaveAsXaml(Object serializedObject)
at System.Windows.Xps.XpsDocumentWriter.SaveAsXaml(Object serializedObject, Boolean isSync)
at System.Windows.Xps.XpsDocumentWriter.Write(FixedDocumentSequence fixedDocumentSequence)
at MyCompany.Utilities.Document.XPSDocument.Decollate(String fileToDecollate, String outputPath) in E:\Projects\MyCompany\Utilities\MyCompany.Utilities.Document\XPSDocument.cs:line 358
at MyCompany.Services.ERM.XPSCapture.Decollate(String fileToDecollate, String outputPath) in E:\Projects\MyCompany\Services\MyCompany.Services.ERM\XPSCapture.cs:line 210
at MyCompany.Services.ERM.ERMFileProcessor.decollateERMFile(String tempERMFile, IFileCapture fileCapture) in E:\Projects\MyCompany\Services\MyCompany.Services.ERM\ERMFileProcessor.cs:line 1257
at MyCompany.Services.ERM.ERMFileProcessor.process() in E:\Projects\doc-link\MyCompany\Services\Altec.Services.ERM\ERMFileProcessor.cs:line 354
at MyCompany.Services.ERM.ERMFileProcessor.Process(ProcessingCompleteCallback callback) in E:\Projects\MyCompany\Services\MyCompany.Services.ERM\ERMFileProcessor.cs:line 90
Additonal Info------------------------------------------
ExceptionManager.MachineName: BTP-30-DEV
ExceptionManager.WindowsIdentity: XXXXX-WA\Bradley
ExceptionManager.FullName: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
ExceptionManager.AppDomainName: MyCompany.XXXXXXServiceHost.exe
ExceptionManager.ProcessInfo: PID=7392, ThreadID=7816, Managed ThreadID=36, Name=MyCompany.XXXXXXServiceHost, Uptime=00:02:12.2548416
ExceptionManager.ProcessResourceUsage: Working Set=265188 KB, Peak Working Set=525940 KB, Virtual Memory Size=530264 KB, Peak VM Size=809832 KB, Handles=631
ExceptionManager.SystemMemory: Load=81%, Total Physical=3168748 KB, Free Physical=586736 KB, Total PageFile=5213700
publicstaticList<string>
Decollate(stringfileToDecollate,
stringoutputPath)
// iterate fixed documents and fixed pages, create new XPS files
List<string>
xpsDecFiles = newList<string>();
using(XpsDocumentxpsSourceDocument
= newXpsDocument(fileToDecollate,
FileAccess.Read))
FixedDocumentSequencefixedDocSeq
= xpsSourceDocument.GetFixedDocumentSequence();
intpageNumber = 0;
foreach(DocumentReferencedocReference
infixedDocSeq.References)
FixedDocumentsourceFixedDoc
= docReference.GetDocument(false);
foreach(PageContentpage
insourceFixedDoc.Pages)
pageNumber++;
// prepare new fixed doc sequence
FixedDocumentSequencenewFixedDocSeq
= new
FixedDocumentSequence();
DocumentReferencenewDocReference
= new
DocumentReference();
FixedDocumentnewFdoc
= new
FixedDocument();
newDocReference.SetDocument(newFdoc);
// copy the page
PageContentnewPage =
new
PageContent();
newPage.Source = page.Source;
(newPage asIUriContext).BaseUri
= ((IUriContext)page).BaseUri;
// tickle this method... presumably just to load the FixedPage data.
FixedPagenewFixedPage
= newPage.GetPageRoot(false);
// Add page to fixed doc sequence.
newFdoc.Pages.Add(newPage);
// Always do this last: add document reference to fixed doc sequence.
newFixedDocSeq.References.Add(newDocReference);
// create and save new XPS doc
stringdecFileName =
Path.Combine(outputPath,
Path.GetFileNameWithoutExtension(fileToDecollate)
+ "~"+ (pageNumber).ToString()
+ FileExtensions.XPS);
if(File.Exists(decFileName))
File.Delete(decFileName);
XpsDocumentnewXPSDoc
= new
XpsDocument(decFileName,
FileAccess.ReadWrite);
// testing. thread IDs should be the same.
//Debug.Assert(System.Windows.Threading.Dispatcher.CurrentDispatcher.Thread.ManagedThreadId == newFixedDocSeq.Dispatcher.Thread.ManagedThreadId);
XpsDocument.CreateXpsDocumentWriter(newXPSDoc).Write(newFixedDocSeq);
newXPSDoc.Close();
// add file to list
xpsDecFiles.Add(decFileName);
returnxpsDecFiles;I have opened a support case with Microsoft through my employer. I'm convinced there is some .NET framework code that is not thread safe. I did put together a test harness app that demonstrates the problem (within 30 seconds or so after
you start it) and I sent that to MS support. They're looking into it. Anyone else who is curious can download the sample project here:
https://skydrive.live.com/redir?resid=5CBB4B55BCCB2D67!443&authkey=!AGEnR3CKrXUU6E0
Bradley
Bradley P. -
Thru OEM get list of queries and their schemas that accessed my objects
Hi,
I have a list of objects on my schema and i need to track the list of sql queries by different users that accessed by object during this time period.
i haven't enabled any auditing yet.
is there any way i can get that list of queries and their schemas that accessed those particular objects during a particular time period through OEM.
Can someone guide me please.
Thanks in advance.
Philip.create a name property in your class and assign a name property to your instances (either in the contructor) and/or using getters/setters. (you'll need a getter anyway.)
Maybe you are looking for
-
Macbook pro 13 late 2011 turns on but no display and light
Hi i have got macbook pro 13" late 2011 which turns on and i can hear the chime but there is no display and ligh in the screen its completely blank. Anyone had this problem and how did u solve this ?
-
XML Namespace and schemalocation property?
In many xml examples i see many nameschemas which even dont use in xml like in below example we have defined nameschemas as xsi,aop and one default namespace. If we dont use them what the purpose of defining them.Did not attach the xml as its quite b
-
I have this pop out and asking for my certificate of proof of ID and without it I cannot access an airline website to complete redemption points. How do I switch this off??
-
Export Layers as Files - Please Help on Error Message
Hi, Not sure if I'm doing the right thing anyway, but I'm trying to export all the layers in one file as separate JPGs. Each layer has its own name and ideally, i would like to save each layer as its layer name. When I choose the script 'export layer
-
Event Booking - reminder email
Hi there, The event booking module has a "Follow up" email option, but how do I send an email reminder with information BEFORE the event? Thanks for your help. Monica