That's what I didn't do but after adding the domains and deleting the clientdependency items from the App_Data folder still it doesn't work. so I get the usual
<!--[Javascript:Name="StandardRenderer"]//-->
Instead of the < script> tags that I should.
Also, if it helps, now on the folder "~/App_Data/TEMP/ClientDependency" there is only an empty generated .xml file:
Did you increment the clientDependency version="########" number? Always increment after a major change to your site, or if you change anything that has to do with javascript or css.
Also, make sure you have .mysite.com and mysite.com in bundle domains, since the dot will account for www.mysite.com and any other subdomain.
If that doesn't work, you may need to post the full error message that you see.
I don't get an error message, just an HTML comment where the script tags should be. Any idea how to get more detailed error?
I tried to set local config to bogus "bundleDomains" value instead of localhost and it seems to load without problems, so the setting must be a red herring for this problem after all!
@Html.RenderJsHere() Works locally but doesn't work when deployed online
Hello,
I try to upload my project that works locally to a host and it produces an error instead of listing the javascripts.
This is where the script tags should be. Any ideas?
Hey there, do you actually get an error message? If so, what is the full message?
Also, make sure you added your live domain to the bundle domains in config/ClientDependency.config
For example:
Hey, I mistakenly marked it as a solution.
That's what I didn't do but after adding the domains and deleting the clientdependency items from the App_Data folder still it doesn't work. so I get the usual
Instead of the < script> tags that I should.
Also, if it helps, now on the folder "~/App_Data/TEMP/ClientDependency" there is only an empty generated .xml file:
Did you increment the clientDependency version="########" number? Always increment after a major change to your site, or if you change anything that has to do with javascript or css.
Also, make sure you have .mysite.com and mysite.com in bundle domains, since the dot will account for www.mysite.com and any other subdomain.
If that doesn't work, you may need to post the full error message that you see.
Thank you for your continued attention on this.
I did try incrementing
I don't get an error message, just an HTML comment where the script tags should be. Any idea how to get more detailed error?
I tried to set local config to bogus "bundleDomains" value instead of localhost and it seems to load without problems, so the setting must be a red herring for this problem after all!
is working on a reply...