Introduction of flow control and synchronization steps in Test Description
Hi ALL,
I am working on developing of Test Scripts in ATML standards. Can any one inform me how to introduce flow control (if, else, end, for, while, break etc) and synchronization (wait etc) steps into the Test scripts. Thanks in advance.
With Best Regards,
Kalyan
I had a similar issue in a project I am working on. I'm not sure if I did this the "Best Practices" way or not, but it works perfectly.
In the head area of my JSP I include the following:
<f:view>
<h:outputText id="refresher1" rendered="#{queryHandler.queryRunning}">
<f:verbatim escape="false">
<meta http-equiv="refresh"
content="5,<%=response.encodeURL(request.getContextPath()+
"/queryStatus.jsf")%>">
</f:verbatim>
</h:outputText>
<h:outputText id="refresher1" rendered="#{queryHandler.queryFinishedRunning}">
<f:verbatim escape="false">
<meta http-equiv="refresh"
content="5,<%=response.encodeURL(request.getContextPath()+
"/queryResults.jsf")%>">
</f:verbatim>
</h:outputText>This puts a 5 second refresh meta in the header to direct the browser to the correct page based on the status of the query thread.
There are many ways to accomplish the effect you want. I suggest putting all the controls into the JSP and making use of the rendered attributes instead of the JSTL conditionals to show the controls you want for the state of the application.
-jeffhoward
Similar Messages
-
We'd like to implement a whole test system in LabView.
To make the maintenance easy we've planned to implement the test
information (testnumber, minimal value, maximal value etc.) in a file,
which can be accessed by the test program.
Also the errors which are going to displayed in the case that an item
did not pass the test, should be in central accessible table.
Did anybody already implement a system like that or has hints what
solution provides which advantages or disadvantages.
We think that different implementations are possible but we do not yet
know the traps of the different solutions. (e.g. make the tables in
Excel, save them as Dbase files which can then be accessed by LabView,
or have a real database like Oracle to hold
all the Flow Control and
Error information.)
All hints and Information are very much appreciated.
JustusMy recomendation would be to use TestStand. My life got a whole lot easier when I moved from a custom test executive. I can now concentrate on writing actual test code. TestStand handles all datalogging, pass/fail decision making, limit loading, etc.
-
Streams Help - Stuck in PAUSED FOR FLOW CONTROL
Hi All,
I am brand new to Streams and i'm trying to configure streams between two db's on different machines on the same network. Initially i was getting errors trying to connect to the remote database during Propagation(ORA-02019 connection description for remote database not found ). I think this was due to my db link being created incorrectly. I recreated my db link and i'm no longer getting those messages.
Now everything on my Source db looks like it's running except the Capture state is stuck in PAUSED FOR FLOW CONTROL and nothing is being propagated. The propagation process is enabled and i can see it in the dba_jobs views. I have never gotten this working yet.
Does anyone have general troublshooting tips for this. I have found detailed instructions on how to setup the stream but not much on how to troubleshoot.
Any advise would be greatly appreciated.
nullThis error was due to a 'bad' database link. I'm still not positive why the link was bad but i recreated my db link and tested. After i confirmed it was active I re-setup my capture and propagation processes and all is good now.
thanks, dave -
Version control and deployment strategies
Hi,
I was looking for input from the community on general
strategies for using version control and managing deployments to
test/stg/production.
Currently, I am using subversion to track my source code, and
using the standard flex builder build routine to produce my binary
output and test. My output is stored locally on a shared vmware
drive, so that it can be served up with a linux vm running apache
(this is not dissimilar to just local testing)
Now I'm getting ready to deploy to some remote testing server
though, so I'm trying to think of the best way to go about it. I
would like to tag my code in svn with a release tag, as is my
practice in other platforms. Should I also store the bin folder in
svn? Should I check in the resulting binary code independently in a
separate repository/directory and then tag it there? Should I
create a new build target to deploy directly to my testing server?
The issue with the tagging approach seems to be that if I
want to rebuild the code or redeploy it for any reason, I would
have to checkout the tagged code in a separate directory, import it
as a new project, rebuild and then redeploy.
If I checked in the tested binaries into a separate
repository/folder, I could always just do an svn export for
deployment, but I'm not sure if that would cause any weird issues,
and it seems a bit wasteful. I suppose I could build from the tag
and zip up the resulting release and just make it available via
normal download, but it seems that I would likely then have lots of
working directory checkouts as flex builder projects for each tag
or release, just so that I could rebuild from them....doesn't seem
very elegant.
I'm very interested in hearing any feedback on this. How do
you do it?
thanks,
Cliffflex with ant is still not very very popular
combination,since FB does all for you anyways, but I have to say
ant is lot more flexible, especialy if you combine it with FB, ant
can do pretty much anything, ...
here is link about flex's ant tasks
http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html
most of the projects I have done in Flex were with ant,
here is general approach:
for internal testing I let flex builder build and deploy
within integrated tomcat,this is also where I do debugging, FB is
pretty good about that.
then I have following targets :
build target - builds optimized version of flex app, only
using library classes that are needed by project, also using that
to feed my Modules building tasks so that they exclude all class
references (like Button, Tabnavigation etc... ) from their compiled
units,
something like this (this is my old fb2 example) i don't have
fb3 example handy right now :
quote:
<mxmlc file="${basedir}/main.mxml"
debug="false"
optimize="true"
output="${dir.web}/main.swf"
show-binding-warnings="false"
show-actionscript-warnings="false"
link-report="${basedir}/docs/my-links.xml"
use-network="true">
<load-config
filename="/configdir/modified/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="." append="true">
<include name="lib" />
</compiler.library-path>
<compiler.source-path path-element=""/>
<compiler.source-path path-element="src"/>
<metadata description="some app">
<contributor name="John Doe" />
<contributor name="Apple Orangino" />
</metadata>
</mxmlc>
<!-- compile module mymodule-->
<mxmlc file="${basedir}/mymodule.mxml"
debug="false"
optimize="true"
output="${dir.web}/mymodule.swf"
show-binding-warnings="false"
show-actionscript-warnings="false"
load-externs="${basedir}/docs/my-links.xml"
use-network="true" >
<load-config
filename="/configdir/modified/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.source-path path-element=""/>
<compiler.source-path path-element="src"/>
<metadata description="some app">
<contributor name="John Doe" />
<contributor name="Apple Orangino" />
</metadata>
</mxmlc>
tag -target tags release based on parameter of latest tag
plus number increment I configure in properties file.
Utility targets :
classpath target - builds classpath string for compc task.
commit target : commits source code, before building.
resources target - copies all resources files to build
directory,
deploy-local target- deploy to local Integration server
deploy-remote target deploy to remote uat server.
test -target - run test cases over classes and generate
report.
and of course all famous asDoc target :)
good thing is that you can create "ant builder" under project
properties and chain your targets with flexbuilder's build
commands,
you can also easily integrate with build servers ( I use
hudson)
here is example :
http://hudson.amostudio.com/
MR hudson checks out code for you, builds it using ant
targets you tell it to use, and reports to you, its pretty cool and
very handy to always have active build proccess over codebase, of
course in some cases its overkill, but most of the times, MR hudson
is good to have.
unfortunately all my ant files are for external clients I
cant disclose them, but I can write blog about some general (apples
and oranges) example, hhm that's actually good idea :) I can shake
off some stress as well :)
thanks for the idea :)
hth
regards
levan -
Problems with parity and flow control using visa serial
I am trying to create a basic user interface with the options that my
company uses most often for a force indicator. You can configure
the indicator over serial, as well as read the values off the
indicator. I am trying to create the user interface so that using
producer/consumer loops with events, once you change a value, it will
write that new value to the serial port, ie the device.
The problem I am having is transfering the parity and flow control
values for the serial config to the Basic read write VI. The
problem is that once the consumer loop executes, it will write the
values correctly to the VI, but then the outer loop executes 200 ms
later and clears the values. I know that this is normal behavior
and that in order to keep the values stored, normally you would use a
shift register. I tried to use this and had some issues with
correct data types/array mis-mtaches, ets, so I created an indicator
and had a local vaible read the indicator, which seems to be working
for the stop bits, read bits, baud rate, etc, but not the parity anf
flow control. I always get "blank" outputs for theses values (if
you enable the digital display you can see that they are outputing the
value 0 which correspondes to None in both cases, which is
correct). Even though it appears that it is outputting the
correct value, I get an error that says the VISA property is
invalid. I initally did a search and found that my stop bit
control was wrong (outputting double instead of integer), but I could
not find anything on the parity/flow control issue. I even tried
to copy the serial config controls from the basic serial read/write to
my dialog box and that did not work either.
I would be grateful for any suggestions.
Thanks
Kenny
Kenny
Attachments:
BGI_main pandc.zip 232 KBI should add that I am using LV 8.0 and that the serial config
indicator in the consumer loop will be off the frontpanel in the final
VI so that it is not visible to the user.
Kenny -
Process Flow ignores name and location for Control- and Log-Files
Hi!
Our OWB Version is 10.1.0.3.0 - DB Version 9.2.0.7.0 - OWF Version 2.6.2
Clients and server are running on Windows. Database contains target schemas as well as OWB Design and Runtime, plus OWF repositories. The source files to load reside on the same server as the database.
I have for example a SQL*Loader Mapping MAP_TEXT which loads one flat file "text.dat" into a table stg_text.
The mapping MAP_TEXT is well configured and runs perfect. i.e. Control file "text.ctl" is generated to location LOC_CTL, flat file "text.dat" read from another location LOC_DATA, bad file "text.bad" is written to LOC_BAD and the log file "text.log" is placed into LOC_LOG. All locations are registered in runtime repository.
When I integrate this mapping into a WorkFlow Process PF_TEXT, then only LOC_DATA and LOC_BAD are used. After deploying PF_TEXT, I execute it and found out, that Control and Log file are placed into the directory <OWB_HOME>\owb\temp and got generic names <Mapping Name>.ctl and <Mapping Name>.log (in this case MAP_TEXT.ctl and MAP_TEXT.log).
How can I influence OWB to execute the Process Flow using the locations configured for the mapping placed inside?
Has anyone any helpfull idea?
Thx,
Johann.I didn't expect to be the only one to encounter this misbehaviour of OWB.
Meanwhile I found out what the problem is and had to recognize that it is like it is!
There is no solution for it till Paris Release.
Bug Nr. 3099551 at Oracle MetaLink adresses this issue.
Regards,
Johann Lodina. -
Ssis data flow item and ssis control flow item tab missing in choose toolbox item from ssdt 2010
ssis data flow item and ssis control flow item tab missing in choose toolbox item from ssdt 2010
I have the same problem.
When i click on tools -> choose tools Items dialog box, Control Flow and Data Flow Tab are missing.
I've just worked with SQL Server Data Tools and SQL Server 2012 and these tabs are not missing.
i think this is a problem installing SQL Server.
I've not yet found a solution. -
what are the differances between table controls and step loops?
Hi
It's only graphic diff. managed by diff. ways (of course):
in steploop there isn't a table control so in PBO and PAI it has only the stataments LOOP/ENDLOOP or LOOP AT ITAB/ENDLOOP.
The step loop is way older than table control to display the data of a table.
check this
Re: step loops, table controls
-charitha. -
Hello again,
Is there any mean to execute more that one time the same XSQL action-element, like this (future XSQL version?):
<xsql:for-each test="{@selectedITEMS}">
<xsql:dml>
DELETE FROM ITEMS
WHERE ItemID = {.}
</xsql:dml>
</xsql:for-each>
Yes the duty can still be transferred outside XSQL, in the form of a DB proc or a custom action-element, but if some form of basic flow control exists/ed here inside XSQL, this would certainly come in handy!
Thanks
JRochA simple way to do this would be to write an action handler that processes the value of the "selectedITEMS" parameter and sets a page-private parameter to the equivalent value with commas between them, then do:
<xsql:dml>
delete from items
where ItemId IN ({@ListOfLitems})
</xsql:dml>
then you do it all in one trip to the database. -
How to save flow control data and time
Hi,
I have program that controls 2 flow controllers. I set a certain flow and they change the flowrate of the gas. Now I would like to save this flow that I am using for each flow controllers and the time, so I can keep track of at which time during experiment I had this flow of gas nr 1 and gas nr 2.
Is there a way to do this?
I am a niewbie in LABVIEW. I have tried looking at youtube and tried different write to file funtions but its not working. At best I get an txt file with 3 colums name that I give each coulmn but no data following. ie,.
nitrogen methane time
Can anyone help?Hologram wrote:
How do I get the present time in hh:min:ss to be saved in the text file?
You can use the Get Date/Time String or, if you really want to dig into some fun stuff, use the Format Into String function.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Synchronize Control and Simulation loops
When simulating control systems with LV Control and Simulation loops, I often have multiple loops running at different rates. For example, I have a PWM loop running at 20 kHz, a data acquisition loop running at 100 kHz, and a control loop running at 10 kHz. How can I synchronize all of these loops so that they stay on the same time base? Obviously the master time base will need to be at least as fast as the fastest simulation loop.
I've tried synchronizing all loops to the 1 kHz clock (I'm running on Windows), but each loop runs one period per clock tick (e.g. my 20 kHz loop counts up 50us per clock tick, my 100 kHz loop counts up 10us per clock tick, etc). I need all of the loops to be synchronized to one master time base so the simulation time is identical in each loop, but each loop will be executed at a different rate.
Any thoughts?
Solved!
Go to Solution.Hello,
A quick suggestion - why can't you run all three systems in a single simulation loop, but have different sample rates for the blocks for each system ?
Is your system entirely digital, or a mixture of continuous and digital - it may simplify things if you can convert everything to discrete time.
Hope this helps,
Andy Clegg
Consultant Control Engineer
www-isc-ltd.com -
Difference between STATIC and FLOW CONTROL in IKM
Hello,
Can someone explain the difference between STATIC and FLOW control in IKM ? What is the best situation to use them with some example ?
Can we have more than one ODI Constraint at the target table.
Thanks
Edited by: cdmnagaraj on 19-Oct-2008 21:59Hi Nagaraj,
Suppose your Lookup table -> column "VALUE" is 101.
How many rows in your source table (column) have "Balance" = 101 ??
I hope only One.
From your Source table all the recors will be moved to your I$ . then from your I$ it will check for the condition
and all the violated records will be moved to your E$
please check your "Insert CK Errors" from your operator
it will be like this....
insert into E$_TargetTable
ERR_TYPE,
ERR_MESS,
CHECK_DATE,
ORIGIN,
CONS_NAME,
CONS_TYPE,
col1,
col2,
balance
select
'F',
sysdate,
'(3367100)TESTPROJECTS.TestTable',
'conditionTest',
'CK',
col1,
col2,
balance
from I$_TargetTable CHI
where not (
Balance = (Select value from LOOKUP)
So in your case it will check for balance not equal to 101 . and it will push those records into your E$ table
Rathish -
What are the uses of table control and tabstrip control
can anyone tell me the uses of table control and tabstrip control
Hi,
table control is more comfortable for customizing.scroll bars all possible in this.where as it is not possible in step loops.
check this example.
PROGRAM ZBHTCTRL.
TABLES: LFA1, EKKO.
DATA: OKCODE1 LIKE SY-UCOMM,
OKCODE2 LIKE SY-UCOMM.
CONTROLS TABC TYPE TABLEVIEW USING SCREEN 1001.
DATA: BEGIN OF ITAB OCCURS 0,
MANDT LIKE EKKO-MANDT,
EBELN LIKE EKKO-EBELN,
BSTYP LIKE EKKO-BSTYP,
BSART LIKE EKKO-BSART,
END OF ITAB.
MODULE USER_COMMAND_1000 INPUT.
CASE OKCODE1.
WHEN 'BACK'.
SET SCREEN 0.
WHEN 'NEXT'.
SET SCREEN 1001.
SELECT * FROM EKKO INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE
LIFNR = LFA1-LIFNR.
ENDCASE.
ENDMODULE. " USER_COMMAND_1001 INPUT
MODULE MOVE_DATA OUTPUT.
EKKO-MANDT = ITAB-MANDT.
EKKO-EBELN = ITAB-EBELN.
EKKO-BSTYP = ITAB-BSTYP.
EKKO-BSART = ITAB-BSART.
ENDMODULE. " MOVE_DATA OUTPUT
MODULE USER_COMMAND_1001 INPUT.
CASE OKCODE2.
WHEN 'BACK'.
SET SCREEN 1000.
ENDCASE.
ENDMODULE. " USER_COMMAND_1001 OUTPUT
MODULE STATUS_1001 OUTPUT.
SET PF-STATUS 'MENU'.
SET TITLEBAR 'TIT'.
ENDMODULE. " STATUS_1001 OUTPUT
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'DMENU'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_1000 OUTPUT
FORM ON_CTMENU_FORM1 USING CMENU TYPE REF TO CL_CTMENU.
CALL METHOD CMENU->LOAD_GUI_STATUS
EXPORTING
PROGRAM = ' ZBHTCTRL'
STATUS = 'CMENU'
MENU = CMENU.
CALL METHOD CMENU->ADD_FUNCTION
EXPORTING
FCODE = 'RX'
TEXT = 'RECIEVE'.
ENDFORM.
FLOW LOGIC:
PROCESS BEFORE OUTPUT.
MODULE STATUS_1000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1000.
PROCESS BEFORE OUTPUT.
MODULE STATUS_1001.
LOOP AT ITAB WITH CONTROL TABC CURSOR TABC-TOP_LINE.
MODULE MOVE_DATA.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1001.
LOOP AT ITAB.
ENDLOOP.
for more info check this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
thanks
Ashu. -
AutoDiscover is a new feature in Exchange 2007, to provide access to Microsoft Exchange features (OAB, Availability service, UM) for Outlook 2007
clients or later.
We can determine whether problems related to AutoDiscover via OWA.
For example:
OOF is not working in Outlook Client but it is working in OWA.
When we realized this issue is not related to Outlook Client side and network side after performing some troubleshooting steps, it should be something
abnormal on AutoDiscover.
There is a common tool to check AutoDiscover in Outlook, Test E-mail AutoConfiguration.
Today, we will introduce AutoDisocver and “Test E-mail AutoConfiguration” in details. Hope it is helpful for AutoDiscover troubleshooting and self-learning.
1. Differences between “Test E-mail AutoConfiguration” and other tools
The “Test-OutlookWebServices” cmdlet allows us to test the functionality of the following services:
Autodisocver
Exchange Web Services
Availability Service
Offline Address Book
When we run “Test-OutlookWebServices”, it returns all the web services’ states.
However, some information are useless for some scenarios.
For example:
We just want our Exchange 2010 Server working internally. So it is unnecessary to enable Outlook Anywhere.
However, when we run “Test-OutlookWebServices”, it returns Outlook Anywhere errors because the Outlook Anywhere does not need to been enabled.
In contrast, using “Test E-mail Autodiscover” is more intuitive.
If there is any problems, it will return error code from the test result, like 0x8004010F etc. We can do some research from TechNet articles or MS
KBs.
Although it is difficult to say where the specific problem is just via the error codes, we can combine with IIS logs to perform troubleshooting and
find the root of problem.
2. How to use “Test E-mail AutoConfiguration” Tool
a. Open Outlook, we can find there is an Outlook Icon at the right bottom of System tray. Holding down “Ctrl” button and right click the Outlook Icon, we will see “Test E-mail
AutoConfiguration” option. Please see Figure 01.
Figure 01
b. Click “Test E-mail AutoCofiguration” and input user name, uncheck the “Use Guessmart” and “Secure Guessmart Authentication” checkboxes, then click “Test”. Please see
Figure 02.
Figure 02
c. “Test E-mail AutoConfiguration” result panel and log panel. Please see Figure 03 and Figure 04.
Figure 03
Figure 04
3. How to understand “Test E-mail AutoConfiguration” result
According to the Figure 03, we found there are many URLs in the “Test E-mail AutoConfiguration” result panel. Let us understand the details of these
URLs.
If we these URLs are not the correct ones, we can re-setting or re-creating them via commands.
- Internal OWA URL:
https://vamwan310.vamwan.com/owa/
OWA internal access.
- External OWA URL:
https://mail.vamwan.com/owa/
OWA external access.
- Availability service URL:
https://vamwan310.vamwan.com/EWS/Exchange.asmx
Free/Busy, OOF and meeting suggestions.
- OOF URL:
https://vamwan310.vamwan.com/EWS/Exchange.asmx
Out of Office access.
- OAB URL:
https://vamwan310.vamwan.com/OAB/023ef307-b18a-4911-a52c-de26700f6173/
OAB access.
- Exchange Control Panel URL:
https://vamwan310.vamwan.com/ecp/
ECP access.
4. AutoDiscover Tips
- AutoDiscover Service itself is a web application running on the AutoDiscover virtual directory (not a server service) designed to provide connection information to various
clients.
- The AutoDiscover service is automatically installed and configured when CAS role is added to any Exchange Server.
- AutoDisocver virtual directory is created in IIS within the Default Web Site.
- A Sercive-Connection-Point (SCP) object is created in AD.
- The SCP contains a URL to the AutoDiscover service. This is for intranet clients so they do not have to use DNS to locate the AutoDiscover service.
- In AD this object is located at the following location:
DC=<domain>, CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=First Organization, CN=Administrative Groups, CN=Exchange Administrative
Group, CN=Servers, CN=<CAS Name>, CN=Protocols, CN=AutoDiscover, CN=<CAS Name>
- Setup creates the AutoDiscover URL based on the following structure:
<CASNetbiosName>.domain.com/AutoDiscover/AutoDiscover.xml
If a PKI certificate is not already present, a self-signed certificate is installed on the Default Web Site.
To help allow this certificate pass the Issues to test it is set up with a Subject Alternative Name containing urls.
If a PKI certificate is present, that certificate is utilized and configured for use in IIS.
The Outlook Provider is used to configure separate settings for the Exchange PRC protocol (internal to network), Outlook Anywhere (Exchange HTTP protocol), and WEB:
EXCH, EXPR, WEB
The
EXCH and EXPR setting are vital for the proper configuration of Outlook.
5. AutoDiscover Workflow
General Process flow:
There are various components surrounding the AutoDiscover Service and all are necessary to complete a request. Including IIS, AutoDiscover service
itself, the provider, and AD.
a.
Client constructs service URL and submits Autodiscover Request. First attempt to locate the SCP object in AD. So, DNS is not needed.
b.
IIS Authenticates User.
c.
Is the Autodiscover service in the appropriate forest?
+ If YES.
1)
Parse/Validate Request
2)
Is there a provider that can service the Request?
++ If YES
a)
Config provider processes request and returns config settings.
b)
Return config setting to client
++ If NO
Inform client we cannot process request
+ If NO.
Redirect client to Autodiscover service in the appropriate forest.
Methods to find Autodiscover services: SCP and DNS
Domain-joined
a. Find SCP first.
The SCP contains the URL to the AutoDiscover service.
URL: https://CAS01.contoso.com(CAS’ FQDN)/AutoDiscover/AutoDiscover.xml
If more than one SCP object is found in AD (it means there are multiple CAS servers in the Exchange organization), Outlook client will choose one of the SCP entries that
are in the same site to obtain the AutoDisocover URL.
b. If we cannot find SCP object, then Outlook client will use DNS to locate AutoDiscover.
Outlook parses out the domain (SMTP suffix) via your EmaiAddress, then attempts to connect to the predetermined order of URLs via the suffix.
For example: If my email address is
[email protected]
Outlook tries POST commands to the following order of URLs:
https://contoso.com/autodiscover/autodiscover.xml
https://autodiscover.contoso.com/autodiscover/autodiscover.xml
NOTE: The URLs above is by design, hardcode
and cannot be changed.
c.
If those fail, Outlook tries a simple redirect to another URLs in IIS:
http://contoso.com/autodiscover/autodiscover.xml
http://autodiscover.contoso.com/autodiscover/autodiscover.xml
If none of these URLs work then DNS is most likely not set up correctly.
We can test that by pinging one of the above URLs.
If that is successful, we must ensure the URLs contoso.com or autodiscover.contoso.com are actually pointing to the CAS server.
If the ping fails then there is a chance that DNS is not set up correctly so be sure to check that the URLs are even registered.
NOTE: If contoso.com is a non-CAS server,
we should add a Host record with just AutoDiscover. And point that entry to your CAS server that is running AutoDiscover.
d.
If still failed, we can use DNS SRV lookup for _autodiscover._tcp.contoso.com, then “CAS01.contoso.com” returned. Outlook will ask permission from the user to continue
with AutoDiscover to post to https://CAS01.contoso.com/autodiscover/autodiscover.xml
Non-Domain-joined
It first tries to locate the Autodiscover service by looking up the SCP object in AD. However the client is unable to contact AD, it tries to locate
the Autodiscover service by using DNS.
Then, same as step b, c, d in
Domain-joined scenario.
6. How to change the AutoDiscover
service location order forcibly?
By default, Outlook client locates AutoDiscover service in that order above.
We can also change the order forcibly.
a.
If we want to locate AutoDiscover service via one of the autodiscover URLs, please running following command in EMS:
Set-ClientAccessServer -identity <servername> -AutodiscoverServiceInternalUri https://autodiscover.contoso.com/autodiscover/autodiscover.xml(URL
that you want)
b. If we want to locate AutoDiscover service via
SRV record, please follows this KB to set up SRV:
http://support.microsoft.com/kb/940881
7. How to check AutoDiscover Healthy
a. We should make sure the AutoDiscover
is healthy before using AutoDiscover to perform troubleshooting.
b.
We can browse following URL in IE explorer:
https://autodiscover.vamwan.com/autodiscover/autodiscover.xml
If it returns “code 600”, that means AutoDiscover is healthy.
Screenshot as below:
c. AutoDiscover itself returns errors to the requesting client if the incoming request does not contain the appropriate information to complete a
request.
The following table explains the possible errors that could be returned.
Error Value
Description
600
Mailbox not found and a referral could not be generated.
601
Address supplied is not a mailbox. The provided email address is not something a client can connect to. It could
be a group or public folder.
602
Active Directory error.
603
Others.
The 600 “Invalid Request” error is returned because a user name was not passed to the service. That is OK for this test because this does confirm
the service is running and accepting requests.
d.
If AutoDiscover service is not working well, I suggest re-building the AutoDiscover Virtual Directory for testing.
Steps as below:
1) Running following command in EMS to remove the AutoDiscover VD (we cannot delete it via EMC):
Remove-AutodiscoverVirtualDirectory -Identity "CAS01\autodiscover(autodiscover.contoso.com)"
Please refer:
http://technet.microsoft.com/en-us/library/bb124113(v=exchg.141).aspx
2)
Running following command in EMS to verify whether we have removed the AutoDisocver VD successfully:
Get-AutodiscoverVirtualDirectory | FL
Please refer:
http://technet.microsoft.com/en-us/library/aa996819(v=exchg.141).aspx
3)
Running following command in EMS to re-creating a new AutoDiscover VD:
New-AutodiscoverVirtualDirectory -Websitename <websitename> -BasicAuthentication:$true -WindowsAuthentication:$true
Please refer:
http://technet.microsoft.com/en-us/library/aa996418(v=exchg.141).aspx
8. Common issues
a. Outlook Disconnection
Issue and Troubleshooting
Issue:
Sometimes the Outlook clients cannot connect to the Exchange server after migrating to a new Exchange server or changing to new CAS. The Outlook clients
always connect to the old CAS server.
Troubleshooting:
To solve this issue, we should change the SCP via following command:
Set-ClientAccessServer -Identity
<var>CAS_Server_Name</var> -AutodiscoverServiceInternalUri
https://mail.contoso.com(newCAS’FQDN)/autodiscover/autodiscover.xml
b. Autodiscover
Certificate issue
Tips on Certificate:
Exchange requires a certificate to run an SSL protocol such as HTTPS. We can use the certificate that supports subject alternate names (SAN) in Exchange.
This is to allow the certificate to support resources that have different names, such as Outlook Anywhere and the Autodisocver Web application.
Issue and Troubleshooting
Issue:
We receiver the Certificate Principal Mismatch error when we use a SAN certificate.
Troubleshooting:
1) Please determine the FQDN that the client
uses to access the resource. Steps as below:
OutlookàToolsàAccount
SettingsàE-mailàclick
the Exchange accountàChangeàMore
SettingsàConnectionàExchange
Proxy Settingsànote the FQND that list in the
Only connect to proxy servers that have this principal name in their certificate box.
2)
Please using EMS to determine the value for the CerPrincipalName attribute: Get-OutlookProvider
This command returns the result for the EXPR name.
3)
Please re-setting the CertPrincipalName attribute to match the FQDN via following command:
Set-OutlookProvider EXPR –CertPrincipalName: “msstd:<FQDN the certificate is issued to>”
9. Resource for reference:
Autodiscover and Exchange 2007
http://technet.microsoft.com/en-us/library/bb232838(v=exchg.80).aspx
White Paper: Understanding the Exchange 2010 Autodiscover Service
http://technet.microsoft.com/en-us/library/jj591328(v=exchg.141).aspx
Certificate Principal Mismatch
http://technet.microsoft.com/en-us/library/aa998424(v=exchg.80).aspx
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.HI,
I get following? when run the test? user is login to Domain A but accessing exchange in Domain B? -
Controlling a send step in BPM
Hi I have a BPM like in which the last step will be
block starts( (syn)RFC -> container->) block ends ->transformation-> send and i need to send the message in the last send step..based upon on field in the RFC response, i used a switch step after the block and in the branch i hav transform and step and in the branch otherwise i have the control step, but it seems ,it is not checking the condition, it alwys goes to the send step.
and i am not able to see the switch step in the graphical work flow..any ideas?
thanksSome basic checks that need to be done on the BPM:
1) return code should be 0 in SXI_CACHE
2) In SXI_CACHE there is an option to see the XML of your BPM.....this indicates what all steps are present in the BPM.....open this XML and check if each and every step is mentioned there.
3) Check if there is any errored instance of the BPM in tcode SWWL...if yes then delete this instance
4) I hope that your condition in Switch block is defined properly.
5) Delete all the objects from ID (related to this interface)....then reimport the BPM from IR and again create the objects....last option
Regards,
Abhishek.
Maybe you are looking for
-
Wifi Not Working on my blackberry 9780
Even though my phone is connected to my home network wifi,whenever i try to open a webpage a message occurs "Unable to connect to the internet please try again later". My wifi is working perfectly well on my other devices and when i use my mobile dat
-
The local retailer Sharaf DG needs 10 days to check the issue, not helpful at all. I spent more money to buy it from the retailer instead of the online store, and when I called Apple support they said they couldn't help me as I bought the phone from
-
Time Capsule won't connect to Arris Modem?
I'm trying to connect my Time Capsule to an Arris Touchstone Telephony Modem. The modem works with my gf's Belkin router, and I can plug directly into the modem and get Internet access, but my Time Capsule will not work with the modem. The green ligh
-
How to configure Mail to use different ports for POP and SMTP?
I am trying to configure Mail for my AT&T account. It requires me to configure POP (incoming) mail for port 995, and SMTP (outgoing) mail for port 465. However there doesn't seem to be an option to configure different ports for these. Is that correct
-
Does this computer have built-in camera?
Hi there, I have brought home my son's lovely laptop computer. He is developmentally disabled and needs some upgrading and file organizing done to the machine. I didn't think too much of it but a question came up when I started running Software Updat