Showing posts with label installed. Show all posts
Showing posts with label installed. Show all posts

Monday, March 26, 2012

Script to find out what Edition of SQL Server is installed

Does anyone have a quick script or method to verify the edition that is inst
alledHi,
Execute the below statement from Query Analyzer,
Select @.@.version
Thanks
Hari
MCDBA
"Glenn Wilson" <anonymous@.discussions.microsoft.com> wrote in message
news:A7DB397B-B431-47A8-8B43-7598EC5140BB@.microsoft.com...
> Does anyone have a quick script or method to verify the edition that is
installed|||http://www.aspfaq.com/2160
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Glenn Wilson" <anonymous@.discussions.microsoft.com> wrote in message
news:A7DB397B-B431-47A8-8B43-7598EC5140BB@.microsoft.com...
> Does anyone have a quick script or method to verify the edition that is
installed|||Found it, FYI
SELECT SERVERPROPERTY('productversion'),
SERVERPROPERTY ('productlevel'),
SERVERPROPERTY ('edition')

Script to find out what Edition of SQL Server is installed

Does anyone have a quick script or method to verify the edition that is installedHi,
Execute the below statement from Query Analyzer,
Select @.@.version
Thanks
Hari
MCDBA
"Glenn Wilson" <anonymous@.discussions.microsoft.com> wrote in message
news:A7DB397B-B431-47A8-8B43-7598EC5140BB@.microsoft.com...
> Does anyone have a quick script or method to verify the edition that is
installed|||http://www.aspfaq.com/2160
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Glenn Wilson" <anonymous@.discussions.microsoft.com> wrote in message
news:A7DB397B-B431-47A8-8B43-7598EC5140BB@.microsoft.com...
> Does anyone have a quick script or method to verify the edition that is
installed|||Found it, FY
SELECT SERVERPROPERTY('productversion')
SERVERPROPERTY ('productlevel')
SERVERPROPERTY ('edition'

Friday, March 23, 2012

SCRIPT TO ALTER for functions in a SQL 2000

I installed SQL Server Management Express and try to access to a SQL Server 2000 remotly.

I connected correctly but when I try to alter an existing function, I get the following error message:

TITLE: Microsoft SQL Server Management Studio Express

Property AnsiNullsStatus is not available for UserDefinedFunction '[dbo].[functionName]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Express.Smo)

Note that functionName contain the correct function name.

Can someone confirm me that SQL Server Managmt Express can not alter function from previous SQL version or may I need to set some parameters on Server 2000.

Thanks

I'm moving this to the Tools forum.

Mike

sql

Wednesday, March 7, 2012

Script Component Error in BI Development Studio on Vista Install

I'm having an issue with a development machine that has the RTM version of Vista installed on it. I get the same issue with every script component, regardless of what package it resides in.

The red "X" error that I get in the BI dev studio is:

Error 1 Validation error. My Data Flow Task: My Script Component [6313]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at Microsoft.VisualBasic.Vsa.VsaEngine.Compile() at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project) at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent() MY SSIS Package.dtsx 0 0

When I try to execute the package, I get the following error:

TITLE: Package Validation Error

Package Validation Error


ADDITIONAL INFORMATION:

Error at "All" Data Flow Task [YearMonth Math for Prior Year [3149]]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.VisualBasic.Vsa.VsaEngine.Compile()
at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project)
at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()
Error at "All" Data Flow Task [YearMonth Math for Prior Year [3149]]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.VisualBasic.Vsa.VsaEngine.Compile()
at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project)
at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()
Error at "All" Data Flow Task [DTS.Pipeline]: "component "YearMonth Math for Prior Year" (3149)" failed validation and returned validation status "VS_ISBROKEN".

Error at "All" Data Flow Task [DTS.Pipeline]: One or more component failed validation.

Error at "All" Data Flow Task: There were errors during task validation.

(Microsoft.DataTransformationServices.VsIntegration)


BUTTONS:

OK

Other developers can open and execute this package fine. The only machine that can't is the Vista machine. Has anyone else had this issue with running BIDS on Vista?

This is a known issue, which (together with other Vista compatibility issues) will be fixed by SQL 2005 SP2 early next year. For now, please don't use Vista machines for SSIS development.
P.S. There is a preview (November CTP) release of SP2, it fixes many Vista compatibility problems, but it does not fix this issue yet.|||Thanks for the response!|||

I have the same problem except that I am not using Vista. I have Microsoft Professional on the box.

I did not have this problem last week.

When I tried to register Microsoft.SqlServer.TxScript.dll I am getting an error saying

"DLLRegistry Server Entry point could not be found". Any ideas?|||

Please see this KB:

http://support.microsoft.com/kb/931846

As for registering TxScript - my best advice is to avoid trying to register random DLLs (unless instructed by Microsoft KB article) - this often does more harm than good.|||

