Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7780149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:49:17+00:00 2026-06-01T18:49:17+00:00

Trying to connect to exchange 2010 SP1 using EWS & VB.Net. When i try

  • 0

Trying to connect to exchange 2010 SP1 using EWS & VB.Net. When i try to use autodiscovery it works just fine. The problem being is it connects to my local exchange mailbox and thats not what i need. We have a mailbox that the exchange admins set up that all the programmers can connect to (call it TestMailbox). So when i do:

exchange.AutoDiscoverUrl("TestMailbox@MyDomain.com")

It connects to my local mailbox rather than the “TestMailbox”. I got the password for the TestMailbox NT account from our admin and tried all of the following:

exchange.Credentials = New WebCredentials("TestMailbox@MyDomain.com", "Password")      


exchange.Credentials = New WebCredentials("TestMailbox", "Password") 

exchange.Credentials = New WebCredentials("TestMailbox", "Password","MyDomain")

exchange.Credentials = New WebCredentials("MyDomain\TestMailbox", "Password")   

all of them fail. Say my NT username on my local net work is “User” i even tried:

exchange.Credentials = New WebCredentials("User@MyDomain.com", "MyPassword")

and it failed. I have been using the following Link for reference.

Edit 1: i have tried all the above with NetworkCredential rather than WebCredential and it still fails.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:49:18+00:00Added an answer on June 1, 2026 at 6:49 pm

    We figured it out. TheTestMailbox & ProdMailbox domain accounts were both setup to only allow certain computer to login locally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to call EWS (Exchange version 2007 SP1) using Mono on OS X.
I'm trying to use Net::SSH::Perl to connect using public keys with this code: my
Im trying to connect MySql from VB.NET in visual basic 2010. I wanted to
I'm trying to connect to a MySQL 5 database using the MySQL ODBC 5.1
I'm trying to connect to SQL Server on Ubuntu 9.04 using Ruby. I translated
I am trying to connect to our exchange 2007 server. I have placed lots
I am trying connect the asp.net membership tables in to an asp.mvc 3 website.
Trying to connect to sql server 2005 with delphi 2010 gives me the following
im trying to connect to to an interBase database, and create a ASP.net application.
I was trying to connect with groovy WSClient to Exchange server wsdl, but can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.