Create Exchange Mailbox Error (ASP)

I have a script (ASP) written which creates an account in AD, creates a folder on our file server and sets its permissions, and then creates a mailbox on the exchange server and sets its permissions... This script use to work fine, and it hasnt been used in 2 months (since we have had no new students since the end of the term).

I have part of the script below. There is alot of code above this script which gets executed perfectly. The code that is missing creates an account in the AD, creates a folder on the file server and gives that folder the correct permissions...

This is the section that does not work, and I am testing seperately with no success... I have checked the permissions on the server (gave the account full permissions), still nothing... I added the account creating the mailboxes to the security in the exchange system manager. Code:

View Replies


ADVERTISEMENT

How To Create A Users Exchange Mailbox?

Anyone know how it is done? This is what I have:

dim exchUser 'line 500
set exchUser = oAddUser 'the user I have added defined as: set oAddUser=oOrgUnit.Create ("user", sAddUser)
dim strServerPath
strServerPath = GetEmailServer
exchUser.CreateMailbox strServerPath
exchUser.SetInfo

But it comes back with: error 800a01b6 line 504 exchUser.CreateMailbox

View Replies View Related

Getting Exchange Mailbox Size From ASP

Is it possible to get the size of a users exchange 2003 mailbox from ASP?

View Replies View Related

800a01b6 Create Mailbox Asp

I've created an ASP web page where users in our organization can create
Active Directory computer accounts.

The web page is running on a Server 2003 SP1 IIS 6 installation. The
Exchange System Manager is running on the web server and Exchange SP2 has
been installed.

The web page uses ADSI code to create a user, and then CDO code to create
the mailbox e.g.

set oOU=GetObject(<LDAP string for OU>)
set oUser=oOU.CreateUser("user",<CN for user>)
' set a bunch of attributes
' now create mailbox
set oMailbox=oUser
oMailbox.CreateMailbox <string representing MTA>

Now, when I connect to this site using my domain admin credentials, it
works. However, if a user connects to this site, the user account is
successfully created in AD but upon reaching the "CreateMailbox" line, I get

Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method

Thinking that this was most likely a permissions issue, I took the .asp page
containing the code and converted it to a .vbs file. Then, I logged in as the
user account and used cscript to execute the .vbs file. Both the user account
and the mailbox were created succesfully.

I don't understand why the code runs under the context of a user account as
a vbs script, but doesn't run as an ASP page unless the user is a domain
admin. It's not permissions on AD or Exchange or the code wouldn't have run
as a vbs script. What is different about running it as an ASP page?

View Replies View Related

Asp Create Mailbox Question

I've created an ASP web page where users in our organization can create
Active Directory computer accounts.

The web page is running on a Server 2003 SP1 IIS 6 installation. The
Exchange System Manager is running on the web server and Exchange SP2 has
been installed. The IIS site is configured with Basic Authentication and
users are prompted to enter their Active Directory credentials when
connecting to the site.

The web page uses ADSI code to create a user, and then CDO code to create
the mailbox e.g.

set oOU=GetObject(<LDAP string for OU>)
set oUser=oOU.CreateUser("user",<CN for user>)
' set a bunch of attributes
' now create mailbox
set oMailbox=oUser
oMailbox.CreateMailbox <string representing MTA>

Now, when I connect to this site using my domain admin credentials, it
works. However, if a user connects to this site, after being prompted by
IIS' basic authentication for AD credentials, the user account is
successfully created in AD but upon reaching the "CreateMailbox" line, I get

Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method

Thinking that this was most likely a permissions issue, I took the .asp page
containing the code and converted it to a .vbs file. Then, I logged in as the
user account and used cscript to execute the .vbs file. Both the user account
and the mailbox were created succesfully.

I don't understand why the code runs under the context of a user account as
a vbs script, but doesn't run as an ASP page unless the user is a domain
admin. It's not permissions on AD or Exchange or the code wouldn't have run
as a vbs script. What is different about running it as an ASP page?

View Replies View Related

Create Object Error

I am getting the following error when using CDONTS to send an email.

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/submitauth.asp, line 42

800401f3

We have recently moved the application from a windows 2000 server to a windows 2003 server with DOT net framework installed. Everything else works but I am not able to send emails. Does anyone knows why this happens?

View Replies View Related

Sql CREATE TABLE Syntax Error

