Solved

Drive Mapped in SQL Not Showing Up

Posted on 2013-05-31
3
338 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
ID: 39211556
Mapped drives are not visible to SQL server.
Use the long path \\xxxx
0
 
LVL 32

Accepted Solution

by:
ewangoya earned 500 total points
ID: 39211567
Just to be precise

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

or share name

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

Expert Comment

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

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

821 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