Hi
I am Doni. I am trying to develope a profile using MySQL Database. I created a Profile in web.config file
as Shown Below
<connectionStri ngs>
<add name="ConnStrin g" connectionStrin g="Database=pro file;Data Source=localhos t;User Id=root;Passwor d=computer"/>
</connectionStrin gs>
<system.web>
<roleManager defaultProvider ="MySqlRoleProv ider" enabled="true" cacheRolesInCoo kie="true" cookieName=".AS PROLES" cookieTimeout=" 30" cookiePath="/" cookieRequireSS L="false" cookieSlidingEx piration="true" cookieProtectio n="All">
<providers>
<clear/>
<add name="MySqlRole Provider" type="Andri.Web .MySqlRoleProvi der" connectionStrin gName="ConnStri ng" applicationName ="MySQLMembersh ipProvider.cs" writeExceptions ToEventLog="tru e"/></providers>
</roleManager>
</system.web>
In that Code I got Error in Line (Maked Bold) . Please resolve my error.
Also I want to convey you that I am not an advance developer. So give me some details of web.config file . if possible give me brief idea or Tutorials for that.
with regards,
Doni
I am Doni. I am trying to develope a profile using MySQL Database. I created a Profile in web.config file
as Shown Below
<connectionStri ngs>
<add name="ConnStrin g" connectionStrin g="Database=pro file;Data Source=localhos t;User Id=root;Passwor d=computer"/>
</connectionStrin gs>
<system.web>
<roleManager defaultProvider ="MySqlRoleProv ider" enabled="true" cacheRolesInCoo kie="true" cookieName=".AS PROLES" cookieTimeout=" 30" cookiePath="/" cookieRequireSS L="false" cookieSlidingEx piration="true" cookieProtectio n="All">
<providers>
<clear/>
<add name="MySqlRole Provider" type="Andri.Web .MySqlRoleProvi der" connectionStrin gName="ConnStri ng" applicationName ="MySQLMembersh ipProvider.cs" writeExceptions ToEventLog="tru e"/></providers>
</roleManager>
</system.web>
In that Code I got Error in Line (Maked Bold) . Please resolve my error.
Also I want to convey you that I am not an advance developer. So give me some details of web.config file . if possible give me brief idea or Tutorials for that.
with regards,
Doni
Comment