Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
960
Can't get WebSchedule to work
posted

Created an aspx page
Copied  WebSchedule2.mdb to App_Data folder as instructed
Added Access Data Source
Configured data source - ~/App_Data/WebSchedule2.mdb
Followed all instructions in "Connecting WebSchedule to a Database in Visual Studio 2005"

Followed instructions in "Using the WebSchedule Controls Quick Design"
Added WebScheduleInfo
Added WebScheduleOldDbProvider
Set DataSourceId to AccessDataSource1
Added WebCalendarView
Added WebDayView
Added WebMonthView
Set WebScheduleInfoId to WebScheduleInfo1 for all three
Opened WebSchedule2.mdb and added 3 activities
Viewed page in browser
Clicked on dates where I added activites. Nothing displays
Suddenly I'm getting the following error

Line 13:     DataFile="~/App_Data/WebSchedule2.mdb" SelectCommand=";"></asp:AccessDataSource>
Line 14:    
Line 15:     <igsch:WebScheduleInfo ID="WebScheduleInfo1" runat="server"
Line 16:         DataFetch="WebScheduleOleDbProvider1" DataUpdate="WebScheduleOleDbProvider1"
Line 17:         StyleSetName="" StyleSetPath="" StyleSheetDirectory="">

Sometimes when adding controls it claims there are duplicates when there are no duplicates.
Eventually this error goes away.

What am I doing wrong?

Also, are there instructions on how to maintain the WebSchedule2.mdb Access Database? Assuming I get it to work.

Thanks