Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 13th, 2006, 08:20 AM
Registered User
 
Join Date: Sep 2006
Location: Hugo, MN, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default CreateObject error

I have an activex object that contains the code "CreateObject("Outlook.Application)". This code works fine if run locally, but when I put it on our development server, I get an Err 429: ActiveX can't create object error. The server has the same version of outlook, etc. Also, I put that same code into a standard exe and it runs fine on the server. The activex component is being called from an asp page (asp 3.0).

any ideas on how to troubleshoot this would be appreciated.

Thanks!

psames

Reply With Quote
  #2 (permalink)  
Old October 13th, 2006, 09:26 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

IF you are trying for Server Side Automation, Please read the article below

http://support.microsoft.com/default...b;EN-US;257757

Cheers
Shasur:)

http://www.vbadud.blogspot.com
Reply With Quote
  #3 (permalink)  
Old October 13th, 2006, 02:53 PM
Registered User
 
Join Date: Sep 2006
Location: Hugo, MN, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you, Shasur! This is exactly what I was looking for, even though I had searched microsoft repeatedly and hadn't found this article.

Quote:
quote:Originally posted by plsames
 I have an activex object that contains the code "CreateObject("Outlook.Application)". This code works fine if run locally, but when I put it on our development server, I get an Err 429: ActiveX can't create object error. The server has the same version of outlook, etc. Also, I put that same code into a standard exe and it runs fine on the server. The activex component is being called from an asp page (asp 3.0).

any ideas on how to troubleshoot this would be appreciated.

Thanks!

psames

Reply With Quote
  #4 (permalink)  
Old October 14th, 2006, 07:20 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Try the following

Add the identity to the webconfig file

<identity impersonate="true"/>

Impersonation provides ASP.net to execute the process with the privileges of another user for a session.

Also make sure that ASPNET (if IIS5.0) or NetworkService is included in the list of users with required privileges

Cheers
Shasur

http://www.vbadud.blogspot.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in WScript.CreateObject pankaj.talk Pro VB.NET 2002/2003 1 June 5th, 2006 03:34 PM
CreateObject Type mismatch error Deepmala Classic ASP Professional 1 February 7th, 2006 04:28 AM
Type Miss match error for Server.CreateObject Deepmala Classic ASP Components 0 December 6th, 2005 02:50 AM
error when createobject excel.application vovo Classic ASP Professional 0 February 3rd, 2005 12:29 AM
CreateObject error on IIS 4 but not IIS 5 timtom Classic ASP XML 1 December 5th, 2003 01:26 PM



All times are GMT -4. The time now is 08:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.