Solved

Drive Mapped in SQL Not Showing Up

Posted on 2013-05-31
3
326 Views
Last Modified: 2013-06-03
When I map a drive using the xp_cmdshell net use command it executes successfully.   However the drive is not available in my computer.  If I run the net use statement from the command prompt it maps successfully.  However my issue is that if I run it from the command prompt the mapped drive still is not available in SQL Management Studio.  Has anyone come across this issue before?  Please advise.
0
Comment
Question by:Gary Harper
  • 2
3 Comments
 
LVL 32

Expert Comment

by:ewangoya
Comment Utility
Mapped drives are not visible to SQL server.
Use the long path \\xxxx
0
 
LVL 32

Accepted Solution

by:
ewangoya earned 500 total points
Comment Utility
Just to be precise

\\server\c$\folder1\.....

or share name

\\server\foldershare\....
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
Comment Utility
and make sure that the 'sql server service account has enough permissions to access that share
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now