How do you determine what version of Reporting Services is installed int the DB and Web server ( I have the DB on a different server than the Web server)
Thanks
Try typinghttp://localhost/Reportserver
How do you determine what version of Reporting Services is installed int the DB and Web server ( I have the DB on a different server than the Web server)
Thanks
Try typingHi,
Our product uses features that require Analysis Services SP2 to be installed. How can I tell if an Analysis Services server is running SP2 or higher using Analysis Services Management Objects (AMO)? I'm not concerned about the Operating System service pack edition, I'm concerned about the SP version of Analysis Services.
Thanks.
Figured it out. Use the Version property off the Server object.
Server svr = new Server();
svr.Connect(serverName);
Version minASVersion = new Version(MIN_AS_SERVICES_VERSION);
Version serverVersion = new Version(svr.Version);
if (serverVersion < minASVersion)
{
// error
}
|||You can get this using ADOMD too:
http://geekswithblogs.net/darrengosbell/archive/2007/07/14/SSAS-Detecting-the-version-of-SSAS-on-a-given-server.aspx
sqlHow can I determine if SP1 is installed for SQL Server 2005?
TIA
select @.@.version
Frank
|||Since this is the SSIS forum, I thought a SSIS specific method my be usefull. Since you don't have to install the DB engine, you may just have SSIS installed, so the normal @.@.VERSION does not work anymore. One method is to check the File Version of the SSIS Service, C:\Program Files\Microsoft SQL Server\90\DTS\Binn\MsDtsSrvr.exe
Right-click the file and select Properties. On the Version tab check the File Version property. RTM shows 9.00.1399.00, SP1 shows 9.00.2047.00
Strictly speaking the MsDtsSrvr.exe may not always be updated with a service pack or patch, so the version may reflect an older level. An alternative method is to check the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup, values Version and PatchLevel give the service pack and hotfix level respectively. The RTM values are both 9.00.1399.06, and SP1 is 9.1.2047.00. Note the 9.1 rather than 9.0 for the SP1 version.
|||Actually "select @.@.version" works well in 2005.For example, I would like to rank the instances, 1. SQL Server 2005 2. SQL server 2000, 3. Sql express, 4. MSDE
So I would basically like to default to the best choice available locally for the user.
Is there any way to do this using SMO?
Thanks...
Hi Johnny,
Yes, you could:
DataTable dt;
dt = SmoApplication.EnumAvailableSqlServers("JohnnysServer");
for (int i = 0; i < dt.Rows.Count; i++)
{
MessageBox.Show( dt.Rows["Version"].ToString() );
}
Cheers,
Rob
Just a few questions about this...
I have tried running it on a few machines, and on some of them the version was null...do you know why this would happen?
Also, does this specific version differ for the fully blown versions vs the light (sql express/msde) versions? Because I noticed that they can have identical versions....
Thanks again...|||
Hi Johnny,
Yes, the versions will be the same, however the "Edition" property (from memory) will display the actual, well...edition. Have a browse of the datatable colums as there's a heap of properties/columns returned.
Not sure why version would be returned as null, unless of course the service wasn't running or otherwise unavailable.
Cheers,
Rob
I'm experiencing a variant - installing SQL 2005 (RTM) on a brand new machine with Server 2003 Standard Ed. SP1, the setup program frequently pauses on steps identified as "Detecting Installed IIS". Setup eventually moves on, but it's taking ages to finish the install.
I've installed this exact version of several identical machines, but this is the first where I've encountered this behavior.
Does anyone have any input on what's really happening here and what to do about it?I guess no one really knows... :)
In my case, I believe that the cause was a DNS issue that caused all name resolution requests to time out. Others have reported issues related to firewalls or antivirus software.|||
Thanks for posting your solution, Carl. What was the DNS issue you were hitting? Did you have to change some settings to get it working? And approximately how long was the slow install? Hours? This issue has appeared a few times on here and I don't think we have a good answer yet other than DNS/firewall/anti-virus issues.
Thanks,
Sam Lester (MSFT)
Now this is stressing the way-back machine!
The slow install was, as I recall, something on the order of 2-5 minutes each time something tried to detect IIS (and it happens several times during the install).
If I recall, the solution was to configure TCP/IP on the install machine to use the local domain controller for DNS rather than my upstream providers' DNS server.
I'm experiencing a variant - installing SQL 2005 (RTM) on a brand new machine with Server 2003 Standard Ed. SP1, the setup program frequently pauses on steps identified as "Detecting Installed IIS". Setup eventually moves on, but it's taking ages to finish the install.
I've installed this exact version of several identical machines, but this is the first where I've encountered this behavior.
Does anyone have any input on what's really happening here and what to do about it?I guess no one really knows... :)
In my case, I believe that the cause was a DNS issue that caused all name resolution requests to time out. Others have reported issues related to firewalls or antivirus software.|||
Thanks for posting your solution, Carl. What was the DNS issue you were hitting? Did you have to change some settings to get it working? And approximately how long was the slow install? Hours? This issue has appeared a few times on here and I don't think we have a good answer yet other than DNS/firewall/anti-virus issues.
Thanks,
Sam Lester (MSFT)
Now this is stressing the way-back machine!
The slow install was, as I recall, something on the order of 2-5 minutes each time something tried to detect IIS (and it happens several times during the install).
If I recall, the solution was to configure TCP/IP on the install machine to use the local domain controller for DNS rather than my upstream providers' DNS server.
I'm experiencing a variant - installing SQL 2005 (RTM) on a brand new machine with Server 2003 Standard Ed. SP1, the setup program frequently pauses on steps identified as "Detecting Installed IIS". Setup eventually moves on, but it's taking ages to finish the install.
I've installed this exact version of several identical machines, but this is the first where I've encountered this behavior.
Does anyone have any input on what's really happening here and what to do about it?I guess no one really knows... :)
In my case, I believe that the cause was a DNS issue that caused all name resolution requests to time out. Others have reported issues related to firewalls or antivirus software.|||
Thanks for posting your solution, Carl. What was the DNS issue you were hitting? Did you have to change some settings to get it working? And approximately how long was the slow install? Hours? This issue has appeared a few times on here and I don't think we have a good answer yet other than DNS/firewall/anti-virus issues.
Thanks,
Sam Lester (MSFT)
Now this is stressing the way-back machine!
The slow install was, as I recall, something on the order of 2-5 minutes each time something tried to detect IIS (and it happens several times during the install).
If I recall, the solution was to configure TCP/IP on the install machine to use the local domain controller for DNS rather than my upstream providers' DNS server.
Can you try to check the registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server or use WMI to detect the SQL Server 2005 components? WMI should be a better choice.
|||I'm not sure that would be wise in that case, since if SQL Server 2005 was removed it would break your application. You are best off to install the MSIs all the time, and to use the product ref-counting mechanism available in the redists to make sure they won't be removed unless your application has been. This is done by running the redist MSIs with the APPGUID property set on the command line, with the value of the property being the product code of your application that is being installed. What this will do is block the user from uninstalling those applications until your product has been removed first.
Hello
I am trying to find out if versions of SQL SERVER 2005 we have installed have full or Developer Licenses.
They were installed previously by someone who no longer works here, and we do not the versions on record.
We have enough full licenses, so we just want to make sure the correct ones are set up on our servers.
Anyone know how/where we can find this information?
I found the answer - SELECT @.@.version
Thanks
Determining Security,Determining Security Patch