i'm using mvc4 , .net 4.5 in project ssl. now, on localhost , on server, login page gets redirect bunch of times , loads without , css on page. in browser debugger error as:
uncaught syntaxerror: unexpected token <http://localhost:55248/account/login? returnurl=%2fbundles%2fjqueryval%3fv%3dwrbnyt_gylxaz7iwd7vddfccq24m7v_9mpi3rcq8fo01&v=wrbnyt_gylxaz7iwd7vddfccq24m7v_9mpi3rcq8fo01...
i'm using bundling , code snippet below. please let me know if need more information on issue.
bundles.add(new scriptbundle("~/bundles/basejs") .include("~/scripts/jquery-{version}.js") .include("~/scripts/jqueryui/jquery-ui.js") .include("~/scripts/bootstrap.js"));
first try include bundles :
.include( "~/scripts/jquery-{version}.js", "~/scripts/jqueryui/jquery-ui.js", "~/scripts/bootstrap.js" );
include takes string[] parameter , don't need call include each row. should debug bundles see js giving error.
try comment out rows 1 1 see result. problem definatelly in bundles, had these kind of errors. if can provide more code - > snippet view, of css loading , bundles , stuff able more.
Comments
Post a Comment