BugNET

Open source issue tracking & project management

Forums

HomeHomeDevelopment and...Development and...General Develop...General Develop...Creating Administrator Account FailedCreating Administrator Account Failed
Previous
 
Next
New Post
8/10/2010 1:11 PM
 
I'll create an issue for the membership thing and then attach a patch to fix it. The other issue has me stumped.
BGN-1447
 
New Post
8/11/2010 6:29 AM
 
carlowahlstedt wrote:
I'll create an issue for the membership thing and then attach a patch to fix it. The other issue has me stumped.
BGN-1447
Thanks! The other issue you encountered is missing resources in the StringResources table, these should be in the upgrade script as well, if not they will need to be added.

Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
8/11/2010 7:13 AM
 
Ahh, I see, you're using the [BugNet_StringResources] table to do all the language conversion. Never done it that way before. I tried:

INSERT INTO [BugNet_08].[dbo].[BugNet_StringResources]
    VALUES ('Notification', 'en', 'SecurityQuestionRequiredErrorMessage', 'A Security Question is Required')

and also replaced 'Notification' with ErrorMessages, CommonTerms, and Default.aspx but it is still giving an error. Default.aspx was the page I was loading when compiling the website. I didn't see any other [resourceType] that would make sense to insert it as. I can test any other ideas you might have to fix it.
 
New Post
8/23/2010 7:28 AM
 

Finally took the time to find the issue with the string resources. Here's a list of them that need to be added in order for it to not crash.

INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'Login.aspx', N'en', N'Page.Title', N'Login')
INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'Register.aspx', N'en', N'SecurityQuestionRequiredErrorMessage', N'Security Question Required')
INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'Register.aspx', N'en', N'ConfirmPassword', N'Confirm Password')
INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'Register.aspx', N'en', N'SecurityAnswerRequiredErrorMessage', N'Security Answer Required')
INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'UserProfile.aspx', N'en', N'ConfirmPassword', N'Confirm Password')
INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'UserProfile.aspx', N'en', N'SecurityQuestionRequiredErrorMessage', N'Security Question Required')
INSERT [dbo].[BugNet_StringResources] ([resourceType], [cultureCode], [resourceKey], [resourceValue]) VALUES (N'UserProfile.aspx', N'en', N'SecurityAnswerRequiredErrorMessage', N'Security Answer Required')

 
New Post
8/23/2010 7:32 AM
 

Thank you. I will update the scripts.


Davin Dubeau

follow us on twitter facebook users group google plus
 
Previous
 
Next
HomeHomeDevelopment and...Development and...General Develop...General Develop...Creating Administrator Account FailedCreating Administrator Account Failed


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.