Our product has used OLI interface with IWebBrowser but crashes since OLE Zero Day Patch (Nov 12)
It crashes when we call the Navigate method (see below). This has worked for many years in all previous windows environmnets but is crashing on windows 7 since OLE Zero Day Patch (Nov 12).
(IDispatch(GetOleObject) as IWebBrowser2).Navigate(URL, EmptyParam, EmptyParam, EmptyParam, EmptyParam)
What can we do to rectify this problem.
Thanks
Jim Clark
jim@m&&&&.com.au
61 03 9&&& 0086
Hello Jim Clark,
Please temporarily uninstall the Update and check if this issue still exists.
For the methods not work and how to debug it, please consider seek help at the developer forum for more professional help.
Thank you for your understanding.
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support
Similar Messages
-
System Copy of our Production Server using orabrcopy method.
Hi
We are planning to do a System Copy of our Production Server using orabrcopy method.
But as the Production Server Java Version is below 1.4.1, Orabrcopy could not be executed.
As per the planned downtime of the Production Server, we have copied all the database offline. ( say 9th of August)
but we could not create the control , trace, init<sid>.ora files using ORABRCOPY.. during offline database copy.
Now the system is up and running.. We havent created the files yet.
I have 2 questions..
1. Is there any other method so that we can create the control , trace, and init<sid>.ora files.
2. If we create the control trace files now ( 13th of August ) can we use the offline backup that we took on (9th of August) to perform a System Copy..
Need your addvice..
Thanks and Regards
PagurasBasically, orabrcopy does (aside from other things) an
alter database backup controlfile to trace;
You can enter that manually (anytime) and use the resulting .trc file in saptrace directory as a base for control.sql, however, in this case you need to "know" what you're doing. ORABRCOPY is a "nice frontend" for this because it uses the same statement to create CONTROL.SQL, it just edits it appropriately which you will need to do manually.
Markus -
i did the add a computer function and it says that this computer is already associated with an apple id...if you use itunes match with your apple id etc for 90 days...please explain. is this going to screw my wifes account up?
If you both have seperate iTunes Store accounts then basically, yes, it is going "screw up" your wife's account.
iTunes Match is designed as a single-user service which is associated with one and only one iTunes Store account ID. If you have subscribed on your account and want to activate the service on another computer that is already signed in with an account the present account must be signed out and then iTunes signed into your account. This means the other computer will have complete access to your account and will only be able to make purchases on your account. iTM is not designed to be signed in and out at will. If she has apps purchased with her iTunes Store account they will not be able to be updated. -
Want to use credit card with firefox but do not see a lock with firefox 5 on linux using priceline
want to use credit card with firefox but do not see a lock with firefox 5 on linux using priceline
Type '''about:preferences#applications'''<enter> in the address bar.
Now follow the picture. -
I tried updating Itunes to the 10.7 version so I could use my iphone with itunes, but at the final installation a message apppears saying Itunes can't be downloaded because of a wrong network resource. Please help!!
Which particular .msi file does the message go on to say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)
-
Is there a way of using IE7 with Mountain Lion? There used to be this facility using Safari "Develop" with Lion, but this doesn't seem to work with ML
Thank you for this, and to Caleb.
I've tried using Caleb's approach (which is the same as I used with Lion), but the programme doesn't respond now that I have installed Mountain Lion.
My problem is that I do not want to use IE7 but that a programme I need regular access to will only allow IE7 and I've been told by the developers that it is too expensive to upgrade this programme to allow it to be used by other browsers.
So, my puzzle remains the same. I could access IE7 and use the programme using Caleb's solution with Lion. I can't do the same with Mountain Lion. I do (I think!) understand your point about the programme requiring IE7 specifically, but if it worked on Lion, why isn't it working on Mountain Lion? Or was I just lucky before?
I'll try mende1's approach, though I doubt I'm technical enough to virtualise anything!
Thanks again. Any further thoughts welcome. -
i'm using iphone 4s with ios6, but why can't make facetime over the cellular networks?thanx for the answer
Depends on your carrier and data plan.
With ATT in the US for example, you can FaceTime via ATT's cellular network if you have a shared data plan only. -
I have an iphone5 which is currently off ( network I use to have with sprint) but now I'm using wifi. All of my apps work fine except my safari (web). When I'm ready to search suggestions won't pop up and my screen will freeze and go blank. Even my bookmarks won't load. I don't know what the problem is can someone please help
I have an iphone5 which is currently off ( network I use to have with sprint) but now I'm using wifi. All of my apps work fine except my safari (web). When I'm ready to search suggestions won't pop up and my screen will freeze and go blank. Even my bookmarks won't load. I don't know what the problem is can someone please help
-
CR Server 2008 / Using openDocument interface with a no-logon wrapper
Hi, all!
I had a problem with the openDocument.jsp interface and a no-logon wrapper which took me quite a while to figure out. I'm now posting these results here in the hopes that someone else will find them useful. Of course, if anyone has input how to improve the solution, it's also welcome!
The system on which this was developed and tested was a vanilla Crystal Reports Server 2008 installation on Tomcat / MySQL / Windows Server 2003.
The problem was that calls to openDocument interface left sessions open and this quickly led to the situation where all the concurrent access licenses (CALs) were used. It seemed nondeterministic when a session was released; it could have been minutes or hours.
The solution: write a HTTP session timeout listener which logoffs the CRS-backend session. (The code below has still some dubug output enabled.)
package fi.niscayah.util;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import javax.servlet.http.*;
import java.util.Date;
import java.util.Enumeration;
import java.text.SimpleDateFormat;
public class KillSession implements HttpSessionListener
public void sessionCreated(HttpSessionEvent event)
debug("sessionCreated()", event);
public void sessionDestroyed(HttpSessionEvent event)
HttpSession session = event.getSession();
try {
java.util.Enumeration name = session.getAttributeNames();
while (name.hasMoreElements()) {
String attributeName = (String)name.nextElement();
Object attribute = session.getAttribute(attributeName);
if((attribute != null) && (attribute instanceof IEnterpriseSession)) {
debug(" attribute : " + attributeName);
debug(" type : " + attribute.getClass().getName());
IEnterpriseSession ies = (IEnterpriseSession)attribute;
ies.logoff();
debug("sessionDestroyed()", event);
} catch (Exception ex) {
debug("sessionDestroyed() exception");
private void debug(String msg)
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
String timestamp = sdf.format(new Date());
System.err.println("[KillSession] [" + timestamp + "] " + msg);
private void debug(String msg, HttpSessionEvent event)
HttpSession session = event.getSession();
String id = session.getId();
String context = session.getServletContext().getServletContextName();
debug("[" + context + "] [" + id + "] " + msg);
(If you want to test the above code, create a .jar package out of it and put it in webapps/OpenDocument/WEB-INF/lib.)
Next we need to register our listener. I noticed that the openDocument-webapp's web.xml-file already contained a listener definition that claimed to expire enterprise sessions on HTTP timeout. I never saw such results; I tested it by registering my own listener, which only outputted debug information, and then when ever a session timeout happened, I checked the amount of licenses in use via the CMC - it never dropped predictably.
So, comment out the SessionCleanupListener and add KillSession.
<!-- SK: Added own listener. -->
<listener>
<listener-class>fi.niscayah.util.KillSession</listener-class>
</listener>
<!-- SK: Commented out. -->
<!-- SessionCleanupListener is used to expire the EnterpriseSession when the web session is timeout -->
<!-- <listener>
<listener-class>com.businessobjects.sdk.ceutils.SessionCleanupListener</listener-class>
</listener> -->
After the above, change the HTTP session timeout to something more suitable. If you're creating really big reports, one minute might be too little. Also notice, that the value is an approximation. The timeout event might happen just as one minute has passed, but usually it takes more.
<session-config>
<session-timeout>1</session-timeout>
</session-config>
Now we're good to go and test the openDocument interface. The result should be that every time a HTTP session timeouts, an enterprise session (which was initialized via the openDocument call) is logged off.
Next the no-logon wrapper.
I found a lot of examples for logging in automatically, but every one of them exhibited a strange behavior (at least when used in conjunction with the openDocument interface) where the session count was increased by two. A lot of head scratching later, the solution below was devised.
<%@ page language="java"
import = "com.crystaldecisions.sdk.framework.CrystalEnterprise,
com.crystaldecisions.sdk.framework.IEnterpriseSession,
com.crystaldecisions.sdk.framework.ISessionMgr,
com.crystaldecisions.sdk.exception.SDKException"
%>
<%
ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
IEnterpriseSession entSession = sessionManager.logon("Guest", "", "<server>:6400", "secEnterprise");
String entToken = entSession.getLogonTokenMgr().createWCAToken("", 1, 1);
// So that this can be logged off when the session timeouts
HttpSession httpSession = request.getSession();
httpSession.setAttribute("nologon_SESSION", entSession);
String query = request.getQueryString();
String redirectURL = "http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?" +
query + "&token=" + entToken;
response.sendRedirect(redirectURL);
%>
You can put the above .jsp-file where you like, but I dropped it in webapps/openDocument, since it's no use by itself.
The use of nologon.jsp is simple: use it as you would openDocument.jsp.
And there you have it. A word of warning though, if you're not sure what you're doing, I wouldn't recommend trying these things out. And you certainly shouldn't deploy these on a production environment.
As said before, any input is welcome!I'll comment on the BusinessObjects Enterprise logon tokens that you may generate via the Enterprise SDK.
DefaultToken - this is used for failover - i.e., if the original EnterpriseSession object is destroyed without having logoff() method invoked, the failover can be used to re-connect to Enterprise without redo-ing authentication. This token is immediately invalidated with EnterpriseSession.logoff().
CreateLogonToken - token represents an EnterpriseSession independent of the original EnterpriseSession that generates it. So you should generated the CreateLogonToken and log off the EnterpriseSession before using the token, or you'll have two licenses being used.
CreateWCAToken - the Web Component Adapter token - this token is tied to the EnterpriseSession used to create it. If this EnterpriseSession is invalidated, the WCA token can no longer be used. Since this is essentially re-use of the original EnterpriseSession, license count is not increased with its use.
So in your application, you're generating the WCA Token, and using the Session Listener to explicitly log off the originating EnterpriseSession. The SessionCleanupListener is for cleaning up sessions created within InfoView on Web Application Server Session timeout.
Sincerely,
Ted Ueda -
I'm using Duet 2 Audio Interface with Garageband 09, when I connect my acoustic guitar to the combi jack I get a buzzing/humming sound. How can I eliminate this?
do you have any thing plugged into wall power? Audio interface, computer, speakers, amp for the guitar? if so are they all plugged into the same power strip? if so, have you tried another outlet?
Altertively have you tried a diffrent port on the combo jack? Have you tried a diffrent guitar cable? Have you tried a diffrent guitar or audio input device like a mic? Is the device directly plugged into the combo jack, or is it being routed throughs some thing? -
I have Comcast as my IP. My wife also uses my account with her own email address. I have my address book and she has hers. My problem is on her ipad, my address book comes up with her account. Any ideas on how I can get her address book on her account?
It sounds like you're both syncing with the same computer log-in so the sync mechanism thinks that you're one person. You need to set up separate computer log-ins so that you have separate iTunes operation.
-
Does E-Sourcing/CLM has standard PI interface with MDM?
Dear Experts,
Does E-sourcing in its latest version support standard PI interface with MDM?
Thanks and regards,
RanjanHi
E SOurcing 7.0 doesn't have a standard PI interface with MDM.
Regards
Mudit Saini -
I'm trying to use kerberos V5 with ActiveDirectory but get an error
I'm trying to use kerberos V5 with ActiveDirectory im using simple code from previuos posts but
when i try with correct username/password i get :
Authentication attempt failedjavax.security.auth.login.LoginException: Message stream modified (41)
when i try incorrect username/pass i get :
Pre-authentication information was invalid (24)
Debug info is :
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
Kerberos username [naiden]: naiden
Kerberos password for naiden: naiden
[Krb5LoginModule] user entered username: naiden
Acquire TGT using AS Exchange
[Krb5LoginModule] authentication failed
Pre-authentication information was invalid (24)
Authentication attempt failedjavax.security.auth.login.LoginException: Java code is :
import javax.naming.*;
import javax.naming.directory.*;
import javax.security.auth.login.*;
import javax.security.auth.Subject;
import com.sun.security.auth.callback.TextCallbackHandler;
import java.util.Hashtable;
* Demonstrates how to create an initial context to an LDAP server
* using "GSSAPI" SASL authentication (Kerberos v5).
* Requires J2SE 1.4, or JNDI 1.2 with ldapbp.jar, JAAS, JCE, an RFC 2853
* compliant implementation of J-GSS and a Kerberos v5 implementation.
* Jaas.conf
* racfldap.GssExample {com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=true; };
* 'qop' is a comma separated list of tokens, each of which is one of
* auth, auth-int, or auth-conf. If none is supplied, the default is 'auth'.
class KerberosExample {
public static void main(String[] args) {
java.util.Properties p = new java.util.Properties(System.getProperties());
p.setProperty("java.security.krb5.realm", "ISY");
p.setProperty("java.security.krb5.kdc", "192.168.0.101");
p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
System.setProperties(p);
// 1. Log in (to Kerberos)
LoginContext lc = null;
try {
lc = new LoginContext("ISY",
new TextCallbackHandler());
// Attempt authentication
lc.login();
} catch (LoginException le) {
System.err.println("Authentication attempt failed" + le);
System.exit(-1);
// 2. Perform JNDI work as logged in subject
Subject.doAs(lc.getSubject(), new LDAPAction(args));
// 3. Perform LDAP Action
* The application must supply a PrivilegedAction that is to be run
* inside a Subject.doAs() or Subject.doAsPrivileged().
class LDAPAction implements java.security.PrivilegedAction {
private String[] args;
private static String[] sAttrIDs;
private static String sUserAccount = new String("Administrator");
public LDAPAction(String[] origArgs) {
this.args = (String[])origArgs.clone();
public Object run() {
performLDAPOperation(args);
return null;
private static void performLDAPOperation(String[] args) {
// Set up environment for creating initial context
Hashtable env = new Hashtable(11);
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory");
// Must use fully qualified hostname
env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389/DC=isy,DC=local");
// Request the use of the "GSSAPI" SASL mechanism
// Authenticate by using already established Kerberos credentials
env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
env.put("javax.security.sasl.server.authentication", "true");
try {
/* Create initial context */
DirContext ctx = new InitialDirContext(env);
/* Get the attributes requested */
Attributes aAnswer =ctx.getAttributes( "CN="+ sUserAccount + ",CN=Users,DC=isy,DC=local");
NamingEnumeration enumUserInfo = aAnswer.getAll();
while(enumUserInfo.hasMoreElements()) {
System.out.println(enumUserInfo.nextElement().toString());
// Close the context when we're done
ctx.close();
} catch (NamingException e) {
e.printStackTrace();
}JAAS conf file is :
ISY {
com.sun.security.auth.module.Krb5LoginModule required
debug=true;
};krb5.ini file is :
# Kerberos 5 Configuration File
# All available options are specified in the Kerberos System Administrator's Guide. Very
# few are used here.
# Determines which Kerberos realm a machine should be in, given its domain name. This is
# especially important when obtaining AFS tokens - in afsdcell.ini in the Windows directory
# there should be an entry for your AFS cell name, followed by a list of IP addresses, and,
# after a # symbol, the name of the server corresponding to each IP address.
[libdefaults]
default_realm = ISY
[domain_realm]
.isy.local = ISY
isy.local = ISY
# Specifies all the server information for each realm.
#[realms]
ISY=
kdc = 192.168.0.101
admin_server = 192.168.0.101
default_domain = ISY
}Now it works
i will try to explain how i do this :
step 1 )
fallow this guide http://www.cit.cornell.edu/computer/system/win2000/kerberos/
and configure AD to use kerberos and to heve Kerberos REALM
step 2 ) try windows login to the new realm to be sure that it works ADD trusted realm if needed.
step 3 ) create jaas.conf file for example in c:\
it looks like this :
ISY {
com.sun.security.auth.module.Krb5LoginModule required
debug=true;
};step 4)
( dont forget to make mappings which are explained in step 1 ) go to Active Directory users make sure from View to check Advanced Features Right click on the user go to mappings in secound tab kerberos mapping add USERNAME@KERBEROSreaLm for example [email protected]
step 5)
copy+paste this code and HIT RUN :)
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;
import javax.naming.directory.SearchControls;
import javax.naming.directory.SearchResult;
import javax.security.auth.Subject;
import javax.security.auth.login.LoginContext;
import javax.security.auth.login.LoginException;
import com.sun.security.auth.callback.TextCallbackHandler;
public class Main {
public static void main(String[] args) {
java.util.Properties p = new java.util.Properties(System.getProperties());
p.setProperty("java.security.krb5.realm", "ISY.LOCAL");
p.setProperty("java.security.krb5.kdc", "192.168.0.101");
p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
System.setProperties(p);
// 1. Log in (to Kerberos)
LoginContext lc = null;
try {
lc = new LoginContext("ISY", new TextCallbackHandler());
// Attempt authentication
lc.login();
} catch (LoginException le) {
System.err.println("Authentication attempt failed" + le);
System.exit(-1);
// 2. Perform JNDI work as logged in subject
Subject.doAs(lc.getSubject(), new LDAPAction(args));
// 3. Perform LDAP Action
* The application must supply a PrivilegedAction that is to be run
* inside a Subject.doAs() or Subject.doAsPrivileged().
class LDAPAction implements java.security.PrivilegedAction {
private String[] args;
private static String[] sAttrIDs;
private static String sUserAccount = new String("Administrator");
public LDAPAction(String[] origArgs) {
this.args = origArgs.clone();
public Object run() {
performLDAPOperation(args);
return null;
private static void performLDAPOperation(String[] args) {
// Set up environment for creating initial context
Hashtable env = new Hashtable(11);
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory");
// Must use fully qualified hostname
env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389");
// Request the use of the "GSSAPI" SASL mechanism
// Authenticate by using already established Kerberos credentials
env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
// env.put("javax.security.sasl.server.authentication", "true");
try {
/* Create initial context */
DirContext ctx = new InitialDirContext(env);
/* Get the attributes requested */
//Create the search controls
SearchControls searchCtls = new SearchControls();
//Specify the attributes to return
String returnedAtts[]={"sn","givenName","mail"};
searchCtls.setReturningAttributes(returnedAtts);
//Specify the search scope
searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
//specify the LDAP search filter
String searchFilter = "(&(objectClass=user)(mail=*))";
//Specify the Base for the search
String searchBase = "DC=isy,DC=local";
//initialize counter to total the results
int totalResults = 0;
// Search for objects using the filter
NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
//Loop through the search results
while (answer.hasMoreElements()) {
SearchResult sr = (SearchResult)answer.next();
totalResults++;
System.out.println(">>>" + sr.getName());
// Print out some of the attributes, catch the exception if the attributes have no values
Attributes attrs = sr.getAttributes();
if (attrs != null) {
try {
System.out.println(" surname: " + attrs.get("sn").get());
System.out.println(" firstname: " + attrs.get("givenName").get());
System.out.println(" mail: " + attrs.get("mail").get());
catch (NullPointerException e) {
System.err.println("Error listing attributes: " + e);
System.out.println("RABOTIII");
System.out.println("Total results: " + totalResults);
ctx.close();
} catch (NamingException e) {
e.printStackTrace();
}It will ask for username and password
type for example : [email protected] for username
and password : TheSecretPassword
where ISY.LOCAL is the name of kerberos realm.
p.s. it is not good idea to use Administrator as login :)
Edited by: JOKe on Sep 14, 2007 2:23 PM -
Problems using an interface with Logic
I've just bought Logic for the first time and am trying to hear my guitar which is plugged into an iO/2 brand interface going into the computer via USB. The iO/2 is recognized when I create a new External Midi track but having tried everything, I cannot hear the guitar. It works with Garageband and I can hear it when plugging it directly into the computer with the Garageband cable and in audio preferences setting the device to 'Built in Input', when its set to 'iO/2' nothing can be heard. Do i need to use the Midi output on the interface instead of the USB? Also is it possible to hear a midi keyboard plugged directly in via USB as well as the guitar going through the interface at the same time?
Many thanksIt also says No In No Out in the status pane at the bottom of the screen.
This is what you need to correct.
It's implied but you did not mention specifically if the bottom I/O button is blank or shows Out 1-2. So I have to guess more at what you are seeing.
Where "specifically" are you seeing no in no out?
Here?
If so, then are you saying if you select the input or output buttons there you do not have options to choose input 1 and output 1-2 similar to below? -
How to use USB interface with LabVIEW Embedded for ARM
Hi everybody.
I am developing an application based on the "LabVIEW Embedded for
ARM". Now I am doing various tests using
the evaluation board 2300 (with NXP LPC2378), but soon I will
dedicate to program the micro used in my project (NXP
LPC2148).
During the tests, I have seen that "default" LabVIEW interface allows the use
of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
USB_CONNECT, VBUS).
Thanks in advance for your suggestions@chueco85
If you've created an application in LabVIEW for ARM and you build it.
you can go to tools >> ARM Module >> Show Keil uVision
then go to he build options.
the hex file will be created when you do a build.
with flash magic :http://www.flashmagictool.com/
you can program your device.
Wouter.
"LabVIEW for ARM guru and bug destroyer"
Maybe you are looking for
-
How do I connect my imac 10.5.8 to a tv?
I have the the cable that has the mini display portion connected to my imac. And the hdmi portion connected to the tv. I then went to display settings but there was no option to mirror displays. The prompt said that "The Arrangement tab of Display
-
Serious bootcamp problem please help.
I already installed boot camp once, everything was fine. But my windows had a virus, so i decided to delete the partition and make another one. well after i formatted the windows partition and isntalled it, my mac partition was deleted. it had very i
-
Deleting thousands of duplicates... !!!!
I have just reinstalled Itunes on a new machine & copied my music folder onto the HD. I then added the folder & ITunes helpfully duplicated everything 2, 3 & 4 times? Duh???? The best that Apple helps & even the phone helpdesk could suggest is doing
-
Booting different operating systems off apple USB SuperDrive
I'm used to booting systems off of dvd's like "ubuntu" "windows" etc on the internal superdrive. and seeing the new i-mac without the internal dvd reader makes me ask if its possible to boot different systems like mentioned above on the apple USB Sup
-
How to use cfloop and a table together
let us say that I had a query that would return the first name of an ever changing number of people. I would then like to display each name in its own <td> at five <td> per row, then start the next row. keeping in mind that sometimes I might have les