|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
I am on DNN 5.6 - everything is working as it should in the CMS. I was having issues with the Cart though.
I would go into the settings of the module by hovering over the blue arrow on the Gift Store and selecting Settings. Not to be confused with the Store Admin Menu.
In version SmithCart 03.95.00 - I was able to access this screen, but not able to save the changes. All fields marked required were completed - however I would click update and nothing would happen.
I upgraded to SmithCart03.96.00 - Now when trying to goto the settings page I am shown the following error at the bottom of the pages:
|
A critical error has occurred.
Object reference not set to an instance of an object. |
Any ideas what is going on here? All permissions on the server are set correctly and the server has recently been rebooted.
|
|
|
|
| |
|
|
|
|
Joined: 3/11/2010
Posts: 1979
|
|
|
Can you post the error in your dnn event veiwer?
-Scott
Scott Kelly
Project Manager
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
12/16/2010 2:11:25 PM Module Load Exception superadmin$cb ModuleId: -1; ModuleDefId: -1; FriendlyName: ... |
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.6.0
PortalID: 4
PortalName: Ty Cobb - Museum
UserID: 1
UserName: superadmin$cb
ActiveTabID: 442
ActiveTabName: Gift Store
RawURL: /GiftStore/tabid/442/ctl/Module/ModuleId/921/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E; AskTB5.6; BO1IE8_v1;ENUS)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d176b648-a088-415f-b80c-c7a16cd95e84
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERV01
|
|
|
|
|
|
| |
|
|
|
|
Joined: 3/11/2010
Posts: 1979
|
|
|
The settings in the buynow module use the builtin dnn function UpdateTabModuleSetting to save the settings in the dnn TabModuleSettings table so there is no sql code or stored procs we have written to save the buynow module settings when you click update its all builtin dnn functionality.
Here are few suggestions to help troubleshoot/diagnose:
- Are you able to save other non cart settings like page name and appearance settings?
- Have you recently upgraded dnn, the cart or moved hosting?
- Try changing your skin to the default dnn skin and see if that helps.
- Try installing the latest version of the cart on a new dnn install on your laptop as a test to isolate if the issue is with your portal or the cart.
-Scott
Scott Kelly
Project Manager
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
- Are you able to save other non cart settings like page name and appearance settings? I can't even get to the settings screen.
- Have you recently upgraded dnn, the cart or moved hosting? I updated to DNN 5.6, but everything else is fine. I have no other issues with anything on the site... if this is a DNN controlled issue - why am I able to access settings of other modules and save them. This is what is confusing me.
- Try changing your skin to the default dnn skin and see if that helps. Changing the skin still results in the same error.
- Try installing the latest version of the cart on a new dnn install on your laptop as a test to isolate if the issue is with your portal or the cart... When I try to reinstall the cart I get this... why can't I install it again after removing it?
- SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'Dnn_Smith_AddVMatrixDetail' in the database. 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() 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.Dnn_Smith_AddVMatrixDetail @ProductID int, @YAxisTitle varchar(50), @MatrixItemID1 int, @MatrixItemID2 int, @MatrixItemID3 int, @MatrixItemID4 int, @MatrixItemID5 int, @MatrixItemID6 int, @MatrixItemID7 int, @MatrixItemID8 int, @MatrixItemID9 int, @MatrixItemID10 int AS INSERT INTO Dnn_Smith_VariantMatrixDetail (ProductID, YAxisTitle, MatrixItemID1,MatrixItemID2,MatrixItemID3,MatrixItemID4,MatrixItemID5,MatrixItemID6,MatrixItemID7, MatrixItemID8,MatrixItemID9, MatrixItemID10) VALUES (@ProductID,@YAxisTitle, @MatrixItemID1,@MatrixItemID2,@MatrixItemID3,@MatrixItemID4,@MatrixItemID5,@MatrixItemID6,@MatrixItemID7, @MatrixItemID8,@MatrixItemID9,@MatrixItemID10) SELECT SCOPE_IDENTITY
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
Installed it on a brand new install of DNN 5.6 - completely fresh.. install went fine... when I try to access the settings I get the error:
A critical error has occurred.
Object reference not set to an instance of an object.
Same thing as before...
|
|
|
|
| |
|
|
|
|
Joined: 12/18/2009
Posts: 174
|
|
|
Open DesktopModules/Smith.BuyNow/Settings.ascx
Add this at line 4 and save the file.
<asp:ScriptManager ID="ScriptManager1" runat="server" />
Does it make a difference in the error?
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
I added that right under line 4 (making it line 5) - it did not make a difference... same error.
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
| |
| |
|
|
|
|
Joined: 12/18/2009
Posts: 174
|
|
|
I can't upload the file here, so please email djbaldwin at winhurst.com and I will send you a file to diganose the real problem.
|
|
|
|
| |
|
|
|
|
Joined: 12/18/2009
Posts: 174
|
|
|
Actually this is the most common error in .net and the generic response is extremely difficult to diagnose especially when DotNetNuke traps the underlying cause. In every case it is the programmer assuming that an object contains data when it does not.
|
|
|
|
| |
|
|
|
|
Joined: 3/11/2010
Posts: 1979
|
|
|
Also try opening up settings.ascx and commenting out all the updatepanels
-Scott
Scott Kelly
Project Manager
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
djbaldwin wrote:
I can't upload the file here, so please email djbaldwin at winhurst.com and I will send you a file to diganose the real problem.
I emailed you - thanks.
|
|
|
|
| |
|
|
|
|
Joined: 12/15/2010
Posts: 147
|
|
|
skelly wrote:
Also try opening up settings.ascx and commenting out all the updatepanels
-Scott
Scott - I would gladly try this but I am unsure of what to exactly comment out... when you say update panels what exactly are you refering to?
Thanks
|
|
|
|
| |
|
|
|
|
Joined: 3/11/2010
Posts: 1979
|
|
|
Comment all the update panels opening and closing tags. Update panels look like this
<asp:UpdatePanel runat="server" ID="UpdatePanel2">
<ContentTemplate>
Make sure you back up the file before changing it so you can rollback if need be.
-Scott
Scott Kelly
Project Manager
|
|
|
|