Prasad Maduranga
Registered Users
Post Count:3
 |
| 10 Oct 2011 06:18 AM |
|
Edit Profile is not working in member directory sub module. We are using AS latest module(1.9.4) on DNN 6.0.1
Is this module supporting for DNN 6?
I am getting this error for normal registered users. "An error has occurred.Error: is currently unavailable.An error has occurred.Error: is currently unavailable."
But I can see this error when I am checking the page as the host. "Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Active.Modules.Social.Controls.ProfileEdit.LoadProfileProperties() at Active.Modules.Social.Controls.ProfileEdit.BindView() at Active.Modules.Social.Controls.ProfileEdit.Page_Load1(Object sender, EventArgs e) --- End of inner exception stack trace ---
"
Please advice.
Tnx
|
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 10 Oct 2011 08:55 AM |
|
Make sure that all your profile property categories have localized values. |
|
|
|
|
Prasad Maduranga
Registered Users
Post Count:3
 |
| 10 Oct 2011 11:22 AM |
|
That is what I tried for the first time and it is not working. Please can you advise how to do it exactly. |
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 10 Oct 2011 11:37 AM |
|
Navigate to DNN Admin > User Accounts > Manage Profile Properties Click on the name of a property and hit Next. The Category field is down near the bottom of the next page, it can not be blank. Save when finished. Repeat the steps with the other properties. |
|
|
|
|
G.O.
Customers
Post Count:126
 |
| 10 Oct 2011 11:17 PM |
|
We are getting this same error... we have been through all of the 'Manage Profile Properties' and they have all been set up correctly. can someone log into our account and see what is going on.... thanks
|
|
Stephen
www.turtledrift.com
Scuba divers social network |
|
|
Prasad Maduranga
Registered Users
Post Count:3
 |
| 10 Oct 2011 11:23 PM |
|
We are waiting for a reply. There are no any blank category names for any profile property and I tried this before post this to the forum. We need your advice for a solution. We are using DNN 6.0.1 on AS 1.9.4. tnx |
|
|
|
|
G.O.
Customers
Post Count:126
 |
| 10 Oct 2011 11:41 PM |
|
|
|
Stephen
www.turtledrift.com
Scuba divers social network |
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7672
 |
| 11 Oct 2011 08:03 AM |
|
You have to do exactly as Ben described. The fix has been the same for every customer that has reported this problem. I would suggest going to your profile properties and saving one for each category. Make sure you click the "Save Localized Text" button on the second step when saving a property. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
Prasad Maduranga
Registered Users
Post Count:3
 |
| 11 Oct 2011 08:15 AM |
|
There are no any empty category name for profile properties and we've chacked all. Still it is same. Whay do not you fix this in your module by giving a default value in your code? Please give us a fix. Tnx |
|
|
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7672
 |
| 11 Oct 2011 08:18 AM |
|
How are you checking for empty values? Checking for empty values is not the same as what I described. The problem is not within our module, it is with the data in your site. This why the problem doesn't exist for all customers. If it was a problem with the module would have already issued a patch. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 24 Oct 2011 03:01 PM |
|
What we have said is correct, there must be a localized value for all profile property categories. However, there are a few things that can complicate this issue. Some profile properties can be marked as deleted, so they are not displayed in the normal "Manage Profile Properties" page. AS still looks at these properties, so if they have invalid category information it can cause the issue. Loading deleted profile properties has been discussed before and it occurs for backwards compatibility reasons. To view the full list of categories that need to have localized values, run this SQL script: SELECT DISTINCT PropertyCategory FROM ProfilePropertyDefinition WHERE PortalId = '#' Replace the # with your current portal ID and MAKE A BACKUP before you run this or any SQL script. After you have a list of all the categories in the database, each one will need to be double checked against the localized values stored in the file system. The category localized values may be stored in a couple different files, depending on your DNN version and number of languages. The files will be in either Admin/users/App_LocalResources or DesktopModules/Admin/Security/App_LocalResources. The file(s) in particular are named Profile.ascx.resx, but also may be Profile.ascx.Portal-#.resx, Profile.ascx.xx-XX.resx, or even Profile.ascs.xx-XX.Portal-#.resx. xx-XX will be replaced by a language code, and the # is the portal id. After you have located the files, create a backup of the whole directory. Then you will need to open them in a program capable of editing .resx files (i.e. Visual Studio). For each category returned by the SQL script above, there must be a line that says ProfileProperties_CategoryName.Header. There must also be a value entered.
|
|
|
|
|
Sean
Registered Users
Post Count:1
 |
