ajax - Why aren't my CSS and JS files loading when deployed? -


when run vb.net, ajax-enabled application in visual studio, works how want to, when deploy server, site displays asp tags translated html. there no css or js files loading. same issue occurs blank web application started in visual studio 2012. runs fine through visual studio, when deployed server, not have styling or javascript. know server has .net 4.5, version used, has sharepoint , i've heard sharepoint compatible 3.5. (is true?) how can application running correctly on server? willing provide code samples, i'm not sure code show. let me know need see.

i have tried following:

  • removing references scriptmanager (replacing page.clientscript, however, caused more issues)
  • checked necessary references ajax exist
  • a myriad of edits web.config

edit: older version of sharepoint run on windows small business server 2008 sp2. iis recognizes version 4.0 (this means 4.5 okay right?) of .net. have tried:

  • verifying 4.0 registered in iis (i haven't checked if 4.5 registered because don't know if it's necessary , couldn't find file register it).
  • building target x64
  • removing database connection set in server explorer , rebuilding (currently waiting deployment)

my business had consultant more experience deployments come in me , server admin deployed. had been able fix of path issues, there 2 remaining files couldn't find. consultant able trace them .net bundler.

the problem bundling provided in .net 4.5. files written bundler couldn't seen html when loading. commented out bundling code , directly included files needed , have site , running. bundling project, waiting @ least until have bug fix deploy.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -