404 on EPiServer.ConnectForSharepoint script

Found in

EPiServer.ConnectForSharepoint 2.0.6.9000

Fixed in

EPiServer.ConnectForSharepoint 2.2.1

Created

Aug 18 2016

Updated

Sep 22 2017

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Install a fresh Alloy site
  2. Add EPiServer.ConnectForSharepoint.

Expected: No errors.

Actual: after installing EPiServer.ConnectForSharepoint, 404 and script errors in the console.

Request URL:http://localhost:52953/EPiServer/EPiServer.ConnectForSharePoint/%7BVersionString%7D/ClientResources/Scripts/SharePointModule.js
Request Method:GET
Status Code:404 Not Found

Starting module: EPiServer.ConnectForSharePoint
epi.js:965 EPiServer.ConnectForSharePoint [Object]
dojo.js:1675 GET http://localhost:52953/EPiServer/EPiServer.ConnectForSharePoint/%7BVersionString%7D/ClientResources/Scripts/SharePointModule.js req.injectUrl @ dojo.js:1675injectModule @ dojo.js:1516forEach @ dojo.js:106(anonymous function) @ dojo.js:731guardCheckComplete @ dojo.js:1251injectDependencies @ dojo.js:730contextRequire @ dojo.js:794req @ dojo.js:137_runModuleInitializer @ epi.js:1006(anonymous function) @ epi.js:949signalListener @ dojo.js:8325Deferred.then.promise.then @ dojo.js:8546when @ dojo.js:9065(anonymous function) @ epi.js:948signalListener @ dojo.js:8325Deferred.then.promise.then @ dojo.js:8546when @ dojo.js:9065_startModule @ epi.js:944(anonymous function) @ epi.js:938forEach @ dojo.js:3612(anonymous function) @ epi.js:937signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480(anonymous function) @ epi.js:1014(anonymous function) @ dojo.js:3135signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8340signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8340signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8340signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8340signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480(anonymous function) @ XhrWrapper.js:208(anonymous function) @ dojo.js:3135signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480(anonymous function) @ Extender.js:59signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369(anonymous function) @ dojo.js:8358signalListener @ dojo.js:8325Deferred.then.promise.then @ dojo.js:8546signalListener @ dojo.js:8333signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369(anonymous function) @ dojo.js:8358notify @ dojo.js:8123complete @ dojo.js:8104resolve.callback @ dojo.js:8151notify @ dojo.js:8132complete @ dojo.js:8104resolve.callback @ dojo.js:8151notify @ dojo.js:8132complete @ dojo.js:8104resolve.callback @ dojo.js:8151notify @ dojo.js:8140complete @ dojo.js:8104resolve.callback @ dojo.js:8151notify @ dojo.js:8132complete @ dojo.js:8104resolve.callback @ dojo.js:8151(anonymous function) @ dojo.js:14641signalListener @ dojo.js:8325signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8340signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8346signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480signalDeferred @ dojo.js:8369signalListener @ dojo.js:8340signalWaiting @ dojo.js:8316Deferred.resolve @ dojo.js:8480handleResponse @ dojo.js:15345onLoad @ dojo.js:15371
dojo.js:1834 Error: scriptError(…)(anonymous function) @ dojo.js:1834(anonymous function) @ dojo.js:345forEach @ dojo.js:106req.signal @ dojo.js:344(anonymous function) @ dojo.js:1669
dojo.js:1837 src: dojoLoader
dojo.js:1837 info: ["/EPiServer/EPiServer.ConnectForSharePoint/

{Version…ring}

/ClientResources/Scripts/SharePointModule.js", Event]