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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error on ManageUsers.ascx: exception in GetPortalsByUserError on ManageUsers.ascx: exception in GetPortalsByUser
Previous
 
Next
New Post
7/18/2013 11:44 AM
 

Hi,

since my 7.1 DNN upgrade, when i try to edit an user clicking on the "pen" at the left of it i get this error:

ModuleId: 1200

ModuleDefId: 15

FriendlyName:

ModuleControlSource: DesktopModules/Admin/Security/ManageUsers.ascx

AssemblyVersion: 7.1.0

PortalID: 6

PortalName: Test

UserID: 1

UserName: host

ActiveTabID: 344

ActiveTabName: User Accounts

RawURL: /Admin/UserAccounts/tabid/344/ctl/Edit/mid/1200/UserId/513/filter/Tutti/currentpage/0/Default.aspx?popUp=true

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://test.dataframework.net/Admin/UserAccounts.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: ddad406a-eec4-46af-9048-ceee8abffd77

InnerException: Conversion failed when converting the nvarchar value 'g' to data type int.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Data.SqlClient.SqlConnection.

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Conversion failed when converting the nvarchar value 'g' to data type int. ---> System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'g' to data type int. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection. (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.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at System.Data.SqlClient.SqlDataReader.Read() at DotNetNuke.Common.Utilities.CBO.FillListFromReader(Type objType, IDataReader dr, IList objList, Boolean closeReader) at DotNetNuke.Common.Utilities.CBO.FillCollection(IDataReader dr, Type objType) at DotNetNuke.Entities.Portals.PortalController.GetPortalsByUser(Int32 userId) at DotNetNuke.Modules.Admin.Users.User.DataBind() at DotNetNuke.Modules.Admin.Users.ManageUsers.BindUser() at DotNetNuke.Modules.Admin.Users.ManageUsers.ShowPanel() at DotNetNuke.Modules.Admin.Users.ManageUsers.BindData() at DotNetNuke.Modules.Admin.Users.ManageUsers.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Source:

Name server:WIN17931

-------------

What am i wrong ???

Thanks

 
New Post
7/18/2013 2:12 PM
 
Could it be that you used the install package and not the upgrade package?  If yes check your web.config file and make sure you set both Connection strings, Transfer the Maschine Kex from the old web.config file, and you have set the correct databaseOwner value.
 
New Post
7/18/2013 5:53 PM
 

Hi, 

thanks for the reply.

I have installed the upgrade package and all works fine except this issue.

when i try o edit an user account i get this error.

Everything else is ok.

Thanks again

Stefano

 
New Post
7/20/2013 6:05 AM
 
From wich Version did you the upgrade ?  I have done a upgrade from prvious DNN 7.0.3 to 7.1 w/o any issues.
 
New Post
7/20/2013 9:12 AM
 

HI, thanks for the reply.

I think that some one has gone wrong because i have followad an upgrade path similar to yours.

Is there any wat of compact & restore the database or rebuild index or somethhing like this ???

Thanks

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error on ManageUsers.ascx: exception in GetPortalsByUserError on ManageUsers.ascx: exception in GetPortalsByUser


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