Created an aspx pageCopied WebSchedule2.mdb to App_Data folder as instructedAdded Access Data SourceConfigured data source - ~/App_Data/WebSchedule2.mdbFollowed all instructions in "Connecting WebSchedule to a Database in Visual Studio 2005"
Followed instructions in "Using the WebSchedule Controls Quick Design"Added WebScheduleInfoAdded WebScheduleOldDbProviderSet DataSourceId to AccessDataSource1Added WebCalendarViewAdded WebDayViewAdded WebMonthViewSet WebScheduleInfoId to WebScheduleInfo1 for all threeOpened WebSchedule2.mdb and added 3 activitiesViewed page in browserClicked on dates where I added activites. Nothing displaysSuddenly 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
Hi Steve,
Sorry I missed you but Todd was able to help me. I had a problem with the build number. I think we discussed that before but I forgot to check it when I rebuilt the test application.
I'm down to one last major thing. I have the controls on a maintenance page and also on a view only page so I can update the appointments but anyone logging on can only view the appointment. So far I have not been able to make any of the controls view only.
I also ready somewhere that you can control the view state using the user logon.
Then of course I will have to deal with connecting to the database when I deploy to GoDaddy. But that's for a little later.
Thanks, Jim
Yes, I will be there by 5:30.
And thanks again. Jim
Hey Jim,
I will be sticking around next Thursday for the UserGroup meeting so I will be able to take a look at the project then. Can you get here at like 530 so I will have time to take a look at the project befrore the user group starts? That would be great. If not, I will still take a look at it. Then hopefully we will be able to get this problem taken care of once and for all.
I tried all these ideas and I'm still getting the same errors. I'm sure it must be something obvious that I'm doing wrong but I can't find it.
If you would be kind enough to meet me at the user group meeting on Tuesday, 12/9 maybe we can resolve this and I can stop bothering you.
I can come early if you like so you don't have to stay after work. But whatever time is best for you would be good for me.
Again, thanks for all your help. I'm sorry this has been so difficult.
Jim
If you are using the second way by setting up the connection in the code behind, you do not need the AccessDataSource. You can comment that out. Then just get rid of the DataSourceID property on the WebScheduleOleDBProvider that points to AccessDataSource1. That should be it. It might be trying to get both locations and causing some weird behavior. However, what is strange is that if I have all of that in there, mine still works and will not error out.
Another thing to try. Take out the formsDirectory property in the web config settings.
<infragistics.web styleSetName="Default" styleSetPath="~/ig_res" formsDirectory="~/WebSchedule"/>
Then on the WebScheduleInfo itself, you can direct the forms location by setting the AppointmentFormPath and ReminderFormPath to ~/WebSchedule/AppointmentAdd.aspx and ~/WebSchedule/Reminder.aspx respectively.
AppointmentFormPath="~/WebSchedule/AppointmentAdd.aspx"
This will cut out the web.config setting. Now keep in mind, you will have to set this on every ScheduleInfo that you are using. Other then this, im not sure what else the problem is. If it comes down to it, I can probably stick around after work and attend the user group to see what the issue is. I am all out of ideas.