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
Post a Comment