| 23 Nov 2011 05:57 PM |
|
I'm having a similar issue, where the Edit Profile page is showing this error:
"An error has occurred. Error: is currently unavailable."
When I dig into the error in the Event/Log Viewer, this inner exception is showing for the error:
"The ID 'divdrpdnnctlregion' is already used by another control."
I've gone through each of the profile properties to ensure that each has a localized value, as well as being sure each has a localized value set for the category name. I checked the resource files mentioned - I had two files, one at DesktopModules/Admin/Security/App_LocalResources/Profile.ascx.resx and DesktopModules/Admin/Security/App_LocalResources/Profile.ascx.Portal-0.resx. Both now have localized text for each category name, but I'm still getting the error on the Edit Profile page.
I thought the error might be related to there being two profile properties named "Region" in DotNetNuke's ProfilePropertyDefinition table (one that was marked as deleted and one that wasn't), but both renaming and removing the duplicate property had no effect.
Does anyone have any ideas on what else I could check? I'm using DNN 6.1.1 and ActiveSocial 1.9.3.
|
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 29 Nov 2011 01:22 PM |
|
Hi Sean, this issue is different that the original issue in this topic. Your error is caused by having duplicate region-type properties. You would need to delete the two properties in the database that are marked as deleted. |
|
|
|
|
Markus
Registered Users
Post Count:2
 |
