Article:
 |
|
Web Parts in ASP.NET 2.0
|
| Subject: |
|
error in compilation |
| Date: |
|
2009-06-14 23:09:20 |
| From: |
|
vinay_chowdhary
|
|
|
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'HttpProfile' does not exist in the namespace 'ASP' (are you missing an assembly reference?)
Source Error:
Line 33: {
Line 34:
Line 35: ASP.HttpProfile anonymousProfile = Profile.GetProfile(e.AnonymousId);
Line 36: if (anonymousProfile != null && anonymousProfile.ChosenBooks != null)
Line 37: {
I got the error-
'System.Web.Profile.ProfileMigrateEventArgs' does not contain a definition for 'AnonymousId'
Is ther any solution of the error pls.......?
|
Showing messages 1 through 1 of 1.
-
error in compilation
2009-07-01 15:12:17
Dsouza
[View]
ProfileCommon anonymousProfile = Profile.GetProfile(e.AnonymousID);
This should work fine...