Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid query on drive information
Message
De
04/07/2011 09:31:50
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Invalid query on drive information
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01517251
Message ID:
01517251
Vues:
71
I use this query to get some information on a drive:
SELECT FreeSpace,QuotasDisabled,VolumeName,VolumeSerialNumber
 FROM Win32_LogicalDisk WHERE ProviderName="\\10.20.1.10\Data"
I obtain: "Invalid query".

This IP is valid. Basically, it is the IP of the server I am running the program on. Data is the share drive name. I always used this formula. What am I missing?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform