3 Replies Latest reply on Nov 14, 2014 12:25 PM by Daniel Silva

    Unable to connect to Windows share from MK3190

    dfatkin@eagile.com

      I am developing an application in C# .net Compact Framework 3.5 for an MK3190. However, I've been experiencing issues with connecting to a networked Windows share. Once prompted for credentials, the connection to the share is never made.

       

      I was able to locate an update for Windows Embedded Compact 7 that referred to an issue with connecting to Windows shares but I'm not sure if this is specific to my problem. (see FIX: A Windows Embedded Compact 7-based device that you connect to a Windows-based computer cannot access an SMB share f…)

       

      I am now attempting to use VS2008 and the Platform Builder to create a new platform with all the updates to hopefully solve the issue with connecting to Windows shares but I hit a roadblock with the BSP or lack thereof. I was able to locate a company called Adeneo that has a BSP available for a price.

       

      Is this the only option or is there another known fix for connecting to Windows shares?

        • Re: Unable to connect to Windows share from MK3190
          Daniel Silva

          You would not be able to build a new BSP for our devices.  You would need all of our hardware related add ons (drivers, etc).  If you have our latest BSP on the device, that looks like it has all of the fixes from Microsoft up to Nov 2013 included, so I would expect that this fix is already there.  Did you try setting the registry entry they mention?

           

          All of that said, I'm not sure how well a Windows Share is going to work on a device that might go to suspend mode at any time.  If you do get this working, I would do a lot of testing to see what happens is you are in the middle of some operation and the device suspends, and also see how quickly the share reconnects when the device is powered back up. 

            • Re: Unable to connect to Windows share from MK3190
              dfatkin@eagile.com

              Thanks for the reply, Dan.

               

              That certainly helps knowing that I don't need to continue down the path of building a new platform. I looked into the registry setting the KB article mentions but SendLMResponse was already set to 1.

               

              Unfortunately, I haven't had any further luck with connecting to the Windows share. I may have to try the FTP route. Have you had any other reports of people having issues with connecting to Windows shares or could it be something specific to our environment?

                • Re: Unable to connect to Windows share from MK3190
                  Daniel Silva

                  I have not heard of anyone trying to use a Windows share.  Maybe someone else will pipe in who has.  I have seen dns issues at times.  Have you tried using an IP address instead of a name for the server?

                   

                  If you are planning to try to open the share and then keep it open, I think that would be a bad idea.  It would probably have battery life implications, as well as error recovery when roaming and suspend/resume.  I would suggest you open the connection, send/receive needed files (using FTP or something similar if necessary), then close the connection right away.