I'm using umbraco, version 7.4.3, and downloaded the angulargooglemaps package and installed it correctly , then when I tried to add its datatype from developer section I get the beloww errors :
Request error: The URL returned a 404 (not found):
/App_Plugins/AngularGoogleMaps/1.0.8/config.coordinatesbehavour.html
Request error: The URL returned a 404 (not found):
/App_Plugins/AngularGoogleMaps/1.0.8/config.defaultlocation.html
Request error: The URL returned a 404 (not found):
/App_Plugins/AngularGoogleMaps/1.0.8/config.icon.html
Request error: The URL returned a 404 (not found):
/App_Plugins/AngularGoogleMaps/1.0.8/config.format.html
although all mentioned files are exists in the right paths
That's odd - but I'm wondering whether it's Umbraco's backoffice cache not being properly cleared or perhaps it's the browser cache.
The backoffice cache should be cleared when a new package installs however it might be worth trying to do it manually - So you should try and go to the /Config/ClientDependency.config file and increment the version number and then make sure to recycle the application pool by touching the web.config for instance.
Does this help? If not then try clearing the browser cache and see if that helps?
Ok...hmm, the site you're experiencing this issue on - Is that a local site or is it a live site?
If it's a local site can you then try to set the "debug" attribute in the web.config file to "true" if it's set to false? It will surprise me if it works though since it should be possible to install a package without disabling this attribute...But since the usual suspects don't seem to work I guess it's worth trying out.
My thoughts are, and none of these ideas are great
Have you restarted IIS after installing, it does cache, grrrr and I've been caught out with this. If in doubt, reboot the computer.
Its a permission issue. The package has been installed, but it hasn't given the right permission to the files to be read. Need to reset file security on the root of the site.
You are using an old IE to view the Umbraco backend, and it doesn't handle Urls without http:// at the start. I think IE8 and below can have this issue. If it was this though, then other things would be missing too.
Can you view the Urls directly using your browser.
Really many thanks about your replies and appreciate that to you so much.
I have followed the instructions in your emails , and also no change .
the error still exist. I have uninstalled the package completely and try to install it again, but after I get into developer section , selected install local package , then pointed to the package zip file and loaded the file, after that I get a message from umbraco that the package installed successfully, but when I tried to add the datatype to angularjs google map I didn't found it in the drop down list , please what I have to do , and I didn't , I will get mad now, really some thing strange happen i don't know it, please if any body can help me please please send me.
After you install the package its best to restart IIS. Sometimes Umbraco doesn't update itself that a new package has been installed and you need to give Umbraco a helping kick. Failing that, rebooting your machine will do.
If AngularGoogleMaps still doesn't appear when you try and create a new Data Type, then yep you got something strange going on. Umbraco picks up the existence of the datatype from
/bin/AngularGoogleMaps.dll
which when checking its property should be version 1.0.8.17, if there are other AngularGoogleMaps.dll present, or a different version, then the uninstall isn't working or you have created dependencies on different versions some how.
Many thanks about your replies which helped me a lot, it seems that I becomes near to solve this problem, but still need your help, when I tried to access the html files from my browser( which causes a problem , from me) with complete URL in the browser's URL like below:
the IIS URL returned a 404 (not found). according to that I want to know where I can change the path for the above HTML files to point to the right path of them?
Note: I tried to change them in the \AngularGoogleMaps\1.0.8package.xml
and \App_Data\packages\installed\installedPackages.config files but still get the same error
The Urls are hardcoded in the dll, if you check out the source code, you will see it in the source file called PropertyEditor.cs. You would need to recompile the dll to change anything.
Can I ask, are you trying to run your site within a Virtual Directory (This is IIS talk for putting one website inside another) ?
OR
Maybe are you using WebMatrix, or some other non-common way to host Umbraco?
Otherwise, I'm confused why you require /mySite/ to be added to the Url for AngularGoogleMaps to work.
Sorry for the vagueness, but I'll give this some thought, in case something comes to mind.
Many many thanks, finally I got it, the problem that as you mentioned I have to create a website inside a website on IIS , because I'm working locally on my machine, it's working properly now, many thanks again.
angulargooglemaps package erro
Hi there ,
I'm using umbraco, version 7.4.3, and downloaded the angulargooglemaps package and installed it correctly , then when I tried to add its datatype from developer section I get the beloww errors :
Request error: The URL returned a 404 (not found): /App_Plugins/AngularGoogleMaps/1.0.8/config.coordinatesbehavour.html
Request error: The URL returned a 404 (not found): /App_Plugins/AngularGoogleMaps/1.0.8/config.defaultlocation.html
Request error: The URL returned a 404 (not found): /App_Plugins/AngularGoogleMaps/1.0.8/config.icon.html
Request error: The URL returned a 404 (not found): /App_Plugins/AngularGoogleMaps/1.0.8/config.format.html
although all mentioned files are exists in the right paths
please help me.
Hi Mostafa
That's odd - but I'm wondering whether it's Umbraco's backoffice cache not being properly cleared or perhaps it's the browser cache.
The backoffice cache should be cleared when a new package installs however it might be worth trying to do it manually - So you should try and go to the /Config/ClientDependency.config file and increment the version number and then make sure to recycle the application pool by touching the web.config for instance.
Does this help? If not then try clearing the browser cache and see if that helps?
Looking forward to hearing from you.
/Jan
Hi Jan
many thanks about your help , but unfortunately I tried the both solutions and the problem still exist. is there's some other suggestion ?
thanks again
Hi Mostafa
Ok...hmm, the site you're experiencing this issue on - Is that a local site or is it a live site?
If it's a local site can you then try to set the "debug" attribute in the web.config file to "true" if it's set to false? It will surprise me if it works though since it should be possible to install a package without disabling this attribute...But since the usual suspects don't seem to work I guess it's worth trying out.
/Jan
My thoughts are, and none of these ideas are great
Have you restarted IIS after installing, it does cache, grrrr and I've been caught out with this. If in doubt, reboot the computer.
Its a permission issue. The package has been installed, but it hasn't given the right permission to the files to be read. Need to reset file security on the root of the site.
You are using an old IE to view the Umbraco backend, and it doesn't handle Urls without http:// at the start. I think IE8 and below can have this issue. If it was this though, then other things would be missing too.
Can you view the Urls directly using your browser.
http://mydomain.dev/App_Plugins/AngularGoogleMaps/1.0.8/config.defaultlocation.html
If you can't, it isn't an Umbraco problem, but an IIS problem. Doesn't solve the problem, but helps to diagnoses where the problem might be
Hi jan and Jonathan
Really many thanks about your replies and appreciate that to you so much.
I have followed the instructions in your emails , and also no change .
the error still exist. I have uninstalled the package completely and try to install it again, but after I get into developer section , selected install local package , then pointed to the package zip file and loaded the file, after that I get a message from umbraco that the package installed successfully, but when I tried to add the datatype to angularjs google map I didn't found it in the drop down list , please what I have to do , and I didn't , I will get mad now, really some thing strange happen i don't know it, please if any body can help me please please send me.
regards
Hi Mostafa
After you install the package its best to restart IIS. Sometimes Umbraco doesn't update itself that a new package has been installed and you need to give Umbraco a helping kick. Failing that, rebooting your machine will do.
If AngularGoogleMaps still doesn't appear when you try and create a new Data Type, then yep you got something strange going on. Umbraco picks up the existence of the datatype from
/bin/AngularGoogleMaps.dll
which when checking its property should be version 1.0.8.17, if there are other AngularGoogleMaps.dll present, or a different version, then the uninstall isn't working or you have created dependencies on different versions some how.Cheers
Hello all ,
Many thanks about your replies which helped me a lot, it seems that I becomes near to solve this problem, but still need your help, when I tried to access the html files from my browser( which causes a problem , from me) with complete URL in the browser's URL like below:
http://localhost/mySite/App_Plugins/AngularGoogleMaps/1.0.8/config.coordinatesbehavour.html
I can get the html file correctly, but when I tried to access it like :
http://localhost/App_Plugins/AngularGoogleMaps/1.0.8/config.coordinatesbehavour.html
the IIS URL returned a 404 (not found). according to that I want to know where I can change the path for the above HTML files to point to the right path of them?
Note: I tried to change them in the \AngularGoogleMaps\1.0.8package.xml and \App_Data\packages\installed\installedPackages.config files but still get the same error
best regards
Hi Mostafa
The Urls are hardcoded in the dll, if you check out the source code, you will see it in the source file called PropertyEditor.cs. You would need to recompile the dll to change anything.
Can I ask, are you trying to run your site within a Virtual Directory (This is IIS talk for putting one website inside another) ?
OR
Maybe are you using WebMatrix, or some other non-common way to host Umbraco?
Otherwise, I'm confused why you require /mySite/ to be added to the Url for AngularGoogleMaps to work.
Sorry for the vagueness, but I'll give this some thought, in case something comes to mind.
Cheers
Hi Jonathan ,
Many many thanks, finally I got it, the problem that as you mentioned I have to create a website inside a website on IIS , because I'm working locally on my machine, it's working properly now, many thanks again.
regards
is working on a reply...