Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Bronze Super Contributor
Posts: 192
Registered: ‎07-17-2011

Windows Authentication - error 500

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

 

Highlighted
Bronze Super Contributor
Posts: 192
Registered: ‎07-17-2011

Re: Windows Authentication - error 500

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" xmlnsSmiley Surprisedpensearch="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> <sdataSmiley TongueayloadPath/> </sdata:diagnosis> </sdata:diagnoses>

 

 

Highlighted
Bronze Super Contributor
Posts: 192
Registered: ‎07-17-2011

Re: Windows Authentication - error 500

Found the problem.  We were sent the attached file from Sage yesterday.  

 

The 2008 screenshot for Sdata shows Managed Pipeline mode set to Integrated.  

 

I switched it to Classic as instructed in App Architect.  I am now able to query sdata via Windows Authentication.