473,761 Members | 3,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Correct Import for ProfileCommon?

Hi,
I have the following line my class

Dim objProfile As ProfileCommon = HttpContext.Cur rent.Profile

When I compile the class I get the following error.
"error BC30002: Type 'ProfileCommon' is not defined."

Does anyone know the correct library to import for this ? I have tried
a bunch of different profile ones but the error remains.

Thanks Cal

Jan 23 '06 #1
0 1425

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

Similar topics

2
1316
by: Wayne Wengert | last post by:
I am trying to code a Sub to store some custom values in a profile for a new user registration (ASP.NET 2.0 environment). I copied the basic code from an example I found in a great article (http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx ) but one of my controls is a calendar control - see the p.DOB line in the code - and I cannot figure out the syntax to use. In the code below, the ", text" at the end get flagged with the...
5
3732
by: Lynne | last post by:
I apologize in advance for the lengthy message but wanted to include as much information as possible. Any insight/assistance would be appreciated. The following line of code throws an error when I execute my application using the output generated from a web deployment project. I have specified "merge all outputs to a single assembly." If I use the "publish web site" option, the application works fine. If I run the application within...
7
13359
by: Phil | last post by:
I've started getting this message after doing a publish of an Asp.Net 2.0 (c#) web site. The site uses a custom profile provider - I'm sure there is a relation here, but I can't find it. Everything worked before, and the same code is working on another site. I've gone as far as completely starting the app over from scratch, and copying the working code for the other app into this one. It will work for a few publishes, then just stop. ...
1
3097
by: AMP | last post by:
Hello, I have enabled Profiles in the web.config and seems to be working fine (I can see the auto generated ProfileCommon class including my custom properties in my \Temporary ASP.NET Files directory and I can see my Provider in the ProfileManager.Providers ProfileProviderCollection). BUT when I try to reference the ProfileCommon class in my VS project I get "ProfileCommon could not be found". Any ideas??
1
4412
by: John | last post by:
Hi I am getting the below error when running one of the aspx webforms. What is the problem and how can I fix it? Thanks Regards
2
9321
by: Phil | last post by:
I'm trying to use a custom profile provider and I'm receiving this error message after I deploy a published version of the app. The app works fine when it is run in source code mode. It works fine if I run the published version on the same machine it is developed on, but not when I copy the published version to a different machine. The error goes away if I remove all of the profile properties from the web config. CS0433: The type...
0
1152
by: dgk | last post by:
I've been trying to figure out how to set up a number of users and profiles for them. Having scanned many messages in this group, I came across one where Brock mentions using ProfileCommon. That actually does seem to work, and I can access and change values for the fields created in Web.Config. I'm using the default provider. Is this the accepted way of handling profiles for users other than the logged in user?
0
3658
by: Guy Cohen | last post by:
Hi all I have this line: Dim P As New ProfileCommon() Which worked until I added more profile items (It worked when I had a single profile item) Error = Type 'ProfileCommon' is not defined.
1
3075
by: shapper | last post by:
Hello, I am trying to get the profile of a user that is not authenticated. I have the following: ProfileCommon pc = Profile.GetProfile(username) However ProfileCommon is not recognized I have "using System.Web.Profile;" but I am not able to make this
0
9336
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
9948
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
9902
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
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
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
5215
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...
1
3866
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
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.