Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fredrik Esseen 608 posts 904 karma points
    Mar 03, 2014 @ 13:39
    Fredrik Esseen
    0

    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.

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Mar 03, 2014 @ 14:21
    Alex Skrypnyk
    0

    Hi Froad,

    How do you try to add the site ? Is this iis problem ?

  • Enric León 19 posts 550 karma points c-trib
    Mar 03, 2014 @ 14:28
    Enric León
    0

    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.

  • Fredrik Esseen 608 posts 904 karma points
    Mar 03, 2014 @ 16:36
    Fredrik Esseen
    0

    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.

  • Enric León 19 posts 550 karma points c-trib
    Mar 03, 2014 @ 19:44
    Enric León
    0

    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.

  • Fredrik Esseen 608 posts 904 karma points
    Mar 03, 2014 @ 21:21
    Fredrik Esseen
    0

    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!

  • Enric León 19 posts 550 karma points c-trib
    Mar 04, 2014 @ 10:54
    Enric León
    0

    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.

  • Fredrik Esseen 608 posts 904 karma points
    Mar 04, 2014 @ 11:18
    Fredrik Esseen
    0

    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.

  • Enric León 19 posts 550 karma points c-trib
    Mar 04, 2014 @ 12:05
    Enric León
    0

    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

  • Fredrik Esseen 608 posts 904 karma points
    Mar 07, 2014 @ 13:40
    Fredrik Esseen
    0

    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!

     

  • Enric León 19 posts 550 karma points c-trib
    Mar 07, 2014 @ 13:54
    Enric León
    0

    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]

  • Enric León 19 posts 550 karma points c-trib
    Mar 07, 2014 @ 16:25
    Enric León
    0

    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!

  • Fredrik Esseen 608 posts 904 karma points
    Mar 10, 2014 @ 08:08
    Fredrik Esseen
    0

    I've updated web.config but still not able to login.

  • Enric León 19 posts 550 karma points c-trib
    Mar 10, 2014 @ 13:21
    Enric León
    100

    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.

  • Fredrik Esseen 608 posts 904 karma points
    Mar 10, 2014 @ 16:00
    Fredrik Esseen
    1

    Awesome!

    Now it works!

    Thx for the super support :)

  • Enric León 19 posts 550 karma points c-trib
    Mar 10, 2014 @ 16:31
    Enric León
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft