ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 6th, 2000, 03:58 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Activex component CANNOT CREATE OBJECT

<i><b>Originally posted by : Colin (colin.waters@ncr.com)</b></i><br />I have an NT server that I created a COM object on using Visual Studio. I registered the dll successfully. I am using PWS as the web server here. Within my ASP page.. I make reference to the COM object in Javascript like so:<br /><br />var one = new ActiveXObject ("R2demo.Test.1")<br />CurrentItem=one.GetText(); <br /><br />This works fine on MACHINE 1.<br /><br />MACHINE 2 is running NT and uses IIS as the web server. I transferred the dll to MACHINE 2 and it registers successfully. However when I try to pull up the ASP page, it chokes on this line. <br /><br />var one = new ActiveXObject ("R2demo.Test.1")<br /><br />and I get the error: Automation server error, cannot create object..<br /><br />It has nothing to do with the COM object cause I ran a quick vbscript program on it and it registers and returns the correct thing..<br /><br />I am now thinking that it may be a server problem.. Pws vs. IIS<br /><br />Any comments or suggestions on this..<br />Thanks<br />CW.

Reply With Quote
  #2  
Old April 13th, 2000, 02:39 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Barry B</b></i><br /><br />Make sure that the NT permissions are correctly set for the folder. IIUSR_MachineName must have permissions to use the file.<br /><br />------------<br />Colin at 4/6/2000 12:58:38 PM<br /><br />I have an NT server that I created a COM object on using Visual Studio. I registered the dll successfully. I am using PWS as the web server here. Within my ASP page.. I make reference to the COM object in Javascript like so:<br /><br />var one = new ActiveXObject ("R2demo.Test.1")<br />CurrentItem=one.GetText(); <br /><br />This works fine on MACHINE 1.<br /><br />MACHINE 2 is running NT and uses IIS as the web server. I transferred the dll to MACHINE 2 and it registers successfully. However when I try to pull up the ASP page, it chokes on this line. <br /><br />var one = new ActiveXObject ("R2demo.Test.1")<br /><br />and I get the error: Automation server error, cannot create object..<br /><br />It has nothing to do with the COM object cause I ran a quick vbscript program on it and it registers and returns the correct thing..<br /><br />I am now thinking that it may be a server problem.. Pws vs. IIS<br /><br />Any comments or suggestions on this..<br />Thanks<br />CW.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Activex component CANNOT CREATE OBJECT


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT