Search registry server by service name or binding description
Hello!
I use the JWSDP 1.3 and the Registry Server. I have published 3 organizations and some services and I want to make a search by service name or by binding description.Has anyone sample code of how can i do this?
Hello Larry.
Of course I'm using this feature too. Generally I talk about search conditions/expressions. By the way in smart albums the same problem with search expressions. When I want create a smart album with my friend "Smith" for example and in the Smart album search criterias enter "smith" with small "s" then my friend doesn't appear in this album while I don't change the name as it witten in address book "Smith" with big "S".
You see?
Similar Messages
-
How to connect to Oracle 11g using thin driver with service name & SID
Hi Experts,
Wish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
Regards
SunilWish to know whether there is a common way to connect to Oracle 11g server using SID or service name.
Earlier I used jdbc:oracle:thin:@<<server>:<<port>>:<<SID>> for connecting to individual Oracle server instances.
Now I need to connect to Oracle RAC which provides service names. So I need to use jdbc:oracle:thin:@<<server>:<<port>>/<<service name>>.
This connection string is internally constructed by a program and user inputs <<server>>, <<port>> and <<SID>> or <<Service Name>>. Now this requires two different connection strings based on the input whether its SID or service name.
Is there a common connection string for these two? Based on some articles like this, I understood that we can generically use jdbc:oracle:thin:@<<server>:<<port>>/<<service>>, whether for SID and service.
When I tried this format with SID, I am getting the below error. What I tried is jdbc:oracle:thin:@myoracleserver:1521/ORCL, where ORCL is the SID
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Request your help in solving this. What I want is a single connection string whether its SID or service. Any help is of great value.
Oracle has an entire book for JDBC: The JDBC Developer Guide.
There are chapters that provide ALL of the connection properties and the rules for creating connection urls.
http://docs.oracle.com/cd/E11882_01/java.112/e16548/urls.htm#BEIDBFDF
See table 8-3 in that doc -
I can not publish and query services in Registry Server?Help please!
I want to use Registry Server in Jwsdp1.5 to publish and query services,but there is some problems:
2006-4-26 10:05:26 com.sun.registry_server.server.RegistryServerServlet init
����: NamingException: javax.naming.NameNotFoundException: Name org.xml.sax.driver is not bound in this Context
2006-4-26 10:05:27 com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
����: SAAJ0537: ������������������������������������ SOAP ����
2006-4-26 10:05:27 com.sun.xml.messaging.saaj.soap.MessageImpl <init>
����: SAAJ0535: ��������������
javax.xml.registry.JAXRException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.registry.uddi.RegistryServiceImpl.jaxmSend(Unknown Source)
at com.sun.xml.registry.uddi.RegistryServiceImpl.send(Unknown Source)
at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.findOrganizations(Unknown Source)
at com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(Unknown Source)
at QueryByName.doPost(QueryByName.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
... 34 more
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 34 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:231)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:354)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 36 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:295)
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:146)
... 40 more
can you help me?expectiong your advise!thank youI have created my own private registry, I hava installed JWSDP1.5.
I use a .jsp file and a servlet to publish services,the servlet is:
import javax.xml.registry.*;
import javax.xml.registry.infomodel.*;
import java.net.*;
import java.security.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class Publish extends HttpServlet{
public void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException,IOException{
doPost(request,response);
public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{
String userName=request.getParameter("username");
String authPassword=request.getParameter("password");
Connection connection = null;
RegistryService rs=null;
BusinessLifeCycleManager blcm=null;
BusinessQueryManager bqm = null;
Properties props=new Properties();
props.setProperty("javax.xml.registry.queryManagerURL","http://localhost:8080/RegistryServer");
props.setProperty("javax.xml.registry.lifeCycleManagerURL","http://localhost:8080/RegistryServer");
props.setProperty("javax.xml.registry.factoryClass","com.sun.xml.registry.uddi.ConnectionFactoryImpl");
//props.setProperty("com.sun.xml.registry.http.proxyHost",httpHost);
//props.setProperty("com.sun.xml.registry.http.proxyPort",httpPort);
// props.setProperty("com.sun.xml.registry.https.proxyHost",httpsHost);
// props.setProperty("com.sun.xml.registry.https.proxyPort",httpsPort);
try{
// Create the connection, passing it the
// configuration properties
ConnectionFactory factory =
ConnectionFactory.newInstance();
factory.setProperties(props);
connection=factory.createConnection();
PrintWriter out=response.getWriter();
out.println("<a href=\"/publishapp/publish.jsp\">You can click here to be Back </a>");
out.println("<H3>Created connection to registry</H3>");
rs=connection.getRegistryService();
blcm = rs.getBusinessLifeCycleManager();
bqm = rs.getBusinessQueryManager();
//out.println("Got registry service, query " +"manager, and life cycle manager");
// Get authorization from the registry
PasswordAuthentication passwdAuth =
new PasswordAuthentication(userName,authPassword.toCharArray());
Set creds = new HashSet();
creds.add(passwdAuth);
connection.setCredentials(creds);
out.println("<br>");
out.println("<H3>Established security credentials</H3>");
//receive organization name and description
String orgName=request.getParameter("orgname");
String orgDescription=request.getParameter("orgdescription");
// Create organization name and description
Organization org =
blcm.createOrganization(orgName);
InternationalString s =
blcm.createInternationalString(orgDescription);
org.setDescription(s);
//receive contactor name phone and Email
String contactName=request.getParameter("contactname");
String contactPhone=request.getParameter("contactphone");
String contactEmail=request.getParameter("contactemail");
// Create primary contact, set name
User primaryContact = blcm.createUser();
PersonName pName =
blcm.createPersonName(contactName);
primaryContact.setPersonName(pName);
// Set primary contact phone number
TelephoneNumber tNum = blcm.createTelephoneNumber();
tNum.setNumber(contactPhone);
Collection phoneNums = new ArrayList();
phoneNums.add(tNum);
primaryContact.setTelephoneNumbers(phoneNums);
// Set primary contact email address
EmailAddress emailAddress =blcm.createEmailAddress(contactEmail);
Collection emailAddresses = new ArrayList();
emailAddresses.add(emailAddress);
primaryContact.setEmailAddresses(emailAddresses);
// Set primary contact for organization
org.setPrimaryContact(primaryContact);
String serviceName=request.getParameter("servicename");
String serviceDescription=request.getParameter("servicedescription");
String serviceURL=request.getParameter("serviceurl");
String svcbindDescription=request.getParameter("svcbinddescription");
// Create services and service
Collection services = new ArrayList();
Service service =
blcm.createService(serviceName);
InternationalString is =
blcm.createInternationalString(serviceDescription);
service.setDescription(is);
// Create service bindings
Collection serviceBindings = new ArrayList();
ServiceBinding binding = blcm.createServiceBinding();
is = blcm.createInternationalString(svcbindDescription);
binding.setDescription(is);
// allow us to publish a fictitious URL without an error
binding.setValidateURI(false);
binding.setAccessURI(serviceURL);
serviceBindings.add(binding);
// Add service bindings to service
service.addServiceBindings(serviceBindings);
// Add service to services, then add services to organization
services.add(service);
org.addServices(services);
//receive Classification scheme name and value
String classificationScheme=request.getParameter("classificationscheme");
String classificationName=request.getParameter("classificationname");
String classificationValue=request.getParameter("classificationvalue");
// Set classification scheme to NAICS
ClassificationScheme cScheme =
bqm.findClassificationSchemeByName(null, classificationScheme);
// Create and add classification
Classification classification = blcm.createClassification(cScheme,
classificationName,classificationValue);
Collection classifications = new ArrayList();
classifications.add(classification);
org.addClassifications(classifications);
// Add organization and submit to registry
// Retrieve key if successful
Collection orgs = new ArrayList();
orgs.add(org);
BulkResponse response1 = blcm.saveOrganizations(orgs);
Collection exceptions = response1.getExceptions();
if (exceptions == null) {
out.println("<br>");
out.println("<H3>Service Registering is Sucessful!</H3>");
out.println("<br>");
out.println("<H3>service information saved is</H3>");
out.println("<H3>");
out.println(orgName);
out.println("</H3>");
Collection keys = response1.getCollection();
Iterator keyIter = keys.iterator();
if (keyIter.hasNext()) {
javax.xml.registry.infomodel.Key orgKey =
(javax.xml.registry.infomodel.Key) keyIter.next();
String id = orgKey.getId();
out.println("<H3>service key is </H3>");
out.println("<H3>");
out.println(id);
out.println("</H3>");
} else {
Iterator excIter = exceptions.iterator();
Exception exception = null;
while (excIter.hasNext()) {
exception = (Exception) excIter.next();
System.err.println("Exception on save: " +
exception.toString());
} catch (Exception e) {
e.printStackTrace();}
the exception in the tomcat50-jwsdp/logs:
javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
- with linked exception:
[javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
at Publish.doPost(Publish.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
... 32 more
expecting yours advise, thanks!! -
Could not resolve service name when installing Mobile Server
Hi,
when installing mobile server I am prompted for the SYSTEM pwd and then get "ORA-12154: Could not resolve service name". I install lite in a different home (LITE_HOME) than the database. Database's TNSNAMES.ORA looks like (I added the webtogo.world entry myself)
===================== TNSNAMES.ORA =================
WEBTOGO.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = localhost)
(Port = 1521)
(CONNECT_DATA = (lite.oracle)))
LITE.PL.ORACLE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = lite.oracle)
=======================================
Then installing lite I enter localhost/1521/lite.oracle
I can connect from sqlplus:
sqlplus system/manager@lite
Java version is 1.3.1_08, which I think is correct.
Does anyone have any ideas? Thanks in advance.
Best regards,
PawelHi,
When you install Oracle Lite the valid TNSNAMES.ora becomes the one that is coming with Oracle Lite.
From now on when you must create a tns name you must create it in the Oracle Lite's tnsnames.ora file unless you specify which tnsnames file you will use in the registry.
You can find tnsnams.ora file in the below path:
<OracleLite_HOME>\network\admin\
Regards,
Bogac OZGEN -
Is server or service reboot required after editing registry in 13568 event
Is server or service reboot required after editing registry in 13568 event .
Hi Below is the event log guiding me to edit registry in order to resolve replication issue, In this case i cant restart the server or even service.I just want to know will this registry edit take effect with out reboot server or service.
Event Type: Error
Event Source: NtFrs
Event Category: None
Event ID: 13568
Description:
The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.
Replica set name is : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
Replica root path is : "c:\windows\sysvol\domain"
Replica root volume is : "\\.\C:"
A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to read from the NTFS USN journal is not found. This can occur because of one of the following reasons.
[1] Volume "\\.\C:" has been formatted.
[2] The NTFS USN journal on volume "\\.\C:" has been deleted.
[3] The NTFS USN journal on volume "\\.\C:" has been truncated. Chkdsk can truncate the journal if it finds corrupt entries at the end of the journal.
[4] File Replication Service was not running on this computer for a long time.
[5] File Replication Service could not keep up with the rate of Disk IO activity on "\\.\C:".
Setting the "Enable Journal Wrap Automatic Restore" registry parameter to 1 will cause the following recovery steps to be taken to automatically recover from this error state.
[1] At the first poll, which will occur in 5 minutes, this computer will be deleted from the replica set. If you do not want to wait 5 minutes, then run "net stop ntfrs" followed by "net start ntfrs" to restart the File Replication Service.
[2] At the poll following the deletion this computer will be re-added to the replica set. The re-addition will trigger a full tree sync for the replica set.
WARNING: During the recovery process data in the replica tree may be unavailable. You should reset the registry parameter described above to 0 to prevent automatic recovery from making the data unexpectedly unavailable if this error condition occurs again.
To change this registry parameter, run regedit.
Click on Start, Run and type regedit.
Expand HKEY_LOCAL_MACHINE.
Click down the key path:
"System\CurrentControlSet\Services\NtFrs\Parameters"
Double click on the value name
"Enable Journal Wrap Automatic Restore"
and update the value.
If the value name is not present you may add it with the New->DWORD Value function under the Edit Menu item. Type the value name exactly as shown above.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp. -
Problems accessing Web service from registry server
"Hi,
While trying to develop a dynamic webservice, I encounter some problems.
The details are as follows:
I develop a webservice with following interfaces and implementation
classes:
Interface : pricequote.IPriceQuote
Implementation : pricequote.PriceQuoteImpl
The service does get registered on the XINDICE registry server. ( I am
using JWSDP to develop the above), and also is deployed on the tomcat
server.
I have specified the following path for the service end point:
http://localhost:8080/PriceQuoteService/pricequote/IPriceQuote
But when I call the sayHello(String strName) method, I get the following
error:
[java] java.rmi.RemoteException: cannot connect to server: /PriceQuoteServi
ce/pricequote/IPriceQuote; nested exception is:
[java] cannot connect to server: /PriceQuoteService/pricequote/IPriceQu
ote
[java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:76
[java] at pricequote.PriceQuoteClient.getData(Unknown Source)
[java] at pricequote.PriceQuoteClient.main(Unknown Source)
[java] Caused by: cannot connect to server: /PriceQuoteService/pricequote/I
PriceQuote
[java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
ientTransport.java:119)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
java:73)
[java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:59
[java] ... 2 more
BUILD SUCCESSFUL
Total time: 3 secondsNo..
Not able to to open the WSDL either..Getting HTTP status 404..
The location http://localhost:8080/PriceQuoteService does open, though it doesnt't have any web pages. The organization data is accessible from registry-server also.
---Original Message----
are you able to access this endpoint through a browser
what happens when you do
http://localhost:8080/PriceQuoteService/pricequote/IPri
eQuote?WSDL
using IE ? do you see the WSDL in your IE window ?
Do you see the port info getting populate under the
service section at the base of the WSDL ? -
How to get service name and listening host to connect to oracle DB server?
I have successfully installed oracle db client 10g release 2 on my winXP. But when I tried to use Net Congiguration Assistance to connect to oracle db server. I do not know what is the "service name" and listening "host" I supporse to enter. Where can I get the names?
PLEASE HELP! THANKS!machine name or IP = machine name or IP address of the database server
To know the service name do the following on the server :
$ lsnrctl services
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 30-DEC-2005 00:24:28
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "test10" has 1 instance(s).
Instance "test10", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
$The service name is test10 in my case. Of course you have to use yours. -
Resolving a Server Name from a TNS Service Name
A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
Many Thankstring TNSPING <service>
the outputline contents the HOSTname -
Resolving the Server Name from a TNS Service name
A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
Many ThanksNot that I'm aware of.
If you were using an Oracle Names server to resolve tnsnames, rather than a tnsnames.ora file, this would be a lot easier. You'd just update the Oracle Names server and all the clients would start pointing at the right machine.
Justin -
How to know the service name of oracle server
write a query to get the servcie name of oracle from oracle tables
Not really! That's the instance name and not the service name!
This version is correct:
select name, value from v$parameter where name = 'service_names';
NAME VALUE
service_names ACPT.WORLD
1 row selectedBye, Aron -
Hi,
I'm trying to setup the WSUS on the Server 2012 R2 Essentials (Trial Version) but with no luck. Below are the logs generated. Hopefully someone can guide me on this. Thanks.
2014-10-15 12:23:06 Postinstall started
2014-10-15 12:23:06 Detected role services: Api, UI, WidDatabase, Services
2014-10-15 12:23:06 Start: LoadSettingsFromXml
2014-10-15 12:23:06 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2014-10-15 12:23:06 Value is true
2014-10-15 12:23:06 End: GetConfigValue
2014-10-15 12:23:06 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2014-10-15 12:23:06 Value is C:\WSUS
2014-10-15 12:23:06 End: GetConfigValue
2014-10-15 12:23:06 Content directory is C:\WSUS
2014-10-15 12:23:06 Database roleservice is not installed
2014-10-15 12:23:06 End: LoadSettingsFromXml
Post install is starting
2014-10-15 12:23:06 Start: Run
2014-10-15 12:23:06 Fetching WsusAdministratorsSid from registry store
2014-10-15 12:23:06 Value is S-1-5-21-308464661-3380577483-199018475-1000
2014-10-15 12:23:06 Fetching WsusReportersSid from registry store
2014-10-15 12:23:06 Value is S-1-5-21-308464661-3380577483-199018475-1001
2014-10-15 12:23:19 Configuring content directory...
2014-10-15 12:23:19 Configuring groups...
2014-10-15 12:23:19 Starting group configuration for WSUS Administrators...
2014-10-15 12:23:19 Found group in regsitry, attempting to use it...
2014-10-15 12:23:22 Writing group to registry...
2014-10-15 12:23:22 Finished group creation
2014-10-15 12:23:22 Starting group configuration for WSUS Reporters...
2014-10-15 12:23:22 Found group in regsitry, attempting to use it...
2014-10-15 12:23:22 Writing group to registry...
2014-10-15 12:23:22 Finished group creation
2014-10-15 12:23:22 Configuring permissions...
2014-10-15 12:23:22 Fetching content directory...
2014-10-15 12:23:22 Fetching ContentDir from registry store
2014-10-15 12:23:22 Value is C:\WSUS
2014-10-15 12:23:22 Fetching group SIDs...
2014-10-15 12:23:22 Fetching WsusAdministratorsSid from registry store
2014-10-15 12:23:22 Value is S-1-5-21-308464661-3380577483-199018475-1000
2014-10-15 12:23:22 Fetching WsusReportersSid from registry store
2014-10-15 12:23:22 Value is S-1-5-21-308464661-3380577483-199018475-1001
2014-10-15 12:23:22 Creating group principals...
2014-10-15 12:23:22 Granting directory permissions...
2014-10-15 12:23:23 Granting permissions on content directory...
2014-10-15 12:23:23 Granting registry permissions...
2014-10-15 12:23:23 Granting registry permissions...
2014-10-15 12:23:23 Granting registry permissions...
2014-10-15 12:23:23 Configuring shares...
2014-10-15 12:23:23 Configuring network shares...
2014-10-15 12:23:23 Fetching content directory...
2014-10-15 12:23:23 Fetching ContentDir from registry store
2014-10-15 12:23:23 Value is C:\WSUS
2014-10-15 12:23:23 Fetching WSUS admin SID...
2014-10-15 12:23:23 Fetching WsusAdministratorsSid from registry store
2014-10-15 12:23:23 Value is S-1-5-21-308464661-3380577483-199018475-1000
2014-10-15 12:23:23 Content directory is local, creating content shares...
2014-10-15 12:23:25 Creating share "UpdateServicesPackages" with path "C:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
on this WSUS system."
2014-10-15 12:23:25 Creating share...
2014-10-15 12:23:25 Share successfully created
2014-10-15 12:23:25 Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2014-10-15 12:23:26 Creating share...
2014-10-15 12:23:26 Share successfully created
2014-10-15 12:23:26 Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2014-10-15 12:23:27 Creating share...
2014-10-15 12:23:27 Share successfully created
2014-10-15 12:23:27 Finished creating content shares
2014-10-15 12:23:27 Stopping service WSUSService
2014-10-15 12:23:27 Stopping service W3SVC
2014-10-15 12:23:27 Configuring WID database...
2014-10-15 12:23:27 Configuring the database...
2014-10-15 12:23:27 Establishing DB connection...
2014-10-15 12:23:27 Checking to see if database exists...
2014-10-15 12:23:28 Database exists
2014-10-15 12:23:28 Switching database to single user mode...
2014-10-15 12:23:32 Loading install type query...
2014-10-15 12:23:32 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (16384)
DECLARE @databaseMajorVersion int
DECLARE @databaseMinorVersion int
DECLARE @databaseBuildNumber nvarchar(10)
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
SELECT 1
END
ELSE
BEGIN
SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
IF (@delimiterPosition = 0)
BEGIN
RAISERROR('Invalid schema version number', 16, 1) with nowait
return
END
SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
IF @currentDBVersion < 926
BEGIN
SELECT 3
END
ELSE
BEGIN
IF (@scriptMajorVersion > @databaseMajorVersion OR
(@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
BEGIN
SELECT 2
END
ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
@scriptMinorVersion = @databaseMinorVersion)
BEGIN
SELECT 0
END
ELSE
BEGIN
SELECT 4
END
END
END
2014-10-15 12:23:32 Install type is: Reinstall
2014-10-15 12:23:32 Creating logins...
2014-10-15 12:23:32 Fetching account info for S-1-5-20
2014-10-15 12:23:32 Found principal
2014-10-15 12:23:32 Found account
2014-10-15 12:23:32 Got binary SID
2014-10-15 12:23:35 Fetching WsusAdministratorsSid from registry store
2014-10-15 12:23:35 Value is S-1-5-21-308464661-3380577483-199018475-1000
2014-10-15 12:23:35 Fetching account info for S-1-5-21-308464661-3380577483-199018475-1000
2014-10-15 12:23:35 Found principal
2014-10-15 12:23:35 Found account
2014-10-15 12:23:35 Got binary SID
2014-10-15 12:23:35 Setting content location...
2014-10-15 12:23:35 Fetching ContentDir from registry store
2014-10-15 12:23:35 Value is C:\WSUS
2014-10-15 12:23:40 Swtching DB to multi-user mode......
2014-10-15 12:23:47 Finished setting multi-user mode
2014-10-15 12:23:47 Writing DB settings to registry...
2014-10-15 12:23:47 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2014-10-15 12:23:47 Starting service W3SVC
2014-10-15 12:23:47 Configuring IIS...
2014-10-15 12:23:47 Start: ConfigureWebsite
2014-10-15 12:23:51 System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: The system cannot find the path specified.2014-10-15 12:23:47 Start: ConfigureWebsite
2014-10-15 12:23:51 System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
Looks like it failed trying to setup the website.
2014-10-15 12:23:27 Configuring WID database...
2014-10-15 12:23:27 Configuring the database...
2014-10-15 12:23:27 Establishing DB connection...
2014-10-15 12:23:27 Checking to see if database exists...
2014-10-15 12:23:28 Database exists
This also looks like its a RE-installation of WSUS.
Any chance the "WSUS Administration" v-root is already present and did not get deleted after the last uninstallation?
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds. -
Search results not returning file names correctly
Have an onsite SharePoint Server 2010 Enterprise that contains a number of documents in a document library all containing the word "south" in their title. When a search is run with the keyword "south" all 3 files are shown in the results but only one displays
the correct title. The other 2 display alternate text (in this case the company name). The links all 3 results are correct, however the title of results is incorrect for 2 out of the 3.
I have duplicated these results using Office 365 and another on site SharePoint 2010 server.
I have duplicated these results converting the documents to DOCX format under Word 2007 and Word 2010.
Obviously, this is an issue with the files, however any ideas where to start looking to uncover where the SharePoint Server is pulling the information from?
In the end I need all 3 results to display the current name of the files it finds, not simply some random text with the files from 2 out of 3 of the results.
Thanks
Robert Crane
www.ciaops.comCould it be because of this?
Pasted from here:
http://bpostutor.com/post/Hidden-SharePoint-2010-Feature-Changes-Document-Titles-in-Search-Results.aspx
Hidden SharePoint 2010 Feature Changes Document Titles in Search Results
SharePoint 2010 has a interesting feature which you may not know about. It's called Optimistic Title. It's part of the Office Search engine within SharePoint. What it does is determine a new, hopefully more relevant title for your documents
to be displayed in your search results based on document properties or the actual contents of the document (i.e. Text within the file). As you might expect this is closely tied to the Office document formats such as Word, PowerPoint, Excel, OneNote,
and Visio. Your end users may report that the titles that they see for search results differ greatly from the file name or the actual title of the document. This is particularly evident with PowerPoint files where the name of the first slide
is often used. The behavior is not entirely predictable. Different results can be expected from Office 2007 and Office 2010 created files and even those created in earlier versions of Microsoft Office.
If you want to change this functionality you need to actually go and edit the registry on your Search role server(s) within your SharePoint farm, restart the osearch14 service and then do a full crawl. The key you want to modify is the EnableOptimisticTitleOverride.
The default setting is 1. Change it to 0 to disable the feature. -
Weblogic server can have multiple services in NT & W2K. Is there any
way to get all the Weblogic service names ? Since the user can give
any service name they want it I don't know how we can get the service
names. I do see that all the service names are created in
SYSTEM\CurrentControlSet\Services.Hi.
Hmm. One way to address this would be to look at the service parameters
in the registry. For example, the ImagePath parameter for the wls
service is a fully qualified path name to the beasvc.exe executable.
Under the Parameters folder there is a CmdLine parameter which is a
string ending with 'weblogic.Server'. You could search the registry
looking for 1 or both of these params - they will be consistent across
all of your wls service instances. If you can find these params then you
can grab the service name since it will be a wls instance.
Hope this helps,
Michael
Saint wrote:
Weblogic server can have multiple services in NT & W2K. Is there any
way to get all the Weblogic service names ? Since the user can give
any service name they want it I don't know how we can get the service
names. I do see that all the service names are created in
SYSTEM\CurrentControlSet\Services.--
Michael Young
Developer Relations Engineer
BEA Support -
Unable to start SQL Server Browser service in Sql server 2005
we are unable to start the SQL browser service on one of our machine with below error.
I believe this to be the reason, why we could not connect to the instance with below error
I tried troubleshooting as mentioned here, by changing
value in registry from 1 to 0, but still no luck.
SQLservices are also running.
Please help on how to resolve this!Hello,
You say that SQL Server Browser Service belongs to a SQL Server 2005, but based on the name of the instance is a SQL Server
2012 instance.
Do you have any issues installing/uninstalling SQL Server 2005 or 2012? One of them 32-bit and the other 64-bit?
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
I recently switched my application that uses EWS from an on-premise Exchange Server to Exchage Online through Office356.
The process worked just fine for several days, then I started getting the following errors;
Error accessing [USERNAME] email account.; ExchangeWebServices Inbox Error: Error, ErrorServerBusy, The server cannot service this request right now. Try again later. -->
This has been happening for the past 14 hours now.
I contacted my Office365 support team and they acted like they had never heard of the Exchange Web Services API, so no help there.
I can access the mailbox using the O365 web portal and I can access the mailbox account using the Outlook 2013 desktop client. The issue seems specific to EWS
My program is a Windows service, written in VB.Net. It connects to EWS, goes to the user account inbox, iterates through the inbox extracting attachments from messages, then moves the messages to a saved folder below the inbox.
I created the wrapper for EWS that I can reference in my project code using the following, run from an elevated VS2012 command prompt;
wsdl.exe /namespace:ExchangeWebServices /out:EWS.cs https://outlook.office365.com/ews/services.wsdl /username:[email protected] /password:p@ssw0rd
csc /out:EWS_E2K13_release /target:library EWS.cs
I bind to EWS in my class, using the following code;
Imports System.Net
Imports ExchangeWebServices
Public Class Exchange2013WebServiceClass
Private ExchangeBinding As New ExchangeServiceBinding
Public Sub New(ByVal userEmail As String, ByVal userPassword As String, ByVal URL As String)
ExchangeBinding.Credentials = New NetworkCredential(userEmail, userPassword)
ExchangeBinding.Url = URL
End Sub
The error that is logged gets triggered when my code makes a call to the following method;
Public Function GetInboxMessageIDs() As ArrayOfRealItemsType
Dim returnInboxMessageIds As ArrayOfRealItemsType = Nothing
Dim errMsg As String = String.Empty
'Create the request and specify the travesal type.
Dim FindItemRequest As FindItemType
FindItemRequest = New FindItemType
FindItemRequest.Traversal = ItemQueryTraversalType.Shallow
'Define which item properties are returned in the response.
Dim ItemProperties As ItemResponseShapeType
ItemProperties = New ItemResponseShapeType
ItemProperties.BaseShape = DefaultShapeNamesType.IdOnly
'Add properties shape to the request.
FindItemRequest.ItemShape = ItemProperties
'Identify which folders to search to find items.
Dim FolderIDArray(0) As DistinguishedFolderIdType
FolderIDArray(0) = New DistinguishedFolderIdType
FolderIDArray(0).Id = DistinguishedFolderIdNameType.inbox
'Add folders to the request.
FindItemRequest.ParentFolderIds = FolderIDArray
Try
'Send the request and get the response.
Dim FindItemResponse As FindItemResponseType
FindItemResponse = ExchangeBinding.FindItem(FindItemRequest)
'Get the response messages.
Dim ResponseMessage As ResponseMessageType()
ResponseMessage = FindItemResponse.ResponseMessages.Items
Dim FindItemResponseMessage As FindItemResponseMessageType
If ResponseMessage(0).ResponseClass = ResponseClassType.Success Then
FindItemResponseMessage = ResponseMessage(0)
returnInboxMessageIds = FindItemResponseMessage.RootFolder.Item
Else
'' Server error
Dim responseClassStr As String = [Enum].GetName(GetType(ExchangeWebServices.ResponseClassType), ResponseMessage(0).ResponseClass).ToString
Dim responseCodeStr As String = [Enum].GetName(GetType(ExchangeWebServices.ResponseCodeType), ResponseMessage(0).ResponseCode).ToString
Dim messageTextStr As String = ResponseMessage(0).MessageText.ToString
Dim thisErrMsg As String = String.Format("ExchangeWebServices Inbox Error: {0}, {1}, {2}", responseClassStr, responseCodeStr, messageTextStr)
errMsg = If(errMsg.Equals(String.Empty), String.Empty, errMsg & "; ") & thisErrMsg
End If
Catch ex As Exception
'errMsg = String.Join("; ", errMsg, ex.Message)
errMsg = If(errMsg.Equals(String.Empty), String.Empty, errMsg & "; ") & ex.Message
End Try
If Not errMsg.Equals(String.Empty) Then
returnInboxMessageIds = Nothing
Throw New System.Exception(errMsg)
End If
Return returnInboxMessageIds
End Function
Since the code worked just fine for several days and then suddenly stopped working with a server busy error, I have to think that this is some type of limit or throttling by EWS on the account. I process several thousand emails per day, in chunks of 300
at a time.
But I have no idea how to check for any limits exceeded. I am nowhere close to my O365 mailbox size limit. Right now, there are over 4,000 messages in my inbox, and growing.
Thanks in advance for any ideas you can offer.
DaveAll the API's EWS, MAPI, ActiveSync,Remote powershell are throttled on Office365 (based around what 1 particular user could resonably do). If you have had a read of this already i would recommend
http://msdn.microsoft.com/en-us/library/office/jj945066(v=exchg.150).aspx
You can't adjust or even find your current throttle usage so you have to try to design your code around living inside the default limits. If your using One Service Account to access multiple Mailboxes (or if that account is because used across multiple
applications) that can cause problems. In this case using EWS Impersonation is good solution as described in
http://blogs.msdn.com/b/exchangedev/archive/2012/04/19/more-throttling-changes-for-exchange-online.aspx (this basically means the Target Mailbox is charged instead of the Service Account).
Looking at the code one thing I notice missing is your don't appear to be paging the results of FindItems, also have versioned your requests to Exchagne2013. eg ". When the value of the
RequestServerVersion element indicates Exchange 2010 or an earlier version of Exchange, the server sends a failure response with error code
ErrorServerBusy. If the value of the RequestServerVersion
element indicates a version of Exchange starting with Exchange 2010 SP1
or Exchange Online, and the client is using paging, EWS may return a
partial result set instead of an error"
To Page FindItems Correctly you should use the IndexedPageViewType class and page the Items at no more the 1000 at a time eg something like
IndexedPageViewType indexedPageView = new IndexedPageViewType();
indexedPageView.BasePoint = IndexBasePointType.Beginning;
indexedPageView.Offset = 0;
indexedPageView.MaxEntriesReturned = 1000;
indexedPageView.MaxEntriesReturnedSpecified = true;
FindItemType findItemrequest = new FindItemType();
findItemrequest.Item = indexedPageView;
findItemrequest.ItemShape = new ItemResponseShapeType();
findItemrequest.ItemShape.BaseShape = DefaultShapeNamesType.IdOnly;
BasePathToElementType[] beAdditionproperties = new BasePathToElementType[3];
PathToUnindexedFieldType SubjectField = new PathToUnindexedFieldType();
SubjectField.FieldURI = UnindexedFieldURIType.itemSubject;
beAdditionproperties[0] = SubjectField;
PathToUnindexedFieldType RcvdTime = new PathToUnindexedFieldType();
RcvdTime.FieldURI = UnindexedFieldURIType.itemDateTimeReceived;
beAdditionproperties[1] = RcvdTime;
PathToUnindexedFieldType ReadStatus = new PathToUnindexedFieldType();
ReadStatus.FieldURI = UnindexedFieldURIType.messageIsRead;
beAdditionproperties[2] = ReadStatus;
findItemrequest.ItemShape.AdditionalProperties = beAdditionproperties;
DistinguishedFolderIdType[] faFolderIDArray = new DistinguishedFolderIdType[1];
faFolderIDArray[0] = new DistinguishedFolderIdType();
faFolderIDArray[0].Mailbox = new EmailAddressType();
faFolderIDArray[0].Mailbox.EmailAddress = "[email protected]";
faFolderIDArray[0].Id = DistinguishedFolderIdNameType.inbox;
bool moreAvailible = false;
findItemrequest.ParentFolderIds = faFolderIDArray;
int loopCount = 0;
do
FindItemResponseType frFindItemResponse = esb.FindItem(findItemrequest);
if (frFindItemResponse.ResponseMessages.Items[0].ResponseClass == ResponseClassType.Success)
foreach (FindItemResponseMessageType firmtMessage in frFindItemResponse.ResponseMessages.Items)
Console.WriteLine("Number of Items retreived : " + ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items.Length);
if (firmtMessage.RootFolder.IncludesLastItemInRange == false)
moreAvailible = true;
else
moreAvailible = false;
((IndexedPageViewType)findItemrequest.Item).Offset += ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items.Length;
Console.WriteLine("Offset : " + ((IndexedPageViewType)findItemrequest.Item).Offset);
if (firmtMessage.RootFolder.TotalItemsInView > 0)
foreach (ItemType miMailboxItem in ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items)
Console.WriteLine(miMailboxItem.Subject);
else
throw new Exception("error " + frFindItemResponse.ResponseMessages.Items[0].MessageText);
} while (moreAvailible);
The support people should be able to help you as long as you can get past the first level. The EWS Managed API has a RequestId header that gets submitted with requests
http://blogs.msdn.com/b/exchangedev/archive/2012/06/18/exchange-web-services-managed-api-1-2-1-now-released.aspx . In theory they should be able to take this and then from the Logs tell more information about why your request failed etc.
Cheers
Glen
Maybe you are looking for
-
CS5 Master Collection error: Installer failed to initialize, help?
When I first opened the CS5 installer, it worked perfectly, except my computer crash halfway through the installation. Now whenever I try to install an application, when I open the Adobe Installer, once it finishes Initializing the installer, I immed
-
Out of the blue yesterday, when I launched iPhoto, it would not launch. The application seems to start to launch and then all that appears is the iPhoto window with no photos at all and the spinning beach ball. It never loads the photos in our Librar
-
Adobe Acrobat 9 Pro does not connect to update server
I'm having an issue connecting to the update server. Here's the message I get. Any help?
-
What do I need to setup output to TV monitor?
I am working on a Mac Pro from around 2009 with a ATI Radeon HD4870 graphics card. What Would I need specifically in order to output from Premiere Pro to a TV monitor? Any help is appreciated, thanks!
-
How to I get rid of old email addresses connected to my Apple ID?
Apple is always serving up old email addresses and asking for passwords. How do I delete these old email references on my apple account?