|
Hi...
Please try to be more clear on what you want. Punctuation might help as well. I just can't understand what you want!
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
OK here are the answers
1) Using the driver MYSQLCONNECTOR 5.0 in this article what I have to change in the code in webconfig?
2) What data or information which I place on the field in the table ApplicationName sitemap of bd coming downloading article
And
3) What I have to ask where kj says
/ *! Please replace the App Your Name) (instances with a valid
Application Name. The application name should not contain
Any spaces or special characters. ! * /
At. Luiz - Brazil - Itatiba-SP - I am using google translation, I do not understand much English, but if pd help me now thank you
LADEF
|
|
|
|
|
|
2 and 3) Replace all instances of "Your Name App" in the web.config with a short name for its implementation. The short name will also be used under sitemap.
I could understand, but in the case the name of its implementation would be short NAME OF THE ARCHIVE PROJECT eg.
On the code below that name would be short MeuMenuDinamico?
Using System;
Using System.Data;
Using System.Configuration;
Using System.Collections;
Using System.Web;
Using System.Web.Security;
Using System.Web.UI;
Using System.Web.UI.WebControls;
Using System.Web.UI.WebControls.WebParts;
Using System.Web.UI.HtmlControls;
Namespace MeuMenuDinamico
(
Public partial class _Default: System.Web.UI.Page
(
Protected void Page_Load (object sender, EventArgs e)
(
)
Protected void Menu1_MenuItemClick (object sender, and MenuEventArgs)
(
Switch (e.Item.Value)
(
Case "Products":
SiteMapDataSource2.StartingNodeUrl = "Default.aspx? Hardware node =";
Return;
Case "Services":
SiteMapDataSource2.StartingNodeUrl = "Default.aspx? Consulting node =";
Return;
Case "Support":
SiteMapDataSource2.StartingNodeUrl = "Default.aspx? Node = drivers";
Return;
)
)
)
)
If pd help me now thank and in the case of Article of Voloda if the link would get me the same move if possible
LADEF
|
|
|
|
|
2 & 3) Yes... That is correct...
What is pd?
I don't understand your last line... "If pd help me now thank and in the case of Article of Voloda if the link would get me the same move if possible"
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
I do the LINK TO ARTICLE VOLODA SE POSSIVEL this is what I say in the last line
And name of the application is MeuMenuDinamico correct?
LADEF
|
|
|
|
|
And name of the application is MeuMenuDinamico correct? - YES!
I do the LINK TO ARTICLE VOLODA SE POSSIVEL this is what I say in the last line - You do the link? What do you mean, DO the link?
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
Thanks for the tip MeuMenuDinamico that part I understand in the case of link am asking the address of the http or
Http://www.codeproject.com/KB/webforms/MySQLsuite.aspx?msg=2483671 # xx2483671xx
But the address of the article VOLODA
LADEF
|
|
|
|
|
|
The ok Thanks JacquesSnyman that is exactly what I wanted to little we really googlando the translator google is confusing at times but now I will help examine a little the http address of the VOLODA I went any doubt very much that I return
LADEF
|
|
|
|
|
What we need to change or implement in WebConfig, Na ConnectionString or the code of MySqlSiteMapProvider to be accepted in connection with the driver MySql 5.0 MySQL CONNECTOR one of the most used at the time
Add the connection string to your newly created database to the connectionStrings section, eg <Add connectionstring = "MySQL ODBC driver = (3.51) Driver; server Your Server IP = (); port = (Your Server Port No.); option = 3; database New Database Name = (); uid = (Your username) ; pwd = () Your password "name =" SimpleProviderConnectionString "providername =" System.Data.Odbc "/>.
At. Luiz - Itatiba-SP - Brazil
LADEF
|
|
|
|
|
Do I have to call INitialize() manually when I instantiate any of the provider classes?
If so, what am I supposed to pass for the 2nd parameter?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi...
No... It is not neccessary to call Initialize() manually. If you define the provider in the web.config, the .NET framework will initialize them for you.
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
|
I get an error in line 155 "foreach (SettingsProperty prop in ppc)" about an unsupported property? Any ideas?
.
.
.
public override SettingsPropertyValueCollection GetPropertyValues (SettingsContext context, SettingsPropertyCollection ppc)
{
string username = (string)context["UserName"];
bool isAuthenticated = (bool)context["IsAuthenticated"];
// The serializeAs attribute is ignored in this provider implementation.
SettingsPropertyValueCollection svc = new SettingsPropertyValueCollection();
foreach (SettingsProperty prop in ppc)
.
.
.
|
|
|
|
|
This functionality is provided in the MySQL Connector/NET's MySql.Web.dll. No need to build your own!
MySql.Web.Security.MySqlRoleProvider and MySql.Web.Security.MySqlMembershipProvider
Mikko
|
|
|
|
|
That's true as for Membership and Roles, but Profile has yet to be implemented?
|
|
|
|
|
The SiteMap provider is complaining that I don't have a ParentID for a particular record. For the Home reference, there wouldn't be any ParentID. What do I do in this situation?
Thanks,
King Wilder
|
|
|
|
|
I'm not 100% sure. Try using 0 as the ParentID for the Home reference.
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
Nice job on this. I have it working for the most part, but I'm getting the "Hashed or Encrypted passwords are not supported with auto-generated keys" error. I'll try to figure that out.
I built an Admin User Manager UI built on top of the .Net 2.0 classes. I'm using my UI with your provider and it works (except for the password error).
I thought you might want to look at it and see if it needs any additional features. You can find it to download at my web site: http://www.kingwilder.com.
I have instructions on it in my Blog and I call it the Membership API. It just has a few user controls and ASPX pages to drop into your application and a web.config sample and you're all set.
Now with your MySql provider, I'm able to quickly add Membership capabilities to my SQL Server apps or MySql apps.
Thanks,
King Wilder
|
|
|
|
|
Had a look at your site and I must say... Excellent work on the UI. I'm thoroughly impressed.
Will go through it tonight and tell you if there's anything I would add.
To solve the "Hashed or Encrypted passwords are not supported with auto-generated keys" error read this message on the article's forum: http://www.codeproject.com/aspnet/MySQLsuite.asp?msg=2013240#xx2013240xx
Don't you want to post a link on your blog to this article?
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
Jacques,
I posted a comment on my Blog that has a link to this CodeProject article.
I saw your solution for the passwords error I was getting and implemented it and it worked. I'm not sure why it doesn't work out of the box, since it works with SQL Server, but at least I got it to work.
The only thing that doesn't work yet is my BreadCrumb using any SiteMap datasource. I've gotten SiteMap's to work with other applications, but for some reason with this application I can't get it to work with either the XML file, or your SiteMap provider. I'll figure something out.
There are probably some features that can be added to my Membership UI app, but as-is it has enough to get developers started. I leave the Change Password functionality up to the standard ASP.NET control since users would probably be doing this themselves, the Admin doesn't have to.
Anyway, thanks for buildling this provider. It's helped a lot.
There was only one problem I had at first, when I made a reference to your DLL in the /bin folder I kept getting an error that it couldn't find the resource. And when I looked closer at the error message and path, it was pointing to the location of your /jacques folder in the path you used to create the DLL. That's strange!
So I just re-compiled the app, made a new reference and it worked fine.
|
|
|
|
|
Hey there!
The suite is really great and works on my normal MyISAM development server, but when I try to create the tables on a cluster (NDBCluster), I get the following error when trying to create the users and profiles tables:
Can't create table {tablename} (errno: 904)
Any ideas?
Thanks.
|
|
|
|
|
Unfortunately I've never used NDBCluster with MySQL. It looks to me like the syntax differs from the normal MyISAM engine.
Have you tried googling the error?
"I'm about as expert as a palsy victim performing brain surgery with a pipe wrench."
Check out my site at JacquesSnyman.co.za
** Remember: An article is only as good as the votes it gets **
|
|
|
|
|
Jacques,
Thanks for your response.
I Goggled the error and came up with a problem relating to: 'MaxNoOfOrderedIndexes'.
There's no information on what I can do, or how I can fix the problem really. There seem to be others who have had similar errors pop up like this, but solutions are beyond my technical grasp.
I'm more .NET than MySQL to be perfectly honest!
|
|
|
|