 |
| ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP E-commerce section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 5th, 2004, 10:31 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Beg. e-commerce VB, ASP, SQL7 & MTS Code Help
Chapter 3
I have problem running its Try-It-Now
I follow the book and create a DLL file and ASP file, it doesn't say where to save then. I assume they should be saved in same directory. I got following error message
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
/JoCoffee/WroxCommerceTest.asp, line 9
line 9 whi is:
Set objVisit = Server.CreateObject("WroxCommerce.Visit")
Please help
|
|

March 6th, 2004, 04:32 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Where you place the DLL doesn't really matter. What's important is that you register it.
On a Command Line, in the folder where the DLL resides, type:
regsvr32 YourDLLName.dll
This will add the DLL to the registry, so at run time, ASP is able to find out at what physical location "WroxCommerce.Visit" is located.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

March 6th, 2004, 01:21 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks
I did register the DLL file, I still got the same error
|
|

March 6th, 2004, 01:52 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Did you register the DLL on the machine where IIS is running?
How did you create your VB Application? What's the project name and what is the class name? Are they WroxCommerce and Visit respectively?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

March 6th, 2004, 01:58 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Are they WroxCommerce and Visit respectively?
yes
I create it in VB 6
|
|

March 6th, 2004, 01:59 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ALso yes IIS is same computer
|
|

March 6th, 2004, 02:01 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Now I got different Error
Error Type:
Active Server Pages, ASP 0223 (0x80004005)
METADATA tag contains a Type Library specification that does not match any Registry entry.
/JoCoffee/global.asa, line 2
|
|

March 6th, 2004, 02:33 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Nevermind I got to work
Thanks Imar
|
|

March 6th, 2004, 03:21 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
What did you do to fix it, in the end?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

March 6th, 2004, 03:46 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I need reference that new register DLL again in my Visual InterDev 6.0 again
|
|
 |