I'm trying to dynamicly create a table in an existing ACCESS database. Code:

View Replies View Related

Error: ActiveX Component Can't Create Object: 'CDO.Message'

does anyone knows how to send email from ASP forms?

I wrote this code for sending email:

Dim objMail
set objMail = CreateObject("CDO.Message")
objMail.From = "mail-srv@binapuri.com.my"
objMail.To = "Serene@binapuri.com.my"
objMail.Subject = "New leave application."
objMail.TextBody = "Testing"
objMail.Send
set objMail=nothing

But I got this error:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'CDO.Message'

What does it means?

View Replies View Related

ActiveX Component Can't Create Object Error Number = 429

After server went down I got this error after submitting Membership form. (win2000, IIS 5.0, Access Database(mdb)
ActiveX component can't create object Error Number =429

View Replies View Related

Error :: ActiveX Component Can't Create Object: 'ScriptUtils.ByteArray'

I need to upload large files.I had the Huge ASP upload installed.It came recommended here.

Using the sample script I get this error when uploading:

Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'ScriptUtils.ByteArray'
/upload.inc, line 53

What does that mean?

View Replies View Related

Create Database And Create Table On One Form

Here's what my code looks like...

View Replies View Related

Asp Exchange

I have created a simple set of asp pages which do some funky database stuff. One aspect which I would appreciate some help on is Email.I have created these pages for use internally to my work network, mainly admin database entry type stuff. The network has several exchange servers. I would like to send a notification email everytime a function within tthe asp scripts is made (i.e. every time a new set of information is added to a database) to a select few people (which may well change from time to time). Now I thought that I might create a new mailbox on an exchange server and send mail via this, so that if anyone were to reply to the notification mail it would go back to the mailbox. Therefore, using the exchange server mailbox as my pump for shooting off mails all over, I could create an email rule which would forward anything from my asp pages to the relavent people.Couple of questions 1) is this a logical approach 2) if the answer to 1 is yes then what is the best method of shooting off emails from asp scripts to the exchange server?? (would it just be using the SMTP service)

View Replies View Related

ASP And MS Exchange

I have written a asp form and i'm trying to figure out how i can connect it to send out an email.

The form is running through the process & isn't showing any errors, but it isn't sending out the email either from the form. I know that our IT guy is running MS Exchange for our email, but I believe that it is on a seperate box as well. Does anyone have any suggestions or advice?

View Replies View Related

CDO Through IIS Or Exchange?

I am trying to configure CDO at my facility and wonder if I should use it
through IIS or our Exchange server? Can anyone point me in the right
direction? We are using Windows 2000 Server with IIS and Windows 2000
Server with Exchange 5.5.

View Replies View Related

ASP / Exchange 2003

I am writing a small CRM at the moment and would like one of the features to be that the first page picks up mail from a 'info@' mailbox on a locally hosted exchange 2003 server.

I am finding it a nightmare to track-down either how to do this or find the right info, I think partly because the methods may have changed with server upgrades.

Is there a definative method I should be using and any pointers to documentation etc.

View Replies View Related

Link Exchange

i have started software and web Development business. But I dont have an idea about Link Exchange what is this.When i develop website for my client how i use Link Exchange in my Client's Website.

View Replies View Related

Query Exchange

I have developed an asp application and I would like to add an e-mailing feature. I have code to send an e-mail but I want to be able to query exchange 2000 or active directory for the users e-mail address. Every users e-mail address is listed in AD and Exchange 2000. I will only have the users username to search with.

View Replies View Related

Asp Connection To Exchange

I need a code in asp that connect to the Exchange and write the new mails to sql.

View Replies View Related

Support For OWA On Exchange 5.5

I would like to start using Outlook Web Access on my IIS 5.0 server. It has PHP and MySql on there along with their ISAPI filters. Everything works great. It has the ASP support taken off and I would like to re-add this support back to the server.Where is the ISAPI filter located at on the Server?

I am hoping that this would be the only reason that OWA will not work.

View Replies View Related

Exchange Server 5.5

I require an Asp script that will enable me to get all sizes of mailboxes held on Exchange Server v5.5. What I want to achieve is to list all users with a mailbox over a certain Kb size.

View Replies View Related

Banner Exchange In ASP

Does anyone know of a Banner Exchange program in ASP availavble for download - or is there a way to convert PHP programs into ASP.

View Replies View Related

