Beginning web programming using VB
.net & Visual Studio .NET
I've started the project âFriendsReunionUIâ explained in the above book. Iâve somehow successfully completed first 4 chapters with very few glitches. I'm now in Chapter 5 where we started to do the "ViewUser.aspx" page. I get the following error each time I compile the page,
Server Error in '/FriendsReunionUI' Application.
The ConnectionString property has not been initialized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized.
Line 54: 'Initialize the dataset and fill it with data
Line 55: dsUser = New DataSet()
Line 56: adUser.Fill(dsUser, "User")
Line 58: 'Finally, bind all the controls on the page
Source File: c:\inetpub\wwwroot\FriendsReunionUI\ViewUser.aspx. vb
Please, somebody help me! Any help would be highly appreciated.
Thanks in advance, RAJESH