Accessing network share

hello, I have created sharepoint control , whose purpose is to load from specidied folder its own subdirecotry structure and present it in treeview. When I set as default folder local direcotry on webserver, it works..during debuging in visual studio 2013,
when I set some network share, I get error ACCESS DENIED...I am using sharepoint 2010 foundation on windows server 2012 R2 with IIS7. Application pool for Sharepoint application pool port 80 is NETWORK SERVICE... I have addedd ful control permissions for NETWORK
SERVICE and also COMPUTERNAME$...but still receiving error ACCESS DENIED...Please, if you can, help me.
any advice will be really apriciated.....Zdeno
sharepoint control disabling

It should work using Windows impersonation, the "Ego" approach I describe here;
http://www.loisandclark.eu/Pages/Impersonation.aspx
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com

Similar Messages

  • Window 8.1 system unable to access network shares via VPN connection

    Is there something inherent to Windows 8.1 that prevents it from accessing shares on a domain?
    I know that it cannot join a domain, but does that also mean that it cannot access shares which are on a domain?
    My problem is that I have several user that are running windows 8.1 that are connecting to our network via a VPN.
    The users have domain accounts but their computers as windows 8.1 cannot joined to the domain.
    So to access network shares they have to use their domain credentials to create a VPN connection.
    Once connected the user can RDP to systems on the domain using their domain accounts, so I know that their user names/passwords and permissions are correct. They can access these systems using the computer name, so I don't feel that I have a DNS issue.
    They can see the shares on our file server, but when they try to access their departments shared file, they receive an access denied message. There are a few shares that are completely wide open, shared to all users and all departments but they cannot access
    those shares either.
    You can ping the file server, from the the client when they are connected to the VPN but you just cannot access any of the shares.
    So...
    I am thinking that it has something to do with windows 8.1 and not being able to join a domain, but I cannot find anything to explicitly support this thought.
    Other users running a variety different OS (windows 7, OSX, Linux) can all access the shares without any problems via the VPN, so I am a little stumped.

    I have done some more testing and oddly enough I can map a drive if I use the IPaddress, but not the computer name, when checking the check box "connect using different credentials"and providing they users domain credentials.
    This seems to point to a DNS issue, one would think, but I can hit the file share server by name \\fileserver.dev.lan
    I can see all the shares, so dns seems to be fine right?
    So I don't understand why I can map a drive using do the IPaddress and not the machine name, but yet I can see and ping the server by name?
    When I try to create a mapped drive by machine name I receive the following message:
    Windows cannot access \\fileserver.dev.lan\all
    You do not have permissions to access \\fileserver.dev.lan. contact your network administrator  to request access.
    But if I use the \\x.x.x.x\all using the very same user and password I get connected with no problem.
    This only seems to happen on windows 8.1, which leads me to think that has something to do with OS. 
    I am thinking about upgrading to windows 8.1 pro, but I don't want to go though the hassle and expanse is the OS is not the problem.

  • Network Media Player (Noontec V9-T) unable to access network shares on WIN8 Pro

    I have just upgraded from Windows 7 home premium 64 bit to Windows 8 Pro 64 bit. After the upgrade, I made sure my video library was shared (both with the homegroup and my username) and that network discovery was enabled file sharing enabled etc etc.
    On the Noontec Media centre I can see the workgoup called WORKGROUP. When I click on it I can see the name of my PC. But when I click on the pc name to log in to access the shares within it comes up with a username/pass box comes up. I then put in my username/pass
    on the windows 8 pro machine, to which the Noontec receives an error message stating cannot login.
    Previously I had enabled sharing with everyone (read only) on windows 7 home and this username/pass dialog box never appeared. Just said successful logon. So i tried sharing video library with "everyone" in windows 8 pro, the unit still can't log on.
    I believe this noontec uses Samba. The last updated samba file was named "samba_3.0.23c_mipsel.ipk" when I updated the media players samba about 9 months-a year ago. i have checked the manufacturers website, there has been no further updates released.
    Is there a way for me to access network shares from this media centre by maybe installing a new samba server on the windows 8 machine that is compatible with older samba clients? I am not savy with samba clients/servers at all, I just loved the way XP network
    shares always seemed to work across multiple platforms... and win7/8 doesn't. Help anyone?

    A lot of these media players will not work correctly. If your Video files are stored as .avi, MKV, MP4 etc.. pretty much anything excpet for .ISO, the best way is to use Plex media server on the windows 8 PC. It's free and should allow you to organise files
    and libraries as you want.In fact, it's my preferred access method now, as most, smart TVs also support plex and support it well....allowing me to play the files directly in my smart TV, without using the Media players.
    In addition if you have an Android tablet or phone, you can (if you want) access your media files from Plex using Media Monkey (free) and simply play them direct to the TV, Media Monkey simply hands the data stream over to the smart TV.
    I have a similar set of media players and exactly the same problem with windows 8,8.1, previous shares on versions 7, vist etc..work perfectly. I use a free application on my android phone to remote start my media server/s (via the network card).
    Shutter Light - Free monitoring activity and network data, to prevent unwanted sleep during Videos and to ensure the PC goes into sleep mode (disabling windows power management)
    Plex simplifies everything and acts as a great central server for all types of devices and can bring media files together from different Directories/Disks, in to one set of Libraries.

  • XP Mode Crashes When Accessing Network Shares

    I am using Windows 7 Professional and have installed XP Mode to use a legacy accounting application.
    In the Virtual Machines folder on the host under settings I have set the network adapter to Realtek PCIe GBE Family Controller.
    Under XP Mode, I have set XP to be a member of the workgroup and I am logging on with a user who can access network. When I run XP Mode I can access the internet with Internet Explorer.
    If I then go to "My Network Places" "View Workgroup Computers" I can see all the workgroup computers on the network. If I then double click on a computer name Windows Explorer shows me all the shared directories on that computer.
    This is where the problem occurs. If I then click on a shared directory XP Mode instantly exits and restarts. (Windows 7 is unaffected.)
    Does anyone have any idea's as how I can access all the shared directories to view the files stored on the network.

    Miya Yao, Thank you for your reply.
    Can other computer in the workgroup see the shared directory in Windows XP Mode? I don't know exactly what you mean by this. No other computers in the workgroup are running XP Mode. They are running native XP Professional. (It was my original idea to run
    a physical XP laptop together with Windows 7 desktop to access the data files required, before I read about XP Mode.)
    All workgroup computers can access network shares, if the user has appropriate permissions. I have shared the "Shared Documents" under XP Mode and this share can be accessed by all other computers on the network including the host. However, if I access this
    share from the guest via "View Workgruop Computers" as in my first post, XP Mode instantly quits and restarts. For information the XP Mode user name and password is the same as the host user name and password.
    I have checked the Event Viewer both before I first posted and again today. There are no entries recorded. However, I should have mentioned that upon restarting XP Mode I get "The system has recovered from a serious error" the details of which are:-
    BCCode : 10000050     BCP1 : FFFFFF8A     BCP2 : 00000001     BCP3 : F7F23661
    BCP4 : 00000000     OSVer : 5_1_2600     SP : 3_0     Product : 256_1
    If I send the error report I am taken to thsi web page:-
    http://wer.microsoft.com/responses/Response.aspx/603/en-us/5.1.2600.2.00010100.3.0?SGD=316378af-10a1-428a-9016-074d398ed1a1
    The page talks about testing RAM. RAM is fine. There is 8GB of physical RAM. It was tested with memtest86+ v2.10 and v4.20 separately. v4.20 was run for 12 hours plus with no errors detected. I have tried adjusting XP Mode RAM under settings but this makes
    no difference.
    The issue happens when accessing all shared directories including empty ones.
    I clean booted the computer and yes the issue still exists.
    If I use dos to view a directory under XP Mode the problem exists, by typing
    \\SERVER\SHARE\FOLDERNAME .
    By using the host I can map a shared directory. Then under XP Mode I can access the share from my computer. I have noticed by mapping S: to a Network Share that in Windows Explorer in XP Mode the path is
    \\tsclient\S\ .  Is this normal?
    Under Windows 7 the same share appears as S:\ as I would expect.
    However, I would prefer not to have to map and un-map different Network Shares to drive letters.
    It should have been mentioned in my first post, host is Windows 7 Professional 64 bit. I don't know the build but it is full retail version (not upgrade) from when first released - prior to SP1. All updates have been applied including SP1.
    Any help would be appreciated.
    Thanks.

  • Cannot access network shares on AD domain

    I've joined my mac to an AD domain (over vpn tunnel). I used the Directory Access app and when I did a "bind" to the domain all seemed to go well.
    However when I try to access a network share using the "Connect to Server" menu item:
    smb://server/share
    I get this error:
    The Finder cannot complete the operation because some data in...could not be read or written. (Error code -36)
    Ok I've tried googling this error message. Could someone tell me what this means? Could you point me to documentation on how to do what I'm doing?

    Can you access the share while in the office?
    Can you access the share by using the servers IP address instead of name?

  • Not able to access network shares on a Win 7 Pro SP1 machine on certain machines

    I have computer "FileShare"
    It runs Windows 7 Pro SP1 and it's current on updates.  Password Protected Sharing is OFF, Advanced Sharing is set to "Everyone read/write"
    I can access it from other PC's in the same workgroup and no passwords are prompted for.  The other PC's run XP or Win 7, and they all work fine.
    However I have a Laptop running XP Pro SP3 current on updates, and a Win 7 Pro SP1 TestBox also current on updates.
    The Laptop and TestBox require passwords to log into the network shares.  I've tried rebooting all of them, adding "guest" to the user list for shares on computer "FileShare", and have even set a blank password to Guest on "FileShare". 
    Tried Turning Password Protection off and on again. Rebooting again. The Laptop and Textbox still need passwords, while numerous other XP desktops can access the network shares just fine.
    Any ideas on what to do?

    Hi,
    This behavior may occur if all the following conditions are true:
    a. NetBIOS over TCP/IP is not turned on (enabled) on one or more computers in the workgroup.
    b. The Computer Browser service is not started or is turned off on one or more computers in the workgroup.
    This behavior may also occur if File and Print Sharing for Microsoft Networks is not installed or is blocked by Windows Firewall.
    Step 1: Enable NetBIOS over TCP/IP
    Control Panel > Network and Internet Connections > Network Connections > Right-click Local Area Connection, and then click Properties > Internet Protocol (TCP/IP), and then click Properties.
    > click Advanced > Click the WINS tab > Under NetBIOS setting, click Enable NetBIOS over TCP/IP, and then click OK two times > Click Close to close the Local Area Connection Properties dialog box.
    > Close the Network Connections window.
    Step 2: Start the Computer Browser service
    Start > right-click My Computer > Manage > Double-click Services and Applications > Double-click Services > On the right side, right-click Computer Browser, and then click Start.
    > Close the Computer Management window.
    Step 3: Temporary disable firewall and antivirus programs for test.
    It also can be caused by software conflicts. If the issue disappears in the Clean Boot environment, we can use a 50/50 approach to quickly narrow down which entry is causing the issue.
    How to perform a clean boot to troubleshoot a problem in Windows 8, Windows 7, or Windows Vista
    http://support.microsoft.com/kb/929135
    Since the issue does not occur in all computers, you should also compare the different settings between them to narrow down the cause.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • SQL server can't access network share

    Hello,
    I am facing an issue where the SQL server can't access the network share. The network share is mounted by  a domain user who is also configured as Administrator on the server.
    Through SQL Server management studio as well as PoweShell script when i try to access the share in order to attach the database contained within the share, i get the error "Unable to find the file specified". I can't mention the network drive to
    the SQL management GUI file browser too if i try to attach the database through GUI.
    For all SQL services, I changed the service log on account to be the same account which mounts the network share.
    As work around - 
    I launched a command prompt under NT Authority \ SYSTEM (LocalSystem) account and mounted the drive to the same location which lead to adding one more connection but under local system account. With this change, the SQL server was able to access the network
    share!
    I couldn't understand whey SQL expects the network share to be mounted under local system account even if all the SQL services are running under domain account ? I want SQL to be able to access the network share without opting for above work around.

    Hello,
    I couldn't understand whey SQL expects the network share to be mounted under local system account even if all the SQL services are running under domain account ? I want SQL to be able to access the network share without opting for above work around.
    It doesn't have to be. The workaround is only a temporary fix and is certainly not a good idea. I would not use mounted folders with SQL Server, at all, period.
    The reason you're having difficulty is that when the folder is mounted, it's mounted for YOUR session not ALL sessions. SQL Server has already started its services and is running under its' own session and is not privy to the things you do to change the
    environment. For example, if you changed a system or user variable (for example, a SET variable) SQL Server would have no idea about this because when it started, that variable either didn't exist or was something else. This is not SQL Server's fault but how
    Windows works (this information is stored in the Process Environment Block [PEB]) for any windows process.
    As other's have said, don't use mounted drives - use a UNC path. UNC paths are 100% supported on 2012+ as well as running databases on a SMB 3.x share (UNC pathed of course).
    If you absolutely must use a mounted drive, enabled xp_cmdshell access (through sp_configure) and run the net use command through xp_cmdshell. I, once again, would highly advise not doing this and using an UNC path.
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Active Directory:  Odd behavior when accessing network shares

    I'm not very clear on how OS X handles AD integration, but I'm having an odd problem, perhaps someone may know the answer.
    AD is bound and working properly.
    I am successfully logging in with an AD account that is set to 'mobile' mode.
    Two questions:
    1. Why is it that when I access a share that I have rights to access, I am prompted for my user name and password? I am already logged in with a domain account and validated by the domain controller. This is not a big problem, but I am curious.
    2. Why is it that I am denied access to some shares, and others I can connect to but cannot see their contents, yet logged into a Windows machine with the same AD account, I can access all of them just fine? This one is a big problem.
    I'm hoping there are just more things I need to configure to get it to work. Either way, I'm having fun learning all of this.
    Thanks,
    -Travis

    I'm not very clear on how OS X handles AD integration, but I'm having an odd problem, perhaps someone may know the answer.
    AD is bound and working properly.
    I am successfully logging in with an AD account that is set to 'mobile' mode.
    Two questions:
    1. Why is it that when I access a share that I have rights to access, I am prompted for my user name and password? I am already logged in with a domain account and validated by the domain controller. This is not a big problem, but I am curious.
    2. Why is it that I am denied access to some shares, and others I can connect to but cannot see their contents, yet logged into a Windows machine with the same AD account, I can access all of them just fine? This one is a big problem.
    I'm hoping there are just more things I need to configure to get it to work. Either way, I'm having fun learning all of this.
    Thanks,
    -Travis

  • Can't access Network share from Windows 8 computer

    I have a clean install of Windows 8 x64 running in a workgroup environment. I can access multiple computer/NAS shares except one share off a partifular NAS. This share is accessible from other computers and the other shares on the NAS are accessible from
    this Windows 8 computer. I have cheked the credentials and they are fine, added them under the credential manager, tried to map a drive and selected use other credentials etc but it continually says "Windows cannot access \\ComputerName\ShareName"
    you do not have permission. I have permission and nothing is wrong with the permissions or the server. This is driving me crazy if anyone could help it would be greatly appreciated.
    I have tried:
    1. Mapping drive with ip address e.g. \\ip address\sharename
    2. disabled ipv6, made sure netbios enabled, made sure client for ms networks enabled.
    3. Setup a new account on server, doesn't work either.
    4. All sharing options enabled. I even modified the permissions on the share for "everyone" full access and it still didn't work.
    Has to be something with this windows 8 machine.

    Dear all,
    Hi am using 2012 r2 server and i have created share folder ,and added the user Id in that share folder but while accessing in windows pc (local admin) its opning all share folder , but its not asking password if i click in share folder it shows you do not have
    permission to access . but till lastweek it was worked fine . and if i tried in administrator login its asking password authentication. Please help me ASAp.
    Thanks
    mahamad
    8884209555 

  • Unable to access network shares

    In our enterprise environment we have a home share with approx 20 folders viewable to all staff with different folder accessible to different departments. One of our users has an issue when switching from a wired to wireless network connection
    on his laptop he is no longer able to view/access the folders from the home share and can only view/access one particular folder. This also happens when he is at home accessing via VPN.
    TIA for any ideas as to what may cause this.
    Hank Vare

    In our enterprise environment we have a home share with approx 20 folders viewable to all staff with different folder accessible to different departments. One of our users has an issue when switching from a wired to wireless network connection
    on his laptop he is no longer able to view/access the folders from the home share and can only view/access one particular folder. This also happens when he is at home accessing via VPN.
    TIA for any ideas as to what may cause this.
    Hank Vare
    I assume the user has a clean install of Windows?
    I rolled out 8.1 which has better sharing, I recall a few problems with 7 when out in the field
    Corsair Carbide 300R with window
    Corsair TX850V2 70A@12V
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Enterprise x64
    Microsoft Wireless Desktop 2000
    Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • Accessing network shares in an exiting workgroup from / to win10 with MS account (currently 10049)

    This is a migration test. Here is a larger network containing
    - RTOS-something video recorder
    - XP machines regular and POS
    - NAS running some Linux variants
    - Win7 machines
    - Win8.X machines
    - firewall/dhcp.
    They form a workgroup with a number of public shares and some protected shares. This Win10 PC (10049) with a Microsoft account can't access them and doesn't show computers in the workgroup. Other Win10 machines (10041) with local accounts can. I can ping
    all devices and where http is available, that works too. This PC sometimes complains about a conflict between 'his' workgroup and the existing one.
    Inspected HKLM/CurrentControlSet/Services/Lanman* , /NetBIOS, /NetBT and I believe the values stored could be OK.
    All relevant services have been started. This PC is a member of the workgroup.
    Only problem found: DcpSvc returns error 1813 but I think this is only a display problem of services.msc not finding a valid description.
    How can I enable this machine (with the ms account) to interact with the workgroup's resources?

    Hi defuser.defuser,
    If you disassociate the Microsoft Account, can you see other computers in your workgroup?
    You can check if you turn on the network discovery setting under your profile:
    Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • [solved]Dolphin crashes when trying to access network shares

    When attempting to access shared folders using dophin (on my other Windows box -> smb://10.0.1.6) it crashes abruptly... I recently upgraded to KDE 4.6.2. Before that it was working fine (4.6.1). I haven't installed gdb or nothing yet so I can't paste crash dumps.
    It only crashes after successful login/when attempting to list shares. Works in konqueror without problems.
    Name           : kdebase-dolphin
    Version        : 4.6.2-1
    Anyone else getting this?
    Edit:
    This bug has silently gone away after updating to latest kernel (2.6.38). I use pcman now anyways.
    Last edited by xs (2011-04-19 10:37:43)

    arojas wrote:Output of 'pacman -Q | grep phonon' ?
    [ben@ben ~]$ pacman -Q | grep phonon
    phonon 1:4.6.0-8
    phonon-gstreamer 4.7.0-1
    [ben@ben ~]$

  • Cannot access network shares

    After upgrading my wife's Mac mini G4 to Tiger she cannot connect to network shared drives. When clicking on Connect on a network machine I get the message that the alias could not be opened because the original item cannot be found. I have the option to delete the alias or fix it. When trying to delete it I am told that I do not have the required permissions for the operation. When clicking on fix alias I get the Finder browser, I don't know where to browse to.
    Any help will be appreciated.
    BTW, I am a recent switcher so not very clued up with OS X yet.
    Cobus

    have you the same problem?
    http://discussions.apple.com/message.jspa?messageID=4689867

  • Cant access local PC Network shares

    On the highly filtered network that I connect to at a University this does not work.
    I do the following in the finder.
    1. Go menu
    2. network command
    Nothing shows up.
    However last Saturday I was able to browse network shares using this method.
    I emailed IT and they do not know whats up. Perhaps they have this service filtered, yet enabled on Windows, as I can use Dave to access network shares. However Dave costs moneya nd why I uninstalled it.
    Can anyone tell me whats up and what I should email to IT? I emailed them this morning and sent themn a screenshot and they claim they need more ifnormation. But all I gave them is that I cant access network shares and told them that last saturday I could.
    John

    You cannot easily do this. If your app is delivered via a web
    domain, then you cannot access both network and local assets.
    The only way to do what you ask is to physically install the
    application in a trusted folder.
    See this doc:
    http://livedocs.adobe.com/flex/2/docs/00001953.html
    and this for details on hot to set it up:
    http://livedocs.adobe.com/flex/2/docs/00001952.html
    Tracy

  • Data Federator: Access Text file from secured Network Share or Sharepoint?

    Hi,
    I am using BusinessObjects Data Federator Designer XI 3.0 Service Pack 2 - 12.2.2.0 (Build 1002172322) and I'm new to DF.
    I am trying to use the Text File Datasource type to connect to a file on a secured Network Share and from a Sharepoint 2010 document repository. Is this possible?
    I am currently able to use the Text File datasource to read a file from a public network share (
    share\public\folderpath\file) or on the local federator machine using the "Local File" connection but cannot put in a username/password for accessing a secure network share. Is there a built in DF username/password that should be granted access to the share?
    Neiher the FTP File System or SMB Share seemed like it would work here either.
    For the Sharepoint connection, I know that I can make a webservice on a list and connect DF to the webservice, but I want to just connect to the document repository. I was unable to get this to work even with Sharepoint repositories using WebDav since the Local File method did not accept the url string (http://mysite.<org>.com/personal/<user>/Shared Documents). Is there any way to do this without having to change the way the file is exposed on the Sharepoint side?
    How is this normally handled? Put the files on a unsecured network share or on the DF server? Import the files into a DB and just use DB connections?
    Finally, is there a way to import XLS/XLSX files in DF or only CSV files?  I saw DI has an Excel Adaptor but didn't see anything for DF and when I tried it either could not retrieve the XML schema or reading the file's data failed.
    Thanks alot for the help.
    Kerby

    Bump, any help here with Data Federator usage?  Sharepoint, XLS files, or using secured network share?

Maybe you are looking for

  • Memory modules hp dv5052ea

    Hi I want o upgrade my memoryto 2gb, nut I noticethe memory module has two small leads attached doesanyone know what they are for, and will they be able to connect to the new module/s? My laptop, is a dv5052ea pavillion,   thanks

  • Why can´t I erase a podcast from my ipod?

    I downloaded a podcast into iTunes and then into my ipod. Its size is of 20 MB and I want to erase it but when I plug my ipod to my computer it doesn´t appear in iTunes as a podcast or as a song, but in my ipod it appears as a song, so I can´t erase

  • My Photo Stream not syncing older photos

    Hi, am using Aperture 3.4.3 on OS X 10.8.2 but had the same issue below when using iPhoto... Have Photo Stream enabled within settings but when I use Aperture, not all of my photos are being synchronised. Simply, my iPhone shows I have 231 photos in

  • How to make table cells mandatory when visible

    I have a form with two hidden subforms. Each subform contains a table with fields that need to be mandatory when visible. The subforms are hidden or revealed based on a selection from a drop-down list. I found the below script which works great for m

  • Exception handling in Swing Gui

    I have an app with a (class) structure sort of like this: Application .contains JFrame ..contains 'View' ...contains JTable ....'contains' TableModel Among other things but that's the important bits here. When I update a field in the table the setVal