Roady,
First of all, my apologies, indeed I did not mention the version, nor
did you mention that the option to pass the argument was not available
in the most current version. Yours is at times a thankless effort and
I should have specified that this is Outlook 2007 with SP1 running on
Vista Ultimate SP1 with all MS Office 2007 updates and all available
Vista updates applied. I do appreciate the efforts any who try to help
and of all the MVP's, including you. So, truce and no need for you to
further defend yourself. It was my mistake.
I can only infer from your comments that Outlook 2007 is supposed to
be network aware.
There are two scenarios: scenario 1, disconnected from all networks
(Exchange Server unavailable); and scenario 2, connected to the
Internet (Exchange Server unavailable).
Scenario 1, I don't really care about because I am nearly always
connected to either a private network, the Internet or both. Scenario
1 only exists because I perceive that you are inferring that no prompt
should exist, yet it does. Scenario 2 is my scenario, which I do care
about very much.
In both scenarios, he throws the same two errors, event ID 34 and
event ID 35. The difference is that in scenario 2 (connected to the
Internet) he throws event ID 35 seven times! In scenario 1 (no network
connections) he throws event ID 34 and 35 once each.
In scenario 1, the wait time is a few seconds before the prompt
presents: Exchange Server Unavailable; Retry, Work Offline, Cancel.
In scenario 2, the wait time is extended to > 40 seconds.
I don't want errors thrown and I don't want to wait. I want to tell
him to work offline at launch so as not to be bothered.
Below are one each of the errors (although, the second error, event ID
35, occurs seven times in scenario 2).
ERROR 1
Log Name: Application
Source: Outlook
Date: 6/12/2008 5:27:46 PM
Event ID: 34
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XXXXXX
Description:
Failed to get the Crawl Scope Manager with error=0x8001010d.
Event Xml:
<Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Outlook" />
<EventID Qualifiers="49152">34</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-06-12T21:27:46.000Z" />
<EventRecordID>69549</EventRecordID>
<Channel>Application</Channel>
<Computer>XXXXXXX</Computer>
<Security />
</System>
<EventData>
<Data>0x8001010d</Data>
</EventData>
</Event>
ERROR 2
Log Name: Application
Source: Outlook
Date: 6/12/2008 5:27:46 PM
Event ID: 35
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XXXXXXXXX
Description:
Failed to determine if the store is in the crawl scope
(error=0x8001010d).
Event Xml:
<Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Outlook" />
<EventID Qualifiers="49152">35</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-06-12T21:27:46.000Z" />
<EventRecordID>69550</EventRecordID>
<Channel>Application</Channel>
<Computer>XXXXXXXX</Computer>
<Security />
</System>
<EventData>
<Data>0x8001010d</Data>
</EventData>
</Event>
-solon fox
To say "it can't be done for Outlook 2007" I first needed to know your
version. Obviously you didn't get the hint in my second reply once you
finally stated your Outlook version. Why else propose a workaround?
You asked for a command line switch in your OP so I assumed you knew how
command line switches work. Anyway;
outlook.exe /nopoll
The following works as well
outlook.exe /safe:2
But again; that is for Outlook 2003. Outlook 2007 doesn't need that switch
as it won't throw an error that needs to be confirmed when the server cannot
be found after launch, nor does it require you to wait. Whether that is a
pretty solution or not I will leave up to your to decide. If you feel that
is unacceptable then you should provide your feedback by contacting
Microsoft Support directly.
Therefore, with above behavior in mind, my return question was (which you
didn't answer either);
At what time do you get your prompts?
If you don't post in detail, we can't reply in detail either. There is no
way that we can look over your shoulder from here.
--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003http://
www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more
http://www.msoutlook.info/
Real World Questions, Real World Answers
<<snipped due to length full thread at
http://groups.google.com/group/micr...eral/browse_frm/thread/3f0add56e4fa49c8?hl=en