Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreFailure in red when uploading the store moduleFailure in red when uploading the store module
Previous
 
Next
New Post
6/21/2006 2:01 PM
 

Hi,

First I removed the old version of all store modules
Then I installed the new version of store.
in the log file at this point:
Start Sql execution: 01.00.01.sqldataprovider file
There are a lot of failures in red.
Is it safe to use the new store module ?

With regards Ton Hermes


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
New Post
6/22/2006 1:12 PM
 

How did you remove the old version of all store modules?

Examine the failures are they because the tables and stored procs already existed?

Is it safe depends on what happened.


Dwayne J. Baldwin
 
New Post
6/22/2006 2:14 PM
 

Hi, I installed the store module twice.
First attemp:
- I deleted the container-modules on the pages.
- In Host->module definitions, I deleted the modules from the list
- In the filemanager I synchronized the database system.
- In Host->module definition I uploaded the new store zip file.
- The following was mentioned in red

SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'Store_Orders_UpdateOrderDetails' in the database. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) -- New procedure CREATE PROCEDURE dbo.Store_Orders_UpdateOrderDetails @OrderID int, @CartID nvarchar(50) AS SET NOCOUNT ON -- Remove the current order details from the order DELETE FROM dbo.Store_OrderDetails WHERE OrderId = @OrderID -- Insert the new order details from the specified cart INSERT INTO dbo.Store_OrderDetails (OrderID, ProductID, Quantity, UnitCost) SELECT @OrderID, ci.ProductID, Quantity, UnitCost FROM dbo.Store_CartItems ci, dbo.Store_Products pr WHERE ci.ProductID = pr.ProductID AND CartID = @CartID -- Return the updated Order SELECT o.OrderID, o.UserID as CustomerID, Cast(sum(od.Quantity*od.UnitCost) as money) as OrderTotal, o.OrderNumber, o.OrderDate, o.ShipDate, o.ShippingAddressID, o.BillingAddressID FROM dbo.Store_Orders o, dbo.Store_OrderDetails od WHERE o.OrderID = od.OrderID AND o.OrderID = @OrderID GROUP BY UserID, o.OrderID, o.OrderNumber, o.OrderDate, o.ShipDate, o.ShippingAddressID, o.BillingAddressID HAVING o.OrderID = @OrderID

The store admin showed an error sign after installing.

Second attemp
- Performing the steps mentioned in the first attemp
- Deleted the complete store directory on the server.
- Synchronized the database system
- Uploading again the store sip file
- The following was mentioned in red

StartJob Start Sql execution: 01.00.01.sqldataprovider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'Store_Orders_UpdateOrderDetails' in the database. at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) -- New procedure CREATE PROCEDURE dbo.Store_Orders_UpdateOrderDetails @OrderID int, @CartID nvarchar(50) AS SET NOCOUNT ON -- Remove the current order details from the order DELETE FROM dbo.Store_OrderDetails WHERE OrderId = @OrderID -- Insert the new order details from the specified cart INSERT INTO dbo.Store_OrderDetails (OrderID, ProductID, Quantity, UnitCost) SELECT @OrderID, ci.ProductID, Quantity, UnitCost FROM dbo.Store_CartItems ci, dbo.Store_Products pr WHERE ci.ProductID = pr.ProductID AND CartID = @CartID -- Return the updated Order SELECT o.OrderID, o.UserID as CustomerID, Cast(sum(od.Quantity*od.UnitCost) as money) as OrderTotal, o.OrderNumber, o.OrderDate, o.ShipDate, o.ShippingAddressID, o.BillingAddressID FROM dbo.Store_Orders o, dbo.Store_OrderDetails od WHERE o.OrderID = od.OrderID AND o.OrderID = @OrderID GROUP BY UserID, o.OrderID, o.OrderNumber, o.OrderDate, o.ShipDate, o.ShippingAddressID, o.BillingAddressID HAVING o.OrderID = @OrderID 
EndJob End Sql execution: 01.00.01.sqldataprovider file

Now the module works fine !!!
There is only an issue with the use of euro's
Is this due this problem or is this because it is not possible to pay in euro's
If so is ther an solution for this problem?


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com and my enamel art at www.watermanshop.com
 
New Post
6/22/2006 2:40 PM
 
I am not sure that the Store fully supports localized currencies/numbers yet.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
6/22/2006 3:09 PM
 

It could be that some things are not being uninstalled properly when the module is deleted. (uninstall.sqldataprovider)

Normally I would try log this, but today is a little crazy. Would someone like to try to reproduce this and log it into Gemini?


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreFailure in red when uploading the store moduleFailure in red when uploading the store module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out