Use regsvr32.exe from a command prompt.

regsvr32 <installed dir>\<comobject>

For example:

regsvr32 c:\ims\imsmail.dll

You should then see a dialog box indicating that the installation was 
successful.

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server

----- Original Message ----- 
From: "Paul Ihrig" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 08, 2001 1:33 PM
Subject: please help :: COM error 0x80040154. Class not registered


> how do i register a class on the web server?
> please give me a clue????
> 
> i am stumped.
> 
> had great fun playing with a script to add stuff to my outlook calendar.
> uploaded it to the server & it whimped out on me.
> 
> guess i needed outlook on the server.
> 
> so Dian told me i could possibly call on a class id, but i am too short
> sited on how to do this.
> code & error below.
> 
> thank you
> 
> -paul
> 
> Web Developer, NBBJ
> Work: [EMAIL PROTECTED]
> 614 241-3534
> fax: 614 485-5534
> 
> Home: [EMAIL PROTECTED]
> 614 449-1681
> 
> > icq: 47658358
> 
> 
> Error Occurred While Processing Request
> Error Diagnostic Information
> Error trying to create object specified in the tag. 
> 
> COM error 0x80040154. Class not registered 
> 
> The error occurred while processing an element with a general identifier of
> (CFOBJECT), occupying document position (348:5) to (354:49).
> 
> 
> Date/Time: 05/08/01 12:57:59
> Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; AIT)
> Remote Address: 10.101.4.80
> HTTP Referer: http://inhouse/education/signup.cfm?CalendarID=118
> 
> 
> 
> <!--- CFCOMET.COM / Outlook --->
> <!--- Try to connect to the Outlook application object --->
> <CFTRY>    
>     <!--- If it exists, connect to it --->    
>     <CFOBJECT         
> ACTION="CONNECT"                
> NAME="objOutlook"         
> TYPE="COM"
> CONTEXT="Remote"
> SERVER="BlahBlah.com"
> CLASS={0006F03A-0000-0000-C000-000000000046}>  
>   <CFCATCH>    
>     <!--- The object doesn't exist, so create it --->    
>     <CFOBJECT         
> ACTION="CREATE"             
> NAME="objOutlook"         
> TYPE="COM"
> CONTEXT="Remote"
> SERVER="BlahBlah.com"
> CLASS={0006F03A-0000-0000-C000-000000000046}>   
>   </CFCATCH>
> 
> </CFTRY>
>  
> <!--- This will create an Appointment, aka Meeting --->
> <CFSCRIPT>
>     /* Get the object name space - currently MAPI is the only option */
>     objNameSpace = objOutlook.getNameSpace("MAPI");
>     /* If you're on Windows NT or 2000, use the next line myLogon =
> objNameSpace.Logon("", "", False, False); */
> myLogon = objNameSpace.Logon("", "", False, False); 
> 
>     /* Create a new appointment structure using 'CreateItem' - '1' is for
> 'New Appointment' */
>     newAppointment = objOutlook.CreateItem(1);
> 
>     /* Sets the status of the Appointment - '1' is 'Meeting'
>        0 = Non-meeting
>        1 = Meeting 
>        3 = Meeting Received 
>        5 = Meeting Canceled */
>     newAppointment.MeetingStatus = 1;
> 
>     newAppointment.MessageClass = "IPM.meeting";
>     
>     /* Set parameters for the Appointment -- there are others available
> 5/8/01 4:30:00 PM
>      newAppointment.Start =
> "<CFOUTPUT>#dateformat(CalendarView.Calendar_Date, "m/d/yy")#
> #TimeFormat(CalendarView.Calendar_Time, "h:mm:ss tt")#</CFOUTPUT>";
>  */
>   
> 
>     newAppointment.Subject = "Class Sign Up :: Confirmation ::
> #CalendarView.ClassTitle# :: #CalendarView.Class_Size_Current# out of
> #CalendarView.Class_Size#";
>     newAppointment.Location = "#CalendarView.RoomName#";
>     newAppointment.Start = "#dateformat(CalendarView.Calendar_Date,
> "m/d/yy")#  #TimeFormat(CalendarView.Calendar_Time, "h:mm:ss tt")#";
>     newAppointment.Duration = "#Int(CalendarView.Calendar_Duration)#";   
> /* Added by -paul 
> newAppointment.ReminderSet = TRUE; */
> 
> 
> newAppointment.body="Do not hit reply. This is just a confirmation!
> #EmpSU.FirstName# #EmpSU.LastName# you are signed up
> #LSDateFormat(CalendarView.Calendar_Date, 'DDDD, MMMM DD, YYYY')# at
> #LSTimeFormat(CalendarView.Calendar_Time)#
> 
> Course: #CalendarView.ClassTitle#
> Course Instructor: #InstructorName.FirstName# #InstructorName.LastName#
> Course Contact: #ContactName.FirstName# #ContactName.LastName#
> Course Room: #CalendarView.RoomName#
> Start Time: # LSTimeFormat(CalendarView.Calendar_Time) #
> Duration: #CalendarView.Calendar_Duration# Minutes
> Size: #CalendarView.Class_Size#
> Your Seat Number: #CalendarView.Class_Size_Current#
> "; 
> 
> /* Create a new Recipients collection
> recCollection = newAppointment.Recipients; */
> 
> 
>     /* You can add specific email addresses #EmpSU.FirstName#
> #EmpSU.LastName#
>      recList = recCollection.Add("#ContactName.Email#"); */
> 
> /* Send the Appointment
> newAppointment.Send();*/   
>      
> 
> /* Save the Appointment */ 
> newAppointment.Save(); 
> 
>     /* If you're developing locally, uncomment the next line to see the
> results */
>     // newAppointment.Display();    
> </CFSCRIPT> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to