ASP And Exchange Server

I am an intermediate with ASP and i'm not sure if this is possible but i'll give it a shot. I am creating a Listserv (newsgroup) and I want them able to reply to messages in there email. Right now I have sign up form online which connectes to an access db which stores the emails. The admin uses a web based form to send letters and if the subscribers want to send a message or reply they have to use another web form. How can I use exchange server to eliminate the web based forms?

So basicly I want them to reply in like outlook, but the emails are all in access. So when they reply to the list email (list@home.com), somewhere in the exchange server the server will read the db and send the message to the subscribed emails.

View Replies View Related

ASP - Exchange - AD Login

We have a client who have exchange servers and they use active directory. From their intranet (asp) we need to have a link to the exchange server but we need to pass the window logon credentials, so they don't have to log in again on the exch server. How do I go about this?

View Replies View Related

Add Exchange User

I am wondering if it is possible to add an exchange user/mailbox via ASP (or ASP.NET).

I've seen some examples using ADSI, but I am wondering what the simplest way of doing this is.

View Replies View Related

MS Exchange Data

Our company currently has a SQL Server 2000 database with various client information, accessed through an ASP driven intranet. We also use Exchange 2000 and a shared contacts folder. Many of the contacts are also in the SQL Db and when we get a new client, information is often entered in both places.

What I would like to figure out how to do, hopefully via ASP is create a user-defined field in the shared contacts which is their recordid in the SQL db and then be able to grab info from Exchange where needed so we would not have address & telephone numbers in both Exchange and the SQL db.

I've done a little research on using MAPI with ASP but most of what I've found relates to sending mail, not to working with shared contacts.

View Replies View Related

Exchange Of Files

Is it in ASP possible to make a webpage with folders and
subfolders where people (if they have the right password) can
download and upload files. An uploadet file should appear on the
webpage for others to use as soon as it is there.

There is probably a name for this system. I would prefer if it
could work like the Total Commander, on the internet.

View Replies View Related

Sending Email Using ASP (CDO Or Exchange)

I have worked with CDO mail before at a different job, but at that job I was developing internet sites, and now I am developing Intranet apps. We have the following setup, WWW/SQL on 1 server, mail server, PDC and SDC (and Proxy), all OS's are Windows 2000 Server (except Proxy, it is NT4).

What would be the best way to allow sending emails from ASP?

View Replies View Related

Accessing Exchange Via ASP-file

I have an application where I access Exchange server via an ASP-file whit
the following code:

objSession.Logon "", "", False, True, 0, True, "ExchangeServerName" & vbLF &
"mailboxUser

This works fine for years on one server. I now want to move the application
to a new server I get error code number 424. I use the same Exchange server
and the same mailboxUser but from a different server. Anyone knows what the
error code 424 means?

View Replies View Related

Accessing Exchange Data Using ASP

Does any one know how to access Information from a Corporate Network's Exchange Server, such as an Address Book or Address Entriers for a user curerntly logged on, by means of COM (CDO) using ASP (VBScript)

View Replies View Related

Exchange Server, Email Is Never Sent

I'm sending email from a networked computer that uses an exchange server on yet a different computer. With the two different types of code posted below, the email will only send successfully on my computer. When I step into a colleague's office (using the same exchange server), no email is ever sent....

View Replies View Related

Running Exchange 2003

My prod box consists of the following:

- Windows 2003 Server
- Exchange 2003

If I use cdoConfig to send emails from my .asp application do I need to include the following typelib on my .asp page if I'm running Exchange 2003:

<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->

Is this the correct typelib if I'm running Exchange 2003?Or, is there a "CDO for Windows 2003 Library" that I should be using instead?

View Replies View Related

Outlook Exchange Server

I have a form with a input text box where a user has to enter a work email address.Is there anyway that he or she can click a link which will open Microsoft Outlook and list all the work email addresses, thereby selecting an email address which will be automatically inoutted into the input text box?

View Replies View Related

Get E-mail Address From Exchange

I have asp for an employee directory with photos. All the info is stored in an Access database including e-mail address and phone number. I would really like to get the e-mail and phone numbers from our Outlook/Exchange address book. This address book is kept updated but my database is not. How would I go about extracting this info from our global address list? Would it be better to create something that updated the Access database offline rather than dynamically query each persons entry from the web server? Any hints on how to do either?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved