→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!
‎12-16-2009 06:12 PM
FYI: Lansweeper 5.0 which is currently in beta will have this feature build-in for Dell, HP, Lenovo
<add key="DellWarrantyURL" value="http://xserv.dell.com/services/assetservice.asmx"/>
Usage: UpdateDellWarrantyInfo [options] [-verbose]
Options
-all
Will update the warranty information for all Dell computers in the Lansweeper
database.
-warrantyInfo
Will update the warranty information only for the Dell computers that have
empty warranty and purchase dates in the Lansweeper database.
-assetTag <assetTag>
Will update the warranty information for a single Dell computer based on the
asset tag. Must provide a single asset tag.
-computer <computerName>
Will update the warranty information for a single Dell computer based on the
computer name. Must provide a single computer name.
-verbose
Print troubleshooting information to the console.
-help
Will display this screen.
NOTE: If no options are provided, will update all Dell computers.
‎01-13-2010 04:07 PM
UpdateDellWarrantyInfo.exe -Verbose
13/01/2010 15:03:58*CON:Data Source=******;Initial Catalog=Lansweeper;Persist S
ecurity Info=True;User ID=******;Password=******;Connection Timeout=400
13/01/2010 15:03:58*SQL:SELECT TOP (1) Assetlink FROM tsysassetlinks WHERE (Vend
or LIKE 'dell%')
System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near '('.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolea
n breakConnection);
etc....
‎01-08-2010 10:21 AM
‎01-06-2010 07:37 PM
‎01-06-2010 04:55 PM
‎01-06-2010 08:41 PM
objRequest = System.Net.HttpWebRequest.Create(_strURL);
//Handle proxy servers
objRequest.Proxy = System.Net.WebRequest.DefaultWebProxy;
objRequest.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
objResponse = objRequest.GetResponse();
System.IO.Stream objStream = objResponse.GetResponseStream();
System.IO.StreamReader objReader = new System.IO.StreamReader(objStream);
_strHTMLSource = objReader.ReadToEnd();
mrdaytrade wrote:
Still doesn't work for me. Our proxy settings are set via group policy under User Config - Windows Settings - Internet Explorer Maint - Connection - Proxy Settings.
I am an authenticated user, however, whenever we go out to the internet we get the proxy popup requesting our user name and password.
Update: I just made a few changes to my proxy settings... I now get this message.
1/6/2010 10:34:14 AM+Query for: xxxxxxxxx
System.Net.WebException: Unable to connect to the remote server ---> System.Net.
Sockets.SocketException: No connection could be made because the target machine
actively refused it 143.166.224.210:80
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddre
ss socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Sock
et s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state,
IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
‎01-06-2010 04:19 PM
‎01-06-2010 04:16 PM
‎01-06-2010 11:34 AM
‎01-13-2010 09:38 AM
pvanlien wrote:
Hi corbett.
I somehow get an error listed below, any idea?
System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near '('.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolea
n breakConnection)
....
‎01-13-2010 03:33 PM
Tomdm wrote:
FYI i get exactly the same info, i tried without options and with the "-all" option, no difference
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now