1
이 코드로 Ado.Net Data Services를 시험하고 있는데 서비스에 액세스하려고 할 때 다음 오류가 발생합니다. 서버에서 요청을 처리하는 동안 오류가 발생했습니다. 자세한 내용은 서버 로그를 참조하십시오. 이상형은 무엇입니까?Ado.Net 데이터 서비스
public class WebDataService : DataService<DemoData>
{
public static void InitializeService(IDataServiceConfiguration config)
{
config.SetEntitySetAccessRule("*", EntitySetRights.All);
config.SetServiceOperationAccessRule("*", ServiceOperationRights.All);
}
}
public class DemoData
{
private int[] _Ints = { 4, 2, 1, 2};
public IQueryable<int> Ints
{
get
{
return _Ints.AsQueryable<int>();
}
}
}
서버 로그를 보았습니까? –
카시니를 사용하고 있습니다. 로그가 있습니까? –
다음 이벤트 로그를보십시오. –