473,883 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using ASP.NET Profiles

Hi, I was trying to setup a Profile in my test ASP.NET application and for some reason I cannot get the Profile object to become available in my web page. If I download a sample using the profile everything works fine but if I create a new web app and copy the information from the web.config of the working sample and create my page and create the contents just like the sample, the Profile object never shows itself. Does anyone have any ideas on what to look for or try? I have tried everything. You would think creating a new project and copying everything from a working sample would work but not in my case.

Thanks,

Matt
Aug 8 '06 #1
2 1422
In order to have a profile, you have to have a user (which can be
anonymous). Perhaps you are just copying the profile provider data from the
config of the sample that's working but you also need to get the membership
provider config.

John Opincar, MCAD.NET, SCJP
jo**********@su ndesksoftware.c om

"Matt" <md*****@sorviv e.DONT-SEND-SPAM.comwrote in message
news:u9******** ******@TK2MSFTN GP04.phx.gbl...
Hi, I was trying to setup a Profile in my test ASP.NET application and for
some reason I cannot get the Profile object to become available in my web
page. If I download a sample using the profile everything works fine but if
I create a new web app and copy the information from the web.config of the
working sample and create my page and create the contents just like the
sample, the Profile object never shows itself. Does anyone have any ideas
on what to look for or try? I have tried everything. You would think
creating a new project and copying everything from a working sample would
work but not in my case.

Thanks,

Matt
Aug 8 '06 #2
John,

What I found is kind of strange. If I create a new project as a Web Application and work with the solution file I have the issue, but I found early this morning, if I open the directory as a Web Site then the profile object is avaialble. I also had to change my CodeBehind attribute to a CodeFile attribute in the ASPX page as well. I don't understand the different functionality between the two or why it is different.

Thanks,

Matt
"John Opincar" <jo**********@s undesksoftware. comwrote in message news:Zj******** ***********@tor nado.texas.rr.c om...
In order to have a profile, you have to have a user (which can be
anonymous). Perhaps you are just copying the profile provider data from the
config of the sample that's working but you also need to get the membership
provider config.

John Opincar, MCAD.NET, SCJP
jo**********@su ndesksoftware.c om

"Matt" <md*****@sorviv e.DONT-SEND-SPAM.comwrote in message
news:u9******** ******@TK2MSFTN GP04.phx.gbl...
Hi, I was trying to setup a Profile in my test ASP.NET application and for
some reason I cannot get the Profile object to become available in my web
page. If I download a sample using the profile everything works fine but if
I create a new web app and copy the information from the web.config of the
working sample and create my page and create the contents just like the
sample, the Profile object never shows itself. Does anyone have any ideas
on what to look for or try? I have tried everything. You would think
creating a new project and copying everything from a working sample would
work but not in my case.

Thanks,

Matt
Aug 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4958
by: Anurag | last post by:
Hi, I have 2 related questions. DB2 UDB ESE v8.x (8.1 till 8.2 FP2 - all fixpaks included) on AIX 5.4.x _____________________________________________________________________________ (QUESTION 1) Output of "db2ilist" does not list all the instances on my AIX box. DB2 functions normally - I do not get any unexpected errors. Any ideas what configuration has been missed out?...
0
1694
by: george_Martinho | last post by:
It seems that the ASP.NET Microsoft team didn't think about this!! The profilemanager class has the following methods: - DeleteInactiveProfiles. Enables you to delete all profiles older than a specified date. - DeleteProfile. Enables you to delete a profile associated with a specified username. - DeleteProfiles. Enables you to delete a set of profiles. - FindInactiveProfilesByUserName. Returns a collection of ProfileInfo
0
752
by: André | last post by:
Hi, i make some profiles and it works. The data of the current (anonymous) user defined in web.config are stored in a database (aspnetdb). My question is: when the same (anonymous) user goes back later to that webpage without to login , how can the website shows the right profiles? Does that happen with cookies? Thanks André
3
2862
by: rajarya | last post by:
Hi, I m designing a HTML page(index.html),here i have 2 frames,by defult both frames have index1.html and index2.html as their source . in first frame(index.html) ,i have some redio buttons,and a submmit button. so when I select one ption and click the submit button in the left side frame(or frame 1 or in index1.html) my right side frame should be reloded with a new html page as per the javascript method in main html page. but insted I...
0
865
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I need a simple how to on where/how to setup the database for profiles. THen on wher to setup the connection in the web.config I see a few articals on how to use profiles, but have not yet seen on just getting it set up. Help appreciated -- thanks (as always) some day i''m gona pay this forum back for all the help i''m getting kes
0
2286
by: robseflops | last post by:
Hi there, We have an issue with click-once and roaming profiles: Our users have laptops with roaming profiles. The installation of the .Net 2.0 application went smoothly and the app works properly as long as the user is online. When the user clicks the menu-item (installed by click-once) when the laptop is offline the users gets a message saying: Shortcut
0
2199
by: srizzler | last post by:
Hi All: I am trying to implement Exception Handling using Enterprise Library 3.1's Exception Handling Application Block as well as Logging Blocks. I have a windows application developed in VB.Net (Visual Studio 2005) which have three tiers: User Interface Business Logic Data Layer
0
1451
by: awrightus | last post by:
I want to develop an interface to create, edit, and delete Outlook profiles. The system I want to do this on will Have Outlook 2003 on it. I can use much of the Office Interop stuff to create/send emails, etc, but I can't find anything I can leverage for actually manipulating the Outlook profiles themselves. Not asking for any code examples, but simply if there are any existing libraries/references that I can leverage to use with...
1
2131
by: =?Utf-8?B?Y2hhcmxpc2E=?= | last post by:
We are developing a Web Application in which we would like to utilize the System.Web.Profile object. Unfortunately, .NET does not create the infrastructure for Profiles in a Web Application, only in Web Site projects. Is there a best practice for utilizing profiles in a Web Application?
1
6435
by: nadavgg | last post by:
Hi, I have recently developed a C# application using Linq. I am getting from an external database a list of profiles I need to process, some are new and some are already in the database, and need to be updated. What I do today is go over the profile list and check each profile if such exists I update otherwise I insert - this solution is working fine. I am sure there is a way to use bulk insert/update something like UPDATE ON DUPLICATE, this...
0
9942
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10743
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10416
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7971
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5797
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5991
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.