Click here to Skip to main content
15,887,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAutocomplete textbox issue Pin
enthusiastic47725-Sep-08 10:43
enthusiastic47725-Sep-08 10:43 
AnswerRe: Autocomplete textbox issue Pin
Prasanna Kumar Pete25-Sep-08 17:46
Prasanna Kumar Pete25-Sep-08 17:46 
GeneralRe: Autocomplete textbox issue Pin
enthusiastic47726-Sep-08 4:55
enthusiastic47726-Sep-08 4:55 
GeneralDataGrid EditItemTemplate Problem Pin
Brady Kelly25-Sep-08 7:21
Brady Kelly25-Sep-08 7:21 
GeneralRe: DataGrid EditItemTemplate Problem Pin
NeverHeardOfMe25-Sep-08 10:12
NeverHeardOfMe25-Sep-08 10:12 
GeneralRe: DataGrid EditItemTemplate Problem Pin
Brady Kelly25-Sep-08 10:31
Brady Kelly25-Sep-08 10:31 
GeneralRe: DataGrid EditItemTemplate Problem Pin
NeverHeardOfMe25-Sep-08 11:01
NeverHeardOfMe25-Sep-08 11:01 
QuestionEnable Profile in web app Pin
acroitoriu25-Sep-08 4:55
acroitoriu25-Sep-08 4:55 
Hi,

I need to enable Profile in my ASP.NET 2.0 web app.

In order to enable it I followed the next steps:

1. manually created the sql profile tables using the aspnet_regsql -A all command
2. enabled authentication from the web.config file
<authentication mode="Forms">
<forms loginurl="~/auth/login.aspx" timeout="60" protection="All">

<authorization>
<allow users="*">

3. configured the profile provider
<connectionstrings>
<add name="devProfileProvider" providername="System.Data.SqlClient" connectionstring="server=myServer;database=aspnetdb;User Id=sa_dev;Password=devPass;Connection Lifetime=3600;Min Pool Size=10;Application name=mySite">


and

<profile enabled="true" defaultprovider="myProfileProvider">
<providers>
<clear>
<add name="myProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionstringname="devProfileProvider" applicationname="mySite">

<properties>
<add name="MyProp" type="String" defaultvalue="Andrei">


4. defined profile properties - see above

From what I've read so far about Profile in ASP.NET that should be enough to start working with the profile in my web app, but currently I am not able to work with it. I don't have access to any of my properties and I don't have access to the Profile object.

Can anyone see any mistake in the steps I've made or should I perform some extra configuration for my application?

What do I need to do in order to work with the profile?

Thanks in advance!

Andrei
AnswerRe: Enable Profile in web app Pin
acroitoriu2-Oct-08 21:11
acroitoriu2-Oct-08 21:11 
QuestionListView - summing a column Pin
#realJSOP25-Sep-08 4:01
mve#realJSOP25-Sep-08 4:01 
AnswerRe: ListView - summing a column Pin
J4amieC25-Sep-08 5:34
J4amieC25-Sep-08 5:34 
GeneralRe: ListView - summing a column Pin
#realJSOP28-Sep-08 2:34
mve#realJSOP28-Sep-08 2:34 
GeneralRe: ListView - summing a column Pin
hutty22-Mar-09 11:38
hutty22-Mar-09 11:38 
Questionshowing data on a WebUserControl in DataGrid edit mode Pin
johland25-Sep-08 3:44
johland25-Sep-08 3:44 
Questionretrieve the file name from path Pin
varsh1225-Sep-08 2:23
varsh1225-Sep-08 2:23 
AnswerREPOST IGNORE Pin
J4amieC25-Sep-08 3:25
J4amieC25-Sep-08 3:25 
GeneralRe: REPOST IGNORE Pin
varsh1225-Sep-08 18:21
varsh1225-Sep-08 18:21 
GeneralRe: REPOST IGNORE Pin
J4amieC25-Sep-08 22:30
J4amieC25-Sep-08 22:30 
GeneralRe: REPOST IGNORE Pin
varsh1225-Sep-08 23:57
varsh1225-Sep-08 23:57 
Questionnext button doesn't work after 2 page in crystal report Pin
amitajain00825-Sep-08 2:20
amitajain00825-Sep-08 2:20 
Questionfck editor problem Pin
UD(IA)25-Sep-08 1:31
UD(IA)25-Sep-08 1:31 
AnswerRe: fck editor problem Pin
Ashfield25-Sep-08 1:47
Ashfield25-Sep-08 1:47 
Questionprevent post back when menu item header is clicked Pin
_tasleem25-Sep-08 1:26
_tasleem25-Sep-08 1:26 
AnswerRe: prevent post back when menu item header is clicked Pin
Venkat Eswaran25-Sep-08 3:53
Venkat Eswaran25-Sep-08 3:53 
QuestionModel Window-Parent Window updation Problem Pin
John.G25-Sep-08 1:09
John.G25-Sep-08 1:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.