Tag | Exchange Posts

Here are a few one-liners that use NetCmdlets. Some of these I've blogged about before, some are new. Let me know if you have questions, which ones you find useful, or how you altered these to suit your own needs. Send email to a list of recipient addresses: import-csv users.csv | % { send-email -to $_.email -from lance@nsoftware.com -subject "Important Email" –message "Hello World!" -server 10.0.1.1 } Show the access control list for a specific Exchange folder: get-imap -server $mymailserver -cred ...
Collaboration Data Objects or CDO, is a component that enables messaging between applications. It's something like the MFC we have in VC++ that enables us to prefer a simpler interface compared to the WIN32 API which, as an interface, still requires lots of escalation work by developers (yet very robust!). CDO is primarily built to simply the creations of messaging applications and we should keep in mind that CDO is NOT a new messaging model but is BUILT ON the MAPI architecture. It is just an extended ...
I have now had my iPad for a little over a week. In that time, Apple introduced the world to its iPhone OS 4 (and the SDK agreement’s draconian new section 3.3.1), HP introduced is Slate, and Microsoft got ready to launch Visual Studio 2010 and .NET 4.0. And through it all I have used my iPad. I've used it for email, calendar, controlling my Sonos, and writing an essay. I've used it for getting on TripIt and Twitter, and surfing the Web. I've used it for online banking, and online ordering and delivery ...
While performing the initial Exchange 2010 deployment for a customer migrating from Exchange 2003, I ran into an issue with mail flow between the two environments. The Exchange 2003 mailboxes could send to Exchange 2010, as well as to and from the internet. Exchange 2010 mailboxes could send and receive to the internet, however they could not send to Exchange 2003 mailboxes. After scouring the internet for a solution, it seemed quite a few people were experiencing this issue with no resolution to ...
Friend of Red Gate I recently joined the friend of Red Gate program. I am very honored to be included in this group. This program is a big part of Red Gates community outreach. If you are not familiar with Red Gate, I urge you to check them out. They have some wonderful tools for the SQL Server community and the DotNet community. They are also building up some tools for Exchange and Oracle. I was invited to join this program primarliy because of my work with Simple Talk and promoting one of their ...
At QCon in March we had a sample Azure application implemented in both Java and Ruby to demonstrate that the Windows Azure Platform is not just about .NET. The following is an interesting interview with Rob Blackwell, the R&D director of the partner who implemented the application. UK Interoperability Team Interviews Rob Blackwell, R&D Director at Active Web Solutions. Is Microsoft taking interoperability seriously? Yes. In the past, I think Microsoft has, quite rightly come in for criticism, ...
A few weeks ago we started getting complaints about performance in an application that has performed very well for many years. The application is a n-tier application that uses ADODB with the SQLOLEDB provider to talk to a SQL Server database. Our object model is written in such a way that each public method validates security before performing requested actions, so there is a significant number of queries executed to get information about file cabinets, retrieve images, create workflows, etc. (PaperWise ...
Tim Bass posted on ‘Orwellian Event Processing’. I was involved in a heated exchange in the comments, and he has more recently published a post entitled ‘Disadvantages of Rule-Based Systems (Part 1)’. Whatever the rights and wrongs of our exchange, it clearly failed to generate any agreement or understanding of our different positions. I don't particularly want to promote further argument of that kind, but I do want to take the opportunity of offering a different perspective on rule-processing and ...
[UPDATED 10th March 2010: Edd produced a 2nd post on using IronRuby with WPF/.NET ] [You might want to also read other GuestPosts on my blog – or contribute one?] On the 26th and 27th of March (2010) myself and Edd Morgan of Microsoft will be popping along to the Scottish Ruby Conference. I dabble with Ruby and I am a huge fan whilst Edd is a “proper Ruby developer”. Hence I asked Edd if he was interested in creating a guest post for my blog on IronRuby. If you should stumble across this post and ...
After seeing that some of my friends get fancy customized pictures for their Facebook and Twitter profiles I thought it would be cool to get one too. But not for me – for my wife. You see, she currently works as IT Security Officer (the best I know btw.) but earlier when she started as security auditor and she worked as part of the “tiger team”, she often said she wants her picture like the movie poster from "Men in Black”. So this is what I had in mind: Given the upcoming Valentine’s Day it occurred ...
If you are running Exchange 2007 and you want to share free/busy information with an Exchange 2003 Organization or vice versa, click here for more information. Here are a couple of items to be aware of when you deploy the Exchange 2003 version of the InterOrg Tool between Exchange 2003/2007 Organizations. If you need more information about Installing, configuring, and using the InterOrg Replication utility, click here. You can install the InterOrg Tool on a computer that has the Exchange 2007 Management ...
Just a brief note about events where you can expect to see me over the next few months in the UK (and TBH this post will be helpful reminder to me!) February DotNetDevNet - Thursday 25th February 2010 – talking Windows Azure and SQL Azure Azure Open Space Coding Day Feb 27th – coding on Azure March Qcon London 2010 March 11th – manning the Interop stand CloudCamp London March 11th – just being nice to people :) Cloud Computing Congress March 16th – talking on Azure DevWeek March 17th and 18th – talking ...
Below is the current list of charities that will be receiving free software implementations at the 3rd Annual Coders4Charities event on March 26-28, 2010 at Centriq Training in Leawood, KS. 1st Breath 1st Breath is committed to providing education, advocacy, and public awareness of stillbirth in addition to assisting families and medical professionals dealing with the death of a baby. Needs: 1st Breath would like C4C to update their website to allow for interactive forms and the ability to accept ...
The topic covered in this post actually have applicability beyond Lotus Notes, but that is just where I ran into the problem. The real subject is adding credentials to your SMTP client. Normally I would just make sure that the service sending the email has permission to send email to an Exchange server. The problem I had to send the email through Lotus and it wanted a separate login from the identity running the program. The only error message I got back when I originally wrote the code without specifying ...
Recently, we built a new two-node Exchange 2003 Cluster. Both servers run AMD processors. After building the Exchange Cluster, we ran the Microsoft Exchange Best Practices Analyzer tool. We noticed several Domain controller server response time and Global catalog server response time critical issues listed in the Best Practices Report. After reading the following Microsoft Exchange Server Analyzer articles, we started troubleshooting the reported critical issues. Round-trip times to Active Directory ...
As I talked about in a previous post, a common solution for companies running Exchange is to use redirection to dump all incoming user request to the OWA sub directory on the CAS server. HTTP to HTTPS redirection is also commonly implemented. Recently I found a gotcha to this configuration. When a user connected with Outlook Anywhere does a Send/Receive, it will hang on the Offline Address Book, sometimes permanently until either the task is cancelled or Outlook is restarted. After a long while of ...
I have been experiencing an ongoing issue with the Delicious Firefox add-in where the list of local bookmarks didn’t jive with the list on the Delicious website – I had more locally than on the Delicious website. After an unfruitful exchange with Delicious support (does anyone ever really get any help with first level support? No offense intended, people), I set out to figure out what was going on myself. Turns out that another Firefox add-in called RefControl caused the post to the Delicious website ...
The Enable fast message retrieval checkbox for an IMAP4 Virtual Server on an Exchange 2003 Front-end Server is grayed out as shown below. It is grayed out, by default, because the setting does not apply to an Exchange 2003 Front-end Server. For more information about enabling fast message retrieval, please click here. When you run the Microsoft Exchange Best Practices Analyzer tool, a warning message appears stating that the fast message retrieval option is not enabled for an Exchange 2003 Front-end ...
SharePoint sends outgoing email as anonymous SMTP. Under Exchange 2003 this wasn’t much of an issue as all you had to do was allow the SharePoint server IP as an allowed relay under the SMTP virtual server. In Exchange 2007, however it becomes a bit trickier since Exchange 2007 has built-in security to make it more difficult to create open relays. First you have to create a custom receive connector with the IP addresses of your SharePoint front ends listed as allowed relays. Set your authentication ...
Here are a few one-liners that use NetCmdlets. Some of these I've blogged about before, some are new. Let me know if you have questions, which ones you find useful, or how you altered these to suit your own needs. Send email to a list of recipient addresses: import-csv users.csv | % { send-email -to $_.email -from lance@nsoftware.com -subject "Important Email" –message "Hello World!" -server 10.0.1.1 } Show the access control list for a specific Exchange folder: get-imap -server $mymailserver -cred ...
For the past two weeks I was up against MAPI. I must admit, its a amazing piece of work and liked it, the more I delved into it. Let me delve a bit more into the specifics of the problem a bit more. We have a piece of software, and it is used to synch up contacts across Exchange and a custom application using Mapi Server Client. Now this works fine if the Systems are Exchange Server 2003 on Win2k3, and Our Application is on Windows 2008. But the problem started appearing when we tried the same thing ...
I’ve been building a room booking system and I needed a mobile client to be able to book rooms/resources. As our room bookings are all stored in Exchange Public folders, I thought I would take Exchange Web-Services (EWS) for a spin. If you have Exchange 2007, you should find EWS installed. I just added a web-reference to https://SERVER/EWA/Exchange... Here’s a function that enumerates all public folders. I’m skipping some of the initial connection details, but it really is very straight forward. ...
So I've been looking for a long time for a good outlook iphone sync solution. My work uses exchange, and does not expose the appropriate ports outside the firewall to allow for good syncing. Some alternatives 1) Forwarding, gets the email there, but now I have to delete 2x 2) xpressmail or other carrier provided forwarding solutions - works great, but not offered on iphone or android! 3) 3rd party forwarding solutions - most not supported by iphone, and $$ 4) normal exchange - 100% solution, if your ...
A week ago I got a new phone. This was planned, and yet not planned. Getting a new phone working is disruptive, and I didn’t want that disruption on Thanksgiving week. However, Verizon somehow de-provisioned my old phone from its data network and told me it would take 5 days to fix the problem. That meant being without mobile email access, liekly for a week, so I reasoned that getting a new phone would be actually less disruptive than fixing the old one. So I deactivated my Moto Q9m Windows Mobile ...
In many larger environments, Exchange 2007 may be deployed with multiple Client Access Servers (CAS) across the AD site boundaries. The common configuration is to have users access one CAS server from the Internet and it proxy the request to a different CAS in the AD site where the user’s mailbox is located. The Internet facing CAS server should have the Internal URL populated with Forms Based Authentication (FBA) and Basic Authentication enabled. The External URL is optional. The authentication ...
Http to Https redirection is commonly a preferred configuration for Outlook Web Access for most organizations. The challenges presented in IIS7 are that the built-in redirection feature only allows relative redirection without a full URL entered. To perform Http to Https, the full URL is required. This becomes an issue when organizations are trying to redirect for both internal and external users who commonly are using different URLs to access the server. The solution is 2 fold. First, turn on relative ...
What is Proxy and how to generate proxy for WCF Services? The proxy is a CLR class that exposes a single CLR interface representing the service contract. The proxy provides the same operations as service's contract, but also has additional methods for managing the proxy life cycle and the connection to the service. The proxy completely encapsulates every aspect of the service: its location, its implementation technology and runtime platform, and the communication transport. The proxy can be generated ...
This week, I had a pretty strange request. An organization wanted to host multiple Email domains in their Exchange environment while keeping it hidden from external mail users and outside parties. Same organization was ok, same AD and Exchange servers were not. The mail flow portion was pretty simple. Added a new accepted domain to Exchange 2007, to the spam filter appliance, configure LDAP for this new SMTP domain, and change the primary email address for certain users. I used an email policy that ...
Recently while performing the initial steps for an Exchange 2003 to 2007 migration, I ran into one of the more frustrating issues with Exchange 2003 to 2007 transitions. Broken inter-organization mail flow. After banging my head against the wall for a few hours, and sending enough test emails to get added to who knows how many OBLs, I finally stumbled on the answer. Exchange 2007 could talk to the 2003 environment as well as route mail outbound to the Internet, however all 03 to 07 mail was getting ...
I like it when Microsoft bridges its technologies out to other platforms. I like the PHP Driver for SQL Server and the samples in the PHP On Windows Training Kit so much that I did a whole session on them at VSLive! last month. The ADO.NET Data Services (Astoria) bridges for PHP and Java are very exciting to me. The Silverlight plug-in for Eclipse, the Azure SDK for Java, and the Windows 7 support for Eclipse are all good stuff. To add to these recent developments, Microsoft has announced its acquisition ...
I bought a Droid (http://www.droiddoes.com) from Verizon Wireless and I love it! I wanted a WinMobile phone but have been disappointed for years in them. I did NOT want a Blackberry. So I was patient. About a year ago I bought an LG Voyager and I didn't like it at all. So I bought a Droid and it is FANTASTIC. It is so easy to use, so flexible and versatile, and FAST. True multi-tab browsing, always-on email, Exchange mail and calendaring, pop mail, text-to-speech, and the touch screen is FANTASTIC. ...
Recently after deploying a highly available Exchange 2007 solution for a customer, I had to test recovery procedures and create a recovery document. Since I was already documenting my steps, I figured I’d share them here as well. NOTE: This environment consists of a CCR mailbox cluster and a MS NLB cluster with the Hub Transport and Client Access Roles at the production site. The DR site has a server containing the mailbox role and an a server with the Hub Transport and Client Access Roles. 1. First ...
I have had a bit of a “SQL Azure” day at TechEd Europe. I sat through David Robinsons excellent intro to SQL Azure development (smooth, on time, great Q&A), caught up with David afterwards to exchange stories on SQL Azure and find out what I will be missing at PDC next week and then grabbed the chance to capture a short 10minute podcast which I will publish up on Channel 9 next week. David did his demos using a new version of SQL Server Management Studio which works with SQL Azure and announced ...
November Event: Highlights from the PASS Summit Michael DeFehr, Protegra The annual summit for the Professional Association for SQL Server was held in Seattle in the first week of November. With over 160 sessions, thousands of attendees and dozens of SQL server MVPs, it was a huge success and the information exchange was high-bandwidth to say the least. Mike DeFehr attended the event and is attempting to recover by attending another conference this week. He will be back in town and mostly recovered ...
I grew up in New York, and I’ve grown up with the Cuomo family. I liked Mario Cuomo and thought he was a good governor. He was one of those guys in the 1980s that I characterized as a Macho Liberal: someone with compassionate beliefs and a street-tough approach to pursuing them. A Macho Liberal wasn’t a wimp, nor was he a bully. He was someone ready to fight and hold his ground while trying to do good. Sound naive? Hey, give me a break: I was a teenager and an idealist. And I was living under a Republican ...
Seems there has been a large enough uproar from the IT community for Microsoft to announce intentions to support Exchange 2007 on the newly released Windows 2008 R2 OS in the near future. “We always talk about listening to customers and sometimes this is written off by many as 'marketing speak'. In fact, we do take feedback seriously and no input is more important to our engineering processes than your voice. Earlier this year we made a decision in one direction, and due to the feedback we have received ...
There are a lot of things to like about the new version Virtual PC. Compared to its predecessor, it has added support for USB devices; allows individual applications to be run from a virtual machine yet project on the host desktop; has terrific shell integration; and much better awareness of the host’s power management, allowing users to hibernate their physical PC, even while a virtual image is activated. When you add to that the new ability of Windows 7 to mount VHD files as physical drives, and ...
Like many developers I have chosen to upgrade to Windows 2008 to test enterprise scenarios. I have a virtual environment that I want to test in isolation from my local machine. I'm currently trying to test some email functionality that will notify users in a windows workflow. In Windows 2003 this is really easy to do because you have the ability to setup a POP3 server to setup one or more email accounts to test this type of functionality. Unfortunately, I discovered two key missing features in Windows ...
When one of our users attempted to synchronize a Windows Mobile 6.1 device in our Exchange 2003 SP2 environment, the user would see the green Synchronizing icon continuously spin clockwise until it timed-out. We confirmed that the mobile device was able to connect successfully to the user’s mailbox but would not synchronize the contents of the mailbox with the user’s mobile device. In a nutshell, we use ISA Servers and Exchange 2003 Front-End servers in our Exchange ActiveSync environment. So, while ...

 

A white paper detailing Microsoft’s Exchange Server 2003 ActiveSync Architecture from Motorola was recently published this month.  It has a nice overview of Exchange 2003 ActiveSync.

http://technet.microsoft.com/en-us/library/cc164313(EXCHG.65).aspx

When one of our users attempted to synchronize a Windows Mobile 6.1 device in our Exchange 2003 SP2 environment, the user would get the following error message on their mobile device. Result: ActiveSync encountered a problem on the server. Support code: 0x85010014 Last synchronized: None Last attempt: Today: 9:16 AM In a nutshell, we use ISA Servers and Exchange 2003 Front-End servers in our Exchange ActiveSync environment. So, when the user would synchronize their device, the user would get the ...
The October Service Update for Microsoft Online Services includes several new features and enhancements designed to improve the service experience for both administrators and users. The Service Update is currently being deployed into production data centers. Many of these service enhancements are the result of customer and partner feedback. The following features and capabilities are included in the October Service Update: Bulk Activation of Users PowerShell commandlets will be added to streamline ...
The following is Steve Ballmer’s recent letter to CEOs titled ‘The New Efficiency’. In all the talk about the economy, one term that comes up more and more frequently is something called "the new normal." I like this phrase because it speaks to the fact that economic reality has undergone a fundamental shift over the course of the past 12 months. So what is the nature of this shift? After years of economic expansion fueled by unrealistic rates of consumption and unsustainable levels of private debt, ...
Today, I was assigned a task at work, which involved taking a CSV format flat file and submit it to a third-party web service. Well the webservice that the data needed to be posted to, is not a .NET based webservice, so the hook-ups needed to be done manually. The webservice is setup to accept an ISO Standard XML format called ADF, it's an eLead based schema used within the automotive industry to exchange prospect data from system to system. I took a look around Google, but wasn't able to find a ...
So I read about the first 50% of Ariel, its fun so far, but one thing really bugs me. The lack of guns. In all science fiction/fantasy, I give the author a chance to set up whatever rules they want. Aliens exist, Psychic powers exist, whatever. All I ask that whatever new rules the author sets up be consistently applied. In Ariel, some undefined event happens, and all technology stops working, in exchange magic starts working. This is a really interesting premise, and allow me to speculate : If the ...
As many of us are aware, hosted exchange providers are popping up everywhere...and with good reason as there are tremendous benefits to this model. There are two models of hosted exchange. The first one has been in existence for a long time and is also referred to as managed exchange server. Essentially this is a dedicated Exchange server or server farm that serves only one organization. Many large entities have been using this model for ages through providers like Ceryx (winner of Microsoft’s 2008 ...
For those of you looking for the slides for my presentation at devLink here is the link: http://cid-8e2654c5f01e6069... Here is the code samples: http://cid-8e2654c5f01e6069... So most of you guys know I’m more of an alternative/rock type person. I don’t enjoy country music much. It’s just not my thing that I will go and seek out. I don’t fully hate most of it. In fact Johnny Cash is a huge ...
We have identified a serious issue with responding to calendar invitations using an iPhone with the latest 3.0 update. When you accept an invitation, the meeting organizer sees the response coming from the first person to respond to the invitation and leaves your attendee status set to "no response". This means that using your iPhone to accept/reject calendar invitations will significantly interfere with organizing meetings. This is only the case when iPhone users accepting from the same domain...ie ...
Registration for PDC 2009 is now open. If you register by September 15th you can save a hundred bucks. Or you could get there my way: win a contest (hey, I’m a poor developer). As I mentioned in a previous article, INETA has a component contest that prizes a trip to PDC. But, it’s not the only one: Microsoft has announced the Code7 Contest - Code the Power of 7. It pays out great prizes, but you have to take advantage of the technologies built into Windows 7 like Libraries, Touch, Shell Integration, ...
I experienced this error recently and spent an eternity trying to resolve it. I finally found the solution to my problem and wanted to document it for others. For me, the issue only appeared when I tried to invite people to a scheduled meeting. Under normal circumstances, blank (no invitees) scheduled meetings worked fine. Ad-hoc meetings worked fine. Some invitees worked, but others did not. When an invitee caused the issue to appear, this message would be displayed either when I saved/sent the ...