Where is the default connection being set for the WebScheduleInfo? I have the following code and it's not pointing to the db?
<asp:accessdatasource id="adsMain" runat="server" datafile="~/App_Data/WebSchedule2.mdb" selectcommand=";" /> <igsch:webscheduleinfo id="WebScheduleInfo1" runat="server" stylesetname="" stylesetpath="" stylesheetdirectory=""> </igsch:webscheduleinfo> <ig_scheduledata:webscheduleoledbprovider id="WebScheduleOleDbProvider1" runat="server" webscheduleinfoid="WebScheduleInfo1" stylesetname="" stylesetpath="" stylesheetdirectory="" datasourceid="adsMain" > </ig_scheduledata:webscheduleoledbprovider> <h2>Upcoming Events</h2> <igsch:webweekview id="WebWeekView1" runat="server" webscheduleinfoid="WebScheduleInfo1" enableautoactivitydialog="False" stylesetname="" stylesetpath="" stylesheetdirectory=""> <clientevents click="WebWeekView1_Click" /> </igsch:webweekview> <igsch:webdayview id="WebDayView1" runat="server" webscheduleinfoid="WebScheduleInfo1"> </igsch:webdayview>
If the above ASPX is in a master page or user control, then it is likely that adsMain is not the fully-qualified name of the AccessDataSource. There is another way to connect the data provider to the data source using the Connect method.
Information given in the following post may help,http://forums.infragistics.com/forums/p/26771/98445.aspx#98445