ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
SimpleDemoAWE functions not working when deployed to server
Title:
B
I
{code}
?
Have a problem with a new app when it is deployed on the client's server (2008 R2 Std & IIs7). Awe grids don't populate & buttons powered by awe refs dont respond. The app works locally. Then deployed (your) simpledemoawe app to the server & it too has the same problem as my app. Get the same result with VS 2012 & 2013 framework 4.5 & 4.0 Fiddler shows no web traffic. Any suggestions?
Save Changes
Cancel
Ratladi
asked at 17 Jan 2015
are the scripts loaded ? , do you get any errors in the browser console ? is jquery loaded ?, you can try to run some basic jquery in the console see if it works
at 17 Jan 2015
Omu
Thanks for the quick response & suggestions The Javascript console shows : "TypeError: awe is undefined" The omu dll is in the deployed bin folder & it is referenced from the layout view. The simpledemo problem is unrelated - due to server blocking the jquery cdn
at 18 Jan 2015
Ratladi
When I add Debug = "True" to the deployed web.config the above error doesn't show & the app works ??
at 18 Jan 2015
Ratladi
awe is undefined means there's no AwesomeMvc.js loaded, so when calling awe.Grid or something it says that its not defined, right click on the web page and choose "view source", see if you can find the reference to AwesomeMvc.js, try to click on it and see if you don't get "404 not found"
at 18 Jan 2015
Omu
is the problem solved ?
at 24 Jan 2015
Omu
From my limited knowledge I think it came down to my attempt to deploy AwesomeMvc.js in a bundle instead of following your guidelines for setup. Bundling didnt result in a deployed AwesomeMvc.min.js. The result was I had a deployed project that only worked with debug true in web.config. Now that I have removed bundling & reverted to standard setup the project works. Apologies for not responding sooner & thanks for your help.
at 24 Jan 2015
Ratladi
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK