12-20-2011 02:01 PM
7.5.4
Not using Windows Authenication everything is fine.
Setting up for Windows Authenication I am able to browse http://webserver/sdata/$system/adapters
I can also browse http://webserver/sdata/slx/dynamic/- and see the list of available resources.
However if I click on any of those resourcesl; get a resulting url like http://webserver/sdata/slx/dynamic/-/accounts?format=html
along with error: 500 - Internal server error.
I have my windows user attached to a saleslogix user.
Currently Anonymous and Windows Authenication with Enable Kernal... unchecked for sdata.
Any ideas what I could have set incorrectly?
Thanks!
Norman
12-20-2011 02:24 PM
If I run from the local web server this is the error I get:
<?xml version="1.0" encoding="UTF-8"?>
-<sdata:diagnoses xmlns:http="http://schemas.sage.com/sdata/http/2008/1" xmlns:sme="http://schemas.sage.com/sdata/sme/2007" xmlns:sync="http://schemas.sage.com/sdata/sync/2008/1" xmlnspensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sdata="http://schemas.sage.com/sdata/2008/1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.sage.com/sdata/2008/1"> -<sdata:diagnosis> <sdata:severity>error</sdata:severity> <sdata:sdataCode>ApplicationDiagnosis</sdata:sdataCode> <sdata:applicationCode xsi:nil="true"/> <sdata:message>Value cannot be null. Parameter name: authToken</sdata:message> <sdata:stackTrace>System.ArgumentNullException: Value cannot be null. Parameter name: authToken at Sage.Platform.Application.Guard.ArgumentNotNull(Object argumentValue, String argumentName) at Sage.SalesLogix.SLXDataService.DecryptAuthToken(Object authToken) at Sage.SalesLogix.SLXDataService.GetConnectionString() at Sage.SalesLogix.SLXDataService.GetConnection() at Sage.Platform.Data.DataServiceConnectionProvider.GetConnection() at NHibernate.Tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.Prepare() at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords(Dialect dialect, IConnectionHelper connectionHelper) at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactory sessionFactory) at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings, EventListeners listeners) at NHibernate.Cfg.Configuration.BuildSessionFactory() at Sage.Platform.Framework.SessionFactoryHolder.GetSessionFactory() at Sage.Platform.Framework.SessionFactoryHolder.CreateScopeSession() at Sage.Platform.Framework.SessionFactoryHolder.CreateSession() at Sage.Platform.Orm.SessionScopeWrapper..ctor(Boolean createNewScope) at Sage.Platform.SData.RequestHandlerBase`3.InternalGet() at Sage.Platform.SData.RequestHandlerBase`3.Get() at Invoke41c7b3e7b5c2494a8887a23af3ade011.Invoke(Object , IRequest ) at Sage.Integration.Messaging.RequestTargetRegistration.RequestTargetInvoker.Invoke(IRequest request) at Sage.Integration.Messaging.Request.Process(RequestTargetInvoker invoker) at Sage.Integration.Adapter.AdapterController.RealAdapterController.Process(IRequest request) at Sage.Integration.Adapter.AdapterController.RealAdapterController.ProcessWorker(IProtocolRequest protocolRequest) at Sage.Integration.Adapter.AdapterController.Process(IProtocolRequest request) at Sage.Integration.Messaging.MessagingService.Process(IProtocolRequest protocolRequest)</sdata:stackTrace> <sdata
ayloadPath/> </sdata:diagnosis> </sdata:diagnoses>
12-21-2011 07:40 AM