asp.net - How to store state in profiles? -


<profile>           <properties>               <add name="name" allowanonymous="true" />               <add name="age" allowanonymous="true" type="system.int16"/>           </properties>           <providers>               <add name="aspnetsqlprofileprovider"                    connectionstringname="profileservices"                    applicationname="/"                    type="system.web.profile.sqlprofileprovider" />           </providers>     </profile>  <connectionstrings>     <add name="applicationservices"          connectionstring="data source=.\sqlexpress;integrated security=sspi;attachdbfilename=|datadirectory|\aspnetdb.mdf;user instance=true"          providername="system.data.sqlclient" />       <add name="profileservices"            connectionstring="data source=chandan-pc;database=testdb;integrated security=sspi;"            />    </connectionstrings> 

i following error : sse provider did not find database file specified in connection string. @ configured trust level (below high trust level), sse provider can not automatically create database file.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -