All Other Wrox BooksDo 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 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 .
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?
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
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
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
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>