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 ...Upgrade ErrorsUpgrade Errors
Previous
 
Next
New Post
2/17/2007 11:17 AM
 

Hi,

When I did an upgrade the DNN 4.0.4 step generated errors that generated the following output in the logfile. Since then users have problems to log in and some user management functions do not work correctely. Does anyone have an idea how I could fix this? Is it possible to run these scripts again? Are these errors fixed when I run an later upgrade? Will the system work well so I can import the users from other source (I ran a backup for the user accounts before doing the upgrade of DNN).

Thanks for any help!
Benno

Error log upgrade step 4.0.4:

System.Data.SqlClient.SqlException: Speicherplatz für das dnn_UserProfile-Objekt in der D14457_euroski-Datenbank konnte nicht reserviert werden, da die PRIMARY-Dateigruppe voll ist.
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)


/* Transfer Profile */
/*********************/

If (SELECT D14457_euroski.dnn_fn_GetVersion(3,2,3)) = 0
BEGIN
--Create Temp Table
CREATE TABLE D14457_euroski.dnn_FlatProfile (
[UserID] [int] ,
[PortalID] [int],
[Username] [nvarchar] (256) NULL ,
[FirstName] [nvarchar] (256) NULL ,
[LastName] [nvarchar] (256) NULL ,
[Street] [nvarchar] (256) NULL ,
[Unit] [nvarchar] (128) NULL ,
[City] [nvarchar] (256) NULL ,
[Country] [nvarchar] (256) NULL ,
[Region] [nvarchar] (256) NULL ,
[PostalCode] [nvarchar] (128) NULL ,
[Telephone] [nvarchar] (128) NULL ,
[Cell] [nvarchar] (128) NULL ,
[Fax] [nvarchar] (128) NULL ,
[Website] [nvarchar] (256) NULL ,
[IM] [nvarchar] (256) NULL,
[PreferredLocale] [nvarchar] (128) NULL ,
[TimeZone] [nvarchar] (256) NULL,
[LastUpdatedDate] [datetime]

)

--Extract from Profile Blob to Temp Table
INSERT INTO dnn_FlatProfile
SELECT
dnn_users.userid,
dnn_userportals.portalid,
dnn_users.username,
dnn_users.firstname,
dnn_users.lastname,
D14457_euroski.dnn_GetProfileElement('Street',PropertyNames,PropertyValuesString) Street,
D14457_euroski.dnn_GetProfileElement('Unit',PropertyNames,PropertyValuesString) Unit,
D14457_euroski.dnn_GetProfileElement('City',PropertyNames,PropertyValuesString) City,
D14457_euroski.dnn_GetProfileElement('Country',PropertyNames,PropertyValuesString) Country,
D14457_euroski.dnn_GetProfileElement('Region',PropertyNames,PropertyValuesString) Region,
D14457_euroski.dnn_GetProfileElement('PostalCode',PropertyNames,PropertyValuesString) PostalCode,
D14457_euroski.dnn_GetProfileElement('Telephone',PropertyNames,PropertyValuesString) Telephone,
D14457_euroski.dnn_GetProfileElement('Cell',PropertyNames,PropertyValuesString) Cell,
D14457_euroski.dnn_GetProfileElement('Fax',PropertyNames,PropertyValuesString) Fax,
D14457_euroski.dnn_GetProfileElement('Website',PropertyNames,PropertyValuesString) Website,
D14457_euroski.dnn_GetProfileElement('IM',PropertyNames,PropertyValuesString) IM,
D14457_euroski.dnn_GetProfileElement('PreferredLocale',PropertyNames,PropertyValuesString) PreferredLocale,
D14457_euroski.dnn_GetProfileElement('TimeZone',PropertyNames,PropertyValuesString) TimeZone,
aspnet_profile.LastUpdatedDate

FROM dnn_Users
inner join dnn_userportals on dnn_users.userid = dnn_userportals.userid
inner join aspnet_users on dnn_users.username = aspnet_users.username
inner join aspnet_profile on aspnet_profile.userid = aspnet_users.userid
where dnn_userportals.portalid = PortalID

