Summary
You have a problem accessing the spider database e.g. from the spider application server and want to easily troubleshoot it.Synopsis
You have a problem accessing the spider database e.g. from the spider application server and want to easily troubleshoot it.
Discussion
Using PowerShell for this purpose makes it easy to do simple connection tests, since it does not require any adittional tools such as SQL client or SQL Management Studio etc.
The following PowerShell script helps you to check the connection to the Spider database - On success it will list you the registered
$SQLServer = "<sqlserverinstancename>" $CoreName = "SpiderCore" $SqlQuery = "SELECT Name FROM $CoreName..Application" $SQLUser = "<username>" $SQLPass = "<passwort>" $SqlConnection = New-Object System.Data.SqlClient.SqlConnection $SqlConnection.ConnectionString = "Server = $SQLServer; User Id=$SQLUser; Password=$SQLPass;" $SqlCmd = New-Object System.Data.SqlClient.SqlCommand $SqlCmd.CommandText = $SqlQuery $SqlCmd.Connection = $SqlConnection $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter $SqlAdapter.SelectCommand = $SqlCmd $DataSet = New-Object System.Data.DataSet $SqlAdapter.Fill($DataSet) $SqlConnection.Close() $DataSet.Tables
This script can also used to connect using integrated security (the connection is made with the user which starts the script) but you cannot connect with an AD user.
For this change the Connection String to the following:
$SqlConnection.ConnectionString = "Server = $SQLServer; Trusted_Connection = True"
Additional Information
Products
LCM6
Related Articles
How to troubleshoot Active Directory Connection Problems using PowerShell for Spider 16Number of Views Troubleshoot App-V Connection Problems using PowerShell for Spider 9Number of Views How to troubleshoot vCenter Connection Problems using PowerCLI for Spider 10Number of Views Troubleshoot problems with CLR and SqlProceduresClr assembly configuration in FlexNet Manager Suite databases 33Number of Views Spider Setup: SQL connection user needs ALTER permission on database 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago