ASP.net profile object

5 pts.
Tags:
ASP.NET
Profile object
SQL Server 2005
I attempted to use the profile object as described in a training video; however when I hit f5(to execute the app in debug mode) the browser begins to opens up but I end up with the debugger telling me it cannot open SQL Server. According to the video the Profile object will default to "string" if no type is present.Nonetheless I set type to "string" to see if that would force ASP.Net to not bother with SQL2005 which I do have installed on my machine. This still does not work. The debugger points to the following section of code automatically generated by VS 2005. (App_Code.83mrkiOK.O.cs) See below where the debugger focuses: public class ProfileCommon : System.Web.Profile.ProfileBase { public virtual string MyNewProperty { get { return ((string)(this.GetPropertyValue("MyNewProperty"))); } set { this.SetPropertyValue("MyNewProperty", value); //the debugger focuses here } } public virtual ProfileCommon GetProfile(string username) { return ((ProfileCommon)(ProfileBase.Create(username))); } //Any suggestions ???

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following