Bonjour,
quelqu'un à déjà utilisé le membersip chez l'hebergeur ikoula ?
La base de donnée ASPNETDB.MDF n'est pas pas utilisable chez eu. Selon leur faq il faut utiliser une autre base de donnée. http://support.ikoula.com/index-1-2-2051.html
Et même en cherchant un peu sur le net je suis arrivé à ça :
Mon web.config contient dans system.web:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
<system.web>
<roleManager defaultProvider="MonRoleProvider"
enabled="true"
cacheRolesInCookie="true"
cookieName=".ASPROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All" >
<providers>
<clear />
<add
name="MonRoleProvider"
type="System.Web.Security.SqlRoleProvider"
connectionStringName="LocalSqlServer"
applicationName="/"
writeExceptionsToEventLog="true"
/>
</providers>
</roleManager>
 
<membership defaultProvider="MonMembershipProvider">
<providers>
<add connectionStringName="LocalSqlServer" 
name="MonMembershipProvider" 
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
/>
</providers>
</membership>
</system.web>
et dans connetionStrings :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
<add name="LocalSqlServer" connectionString="Server=localhost;Database=ma_base;User ID=mon_id;Password=mon_mot_de_passe;Trusted_Connection=False;" />
mais j'ai toujour ce message d'erreur :
Server Error in '/' Application.
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
La je bloque.