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 ...parameter name: replacement Errorparameter name: replacement Error
Previous
 
Next
New Post
9/2/2010 1:24 AM
 
Rolled it back. Did as you said regarding the Chat module and the XML and then when I upgraded received these errors:
(from the error log)

----

00:00:13.296 - Executing Application Upgrades: 05.00.00 Success
System.Data.SqlClient.SqlException: The multi-part identifier "dbo.mss_Portals.PortalID" could not be bound.
The multi-part identifier "dbo.mss_Portals.portalid" could not be bound.
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)

----


/* script to fix issue with errorneous administratorroleid values*/

DECLARE @PortalID int
DECLARE @AdministratorRoleId int

--Iterate through each portal
DECLARE Portals_Cursor CURSOR FOR
SELECT PortalID,AdministratorRoleId
FROM dbo.mss_Portals

OPEN Portals_Cursor
--get first
FETCH NEXT FROM Portals_Cursor
into @PortalID,@AdministratorRoleId
WHILE @@FETCH_STATUS = 0
BEGIN
if @AdministratorRoleId=-1 or @AdministratorRoleId not in (select roleid from dbo.mss_userroles as ur inner join dbo.mss_userportals as up on ur.userid=up.userid where up.portalid=@portalid)

update portals set AdministratorRoleId =
(select roleid from dbo.mss_Roles as r where
r.PortalID =dbo.mss_Portals.PortalID and RoleName = 'Administrators' and dbo.mss_Portals.portalid=@portalid) where portalid=@portalid

FETCH NEXT FROM Portals_Cursor
into @PortalID, @AdministratorRoleId

END
CLOSE Portals_Cursor


----
Still having problems getting into the site. (I have to run "http://www.softich.com/install/instal..." almost everytime) to be able to log in. Also, the SMTP Mial test fails.

Please advise.  Thanks.
 
New Post
9/2/2010 2:53 AM
 
looks as your database settings are not all complete or correct.

After failed install rolleback a database backup and all dnn files.  Make sure you have set both connection strings, the correct objectQualifier and databaseOwner.  If you use a install package for your back up you have also to copy the maschine Key from the old web.config file to the new one!

 
New Post
9/2/2010 6:11 PM
 
Please elaborate on the steps needed to do this...

Thanks.
 
New Post
9/10/2010 12:30 AM
 
First on a failing upgrade of an existing DNN instance, you have to restore the database and the complete file backup!

Before Upgrading make a backup of all files and the database!
Make a copie of the web.config file!  It containes in it the 2 connection strings to your database, the maschine key, dabaseOwner and objectQualifier !

Using the Upgrade package is always the secured way to upgrade a exsisting instance of DNN.  Only on a base version upgrade e.g. from 4.x to 5.x I like to use a full install package and make my settings manuelly with a editor on the web.config file.

Due the web.config file settings you have to transfere from the old version the 2 connection strings, maschine key, databaseOwner, ObjectQualifier and if you used WSP modules (it have no dll files and uses the *.vb files in it) e.g. DNN Survey, DNN-Chat 1.x you have also copy its settings to the new web.config file.  Save the file, and start the http://domainname.com/Install/install.aspx?mode=upgrade
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...parameter name: replacement Errorparameter name: replacement Error


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