Click here to Skip to main content
15,905,607 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Timing the call of a .js file Pin
Steve Echols25-Sep-08 17:55
Steve Echols25-Sep-08 17:55 
GeneralRe: Timing the call of a .js file Pin
Cyberpulse26-Sep-08 7:49
Cyberpulse26-Sep-08 7:49 
QuestionScript manager in masterpage Pin
AlexeiXX325-Sep-08 13:24
AlexeiXX325-Sep-08 13:24 
AnswerRe: Script manager in masterpage Pin
Abhijit Jana25-Sep-08 17:04
professionalAbhijit Jana25-Sep-08 17:04 
Questionstoring data in cache [modified] Pin
geekfromindia25-Sep-08 13:14
geekfromindia25-Sep-08 13:14 
AnswerRe: storing data in cache Pin
Abhijit Jana25-Sep-08 17:07
professionalAbhijit Jana25-Sep-08 17:07 
QuestionSet 100% height for divs [modified] Pin
AlexeiXX325-Sep-08 13:02
AlexeiXX325-Sep-08 13:02 
AnswerRe: Set 100% height for divs Pin
Steve Echols25-Sep-08 17:59
Steve Echols25-Sep-08 17:59 
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
professional#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
professional#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 

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.