Problems with shares

March 19th, 2010
  • Since I have updated my XBMC a month ago, I am sometimes getting double drive letters

    Also now I can not connect to shares.

    I use to be able to do Add Source and do it via an IP addy but that doesn't work also now.

    Any idea's what's going on.

    I don't understand how you manually add a source as I tried it but I have never needed a password before? Also I can't get this to work.

    Thanks


  • The sources file is in userdata and it is called sources.xml

    As for the username and password, make sure the account you are using actually has access the the shares. If you made a special account just for this you will most likely have to go to your shares and give that account access on your computer.


  • If you are going to the share from network palces and it isn't working then it's an issue with the share for sure. So long as you are logged into the computer using the same account you typed into the xbox testing it like that works perfectly. You've got to get the share working on the computer before even bothering with anything xbox related.

    I would suggest simply deleting the shares and then remake them using the account that you made for the xbox. You most likely have the permissions set wrong. You have to make sure both the share permissions and the ntfs permissions give that account at least read access.

    Coco

    I know it some share issue and have already deleted the shares and even turned off sharing.

    Then let WinXP reset up the share again.

    Still cant get it to work?

    I can browse to the share form the XBox but it simply thinks I am not connected to the Network or the Share is invalid.

    I've just changed my Windows Password and gonna try rebooting.

    Is there a way to check permissions as I am WinXP Home which isn't as flexible as Pro.

    Also in the Sources file, what is the complete path and password string to use so I can make sure it is correct.

    Thanks


  • Ok, from what I read before I created an XP account was that it needs any XP account.

    This didn't work, but how can I test a share if I only got one PC.

    If I goto Network Places and goto the share with the account I set it up with, it says Not Accessible or Path Can Not be Found?

    An USB drive connected direct to a Router works fine off the XBox when I browse to it.

    I still don;t understand why when I changed from Sept release of XBMC, I would have this issue?

    Thanks for all you help

    This is from the log

    unix_err:'16' nt_err : 'c0000008' error : 'Invalid handle'
    03:14:14 M: 37941248 ERROR: SMBDirectory->GetDirectory: Unable to open directory :

    Maybe some help to you.

    Thanks


  • If you are going to the share from network palces and it isn't working then it's an issue with the share for sure. So long as you are logged into the computer using the same account you typed into the xbox testing it like that works perfectly. You've got to get the share working on the computer before even bothering with anything xbox related.

    I would suggest simply deleting the shares and then remake them using the account that you made for the xbox. You most likely have the permissions set wrong. You have to make sure both the share permissions and the ntfs permissions give that account at least read access.


  • I must add I was getting

    No Network Found
    Various Errors
    Name not valid
    Could Browse to Workgroup but thats it
    etc etc


  • Coco

    Ok it may have been use to explain in novice terms where to check permissions as so many forums miss this point.

    The path I was asking was in the Source file itself as you can manually edit this and put in path's and usernames etc.

    Example


    mystuff
    smb://mypc/mystuff/


    Also at no point have I said the issue was XBMC as I said I can browse to the shares but can not use them.

    Anyway I solved the issue by editing the registry and putting in this.

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServic esLanmanServerParameters

    Added

    DWORD value

    IRPStackSize ( only add if it don't exist)

    I put in the data value of 12

    My XBox can connect to any share and this is even without putting in the IP address which was the only way I could before.

    I can simply now browse and Add any Location

    Example

    MyStuff listed in the available drives
    which is smb://mypc/mystuff/ as the source

    Also I do not need a username or password to access the shares.

    Thanks


    Just wanted to bump this up on the forum as it may help others

    Thanks


  • The sources file is in userdata and it is called sources.xml

    As for the username and password, make sure the account you are using actually has access the the shares. If you made a special account just for this you will most likely have to go to your shares and give that account access on your computer.

    Ok, from what I read before I created an XP account was that it needs any XP account.

    This didn't work, but how can I test a share if I only got one PC.

    If I goto Network Places and goto the share with the account I set it up with, it says Not Accessible or Path Can Not be Found?

    An USB drive connected direct to a Router works fine off the XBox when I browse to it.

    I still don;t understand why when I changed from Sept release of XBMC, I would have this issue?

    Thanks for all you help


  • The double drive letter issue occurs because it now automaticly looks for drives and makes one for each one found. If you have the drives also set in the sources file this causes it to find them twice, once in sources and once when looking for drives. Just delete it from the sources file and you'll be fine.

    As for adding shares, you can add them by ip if you want. You do need a username and password though. It has to be a username and password of an account that has access to the shares. I believe a password is required. If you don't have any windows accounts setup which have passwords, you'll have to make one on the windows machine and then use that on the xbox.

    You can set a default username and password in settings->network so that you only have to type it in once.


    I've tried the Username and Password but it still didn't work.

    I have never needed too before :confused2:

    Can you tell me where the Sources file is as I did try to manually add the shares to the one in UserData in XBMC.

    I'll try again to make sure.

    Thanks


  • That was the complete path to the sources files. It's userdatasources.xml. I can't tell you anymore complete a path then that since the rest of it is where you put it. I'm assuming you know where you put your XBMC folder.

    As for permissions you can see and set ntfs permissions on a windows XP home computer in safe mode. Outside of safe mode the security tab isn't avaliable and you just have to trust windows did it right.

    Until you can browse to the share successfully from my network places there isn't any point even turning on the XBOX as the share isn't setup correctly, so even touching the xbox is a waste of time. Make sure you get the share working first.


    Coco

    Ok it may have been use to explain in novice terms where to check permissions as so many forums miss this point.

    The path I was asking was in the Source file itself as you can manually edit this and put in path's and usernames etc.

    Example


    mystuff
    smb://mypc/mystuff/


    Also at no point have I said the issue was XBMC as I said I can browse to the shares but can not use them.

    Anyway I solved the issue by editing the registry and putting in this.

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServic esLanmanServerParameters

    Added

    DWORD value

    IRPStackSize ( only add if it don't exist)

    I put in the data value of 12

    My XBox can connect to any share and this is even without putting in the IP address which was the only way I could before.

    I can simply now browse and Add any Location

    Example

    MyStuff listed in the available drives
    which is smb://mypc/mystuff/ as the source

    Also I do not need a username or password to access the shares.

    Thanks


  • That was the complete path to the sources files. It's userdatasources.xml. I can't tell you anymore complete a path then that since the rest of it is where you put it. I'm assuming you know where you put your XBMC folder.

    As for permissions you can see and set ntfs permissions on a windows XP home computer in safe mode. Outside of safe mode the security tab isn't avaliable and you just have to trust windows did it right.

    Until you can browse to the share successfully from my network places there isn't any point even turning on the XBOX as the share isn't setup correctly, so even touching the xbox is a waste of time. Make sure you get the share working first.


  • The double drive letter issue occurs because it now automaticly looks for drives and makes one for each one found. If you have the drives also set in the sources file this causes it to find them twice, once in sources and once when looking for drives. Just delete it from the sources file and you'll be fine.

    As for adding shares, you can add them by ip if you want. You do need a username and password though. It has to be a username and password of an account that has access to the shares. I believe a password is required. If you don't have any windows accounts setup which have passwords, you'll have to make one on the windows machine and then use that on the xbox.

    You can set a default username and password in settings->network so that you only have to type it in once.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Problems with shares , Please add it free.

    Posted in dballastages.com | edit