HomeHome Product Discus... Product Discus...SmithCartSmithCartError on cart v2.54Error on cart v2.54
Previous
 
Next
New Post
2/12/2010 9:04 AM
 

I'm getting the same error again when I click on Order Admin!

DotNetNuke.Services.Exceptions.PageLoadException: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'transid'. ---> System.Web.HttpException: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'transid'. at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) at System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) at System.Web.UI.DataBinder.Eval(Object container, String expression) at ASP.desktopmodules_smith_buynow_manageorders1_ascx.__DataBinding__control161(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at Smith.DNN.Modules.BuyNow.ManageOrders1.BindData() at Smith.DNN.Modules.BuyNow.ManageOrders1.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
2/12/2010 9:15 AM
 

I'm not getting that error on my test site running 2.54. Can you try the module I emailed you on a clean dnn build to determine if its an upgrade issue on your site.

 
New Post
2/12/2010 9:24 AM
 

ok

 
New Post
2/12/2010 9:31 AM
 

I get the following Warning on installation:

SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Invalid column name 'SpecialInstructions'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) Create PROCEDURE dbo.Smith_UpdateStoreOrders @OrderID int, @CustomerID int, @OrderDate datetime, @PayHistID int, @ShippingTotal money, @TaxTotal money, @HandlingCharge money, @ShipFirstName nvarchar(50), @ShipLastName nvarchar(50), @ShipAddress1 varchar(200), @ShipAddress2 varchar(200), @ShipCity varchar(60), @ShipState varchar(60), @ShipZipcode varchar(25), @ShipCountry varchar(50), @Status varchar(20), @ShipMethod nvarchar(50), @AffiliateId varchar(20) , @CouponId int , @Discount money , @MemberDiscount Money, @MemberRole nvarchar(50), @TrackingNumber nvarchar(50), @SpecialInstructions nvarchar(500) AS UPDATE Smith_StoreOrders SET [CustomerID] = @CustomerID, [OrderDate] = @OrderDate, [PayHistID] = @PayHistID, [ShippingTotal]=@ShippingTotal, [TaxTotal] = @TaxTotal , [HandlingCharge]=@HandlingCharge, ShipFirstName =@ShipFirstName, ShipLastName =@ShipLastName, [ShipAddress1]=@ShipAddress1, [ShipAddress2]=@ShipAddress2, [ShipCity]=@ShipCity, [ShipState]=@ShipState, [ShipZipcode]=@ShipZipcode, [ShipCountry] = @ShipCountry, [Status]=@Status, [ShipMethod]=@ShipMethod, [AffiliateId] = @AffiliateId , [CouponId] = @CouponId , [Discount] = @Discount , [MemberDiscount] = @MemberDiscount , [MemberRole] = @MemberRole, [TrackingNumber] = @TrackingNumber, [SpecialInstructions] = @SpecialInstructions WHERE [OrderID] = @OrderID

 
New Post
2/12/2010 9:46 AM
 

Once the cart is installed and configured I don't get the same error when I click Order Admin. So that means it's either an upgrade problem or a data problem! How do I resolve this one?

 
New Post
2/12/2010 10:11 AM
 

There are a couple options to fix this issue. For both of these options you should backup your database first:

1. This is probably the easiest option. Copy the tables to a test/backup database in sql server. See these 2 forum posts for more info.

http://www.smith-consulting.com/forums/forumid/1/threadid/357/scope/posts.aspx
http://www.smith-consulting.com/forums/forumid/1/threadid/300/scope/posts.aspx

Instructions to install a clean cart build
---------------------------------------------

1. From the dnn->host menu uninstall all 5 modules; Smith.BuyNow, Smith.AffliateTracking, Smit.CategoryMenu, Smith.MiniCart and Smith.MyAccount. Make sure you check the delete files box when you uninstall
2. Confirm that all stored procs and tables with a prefix of smith in your database are deleted
3. Confirm that all files in /desktopmodules/smith.buynow are deleted and the folder is removed
4. Install the latest cart module
5. Configure the cart settings
6. Add one category, manufacturer and product and test



2. Apply the stored procedures and dlls manually. Copy all the dlls from the zip file to your \bin folder. Run the stored procs from the sqlprovider files in the zip in a query window in sql server. Before you run the stored procs you will have to to a search and replace the {databaseOwner}[{objectQualifier} with your object qualifier you entered when you installed dnn


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
2/12/2010 12:14 PM
 

Okay - it's working now. That's a troubling upgrade process though.

 
New Post
2/12/2010 12:54 PM
 

Next time you try to install an upgrade on the cart try resetting iis on your server and restarting sql server before you install the module. By resetting iis and sql server it will release the cache and lock on files this may be the issue.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/7/2010 12:18 PM
 

As someone who just had to upgrade from 2.64 to 2.84 and do it manually, I can tell you that the problem arises because the *.*.*.SqlDataProvider files were changed in the early version numbers from 2.64 to 2.78. DNN will NOT run every SqlDataProvider file, it will only run those larger than the previous version. If the 2.78 file had actually had the right changes in it instead of having the changes written to the 01.01.00 file, all would have been OK. If Smith just modified the scripts to put the right field and SP additions in the right files, the upgrade would go fine.

I did it manually. I wish I had saved my SQL scripts to a temp file so I could share them with you. It took about an hour to work out the differences and make them manually, but it wasn't too bad. Much easier than dropping and reloading all of the data for the various tables, especially considering that we host at a hosting company without the ability to get at SQL Server Manager. I did it all through the Host / SQL control.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError on cart v2.54Error on cart v2.54