Problems with missing 'debug="true"' in web.config
Hi,
In debug mode, my web.config contains the following: <compilationdefaultLanguage="c#"debug="true"batch="false"targetFramework="4.5">
In release mode, my web.config contains the following: <compilationdefaultLanguage="c#"batch="false"targetFramework="4.5"> This is the same, only without debug="true".
In case of release mode, the AngularGoogleMaps component is not working. On http://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps I read in 1.0.1. "Fixed error with release mode, eg. web.config not in debug mode" so I installed latest package, but still the AngularGoogleMaps is only working when I add debug="true" to the web.config.
Also, when installing the new package, first I did not see the new package was installed, because version number still is 1.0. Only with the createdate of the dll file I can see a new file is placed.
I have this problem, too - in an Umbraco 7.2.1 installation. It would be nice if this issue could be solved in a near future since AngularGoogleMaps seem to be the most usable map package for Umbraco 7.2 right now.
I think that you should raise an issue on the issue tracker http://issues.umbraco.org/ so the HQ is aware there might be an issue with the debug attribute in the webconfig.
Have you been using other packages or building your own custom plugins? If other packages or your other code works then it might be an issue with this package rather than the umbraco core.
Since no one else have been reporting issue like this with other packages or custom plugins I suspect it might be something in the package that is causing it.
You could try having a peek at the source code by going to http://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps and choose the "Source code" tab in the bottom of the page. There is the full source code included in a zip file with a visual studio project and everything.
I'm suspecting released package might be build in debug mode rather than release mode?
Problems with missing 'debug="true"' in web.config
Hi,
In debug mode, my web.config contains the following:
<compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">
In release mode, my web.config contains the following:
<compilation defaultLanguage="c#" batch="false" targetFramework="4.5">
This is the same, only without debug="true".
In case of release mode, the AngularGoogleMaps component is not working.
On http://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps I read in 1.0.1. "Fixed error with release mode, eg. web.config not in debug mode" so I installed latest package, but still the AngularGoogleMaps is only working when I add debug="true" to the web.config.
Also, when installing the new package, first I did not see the new package was installed, because version number still is 1.0. Only with the createdate of the dll file I can see a new file is placed.
Regards,
Onno Sloof
Hi Onno
In release mode you should set the debug attribute to "false" - Not remove it.
Like this
<compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.5">
Hope this helps.
/Jan
Hi Jan,
I tried to use this
<compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.5">
but this does not work. Only when I change debug to 'true', the google maps component is working.
Onno
We are experiencing the same issue. When debug="false" is set in the web.config the control fails to load in the Umbraco backend.
I have this problem, too - in an Umbraco 7.2.1 installation. It would be nice if this issue could be solved in a near future since AngularGoogleMaps seem to be the most usable map package for Umbraco 7.2 right now.
Hi Jan,
I think that you should raise an issue on the issue tracker http://issues.umbraco.org/ so the HQ is aware there might be an issue with the debug attribute in the webconfig.
/Dennis
Hi guys
Have you been using other packages or building your own custom plugins? If other packages or your other code works then it might be an issue with this package rather than the umbraco core.
Since no one else have been reporting issue like this with other packages or custom plugins I suspect it might be something in the package that is causing it.
You could try having a peek at the source code by going to http://our.umbraco.org/projects/backoffice-extensions/angulargooglemaps and choose the "Source code" tab in the bottom of the page. There is the full source code included in a zip file with a visual studio project and everything.
I'm suspecting released package might be build in debug mode rather than release mode?
Hope this helps.
/Jan
This still appears to be a problem.
I was using v 1.0 that comes with the Hybrid Farmework package and experienced this problem when putting the site on the live server.
Having upgraded to v 1.0.5 I'm still experiencing the same thing. The map will not appear unless Debug="true". Instead you just see two text boxes.
Has this not been fixed?
Regards, Matt
Matt, I upgraded to version 1.0.4 a few weeks ago and it worked with debug=false.
/Jan
is working on a reply...