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
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:
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?
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?
Is it possible to allow a person whom navigates to a particular page to type in a URL to a website they visit often, and have it be treated like code on the page itself for them to use it as a hyperlink?
I want to be able to log in a database any transactions my users perform. For example logging in, requesting a page, downloading a resource, logging out etc.
What is the most practical way to code this? I was thinking of trying to use an include file which would have a function to add a log in the database for each page on the site or when a particular action is performed.
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)
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?
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.
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.
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.
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.
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.
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.
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.
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?
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.
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.
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?
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?
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)
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....
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?
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?
I have developed a fairly simple CMS for my intranet at work - I would like to have a "Request a photographer form" that e-mails me the posted data by utilizing our intranet exchange server, if possible.
I'm not really looking to code this but I will if I absolutely have to =) Anyone know how to do it or where I can find a simple form script that does? I have found lots that work with sendmail and other types of servers but none for exchange.
How would I be able to simply read an MS Exchange Server 2000 mail and transfer it to a SQL Server 2000 database programmatically. I need reference for this an has been unsuccessful in looking for any for the past week already.
I am looking for a ASP Links Exchange Script. if there is any ASP Links Exchange Script, then let me know. Because i m Tired of Adding links and then Uploading FTP and more.