Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Components
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 8th, 2004, 02:03 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default Invalid ProgId ASP 0177 (0x800401F3)

Dears...
   I've used a dll (which is created in vb) in my asp application.
   the dllname is customerRegis and the class name is customer
   i registered that dll on the machine where the application is running using regsvr32 <pathname>
so i've used the statement in asp as
   set objcust=server.createobject("customerRegis.custome r")
   and Its Working!... but after... i do changes in my class module and make dll by overwritting the existing dll..and then unregister and register that dll.
 now I got an error as ASP 0177 (0x800401F3) Invalid ProgId

pls..guide me..




Yours,
Saran
__________________
Best Regards,
Saran.
  #2 (permalink)  
Old June 8th, 2004, 02:12 AM
Friend of Wrox
Points: 2,473, Level: 20
Points: 2,473, Level: 20 Points: 2,473, Level: 20 Points: 2,473, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2004
Location: India
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

While creating the component again, have u made any chenges to compatibility?

Om Prakash
  #3 (permalink)  
Old June 8th, 2004, 02:42 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

It's quite possible that IIS is still using the old GUID to refer to the DLL. If you're recompiling without binary compatibility, your project gets a new GUID every time you recompile.
It looks like you need to restart IIS before you un and reregister the DLL.

To avoid all this hassle, host your DLL inside a COM+ package. That's quite easy to do, and will make a lot of things (including recompiling) a lot easier. Look here for more info:

http://authors.aspalliance.com/nothi...ngmn_96&aid=96

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #4 (permalink)  
Old June 8th, 2004, 06:21 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default

hi...
thanks for ur reply.
actually i didn't set any compatablity option. ie. it's in no compatablity always.

Quote:
quote:Originally posted by om_prakash
 While creating the component again, have u made any chenges to compatibility?

Om Prakash
Yours,
Saran
  #5 (permalink)  
Old June 8th, 2004, 07:24 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default

hi imar,
thanks for ur reply.
is there any other way apart from MTS/COM+ choice?
because i found little difficulty on COM+ package.
it's a simple object. so i don't want to go into com+.


Yours,
Saran
  #6 (permalink)  
Old June 8th, 2004, 07:31 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I think restarting IIS should release the lock on the DLL as well.

However, personally, I think that setting up a COM+ package once is much less work than restarting IIS once. Since you probably need to restart IIS many times, I suggest you take another look at COM+. Following the FAQ I pointed you to should take less than 10 minutes. After that, things are as easy as replacing the DLL and restarting the COM+ package.

Don't forget to set binary compatibility on your project.....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 


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
Invalid class string ASP 0177 (0x800401F3) crmpicco Classic ASP Basics 12 June 16th, 2007 11:44 PM
Server object, ASP 0177 (0x800401F3) crmpicco Classic ASP Professional 2 May 1st, 2006 02:23 PM
Invalid class string - : 0x800401F3 not24 C# 2005 1 March 16th, 2006 04:53 PM
Error : Server Object, ASP 0177(0x800401F3) InsouciantCoquette Classic ASP Components 2 February 21st, 2006 09:26 PM
Invalid ProgID attribute kimmy VB Components 1 August 4th, 2004 10:59 PM



All times are GMT -4. The time now is 01:46 AM.


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