Link to home
Start Free TrialLog in
Avatar of wee11
wee11

asked on

Use SSRS as a substitute to deliver js files to a desktop web application when a web server is not available.

I am needing to deliver some js files to a desktop application that runs in a browser shell.  The reason I am doing it this way is I don't have a web server.  This has been running successfully for months until recently the cdn references to libraries like jquery no longer consistently download each time the app opens.  The app is running on windows 7 and uses IE 11 for the shell.  In replacement of a web server I thought about using SSRS since we have a db server.  I can't get the dba to turn on iis on that server as well but thought about placing the files on ssrs and then pointing the script tag src to http://ssrs-server/ReportServer?/Apps/Libraries/jquery.min.js.  When I test this I see the reference to the file in the temporary internet files folder so it appears to download but the initialization in code of jquery fails as if it were not available.  So maybe I don't fully understand what is being listed in the temporary internet files folder and how the app uses the js file from this location.  Does anyone have any suggestions as to what may be wrong or it there some type of conflict with ssrs in the opening of the file.  I can click directly on the file listed in ssrs in the folder view and it opens like a hyperlink showing the js file content.  Thanks for your input.
Avatar of Darren
Darren
Flag of Ireland image

Hi,

Firstly, I'll ask the question why don't you have a web server? I'm unsure as to why you don't just spin up a quick apache or nginx server or even  a node server.

Secondly, couldn't you simply package the js files with the install and point to them?

Thanks,

Darren
Avatar of wee11
wee11

ASKER

If both were an option I would to that but these are internal apps for a company and they it dept does not provide the options.  No server and no installs.
Hi,

Okay, can you let me understand how the application currently works.

Browser Window --> you application (what technologies) --> CDN (now Broken)

A little more information might help

Thanks,

Darren
ASKER CERTIFIED SOLUTION
Avatar of wee11
wee11

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No solution found