Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install Mess!  Please HelpInstall Mess! Please Help
Previous
 
Next
New Post
2/6/2007 1:20 AM
 

I just upgraded a site from 3.1.1 to 3.3.7.

Well there was an error in the upgrade on 3.2.1 and 3.2.3.  Now, although it appears that users that existed can get by the login screen, they are seeing an error right away and aren't actually logged in.  I am however able to login with a newly created user.  I have 5,000 users I need to fix, please help!

Here is the exception users that existed are triggering:

AssemblyVersion: 03.03.07
PortalID: 0
PortalName: Environmental, Safety & Health, Inc.
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /portal/Home/tabid/36/ctl/Login/Default.aspx
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer: http://www.eshinc.com/portal/Home/tabid/36/ctl/Login/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6a5eefd8-7f33-4cfe-9620-86dd90053d98
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String verificationCode, UserLoginStatus& loginStatus) at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String Username, String Password, String VerificationCode, String PortalName, String IP, UserLoginStatus& loginStatus) at DotNetNuke.Modules.Admin.Security.Signin.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
Source:
Server Name: IPSWBZ0005ATL2

And here is what bombed in 3.2.3:
System.Data.SqlClient.SqlException: There is already an object named 'dnn_GetOnlineUsers' in the database.
   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_GetOnlineUsers @PortalID int

AS

SELECT
 UO.UserID,
 U.Username
 FROM dnn_UsersOnline UO
  INNER JOIN dnn_Users U ON UO.UserID = U.UserID
  INNER JOIN dnn_UserPortals UP ON U.UserID = UP.UserId
 WHERE  UP.PortalID = @PortalID
 


System.Data.SqlClient.SqlException: The Log space limit for your database has been exceeded. You must reduce the space required for your transactions or contact Sales to purchase more space. The Log will clear automatically. To clear manually run: BACKUP LOG eshinccom WITH TRUNCATE_ONLY
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


--Declare Variables
DECLARE @PortalID int

-- Transfer Super Users
EXECUTE dnn_TransferUsersToSameContext N'DotNetNuke', NULL

--Iterate through Portals to transfer users
SELECT @PortalID = min(PortalID)
FROM   dbo.dnn_Portals
WHILE @PortalID IS NOT NULL
BEGIN

 -- Transfer Portal Users
 EXECUTE dnn_TransferUsersToSameContext N'DotNetNuke', @PortalID

 SELECT @PortalID = min(PortalID)
 FROM   dbo.dnn_Portals
 WHERE  PortalID > @PortalID
END

 

System.Data.SqlClient.SqlException: The Log space limit for your database has been exceeded. You must reduce the space required for your transactions or contact Sales to purchase more space. The Log will clear automatically. To clear manually run: BACKUP LOG eshinccom WITH TRUNCATE_ONLY
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


--Drop temp objects
DROP TABLE dbo.dnn_TransferredUsers
DROP PROCEDURE dbo.dnn_TransferUsersToSameContext

 

 
New Post
2/6/2007 3:09 AM
 

as far as I can see, the main issue is listed in your log:

System.Data.SqlClient.SqlException: The Log space limit for your database has been exceeded. You must reduce the space required for your transactions or contact Sales to purchase more space. The Log will clear automatically. To clear manually run: BACKUP LOG eshinccom WITH TRUNCATE_ONLY
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

My recommodations:

  • restore database and file system backup
  • run BACKUP LOG eshinccom WITH TRUNCATE_ONLY from Host :: SQL menu item
  • start upgrade as before.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install Mess!  Please HelpInstall Mess! Please Help


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