This is a migrated thread and some comments may be shown as answers.

Scheduler in WSS - File not Found

1 Answer 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 31 Jul 2008, 02:21 PM
I'm sucessfully using RadGrid and other Rad products in WSS 3.0 but can't get the scheduler to work.

Here's my test code trying to use a List as the datasource:

            <telerik:RadScheduler runat="server" ID="RadScheduler1" 
            Width="750px" Skin="Inox" 
            SelectedDate="2007-03-30" DayStartTime="08:00:00" DayEndTime="18:00:00"                    
            DataSourceID="spdsCalendar" DataKeyField="ID" DataSubjectField="Title" 
            DataStartField="MovementFromDate" DataEndField="MovementToDate" 
            SelectedView="WeekView">  
        </telerik:RadScheduler> 
        <sharepoint:SPDataSource DataSourceMode="List" 
            Scope="Default"   
            IncludeHidden="true"   
            ID="spdsCalendar" runat="server">  
            <SelectParameters> 
                <asp:Parameter Name="WebUrl" DefaultValue="/webname/" /> 
                <asp:Parameter Name="ListName" DefaultValue="mylist" /> 
            </SelectParameters> 
        </sharepoint:SPDataSource> 

This is in a custom user control within a web part. The user control runs fine without Scheduler, but when I put this code in a get a 'File not Found'.

I noticed there were some Telerik references in web.config SafeControls so I added the following:

<SafeControl Assembly="Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Scheduler" TypeName="*" Safe="True" />

This didn't make any difference as I still get the error. Would the reference to the Skin be causing this? I presume the skin details are somehow built into the main Telerik dll.

cheers,

Steve

1 Answer, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 1
answered on 31 Jul 2008, 04:07 PM
This error was nothing to do with Scheduler - it was the fact that it didn't find the WebUrl I had entered. If you want to use the current web you can leave out the WebUrl parameter.

After trying to look through the log files for asn hour or so, I did a bit of googling about how to show the real error in WSS in dev. This gave me the answer:

http://www.davidliv.com/archive/2008/06/22/turn-off-friendly-error-handling-in-moss-2007.aspx
Tags
Scheduler
Asked by
Steve
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 1
Share this question
or