| 23 Dec 2011 03:36 AM |
|
Hi Ben,
I updated my DNN through 5 or 6 steps to 6.1.2 und now editing user Profiles orrures an critical error.
a) Event Viewer shows:
AssemblyVersion: 6.1.2
PortalID: 0
PortalName: Addison Forum
UserID: 3
UserName: mwallner
ActiveTabID: 62
ActiveTabName: User Accounts
RawURL: /Admin/UserAccounts/tabid/62/ctl/Edit/mid/375/UserId/92/filter/All/currentpage/1/Default.aspx?popUp=true
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://forum.ass-intranet.de/Admin/...fault.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 72b51bdb-07ad-4e8e-a483-82a77481a6bc
InnerException: Die maximale Schachtelungsebene für gespeicherte Prozeduren, Funktionen, Trigger oder Sichten wurde überschritten (Limit ist 32).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Die maximale Schachtelungsebene für gespeicherte Prozeduren, Funktionen, Trigger oder Sichten wurde überschritten (Limit ist 32). ---> System.Data.SqlClient.SqlException: Die maximale Schachtelungsebene für gespeicherte Prozeduren, Funktionen, Trigger oder Sichten wurde überschritten (Limit ist 32). 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.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at System.Data.SqlClient.SqlDataReader.Read() at DotNetNuke.Common.Utilities.CBO.FillListFromReader[TItem](IDataReader dr, IList`1 objList, Boolean closeReader) at DotNetNuke.Common.Utilities.CBO.FillCollection[TItem](IDataReader dr) at v...
b) I found 4 Categories via: SELECT DISTINCT PropertyCategory FROM ProfilePropertyDefinition WHERE PortalId = '0':
Adress, Contact Info, Name, Preferences c) My Profile.ascx.Portal-0.resx looks like this:
| ProfileProperties_Address.Header |
Address |
| ProfileProperties_Contact Info.Header |
Contact Info |
| ProfileProperties_Name.Header |
Name |
| ProfileProperties_Preferences.Header |
Preferences |
| ProfileProperties_PreferredTimeZone.Help |
Choose your preferred time zone |
| ProfileProperties_PreferredTimeZone.Required |
Preferred Time Zone is required |
| ProfileProperties_PreferredTimeZone.Text |
Preferred Time Zone: |
| ProfileProperties_PreferredTimeZone.Validation |
|
| ProfileProperties_Prefix.Validation |
|
| ProfileProperties_Street.Help |
Enter the street part of the address (eg. 123 Main Street) |
| ProfileProperties_Street.Required |
Street is required |
| ProfileProperties_Street.Text |
Street: |
| ProfileProperties_Street.Validation |
|
| ProfileProperties_Telephone.Help |
Enter a telephone number |
| ProfileProperties_Telephone.Required |
Telephone is required |
| ProfileProperties_Telephone.Text |
Telephone: |
| ProfileProperties_Telephone.Validation |
|
d) My Profile.ascx.resx looks like this:
| ProfileProperties_Address.Header |
Address |
| ProfileProperties_Biography.Help |
Use the Editor to enter a short Biography |
| ProfileProperties_Biography.Required |
Biography is required |
| ProfileProperties_Biography.Text |
Biography: |
| ProfileProperties_Cell.Help |
Enter a cell/mobile phone number |
| ProfileProperties_Cell.Required |
Cell Phone is required |
| ProfileProperties_Cell.Text |
Cell/Mobile: |
| ProfileProperties_City.Help |
Enter the city part of the address |
| ProfileProperties_City.Required |
City is required |
| ProfileProperties_City.Text |
City: |
| ProfileProperties_Contact Info.Header |
Contact Info |
| ProfileProperties_Country.Help |
Select the Country part of the address |
| ProfileProperties_Country.Not Specified |
Not Specified |
| ProfileProperties_Country.Required |
Country is required |
| ProfileProperties_Country.Text |
Country: |
| ProfileProperties_Fax.Help |
Enter a fax number |
| ProfileProperties_Fax.Required |
Fax number is required |
| ProfileProperties_Fax.Text |
Fax: |
| ProfileProperties_FirstName.Help |
Enter a first name |
| ProfileProperties_FirstName.Required |
First Name is required |
| ProfileProperties_FirstName.Text |
First Name: |
| ProfileProperties_IM.Help |
Enter an instant messenger id (AOL, MSN, Yahoo etc) |
| ProfileProperties_IM.Required |
IM handle is required |
| ProfileProperties_IM.Text |
IM: |
| ProfileProperties_LastName.Help |
Enter a Last Name |
| ProfileProperties_LastName.Required |
Last Name is required |
| ProfileProperties_LastName.Text |
Last Name: |
| ProfileProperties_MiddleName.Help |
Middle Name: |
| ProfileProperties_MiddleName.Required |
Middle Name is required |
| ProfileProperties_MiddleName.Text |
Middle Name: |
| ProfileProperties_Name.Header |
Name |
| ProfileProperties_Photo.Help |
Select a photo or upload an image from your local file system. |
| ProfileProperties_Photo.Required |
Photo is required |
| ProfileProperties_Photo.Text |
Photo: |
| ProfileProperties_PostalCode.Help |
Enter the Postal/Zip Code part of the address |
| ProfileProperties_PostalCode.Required |
Postal Code is required |
| ProfileProperties_PostalCode.Text |
Postal Code: |
| ProfileProperties_Preferences.Header |
Preferences |
| ProfileProperties_PreferredLocale.Help |
Choose your preferred locale. |
| ProfileProperties_PreferredLocale.Required |
Preferred locale is required |
| ProfileProperties_PreferredLocale.Text |
Preferred Locale: |
| ProfileProperties_PreferredTimeZone.Help |
Choose your preferred time zone |
| ProfileProperties_PreferredTimeZone.Required |
Preferred Time Zone is required |
| ProfileProperties_PreferredTimeZone.Text |
Preferred Time Zone: |
| ProfileProperties_Prefix.Help |
Enter a prefix (eg Mr. Dr.) |
| ProfileProperties_Prefix.Required |
Prefix is required |
| ProfileProperties_Prefix.Text |
Prefix: |
| ProfileProperties_Region.Help |
Enter the region (state, province or county) part of the address |
| ProfileProperties_Region.Required |
Region is required |
| ProfileProperties_Region.Text |
Region: |
| ProfileProperties_Street.Help |
Enter the street part of the address (eg. 123 Main Street) |
| ProfileProperties_Street.Required |
Street is required |
| ProfileProperties_Street.Text |
Street: |
| ProfileProperties_Suffix.Help |
Enter a suffix (eg BSc, PhD) |
| ProfileProperties_Suffix.Required |
Suffix is required |
| ProfileProperties_Suffix.Text |
Suffix: |
| ProfileProperties_Telephone.Help |
Enter a telephone number |
| ProfileProperties_Telephone.Required |
Telephone is required |
| ProfileProperties_Telephone.Text |
Telephone: |
| ProfileProperties_TimeZone.Help |
Select your time zone from the drop-down list |
| ProfileProperties_TimeZone.Required |
Time Zone is required |
| ProfileProperties_TimeZone.Text |
Time Zone: |
| ProfileProperties_Unit.Help |
Enter a unit number for an apartment or condominium |
| ProfileProperties_Unit.Required |
Unit is required |
| ProfileProperties_Unit.Text |
Unit: |
| ProfileProperties_Website.Help |
Enter a web site url. |
| ProfileProperties_Website.Required |
Website is required |
| ProfileProperties_Website.Text |
Website: |
| ProfileTitle.Text |
Edit Profile - {0} (Id: {1}) |
| RequireProfile.Text |
Your Profile |
e) Questions:
All values are included in the file. I restartet IIS, but the error keeps the same. Is there anything wrong I did?
Regards,
Markus
|
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 27 Dec 2011 04:37 PM |
|
Hi Markus, This sounds like a different error than usual. What version of SQL server are you using? |
|
|
|
|
Jon
Registered Users
Post Count:2
 |
| 28 Dec 2011 10:09 AM |
|
Hello Ben,
This may be a dumb question but where do I go to delete duplicate properties? I have the same issue.
|
|
|
|
|
Jon
Registered Users
Post Count:2
 |
| 28 Dec 2011 10:55 AM |
|
Here is the error:
Error: ActiveSocial is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The ID 'dnnctlNewRegist' is already used by another control. ---> System.Web.HttpParseException: The ID 'dnnctlNewRegist' is already used by another control. ---> System.Web.HttpParseException: The ID 'dnnctlNewRegist' is already used by another control. ---> System.Web.HttpException: The ID 'dnnctlNewRegist' is already used by another control. at System.Web.UI.TemplateParser.ProcessError(String message) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.ParseTemplateInternal(String content, VirtualPath virtualPath, Boolean ignoreFilter) at System.Web.UI.TemplateParser.ParseControl(String content, VirtualPath virtualPath, Boolean ignoreFilter) at System.Web.UI.TemplateControl.ParseControl(String content) at Active.Modules.Social.Controls.ProfileEdit.BindView() at Active.Modules.Social.Controls.ProfileEdit.Page_Load1(Object sender, EventArgs e) --- End of inner exception stack trace --- |
|
|
|
|
Markus
Registered Users
Post Count:2
 |
| 02 Jan 2012 02:17 AM |
|
Hi @all, first of all: Happy new year !!!
Hi Ben,
It´s a SQL Server Enterprise Edition, Version 9.00.3042.00 (SQL Server 2005), Collation: Latin1_General_CI_AS. Running under Windows Server 2003.
Regards, Markus
|
|
|
|
|
Ravinder
Registered Users
Post Count:1
 |
| 07 Jan 2012 11:58 AM |
|
We also had this duplicate controlID issue( with another control though) and found that the template had same control repeated. Search for "dnnctlNewRegist" in your template file, remove the extra control and it should work.
|
|
|
|
|
Adam Jones
Customers
Post Count:406
 |
| 08 Jan 2012 09:44 AM |
|
I'm having the same issue with the edit profile. I've gone through all of the settings and ensured that they all have data. I've sent Ben my info, so hopefully he can look through it, and see where I am going wrong. |
|
|
|
|
Patrick
Registered Users
Post Count:87
 |
| 08 Jan 2012 02:59 PM |
|
I just ran into this issue as well.. I've tried all the suggestions. This happened after upgrading from 5.6.5, one upgrade at a time.. all the way to the latest DNN.
I really need some help if someone has resolved this. I'll throw some quick cash out too if someone knows how to dig in and fix this quickly. I've made too many changes to roll back to the backup.
Please please help..
I hate these little surprises that you run into days later.
- Patrick |
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 09 Jan 2012 09:10 AM |
|
@Patrick: How much cash?? Just kidding. Check the post from 24 Oct 2011 04:01 PM, if you can not see any problems with category names via the interface.
|
|
|
|
|
Adam Jones
Customers
Post Count:406
 |
| 09 Jan 2012 10:01 AM |
|
What if I deleted some of the custom profile properties that I added in? I've gone through and verified each category has its own custom name, and its own custom value. Its still not working, when you click on EDIT PROFILE. |
|
|
|
|
Patrick
Registered Users
Post Count:87
 |
| 09 Jan 2012 10:54 AM |
|
Hahah! how much cash do you want Ben?
I reverted back to my backup so I cannot reproduce the problem. The issue is when upgrading to DNN 6.X
But I have no idea what is causing the issue..
I went through and followed all the steps you outlined in that post and even went line by line in the DB to find missing or null fields.
Can you guys please investigate this further? It almost seems as a patch is necessary for DNN 6.x versions when upgrading.
Multiple people are having this problem ONLY after upgrading it seems. . whereas a fresh install wouldn't produce the issue.
Thanks Ben,
Patrick |
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 09 Jan 2012 10:56 AM |
|
Please read the post from 24 Oct 2011 04:01 PM, even if you delete a property from the interface, it is may not be completely deleted. |
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 09 Jan 2012 01:37 PM |
|
One property that is a common cause of this issue is TimeZone. It may be marked as deleted. |
|
|
|
|
Paul
Registered Users
Post Count:9
 |
| 26 Jan 2012 03:43 AM |
|
Posted By Ravinder on 07 Jan 2012 12:58 PM
We also had this duplicate controlID issue( with another control though) and found that the template had same control repeated. Search for "dnnctlNewRegist" in your template file, remove the extra control and it should work.
Which "Template File" are you referring to? I am having a similar duplicate control ID issue. Thanks! |
|
| Hawaii Web Design & Website Hosting by One Wave Designs |
|
|
Paul
Registered Users
Post Count:9
 |
| 26 Jan 2012 04:39 AM |
|
Posted By Ben - DotNetNuke on 29 Nov 2011 02:22 PM
Hi Sean, this issue is different that the original issue in this topic. Your error is caused by having duplicate region-type properties. You would need to delete the two properties in the database that are marked as deleted.
How is this done? How do we hard delete profile propeties that are duplicated or deleted through the Admin - User Accounts - Profile Properties screen? |
|
| Hawaii Web Design & Website Hosting by One Wave Designs |
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 26 Jan 2012 01:08 PM |
|
Paul, You can first go to Admin > User Accounts > Manage Profile Properties and see if you have two properties with the same name. This is unlikely though. Try running this script from the Host SQL menu: SELECT * FROM ProfilePropertyDefinition WHERE Deleted = 1 And see if one of the results is the property in your error message. |
|
|
|
|
Paul
Registered Users
Post Count:9
 |
| 26 Jan 2012 02:02 PM |
|
Posted By Ben - DotNetNuke on 26 Jan 2012 02:08 PM
Paul,
You can first go to Admin > User Accounts > Manage Profile Properties and see if you have two properties with the same name. This is unlikely though.
Try running this script from the Host SQL menu:
SELECT * FROM ProfilePropertyDefinition WHERE Deleted = 1
And see if one of the results is the property in your error message.
Yes, it is the property, and I know how it got duplicated. But now I can't delete it. When I run the script, I get the list of deleted profile properties, and the 2 that are duplicated are there, but HOW DO I DELETE them from table? THanks for the help! |
|
| Hawaii Web Design & Website Hosting by One Wave Designs |
|
|