I wanted answer my own question for those who are having the same issue. There was a .NET framework security update which caused the script component to fail. After updating windows the problem was resolved.

Script Component Error in BI Development Studio on Vista Install

I'm having an issue with a development machine that has the RTM version of Vista installed on it. I get the same issue with every script component, regardless of what package it resides in.

The red "X" error that I get in the BI dev studio is:

Error 1 Validation error. My Data Flow Task: My Script Component [6313]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at Microsoft.VisualBasic.Vsa.VsaEngine.Compile() at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project) at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent() MY SSIS Package.dtsx 0 0

When I try to execute the package, I get the following error:

TITLE: Package Validation Error

Package Validation Error


ADDITIONAL INFORMATION:

Error at "All" Data Flow Task [YearMonth Math for Prior Year [3149]]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.VisualBasic.Vsa.VsaEngine.Compile()
at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project)
at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()
Error at "All" Data Flow Task [YearMonth Math for Prior Year [3149]]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.VisualBasic.Vsa.VsaEngine.Compile()
at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project)
at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()
Error at "All" Data Flow Task [DTS.Pipeline]: "component "YearMonth Math for Prior Year" (3149)" failed validation and returned validation status "VS_ISBROKEN".

Error at "All" Data Flow Task [DTS.Pipeline]: One or more component failed validation.

Error at "All" Data Flow Task: There were errors during task validation.

(Microsoft.DataTransformationServices.VsIntegration)


BUTTONS:

OK

Other developers can open and execute this package fine. The only machine that can't is the Vista machine. Has anyone else had this issue with running BIDS on Vista?

This is a known issue, which (together with other Vista compatibility issues) will be fixed by SQL 2005 SP2 early next year. For now, please don't use Vista machines for SSIS development.
P.S. There is a preview (November CTP) release of SP2, it fixes many Vista compatibility problems, but it does not fix this issue yet.|||Thanks for the response!|||

I have the same problem except that I am not using Vista. I have Microsoft Professional on the box.

I did not have this problem last week.

When I tried to register Microsoft.SqlServer.TxScript.dll I am getting an error saying

"DLLRegistry Server Entry point could not be found". Any ideas?|||

Please see this KB:

http://support.microsoft.com/kb/931846

As for registering TxScript - my best advice is to avoid trying to register random DLLs (unless instructed by Microsoft KB article) - this often does more harm than good.

Script Component Error in BI Development Studio on Vista Install

I'm having an issue with a development machine that has the RTM version of Vista installed on it. I get the same issue with every script component, regardless of what package it resides in.

The red "X" error that I get in the BI dev studio is:

Error 1 Validation error. My Data Flow Task: My Script Component [6313]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at Microsoft.VisualBasic.Vsa.VsaEngine.Compile() at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project) at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent() MY SSIS Package.dtsx 0 0

When I try to execute the package, I get the following error:

TITLE: Package Validation Error

Package Validation Error


ADDITIONAL INFORMATION:

Error at "All" Data Flow Task [YearMonth Math for Prior Year [3149]]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.VisualBasic.Vsa.VsaEngine.Compile()
at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project)
at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()
Error at "All" Data Flow Task [YearMonth Math for Prior Year [3149]]: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Microsoft.VisualBasic.Vsa.VsaEngine.Compile()
at Microsoft.SqlServer.VSAHosting.Runtime.LoadSource(String project)
at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()
Error at "All" Data Flow Task [DTS.Pipeline]: "component "YearMonth Math for Prior Year" (3149)" failed validation and returned validation status "VS_ISBROKEN".

Error at "All" Data Flow Task [DTS.Pipeline]: One or more component failed validation.

Error at "All" Data Flow Task: There were errors during task validation.

(Microsoft.DataTransformationServices.VsIntegration)


BUTTONS:

OK

Other developers can open and execute this package fine. The only machine that can't is the Vista machine. Has anyone else had this issue with running BIDS on Vista?

This is a known issue, which (together with other Vista compatibility issues) will be fixed by SQL 2005 SP2 early next year. For now, please don't use Vista machines for SSIS development.
P.S. There is a preview (November CTP) release of SP2, it fixes many Vista compatibility problems, but it does not fix this issue yet.|||Thanks for the response!|||

I have the same problem except that I am not using Vista. I have Microsoft Professional on the box.

I did not have this problem last week.

When I tried to register Microsoft.SqlServer.TxScript.dll I am getting an error saying

"DLLRegistry Server Entry point could not be found". Any ideas?|||

Please see this KB:

http://support.microsoft.com/kb/931846

As for registering TxScript - my best advice is to avoid trying to register random DLLs (unless instructed by Microsoft KB article) - this often does more harm than good.|||

I wanted answer my own question for those who are having the same issue. There was a .NET framework security update which caused the script component to fail. After updating windows the problem was resolved.