I'm sorry to hear that, but thanks for reporting :)
There are two versions for uMobile. There is one version for 4.7.x to 4.9.x and another one for 4.9.x to 7.0.x
I tried to install uMobile on an existent 4.7.0 site and it's working fine. There is a method to test if all is ok and uMobile is correctly installed on the server:
If the package is correctly installed you should be able to get response from the base method yourdomain/base/uMobile/Hello. You should see this kind of response: http://demo.lecoati.com/base/uMobile/Hello
On the other side, uMobile is packaged on only one dll, so the only requirment for uMobile to work is to have the assembly loaded.
This is not a permission problem, is more that the assembly is not loading for some reason. uMobile has no initialization of any kind, and is build on the top of static base calls, so it's difficult to think on the reasons that would make this call to fail.
You could try to remove the package, install it again manually and restart the site on IIS.
Could you check if this file actually exists? If not it will be an installation problem for sure. If the file exists in 'x\www\App_Data\0e5a3a6e-e9bf-4849-bbcd-a2c12c6f811c\lecoati.uMobile.dll' we are dealing with a permissions issue.
If you want to have it working quickly I think that deleting the package folder 'x\www\App_Data\0e5a3a6e-e9bf-4849-bbcd-a2c12c6f811c' and moving the lecoati.uMobile.dll to the 'x\www\bin\' directory should do the trick.
This is a message ('Site not found') that shows up when a request from the mobile app to the uMobile umbraco base method fails with an http error 404.
This is really weird because this failed request was calling an existent base method of umobile.
By default, the exected behavior of /base is to return a 500 Internal Server Error with the message Extension not found or permission deniedso if the method wasn't actually available this error would be thrown instead of the 404 one.
This method that was called contains a dot on the name, and that's the point! Requests to URLs containg dots in there will fail with a 404 error.
To allow dots on the URL this key has to be added to the web.config.
We have updated the uMobile package server to the 0.9.6.2 version. This version fix the periods problem on the url and this should fix the problem for you.
Please try uninstalling your current version of uMobile and install the new version.
Site not found
I have a 4.7.0 installation and when I try to add my site I get: "Site not found".
I've tried whith and without www. I also tried the package for newer sites and there it works fine.
Hi Froad,
How do you try to add the site ? Is this iis problem ?
Hi froad,
I'm sorry to hear that, but thanks for reporting :)
There are two versions for uMobile. There is one version for 4.7.x to 4.9.x and another one for 4.9.x to 7.0.x
I tried to install uMobile on an existent 4.7.0 site and it's working fine. There is a method to test if all is ok and uMobile is correctly installed on the server:
http://<your-server>/base/uMobile/Hello
Please try this method and report the output here so we can help you out.
Regards,
Enric.
I tested the REST call and got the following answer:
<error>Extension not found or permission denied</error>
I double checked in the bin catalogue and the dll is there and its the right version of your package
Is it something more than the dll file I should be looking for?
Could it be something with my permissions? I haven't had any problems with that before on the site.
If the package is correctly installed you should be able to get response from the base method yourdomain/base/uMobile/Hello. You should see this kind of response: http://demo.lecoati.com/base/uMobile/Hello
On the other side, uMobile is packaged on only one dll, so the only requirment for uMobile to work is to have the assembly loaded.
This is not a permission problem, is more that the assembly is not loading for some reason. uMobile has no initialization of any kind, and is build on the top of static base calls, so it's difficult to think on the reasons that would make this call to fail.
You could try to remove the package, install it again manually and restart the site on IIS.
Found this in the log:
Package install error: System.IO.FileNotFoundException: Could not find file 'xxx\www\App_Data\0e5a3a6e-e9bf-4849-bbcd-a2c12c6f811c\lecoati.uMobile.dll'. File name: 'x\www\App_Data\0e5a3a6e-e9bf-4849-bbcd-a2c12c6f811c\lecoati.uMobile.dll' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) at umbraco.cms.businesslogic.packager.Installer.InstallFiles(Int32 packageId, String tempDir)
Can it be the reason? Going to try reinstalling as you suggested!
Have you succeeded with the reinstall?
Could you check if this file actually exists? If not it will be an installation problem for sure. If the file exists in 'x\www\App_Data\0e5a3a6e-e9bf-4849-bbcd-a2c12c6f811c\lecoati.uMobile.dll' we are dealing with a permissions issue.
If you want to have it working quickly I think that deleting the package folder 'x\www\App_Data\0e5a3a6e-e9bf-4849-bbcd-a2c12c6f811c' and moving the lecoati.uMobile.dll to the 'x\www\bin\' directory should do the trick.
No, no succeed in reinstalling.
And there is only the package.xml file in the catalogue, but the dll-file is in the bin catalogue and its still not working!?
Thinking about upgrading the site to a newer version and do a new install.
This is really weird. Could you check the following?
1. The app_pool of the site on IIS is working with integrated pipeline.
2. The user IIS_IUSRS has the right permissions on the site.
3. The version of .NET framework for the app_pool is set to 4.0
If these requirements are not met the package won't work.
If you want to test the uMobile app before upgrading your site you could use a demo site that we have for that purpose.
url: demo.lecoati.com
user: demo
password: demo
Sorry for my late reply!
The REST call WAS actually working, I just didnt notice that the path was case sensitive (uMobile, not umobile)!
So now I get a response just as you said, so it should be working. But I still get the "Site not found" when I try to open the site in the app.
Strange is that when I add the site with username and password everything is ok, but after that when I try to click the site the message pops up.
This is when I add the site with www. If I add the site without www I get a login failure, that my credentials are wrong.
If I could get a possibility to contact you I could get you the Url if you could test for me!
Hi froad,
It would be very helful if you sent me the URL and a demo user to test your endpoint and try to find out what's happening there.
This is my email: [email protected]
Ok, found it.
This is a message ('Site not found') that shows up when a request from the mobile app to the uMobile umbraco base method fails with an http error 404.
This is really weird because this failed request was calling an existent base method of umobile.
By default, the exected behavior of /base is to return a 500 Internal Server Error with the message Extension not found or permission denied so if the method wasn't actually available this error would be thrown instead of the 404 one.
This method that was called contains a dot on the name, and that's the point! Requests to URLs containg dots in there will fail with a 404 error.
To allow dots on the URL this key has to be added to the web.config.
<system.web>
<httpRuntime relaxedUrlToFileSystemMapping="true">
I found a post on StackOverflow that explains that.
If you are allowed to do that please try it and report back!
I've updated web.config but still not able to login.
We have updated the uMobile package server to the 0.9.6.2 version. This version fix the periods problem on the url and this should fix the problem for you.
Please try uninstalling your current version of uMobile and install the new version.
Awesome!
Now it works!
Thx for the super support :)
Thanks to you we have killed another bug!
I realized that there was another issue related with that in the media section, so I uploaded again the fixed version. You can download it here
is working on a reply...