Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Upgrade error - Need help understanding
Previous Previous
 
Next Next
New Post 2/10/2008 4:56 PM
User is offline umbighouse
22 posts
10th Ranked


Upgrade error - Need help understanding 

I just completed an upgrade from v4.5.1 -> v4.8.0. During the installation, it reported an error, which I think is logged below. I need some help understanding the error, and seeing if there is anything I can/should do to resolve it. Thanks in advance.

 

[ERROR]

System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'ModuleID', table 'DB_1012933.dbo.ModuleSettings'; column does not allow nulls. UPDATE fails. 
The statement has been terminated.
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)


/* Update UseCaptcha Settings to use the Authentication Module instead of User Accounts */
/****************************************************************************************/

BEGIN
CREATE TABLE #AuthModules
(
ModuleID int,
PortalID int,
AuthModuleID int
)

-- Insert into our temp table
INSERT INTO #AuthModules (ModuleID, PortalID, AuthModuleID )
SELECT
m.ModuleID,
m.PortalID,
(SELECT ModuleID
FROM dbo.Modules MI
INNER JOIN dbo.ModuleDefinitions MDef ON MI.ModuleDefID = Mdef.ModuleDefID
WHERE (MI.PortalID = m.PortalID) AND (MDef.FriendlyName = 'Authentication'))
AS AuthModuleID
FROM dbo.Modules AS m
INNER JOIN dbo.ModuleDefinitions md ON m.ModuleDefID = md.ModuleDefID
WHERE (md.FriendlyName = N'User Accounts')
AND PortalID IS NOT NULL

UPDATE dbo.ModuleSettings
SET ModuleID = a.AuthModuleID,
SettingName = 'DNN_UseCaptcha'
FROM dbo.ModuleSettings s
LEFT JOIN #AuthModules a ON a.ModuleID = s.ModuleID
WHERE SettingName = 'Security_CaptchaLogin'
AND a.PortalID IS NOT NULL

-- Drop temp table
DROP TABLE #AuthModules

END
 
New Post 2/11/2008 6:04 AM
User is offline Mitch Sellers
5566 posts
www.mitchelsellers.com
3rd Ranked




Re: Upgrade error - Need help understanding 

From the looks of it, it was trying to put settings in for the authentication providers, but it did not receive the module id for the provider.  This would lead me to believe that the provider did not install correctly.

Did you have any other error messages?


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 2/12/2008 4:19 AM
User is offline umbighouse
22 posts
10th Ranked


Re: Upgrade error - Need help understanding 

 

Actually, I have several portals running, and on one of them, I cannot login. The login box doesn't even appear. The container for it does, but no login box. Also, it has an Announcements module which isn't appearing. All other content appears ok on it, but I cannot login to it.

Not sure where to check in the Event logs, but I did find a PageLoadException logged.

You can see it here:

www.siegelslanding.com

 

 

 
New Post 5/6/2008 8:02 PM
User is offline Craig Rusch
5 posts
10th Ranked


Re: Upgrade error - Need help understanding 

Did you ever find a solution to this?  If so, could you let me know as I have the exact same problem.

Thanks,

Craig

 
New Post 6/24/2008 6:27 AM
User is offline Peter Vermeulen
1 posts
www.idas.nl
10th Ranked




Re: Upgrade error - Need help understanding 

I have the same problem, Did anyone find a solution????? Please help!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Upgrade error - Need help understanding
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP