 |
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the All Other Wrox Books 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
|
|
|

June 9th, 2003, 07:18 AM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
"Beginning E-Commerce with Visual Basic, ASP, SQL
Hello mcinar,
Forum member mcinar has posted a new topic to the P2P_Feed forum.
You are being notified because you are subscribed to this topic.
Topic: ASP
Message:
------------------------------------------------------
The following codes from
"Beginning E-Commerce with Visual Basic, ASP, SQL Server 7.0 and MTS" book.
I am getting the following error while running the "Admin\default.asp",
Error Type:
ADODB.Connection (0x800A0E78)
Operation is not allowed when the object is closed.
/JoCoffee/site.asp, line 50
Site.asp
Set query = Visit.Catalog.GetAllDepartments (50 th line)
Function Visit
' Do we have one?
If IsEmpty(m_visit) Then
' Create an instance of a Visit Object...
Set m_Visit = server.CreateObject("WroxCommerce.Visit")
m_visit.Configure g_sitename, g_domainname, "driver=SQL Server; " & _
"DATABASE=JoCoffee; UID=JoCoffeeWeb; PWD=eermlate; " & _
"SERVER=localhost"
End If
' Return the Visit object back...
Set Visit = m_visit
End Function
Function Visit: m_Visit.Configure works fine. This shows that
"WroxCommerce.DLL" is also fine.
Once it executes "Set query = Visit.Catalog.GetAllDepartments" line,
the "Operation is not allowed when the object is closed" message comes up. What causes this error?
Thank you.
:)
__________________
MCinar
Love all the creatures because of the creator.
|

October 25th, 2004, 01:46 AM
|
Registered User
|
|
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I need this books source code. Beginning E-Commerce with visual basic, ASP, Sql server7.0 and MTS. please help me and mail me if any body have.
javabd@hotmail.com
thanks
Bappi
hello
|

January 18th, 2005, 05:26 AM
|
Registered User
|
|
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Posted - 10/25/2004 : 06:46:40 AM
--------------------------------------------------------------------------------
I need this books source code. Beginning E-Commerce with visual basic, ASP, Sql server7.0 and MTS. please help me and mail me if any body have.
jarrarsiddiqui@hotmail.com
thanks
jarrar
|

January 18th, 2005, 05:30 AM
|
Registered User
|
|
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dear Sir
I need this books source code. Beginning E-Commerce with visual basic, ASP, Sql server7.0 and MTS. please help me and mail me if u have.
jarrarsiddiqui@yahoo.com
w.regards
m jarrar
|

September 24th, 2007, 07:48 AM
|
Registered User
|
|
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I need this books source code. Beginning E-Commerce with visual basic, ASP, Sql server7.0 and MTS. please help me and mail me if any body have.
cangang@163.com
thanks
jarrar
|

November 20th, 2007, 06:50 AM
|
Registered User
|
|
Join Date: Nov 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi.
In the book "Beginning e-commerce with visual basic, asp, sql server 7.0 and mts" The code for test page WroxCommerceTest2.asp is resulted, at start of page in IE the mistake jumps out: "It is not possible to display demanded page Display of page it is impossible because of the malfunctions which have arisen at attempt of access to it.
--------------------------------------------------------------------------------
try to execute the following: Press the button To update or repeat attempt later. Open localhost a homepage and look on it for references to interesting data. HTTP 500.100 - an internal mistake of a server - mistake ASP Internet Information Services
Technical data (for employees of a support service) Type of a mistake: the Mistake of compilation Microsoft VBScript (0x800A0401) Is supposed presence of the termination of the instruction/Jo's Coffee/wroxCommercetest2.asp, line 17, column 12 Dim objVisit. Configure "Jo's Coffee", "joscoffee.com", "driver=SQL", " Server; DATABASE=JoCoffee; UID=JoCoffeeWeb; PWD=eermlate; SERVER=localhost "
Code on page:
<% option explicit %>
<html>
<head>
<title>WroxCommerce Test page</title>
</head>
<body>
<%
' ñîçäà åì îáúåêò Visit
Dim visit
Set visit = Server.CreateObject("WroxCommerce.Visit")
' êîÃôèãóðèðóåì îáúåêò visit Ãà èìÿ ñà éòà , èìÿ ïî÷òîâîãî äîìåÃÃ
' è ïà ðà ìåòðû ïîäêëþ÷åÃèÿ ê áà çå äà ÃÃûõ
Dim objVisit.Configure "Jo's Coffee", "joscoffee.com", "driver=SQL " , "Server; DATABASE=JoCoffee; UID=JoCoffeeWeb; PWD=eermlate; SERVER=localhost"
' îïðåäåëÿåì Ãîìåð âåðñèè DLL
Response.Write "Version Number: " & visit.Version & "<br><br>"
' çà ïèñûâà åì èìåÃà Ãåêîòîðûõ îáúåêòîâ
Response.Write "Visit object: " & typename(visit) & "<br>"
Response.Write "Catalog object: " & typename(visit.Catalog) & "<br>"
' çà êðûâà åì è î÷èùà åì îáúåêò
visit.Shutdown
Set visit = Nothing
%>
</body>
</html>
Where a mistake?
|
|
 |