--Move to UserProfile Table
EXECUTE dnn_TransferUsersFromFlatProfile N'FirstName'
EXECUTE dnn_TransferUsersFromFlatProfile N'LastName'
EXECUTE dnn_TransferUsersFromFlatProfile N'Unit'
EXECUTE dnn_TransferUsersFromFlatProfile N'Street'
EXECUTE dnn_TransferUsersFromFlatProfile N'City'
EXECUTE dnn_TransferUsersFromFlatProfile N'Region'
EXECUTE dnn_TransferUsersFromFlatProfile N'PostalCode'
EXECUTE dnn_TransferUsersFromFlatProfile N'Country'
EXECUTE dnn_TransferUsersFromFlatProfile N'Telephone'
EXECUTE dnn_TransferUsersFromFlatProfile N'Fax'
EXECUTE dnn_TransferUsersFromFlatProfile N'Cell'
EXECUTE dnn_TransferUsersFromFlatProfile N'Website'
EXECUTE dnn_TransferUsersFromFlatProfile N'IM'
EXECUTE dnn_TransferUsersFromFlatProfile N'TimeZone'
EXECUTE dnn_TransferUsersFromFlatProfile N'PreferredLocale'

--Drop temp objects
DROP TABLE D14457_euroski.dnn_FlatProfile
DROP PROCEDURE D14457_euroski.dnn_TransferUsersFromFlatProfile
END



System.Data.SqlClient.SqlException: Eine neue Seite für die D14457_euroski-Datenbank konnte nicht reserviert werden. In der Dateigruppe PRIMARY sind keine Seiten mehr verfügbar. Speicherplatz kann durch Löschen von Objekten, Hinzufügen von Dateien oder Zulassen der Dateivergrößerung gewonnen werden.
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)


/* Transfer Users */
/*******************/

If (SELECT D14457_euroski.dnn_fn_GetVersion(3,2,3)) = 0
BEGIN
--Create Temp Table to hold users
CREATE TABLE D14457_euroski.dnn_TransferredUsers (
[TransferredAppId] [uniqueidentifier] ,
[Username] [nvarchar] (256) NULL
)

--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 D14457_euroski.dnn_Portals
WHILE @PortalID IS NOT NULL
BEGIN

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

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

--Drop temp objects
DROP TABLE D14457_euroski.dnn_TransferredUsers
DROP PROCEDURE D14457_euroski.dnn_TransferUsersToSameContext
END


System.Data.SqlClient.SqlException: Speicherplatz für das dnn_EventLogTypes-Objekt in der D14457_euroski-Datenbank konnte nicht reserviert werden, da die PRIMARY-Dateigruppe voll ist.
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)


/* Add New LogTypes */
/*********************/

If (SELECT D14457_euroski.dnn_fn_GetVersion(3,2,3)) = 0
BEGIN
INSERT INTO D14457_euroski.dnn_EventLogTypes (
LogTypeKey,
LogTypeFriendlyName,
LogTypeDescription,
LogTypeOwner,
LogTypeCSSClass)
VALUES (
'LOGIN_USERLOCKEDOUT',
'User Locked Out',
'',
'DotNetNuke.Logging.EventLogType',
'OperationFailure'
)

INSERT INTO D14457_euroski.dnn_EventLogTypes (
LogTypeKey,
LogTypeFriendlyName,
LogTypeDescription,
LogTypeOwner,
LogTypeCSSClass)
VALUES (
'LOGIN_USERNOTAPPROVED',
'User Not Approved',
'',
'DotNetNuke.Logging.EventLogType',
'OperationFailure'
)
END

 
New Post
2/18/2007 5:49 AM
 
Your database ran out of space during the upgrade, always make sure, that there is some space left for conversion procedures. If possible, I recommend to restore Database from pre-Upgrade situation, make sure, that there is enough space for your database (truncate log file, increase total space) and re-do the upgrade. you might need to install module upgrades separately.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/18/2007 12:58 PM
 

Thanks for the hint. Meanwihle I found out the problem caused by database sice too - thanks anyway. If I don't restore the database, do you think I run in much problems later on? I ask this question because it's quite difficult to get a backup of the whole database from my hoster. Further I have backuped the rest of the site, the users etc. separately an it's easier to restore the users.

I'm a real sql novice but as I understand the errors, only the transfer of the users faild and the log file upgrad - So if I delete users and restore them, there is only the log format. Would it be possible to upgarde the log again?

Benno

 

 

 
New Post
2/18/2007 2:09 PM
 

I strongly recommend to correct all issues, otherwise you might encounter issues during or after future upgrades.

You can try to run all scripts, that have been executed after the issue occured, check all log files in the /providers/sqldataproviders/sqldataprovider subdirectories of the installation folder and all module folders. you need to run them core first and in ascending numerical order.

To run a script, log in as host user, go to Host :: SQL, copy paste ALL the content of a script into the text box. Check "run as Skript" ("als Skript ausführen") and hit execute.

Viel Glück!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/19/2007 9:39 AM
 
I also strongly agree that you should at minimum run the scripts manually to ensure that the database is all the way current.  It is very possible if you didn't finish them now that you would keep getting random errors popping up and that becomes very troublesome.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
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 Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade ErrorsUpgrade Errors


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