Automation error ASP!!!!

  • Tannu4u
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 29, 2004
  • Posts: 480
  • Loc: India
  • Status: Offline

Post July 30th, 2004, 11:49 pm

I have Created an Activex DLL in Vb 6.0. The DLL name is WindCp.dll and the class name is WinClass. Now i want to use this dll in my ASP pages it i have written the code as

username = "tannu"
set winObj = Server.createobject("WindCp.WinClass")
result = winObj.Getpassword(username)

The it is giving me Automation error can anyone help me out to get rid of this problem.Please help me out of this problem.Bye thankx in advance.....
Amit
My Blog http://www.amityadav.name
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 30th, 2004, 11:49 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post July 31st, 2004, 5:19 am

Office automation,
http://support.microsoft.com/?id=828550

I assume you've regsvr32'd the dll allready ?
Else, What's the whole error ?
Strong with this one, the sudo is.
  • Tannu4u
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 29, 2004
  • Posts: 480
  • Loc: India
  • Status: Offline

Post July 31st, 2004, 5:51 am

Yes i have redistered the DLL and when i am accessing the functions of my DLL then this error comes Up. Its working fine when i call those functions from VB but from ASP pages it is giving me AUTOMATION ERROR "80005004"
Amit
My Blog http://www.amityadav.name

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 130 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.