Sunday, February 26, 2012

Express vs MySQL

Where can I go to get information on supported features on Express?

I had heard that express does not support functions.

I have a dotnet application that is connecting to Access and the client wants to go to either mysql or express and I am looking for a pro or con on both.I usually use SQL2000 but I am wondering if there is a limit on the size of the database for express.Which is not a concern for about year but will be an issue after that.

This should get you started up:

http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx

HTH, jens Suessmeyer.

Express Versus Standard Footprint

Is there a current estimate of the footprint of SQL Server Express 2005 versus the footprint of SQL Server Standard 2005? Is the size difference significant?

Are you talking in general or for Reporting Services? There is not a significant difference in the core relational database. The things that aren't included are additional services, documentation and tools. You can download Express and see what is included.

Express version just upgrade of MSDE?

Is the Express 2005 version just an upgrade of MSDE 2000?
never mind heh.
"SQL Server Express is the evolution of MSDE 2000 in SQL Server 2005"
|||It's what MSDE will evolve into in the SQL Server 2005 timeframe. Please
note that it's only a technical preview at the moment. You can get more info
at http://www.microsoft.com/sql/express/, including a pre-beta download.
Sincerely,
Stephen Dybing
This posting is provided "AS IS" with no warranties, and confers no rights.
"Robert Blackwell" <robOMGwowcentralDOTcom> wrote in message
news:OTvW$uFZEHA.2576@.TK2MSFTNGP10.phx.gbl...
> Is the Express 2005 version just an upgrade of MSDE 2000?
>
|||Aha, you were likely reading the same page that I was. :-) There are some
really cool things with it such as the removal of the workload governor and
the increased database size.
Sincerely,
Stephen Dybing
This posting is provided "AS IS" with no warranties, and confers no rights.
"Robert Blackwell" <robOMGwowcentralDOTcom> wrote in message
news:OtzerzFZEHA.3596@.tk2msftngp13.phx.gbl...
> never mind heh.
> "SQL Server Express is the evolution of MSDE 2000 in SQL Server 2005"
>
|||Thanks, I'm checkin all that stuff out.
|||Don't miss following the link to the resources on MSDN. At the very bottom
of that page there's another link to community resources, i.e. SQL Express
and SQL Mobile newsgroups. The SQL Express newsgroup is already pretty
active.
Sincerely,
Stephen Dybing
This posting is provided "AS IS" with no warranties, and confers no rights.
"Robert Blackwell" <robOMGwowcentralDOTcom> wrote in message
news:eHYQrmGZEHA.1356@.TK2MSFTNGP09.phx.gbl...
> Thanks, I'm checkin all that stuff out.
>
|||I'm not seeing the express server in my list.
I have 2 ms private news accounts, one for xpsp2 and then the one I signed
up for yesterday for csharp express.
I didn't see the proper login information on this page
|||oops, this page
http://communities.microsoft.com/new...r2005&slcid=us
alt it has is the server address.

Express to Standard upgrade

I have SQL Server 2005 Express that was installed with SharePoint Server 2007. I'm trying to upgrade it to SQL Server 2005 Standard edition and it gives this "Edition Change Check (Warning)" message:

"To change an existing instance of Microsoft SQL Server 2005 to a different edition of SQL Server 2005, you must run SQL Server 2005 Setup from the command prompt and include the SKUUPGRADE=1 parameter."

I tried "setup skuupgrade=1" from the command prompt, but it's giving me the same message.

Can someone tell me how to correctly make the upgrade?

Sam

The paramater is case sensitive you need to use:

setup.exe SKUUPGRADE=1

|||Thank you. That did it!
|||

Hi isunshine,

I am also trying to upgrade my SharePoint 2007's SQL Express (default installation) to SQL Standard 2005. Since I have lot of contents on the SharePoint 200, I just thought to reconfirm with you. (Since you did the same thing). Did you have problems with SharePoint after the upgrade to SQL Standard 2005? Was you SQL Server express named server?

Thank you,

KG

|||No, i didn't have a problem after the upgrade. But mine didn't have lots of content so it could be a different story... i'm not quite sure what you mean by "named server".|||

When you install SQL Server you could select whether you want it to be default server or name server (name instance). I have a default instance of SQL Server 2005 installation as such we installed the name server (or name instance of the SQL Sever)

Thank you

KG

Express to Standard upgrade

I have SQL Server 2005 Express that was installed with SharePoint Server 2007. I'm trying to upgrade it to SQL Server 2005 Standard edition and it gives this "Edition Change Check (Warning)" message:

"To change an existing instance of Microsoft SQL Server 2005 to a different edition of SQL Server 2005, you must run SQL Server 2005 Setup from the command prompt and include the SKUUPGRADE=1 parameter."

I tried "setup skuupgrade=1" from the command prompt, but it's giving me the same message.

Can someone tell me how to correctly make the upgrade?

Sam

The paramater is case sensitive you need to use:

setup.exe SKUUPGRADE=1

|||Thank you. That did it!|||

Hi isunshine,

I am also trying to upgrade my SharePoint 2007's SQL Express (default installation) to SQL Standard 2005. Since I have lot of contents on the SharePoint 200, I just thought to reconfirm with you. (Since you did the same thing). Did you have problems with SharePoint after the upgrade to SQL Standard 2005? Was you SQL Server express named server?

Thank you,

KG

|||No, i didn't have a problem after the upgrade. But mine didn't have lots of content so it could be a different story... i'm not quite sure what you mean by "named server".|||

When you install SQL Server you could select whether you want it to be default server or name server (name instance). I have a default instance of SQL Server 2005 installation as such we installed the name server (or name instance of the SQL Sever)

Thank you

KG

Express to Standard

If I have sql 2005 express installed with a data in it, how can i upgrade
that to SQL standard 2005 without bringing the database down?
Thanks
You can't. The upgrade will replace the executable files so they have to be
closed before they can be overwritten. You can do the upgrade while SQL
Express is running but then it won't take effect until you reboot the
machine because the files will be in use.
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Chanaka" <Chanaka@.discussions.microsoft.com> wrote in message
news:EF8EDB2B-A5BF-4F05-B454-C62970AFE7B6@.microsoft.com...
> If I have sql 2005 express installed with a data in it, how can i upgrade
> that to SQL standard 2005 without bringing the database down?
> Thanks
|||Thanks Roger!
"Roger Wolter[MSFT]" wrote:

> You can't. The upgrade will replace the executable files so they have to be
> closed before they can be overwritten. You can do the upgrade while SQL
> Express is running but then it won't take effect until you reboot the
> machine because the files will be in use.
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> "Chanaka" <Chanaka@.discussions.microsoft.com> wrote in message
> news:EF8EDB2B-A5BF-4F05-B454-C62970AFE7B6@.microsoft.com...
>

express to enterprise edition

Hi All

I have sql 2005 express on my Dev machine but am planning on using a full sql 2005 database where i deploy my program and i have 2 questins please

1. Will my sql express database work with the full version of SQL 2005 or do i import it or something ( DB will get bigger than sql express max at some point)and

2. I was intending using stored procedures, can these also be easily be used/ transfered on am SQL 2005 database

thanks

Gibbo

hi Gibbo,

gibbo1715 wrote:

I have sql 2005 express on my Dev machine but am planning on using a full sql 2005 database where i deploy my program and i have 2 questins please

1. Will my sql express database work with the full version of SQL 2005 or do i import it or something ( DB will get bigger than sql express max at some point)and

yes.. SQLExpress is, somehow, a "subset" of the "full" SQL Server editions, so anything that works on Express works on the full editions as well but User Instances, that are supported on SQLExpress only..

2. I was intending using stored procedures, can these also be easily be used/ transfered on am SQL 2005 database

yes, no problem at all as, again, all the internal structures of database files are the same..

regards

Express sql database

Hi,

As far as I am aware, I have uploaded my website anddatabases (express) to the internet. I did this in VWD -> website > copywebsite. I assumed that my database would copy within the App_Datafolder..?

But I am getting errors which tend to suggest thedatabases aren't there? Have I done it correctly? If I have, then itmust be my connections - what do I need to adjust for them to work onthe web rather than just locally?

The hosting company definately supports express, and is set to 2.0.

Thanks!

Jon

check your web.config file for proper path for your database on the hosting server. and also make sure ASPNET account has read/write permission to app_data folder.

Express SP2 install error

Hi, try to install (not an upgrade) SQLExpressSP2 on WinXPSP2 from SQLEXPR32.exe package.

.NET version 2.0 is already installed however get error below before last step of Server setup ( Excerpt from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_Core(Local) ):

</- START OF Excerpt >

<Func Name='PerformDetections'>
0
<EndFunc Name='PerformDetections' Return='0' GetLastError='0'>
<Func Name='DisplaySCCWizard'>
CSetupBootstrapWizard returned 1
<EndFunc Name='DisplaySCCWizard' Return='0' GetLastError='183'>
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\sqlsval.dll Version:2005.90.3042.0
<EndFunc Name='DwLaunchMsiExec' Return='1603' GetLastError='0'>
Complete: InvokeSqlSetupDllAction at: 2007/2/14 16:58:23, returned false
Error: Action "InvokeSqlSetupDllAction" failed during execution.
Action "AnalyzeInstallStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "PrepareForChainingStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "SequenceChainingActionsStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "InstallChainedPackagesStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Error: Action "ExposeVistaClusteredResources" failed during execution. Error information reported during run:
Action: "ExposeVistaClusteredResources" will be marked as failed due to the following condition:
Condition "The Clustered SQL Server instance that hosts is installed." returned false.
Running: ReportChainingResults at: 2007/2/14 16:58:23
Error: Action "ReportChainingResults" threw an exception during execution.
DwLaunchMsiExec() returned : 1603
Error Code: 0x80070643 (1603)
Windows Error Text: Fatal error during installation.

Source File Name: sqlchaining\sqlchainingactions.cpp
Compiler Timestamp: Thu Nov 16 20:31:57 2006
Function Name: sqls::ReportChainingResults::perform
Source Line Number: 3416

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2
Running: UploadDrWatsonLogAction at: 2007/2/14 16:58:23
Message pump returning: 1603
</- END OF Excerpt >

Cud u please advise workaround?

cheers,

Fred

N.B.

Also have tried to register my installation of SQL Express SP2 but the registration web page has a bug and

does not enable me to register at https://profile.microsoft.com/ProductActivation/ProductActivation.aspx?lcid=1033&WizId=0569136c-78c8-454b-bf27-cb7d7863de63

This message appears in "Red' even when legitimate email-address was entered:

"*Required: E-Mail Address"

cheers,

Fred

Tyodotnet wrote:

Hi, try to install (not an upgrade) SQLExpressSP2 on WinXPSP2 from SQLEXPR32.exe package.

.NET version 2.0 is already installed however get error below before last step of Server setup ( Excerpt from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_Core(Local) ):

</- START OF Excerpt >

<Func Name='PerformDetections'>
0
<EndFunc Name='PerformDetections' Return='0' GetLastError='0'>
<Func Name='DisplaySCCWizard'>
CSetupBootstrapWizard returned 1
<EndFunc Name='DisplaySCCWizard' Return='0' GetLastError='183'>
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\sqlsval.dll Version:2005.90.3042.0
<EndFunc Name='DwLaunchMsiExec' Return='1603' GetLastError='0'>
Complete: InvokeSqlSetupDllAction at: 2007/2/14 16:58:23, returned false
Error: Action "InvokeSqlSetupDllAction" failed during execution.
Action "AnalyzeInstallStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "PrepareForChainingStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "SequenceChainingActionsStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "InstallChainedPackagesStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Error: Action "ExposeVistaClusteredResources" failed during execution. Error information reported during run:
Action: "ExposeVistaClusteredResources" will be marked as failed due to the following condition:
Condition "The Clustered SQL Server instance that hosts is installed." returned false.
Running: ReportChainingResults at: 2007/2/14 16:58:23
Error: Action "ReportChainingResults" threw an exception during execution.
DwLaunchMsiExec() returned : 1603
Error Code: 0x80070643 (1603)
Windows Error Text: Fatal error during installation.

Source File Name: sqlchaining\sqlchainingactions.cpp
Compiler Timestamp: Thu Nov 16 20:31:57 2006
Function Name: sqls::ReportChainingResults::perform
Source Line Number: 3416

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2
Running: UploadDrWatsonLogAction at: 2007/2/14 16:58:23
Message pump returning: 1603
</- END OF Excerpt >

Cud u please advise workaround?

cheers,

Fred

|||

Not finding much on this one, I'm going to move this to the setup forum so the experts can take a look.

Mike

|||

Hi Mike,

Thanks for your assistance.

Meanwhile I have found out the problem i.e:
1. Instead of running SQLEXPR32.EXE I have extracted the contents
into a new folder using the commandline SQLEXPR32.EXE -X

2. I have created an autostart CD from the extracted data.

3. Run the CD, autorun will open splash.hta automatically.
This installation menu will appear:

Prepare
Review hardware and software requirements
Read the release notes
Install
Run the SQL Server Installation Wizard
Run the SQL Native Client Installation Wizard
Other Information
Browse this CD
Visit the SQL Server website
Read the SQL Server license agreement
4. Run the SQL Native Client Installation Wizard, with success,
installation closes all screens.

5. Run CD again and run the SQL Server Installation Wizard
got into error: current user (the Administrator!)
has not enough access rights to write in "C:\Program Files\Microsoft SQL Server"

6. Check and change access control with Explorer "C:\Program Files\Microsoft SQL Server"
Indeed it was totally unwritable by Admin!

7. Run CD again and the SQL Server Installation Wizard is running flawless.
All steps can be finished.

cheers,
Fred

Express SP2 install error

Hi, try to install (not an upgrade) SQLExpressSP2 on WinXPSP2 from SQLEXPR32.exe package.

.NET version 2.0 is already installed however get error below before last step of Server setup ( Excerpt from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_Core(Local) ):

</- START OF Excerpt >

<Func Name='PerformDetections'>
0
<EndFunc Name='PerformDetections' Return='0' GetLastError='0'>
<Func Name='DisplaySCCWizard'>
CSetupBootstrapWizard returned 1
<EndFunc Name='DisplaySCCWizard' Return='0' GetLastError='183'>
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\sqlsval.dll Version:2005.90.3042.0
<EndFunc Name='DwLaunchMsiExec' Return='1603' GetLastError='0'>
Complete: InvokeSqlSetupDllAction at: 2007/2/14 16:58:23, returned false
Error: Action "InvokeSqlSetupDllAction" failed during execution.
Action "AnalyzeInstallStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "PrepareForChainingStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "SequenceChainingActionsStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "InstallChainedPackagesStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Error: Action "ExposeVistaClusteredResources" failed during execution. Error information reported during run:
Action: "ExposeVistaClusteredResources" will be marked as failed due to the following condition:
Condition "The Clustered SQL Server instance that hosts is installed." returned false.
Running: ReportChainingResults at: 2007/2/14 16:58:23
Error: Action "ReportChainingResults" threw an exception during execution.
DwLaunchMsiExec() returned : 1603
Error Code: 0x80070643 (1603)
Windows Error Text: Fatal error during installation.

Source File Name: sqlchaining\sqlchainingactions.cpp
Compiler Timestamp: Thu Nov 16 20:31:57 2006
Function Name: sqls::ReportChainingResults::perform
Source Line Number: 3416

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2
Running: UploadDrWatsonLogAction at: 2007/2/14 16:58:23
Message pump returning: 1603
</- END OF Excerpt >

Cud u please advise workaround?

cheers,

Fred

N.B.

Also have tried to register my installation of SQL Express SP2 but the registration web page has a bug and

does not enable me to register at https://profile.microsoft.com/ProductActivation/ProductActivation.aspx?lcid=1033&WizId=0569136c-78c8-454b-bf27-cb7d7863de63

This message appears in "Red' even when legitimate email-address was entered:

"*Required: E-Mail Address"

cheers,

Fred

Tyodotnet wrote:

Hi, try to install (not an upgrade) SQLExpressSP2 on WinXPSP2 from SQLEXPR32.exe package.

.NET version 2.0 is already installed however get error below before last step of Server setup ( Excerpt from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_Core(Local) ):

</- START OF Excerpt >

<Func Name='PerformDetections'>
0
<EndFunc Name='PerformDetections' Return='0' GetLastError='0'>
<Func Name='DisplaySCCWizard'>
CSetupBootstrapWizard returned 1
<EndFunc Name='DisplaySCCWizard' Return='0' GetLastError='183'>
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\sqlsval.dll Version:2005.90.3042.0
<EndFunc Name='DwLaunchMsiExec' Return='1603' GetLastError='0'>
Complete: InvokeSqlSetupDllAction at: 2007/2/14 16:58:23, returned false
Error: Action "InvokeSqlSetupDllAction" failed during execution.
Action "AnalyzeInstallStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "PrepareForChainingStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "SequenceChainingActionsStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Action "InstallChainedPackagesStage" will be skipped due to the following restrictions:
Condition "Action: InvokeSqlSetupDllAction has finished and passed." returned false.
Error: Action "ExposeVistaClusteredResources" failed during execution. Error information reported during run:
Action: "ExposeVistaClusteredResources" will be marked as failed due to the following condition:
Condition "The Clustered SQL Server instance that hosts is installed." returned false.
Running: ReportChainingResults at: 2007/2/14 16:58:23
Error: Action "ReportChainingResults" threw an exception during execution.
DwLaunchMsiExec() returned : 1603
Error Code: 0x80070643 (1603)
Windows Error Text: Fatal error during installation.

Source File Name: sqlchaining\sqlchainingactions.cpp
Compiler Timestamp: Thu Nov 16 20:31:57 2006
Function Name: sqls::ReportChainingResults::perform
Source Line Number: 3416

Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_ISD02_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0001.cab" Error Code : 2
Running: UploadDrWatsonLogAction at: 2007/2/14 16:58:23
Message pump returning: 1603
</- END OF Excerpt >

Cud u please advise workaround?

cheers,

Fred

|||

Not finding much on this one, I'm going to move this to the setup forum so the experts can take a look.

Mike

|||

Hi Mike,

Thanks for your assistance.

Meanwhile I have found out the problem i.e:
1. Instead of running SQLEXPR32.EXE I have extracted the contents
into a new folder using the commandline SQLEXPR32.EXE -X

2. I have created an autostart CD from the extracted data.

3. Run the CD, autorun will open splash.hta automatically.
This installation menu will appear:

Prepare
Review hardware and software requirements
Read the release notes
Install
Run the SQL Server Installation Wizard
Run the SQL Native Client Installation Wizard
Other Information
Browse this CD
Visit the SQL Server website
Read the SQL Server license agreement
4. Run the SQL Native Client Installation Wizard, with success,
installation closes all screens.

5. Run CD again and run the SQL Server Installation Wizard
got into error: current user (the Administrator!)
has not enough access rights to write in "C:\Program Files\Microsoft SQL Server"

6. Check and change access control with Explorer "C:\Program Files\Microsoft SQL Server"
Indeed it was totally unwritable by Admin!

7. Run CD again and the SQL Server Installation Wizard is running flawless.
All steps can be finished.

cheers,
Fred

Express SP1 No version #

I downloaded the SQL Server 2005 Express SP1 product today. If I right click SQLEXPR.EXE, select Properties, and select the Version tab, the File Version value is 0.0.0.0. The version listed for the GA product was 9.0.1399.6.

Is this a problem to be concerned about?

Hi,

that shouldn′t bother you, smae for me here. Look at the digital signature date, if it is sometime in April 2006 signed (as mine is) this is the right one for you. Starting the File will also come up with a EULA shwoing the Service pack Level.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

|||

SQLEXPR.EXE is a compressed archive, you'll find version numbers on the actual files that are installed.

Regards,

Mike Wachal
SQL Express team

-
Mark the best posts as Answers!

Express SP1 No version #

I downloaded the SQL Server 2005 Express SP1 product today. If I right click SQLEXPR.EXE, select Properties, and select the Version tab, the File Version value is 0.0.0.0. The version listed for the GA product was 9.0.1399.6.

Is this a problem to be concerned about?

Hi,

that shouldn′t bother you, smae for me here. Look at the digital signature date, if it is sometime in April 2006 signed (as mine is) this is the right one for you. Starting the File will also come up with a EULA shwoing the Service pack Level.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

|||

SQLEXPR.EXE is a compressed archive, you'll find version numbers on the actual files that are installed.

Regards,

Mike Wachal
SQL Express team

-
Mark the best posts as Answers!

Express reporting services

I'd like to graduate from using access as my back-end db to using sql express however i'm concerned that I won't be able to create reports with express. Is this true? And if it is, is there some third party tool (preferable free) that will allow me to create a reports....Or can I link access to the sql server tables just for reports?

Thanks,.

Hi,

SQL Reporting Services will be added to the Express product later this year when we release Service Pack 1. You can use Reporting Services in Express to create reports against your SQL Express databases.

You can also create linked tables to your SQL database in Access and use the reporting functionality built into Access to create your reports.

Regards,

Mike Wachal
SQL Express Team

|||Hi,

Can we create reports using SQL SERVER EXPRESS, if we install crystal reports 10 (or later editions) separately ?

Express reporting services

I'd like to graduate from using access as my back-end db to using sql express however i'm concerned that I won't be able to create reports with express. Is this true? And if it is, is there some third party tool (preferable free) that will allow me to create a reports....Or can I link access to the sql server tables just for reports?

Thanks,.

Hi,

SQL Reporting Services will be added to the Express product later this year when we release Service Pack 1. You can use Reporting Services in Express to create reports against your SQL Express databases.

You can also create linked tables to your SQL database in Access and use the reporting functionality built into Access to create your reports.

Regards,

Mike Wachal
SQL Express Team

|||Hi,

Can we create reports using SQL SERVER EXPRESS, if we install crystal reports 10 (or later editions) separately ?

Express reporting services

I'd like to graduate from using access as my back-end db to using sql express however i'm concerned that I won't be able to create reports with express. Is this true? And if it is, is there some third party tool (preferable free) that will allow me to create a reports....Or can I link access to the sql server tables just for reports?

Thanks,.

Hi,

SQL Reporting Services will be added to the Express product later this year when we release Service Pack 1. You can use Reporting Services in Express to create reports against your SQL Express databases.

You can also create linked tables to your SQL database in Access and use the reporting functionality built into Access to create your reports.

Regards,

Mike Wachal
SQL Express Team

|||Hi,

Can we create reports using SQL SERVER EXPRESS, if we install crystal reports 10 (or later editions) separately ?

Express Reporting Services

I've installed SQLEXPR_ADV.EXE and SQLEXPR_TOOLKIT.EXE. Was able to reattached my own DB's and everything seems to be working fine, but....

I used reporting services extensively in SQL 2000 and would love to play with the express version. My problem is, I don't know how to access. I tried opening ReportBuilder.exe but get an error indicating "Report Builder and Report Models are not supported in this version of Reporting Services"...

I have XP Pro and there is a Reports and ReportServer under the default web sites. Do you have to have Visual Studio to utilize?

Any help would be appreciated...

Thank you...

Danno

You need to use the Business Intellegence Developer's Studio, which is installed with the SQL Express Toolkit to design your reports. It should be listed on the Start menu with the other SQL tools.

Mike

|||

Thanks Mike, there is a line item called "SQL Server Business Intelligence Development Studio". When I try to access (double-click) I get the message "Windows is searching for devenv.ext. To locate the file yourself, click browse". I did a search on my entire hard drive for devenv.exe, but it is no where to be found. I tried reinstalling the Toolkit, but get a message that I didn't change anything so nothing was installed. I made sure the BI option was chosen.

I'm assuming that the BI Deve Studio is part of SQLEXPR_TOOLKIT.EXE, is this correct. Any ideas on what I can do to get the BI Dev Studio installed?

Thank you,

Dan

|||

We are facing exactly same problem as Dan has mensioned above. We have tried installing SQLexpress with advanced feature and the tool kit on three different machines and behaviour is same. We are not been able to use Reporting services with SQL2005express. Please help.

Prashant

Express remote connection on a LAN help

I have recently installed SQL Server Express on a desktop machine for a program that we use. I am in need of adding additional machines to gain access to the server for the database. Right now, the program is working on the local machine fine. What do I need to do or enable for access on a local LAN? All machines are XP Pro on a workgroup. Also, the software we use has a remote connection manager that requires inputting the server address for the machine. Is it better to use the computer name or IP address, and then what is that format? SQL Instance name is 'uesafh' if that helps. Any other information that I can provide, please let me know.

Thanks!

"What do I need to do or enable for access on a local LAN?"

enable remote connections first, launch Sql Surface Area Config tool (comes with Express) and select the connections and services link. you will then see a Remote Connections setting, set it to enabled.

"Is it better to use the computer name or IP address, and then what is that format?"

either is fine, though I find the probabilty of renaming a server is higher than assigning it a new IP, so I generally will use IP.

TCP/IP protocol connection format: ServerName or IP[\NamedInstance][,Port# (defaults to 1433)]

if you intend on using tcp/ip just ensure it is enabled and part of the protocol rotation in Sql Config Mgr. (another tool that ships with Express)

|||Ok, thanks for the help so far.

So for the server name to connect to on the remote systems in the LAN, would the format be:

'\\192.168.0.30\uesafh' ? I had tried that before and it would connect, however the connection would drop after a couple of logins and then would not be restored by even rebooting when attempting to login.

The program we use allows for multiple users to log into it, using their own login for the program that is kept and verified in the db. Should I use a 'sa' login with a password as part of the remote connection instead of Windows Authentication?|||

192.168.0.30\uesafh (this is the correct format assuming its listening on 1433)

you should be able to use either but be aware that windows authentication is using your currently logged on account so you should be in the same domain/workgroup and have assigned access. If you are just testing it you may want to use sql authentication as opposed to windows, but i believe in sql 2005 sql authentication is also of by default.

|||Ok, thanks for the help so far. I have been reading however, that I need to install SQL express on each client computer? Is that right? Is there any necessary software installs that I need to make these connections work? I was wondering particularly about .NET 2.0, MSXML 6.0, or do I need anything to get the connection to work? I have also read that I needed to install the 213 m.b. SQL server express toolkit?

Thanks again for the help!|||

http://msdn.microsoft.com/vstudio/express/sql/download/

SQL Server Management Studio Express

SQL Server Management Studio Express is installed by running the setup program for either SQL Server Express with Advanced Services or SQL Server Express Toolkit. Before you install SQL Server Management Studio Express, you must install MSXML 6.0.

thats all you need

Express Problems

Hi All

We recently moved from FW 1.1 to FW 2.0, and 2003 to 2005, also now using SQL Express.

The problem im having is that in code ie from this function:

visual basic code:

Protected Function ExecuteNonQuery(ByVal sSql As String, ByVal eDBType As cDBSettings.DatabaseType, Optional ByVal sDatabaseName As String = "", Optional ByVal bUseTransaction As Boolean = True) As Boolean

'Executes a sql statement and returns the result

Dim oCommand As SqlCommand = Nothing

Dim oConnection As SqlConnection = Nothing

Dim oTransaction As SqlTransaction = Nothing

Dim bSuccess As Boolean

Try

oConnection = GetDBConnection(eDBType, sDatabaseName)

oConnection.Open()

If bUseTransaction Then

oTransaction = oConnection.BeginTransaction()

End If

oCommand = New SqlCommand(sSql, oConnection)

With oCommand

If bUseTransaction Then

.Transaction = oTransaction

End If

.ExecuteNonQuery()

If bUseTransaction Then

oTransaction.Commit()

End If

End With

bSuccess = True

Catch e As Exception

If Not oTransaction Is Nothing Then

oTransaction.Rollback()

End If

bSuccess = False

Finally

If Not oTransaction Is Nothing Then oTransaction.Dispose()

If Not oCommand Is Nothing Then oCommand.Dispose()

If Not oConnection Is Nothing Then oConnection.Close() : oConnection.Dispose()

oCommand = Nothing

oConnection = Nothing

oTransaction = Nothing

End Try

Return bSuccess

End Function


Running this SQL statement:

visual basic code:
if (SELECT DATABASEPROPERTYEX('GateKeeper_1014', 'UserAccess')) = 'MULTI_USER' exec sp_dboption N'GateKeeper_1014', N'dbo use only', N'true'

The problem throws an Error that i must declare a scalar variable, but i pasted that into the SQL Manager and it runs.

So i put sql.tolower and i get the problem that it cannot find gatekeeper_1014, but again if i paste this into the SQL Manager it runs fine.

Also the fact that other developers in my office having the same setup some require uppercase SQL and some require them to be lower on non reserved words, as soon as i have reserved words lower case it throughs a general SQL error.

I have found that the colliation might be the issue but i have tried the compatibility mode on the Express install but still no avail!

If anyone can shed some light on this or put me in the direction of some information, i would be grateful.

Regards

Danny

Hi Danny,

There are differences between running a T-SQL command in a query window and trunning it using a SqlCommand object. (I'm guessing you're using a SqlCommand.) I find that it's easier to run single statements in a SqlCommand at a time. Here is a sample that does what you want:

Sub Main()

Dim cnn As SqlConnection

Dim cmd As SqlCommand

cnn = New SqlConnection("Data Source=.\sqlexpress;Database=AdventureWorks;Integrated Security=True")

cnn.Open()

cmd = New SqlCommand("SELECT DATABASEPROPERTYEX('AdventureWorks', 'UserAccess')")

cmd.Connection = cnn

Dim s As String

s = cmd.ExecuteScalar()

If s = "MULTI_USER" Then

cmd.CommandText = "sp_dboption N'AdventureWorks', N'dbo use only', N'true'"

cmd.ExecuteNonQuery()

End If

cnn.Close()

End Sub

Regards,

Mike Wachal
SQL Express team

-
Mark the best posts as Answers!

Express Manager for Sept CTP

Does anyone know if there will be a version of Sql Express Manager (XM) for the September CTP?

Regards

Graham

There will not, no|||Any idea of what product will replace it?

|||A lite version of Management Studio.|||Good to know. Thanks.
Scott

Express Manager for Sept CTP

Does anyone know if there will be a version of Sql Express Manager (XM) for the September CTP?

Regards

Graham

There will not, no|||Any idea of what product will replace it?

|||A lite version of Management Studio.|||Good to know. Thanks.
Scott

Express Manager download for RTM version of SQLServer Express

Has MS updated the Express Manager tool for the RTM version of SQLServer Express? It's a great tool and not having it causes so much pain (I have to use the command line tools!).

Thanks in advance!We're working on an update to the Express Manager. We expect to release a Community Technology Preview of it by the end of the year. In the mean time your options are to use the command line tools, use Visual Studio, or acquire the Developer or Evaluation Editions of SQL Server 2005 and use the full-blown Management Studio.

Dan|||I tried to install the client tools from SQL Server 2005 developer edition but the installer for this (after downloading another 2.8GB!) says components are already installed and cannot be upgraded (or message similar to this).

I'll use the command line tools I guess Smile

Thanks anyways!

Express Manager / Management Studio Express

When will the express manager be available for the msdn version that is scheduled to ship later this month. If express manager isn't going to ship then what tool will allow me to create users in my express 2005 database.I'm wondering that also. I think I heard something about MS dropping Express Manager.|||We've dropped Express Manager. Instead, you can download and use SQL Server Management Studio Express to manage your Express servers. SSMSE is a subest of the full Management Studio tailored for SQL Server Express functionality. SSMSE can also connect to uplevel SQL Server 2005 servers, SQL Server 2000 servers, and MSDE 2000 servers.

You can download it from MSDN here: http://msdn.microsoft.com/vstudio/express/sql/ Look for the "Free Management Tool" paragraph on the page. It has a link to the Management Studio Express download page.

A few things to be aware of:

First, Management Studio Express is currently a Community Technology Preview, so there are still a few minor defects that remain to be fixed before it formally ships in the first half of 2006. If you use SSMSE, you can use this MSDN Forum to provide feedback. Issues raised on these forums have added weight with the dev team when it comes to prioritizing changes.

Second, Management Studio Express cannot run side-by-side with SQL Server 2005 Management Studio. SSMSE is supposed to have an error message that pops up telling you to use Management Studio if it detects the full product on your machine, but this appears to be broken for many people, for whom nothing happens at all when the try to start Management Studio Express on machines that have a version of the full Management Studio installed.|||Thanks for the info and the link!|||After reading a number of posts and trying out SSMSE, I would have to say that you have done an excellent job on 2005.

Dave
Retired SQL Sever DBA with 35+ years experience|||

Hi there.

I have just installed the Express editions of VB and SQL.However, I can't seem to find an IDE for SQL Server. I have been able to create a database through VB, but not directly in SQL Express as there is no way into a UI. Is this normal?

I would like to create and manage databases independently of VB and VWD and then connect to them in the way it was probably done before 2005. Is this possible? Do I have to install the SQL Server Management Studio Express (SSMSE)?

Many thanks in advance,

Chris

By the way, very impressed with the whole Express Edition initiative and with the tools themselves. It's a brave move. Well done to all involved. I'm sure these editions will help to ensure .NET dominance over other technologies for years to come.

|||You will want to download and install SSMSE. Here's a link to the November CTP of SSMSE. It will allow you to run SQL scripts to create, manage and query databases.|||

That's great. Thanks for your help.

Chris

|||

I downloaded and tried Management Studio Express because I need a substitute for Query Analyzer for users to run adhoc queries and save the results to files. This looks good, but is is a Community Technology Preview November 2005 version and it states that it is an unsupported pre-release version. Is there a RTM version available? If not will there be one? Can I give this to power users as a substitute for the Query Analyzer?

|||

There is no RTM version of Management Studio Express yet. We do plan to release a final version soon.

Management Studio is intended to be a replacement for Query Analyzer 2000 and SQL Enterprise Manager 2000, so it should be appropriate for your power users.

Regards,

Steve

|||Thanks Steve. Is there any target date yet for the RTM version of Management Studio Express? I need something very soon for a production system.

Express Manager

Hi all,
I've just downloaded SQL Server 2005 Express and I'm wondering what's
happened to Express Manager? Apparently it's meant to be available as
a separate download? Is it even available yet and if not when's it
likely to be out?
Cheers,
Simon
hi Simon,
"Simon Johnson" <simon.johnson@.gmail.com> ha scritto nel messaggio
news:f03d8ae0.0409050700.59b2916d@.posting.google.c om...
> Hi all,
> I've just downloaded SQL Server 2005 Express and I'm wondering what's
> happened to Express Manager? Apparently it's meant to be available as
> a separate download? Is it even available yet and if not when's it
> likely to be out?
eXpress Manager will be available for download in the next future... at the
moment you can resort on a free Query Analyzer replacement you can get for
free at http://www.tegels.org/qara/#dl
please post messages about SQLExpress and SQL Server 2005 in the related
beta newsgroup
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||> eXpress Manager will be available for download in the next future... at the
> moment you can resort on a free Query Analyzer replacement you can get for
> free at http://www.tegels.org/qara/#dl
> please post messages about SQLExpress and SQL Server 2005 in the related
> beta newsgroup
Thanks very much.. What's the full name to the beta newsgroups?
Cheers,
Simon.
|||hi Simon,
"Simon Johnson" <simon.johnson@.gmail.com> ha scritto nel messaggio
news:f03d8ae0.0409060016.79e31247@.posting.google.c om...[vbcol=seagreen]
the[vbcol=seagreen]
for
> Thanks very much.. What's the full name to the beta newsgroups?
>
please go to
http://communities.microsoft.com/new...r2005&slcid=us
additional inforamation are provided to access the NGs via Outlook too
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Express Manager

When will the express manager be available for the msdn version that is scheduled to ship later this month. If express manager isn't going to ship then what tool will allow me to create users in my express 2005 database.I'm wondering that also. I think I heard something about MS dropping Express Manager.|||We've dropped Express Manager. Instead, you can download and use SQL Server Management Studio Express to manage your Express servers. SSMSE is a subest of the full Management Studio tailored for SQL Server Express functionality. SSMSE can also connect to uplevel SQL Server 2005 servers, SQL Server 2000 servers, and MSDE 2000 servers.

You can download it from MSDN here: http://msdn.microsoft.com/vstudio/express/sql/ Look for the "Free Management Tool" paragraph on the page. It has a link to the Management Studio Express download page.

A few things to be aware of:

First, Management Studio Express is currently a Community Technology Preview, so there are still a few minor defects that remain to be fixed before it formally ships in the first half of 2006. If you use SSMSE, you can use this MSDN Forum to provide feedback. Issues raised on these forums have added weight with the dev team when it comes to prioritizing changes.

Second, Management Studio Express cannot run side-by-side with SQL Server 2005 Management Studio. SSMSE is supposed to have an error message that pops up telling you to use Management Studio if it detects the full product on your machine, but this appears to be broken for many people, for whom nothing happens at all when the try to start Management Studio Express on machines that have a version of the full Management Studio installed.|||Thanks for the info and the link!|||After reading a number of posts and trying out SSMSE, I would have to say that you have done an excellent job on 2005.

Dave
Retired SQL Sever DBA with 35+ years experience|||

Hi there.

I have just installed the Express editions of VB and SQL.However, I can't seem to find an IDE for SQL Server. I have been able to create a database through VB, but not directly in SQL Express as there is no way into a UI. Is this normal?

I would like to create and manage databases independently of VB and VWD and then connect to them in the way it was probably done before 2005. Is this possible? Do I have to install the SQL Server Management Studio Express (SSMSE)?

Many thanks in advance,

Chris

By the way, very impressed with the whole Express Edition initiative and with the tools themselves. It's a brave move. Well done to all involved. I'm sure these editions will help to ensure .NET dominance over other technologies for years to come.

|||You will want to download and install SSMSE. Here's a link to the November CTP of SSMSE. It will allow you to run SQL scripts to create, manage and query databases.|||

That's great. Thanks for your help.

Chris

|||

I downloaded and tried Management Studio Express because I need a substitute for Query Analyzer for users to run adhoc queries and save the results to files. This looks good, but is is a Community Technology Preview November 2005 version and it states that it is an unsupported pre-release version. Is there a RTM version available? If not will there be one? Can I give this to power users as a substitute for the Query Analyzer?

|||

There is no RTM version of Management Studio Express yet. We do plan to release a final version soon.

Management Studio is intended to be a replacement for Query Analyzer 2000 and SQL Enterprise Manager 2000, so it should be appropriate for your power users.

Regards,

Steve

|||Thanks Steve. Is there any target date yet for the RTM version of Management Studio Express? I need something very soon for a production system.

Express Manager

When will the express manager be available for the msdn version that is scheduled to ship later this month. If express manager isn't going to ship then what tool will allow me to create users in my express 2005 database.I'm wondering that also. I think I heard something about MS dropping Express Manager.|||We've dropped Express Manager. Instead, you can download and use SQL Server Management Studio Express to manage your Express servers. SSMSE is a subest of the full Management Studio tailored for SQL Server Express functionality. SSMSE can also connect to uplevel SQL Server 2005 servers, SQL Server 2000 servers, and MSDE 2000 servers.

You can download it from MSDN here: http://msdn.microsoft.com/vstudio/express/sql/ Look for the "Free Management Tool" paragraph on the page. It has a link to the Management Studio Express download page.

A few things to be aware of:

First, Management Studio Express is currently a Community Technology Preview, so there are still a few minor defects that remain to be fixed before it formally ships in the first half of 2006. If you use SSMSE, you can use this MSDN Forum to provide feedback. Issues raised on these forums have added weight with the dev team when it comes to prioritizing changes.

Second, Management Studio Express cannot run side-by-side with SQL Server 2005 Management Studio. SSMSE is supposed to have an error message that pops up telling you to use Management Studio if it detects the full product on your machine, but this appears to be broken for many people, for whom nothing happens at all when the try to start Management Studio Express on machines that have a version of the full Management Studio installed.|||Thanks for the info and the link!|||After reading a number of posts and trying out SSMSE, I would have to say that you have done an excellent job on 2005.

Dave
Retired SQL Sever DBA with 35+ years experience|||

Hi there.

I have just installed the Express editions of VB and SQL.However, I can't seem to find an IDE for SQL Server. I have been able to create a database through VB, but not directly in SQL Express as there is no way into a UI. Is this normal?

I would like to create and manage databases independently of VB and VWD and then connect to them in the way it was probably done before 2005. Is this possible? Do I have to install the SQL Server Management Studio Express (SSMSE)?

Many thanks in advance,

Chris

By the way, very impressed with the whole Express Edition initiative and with the tools themselves. It's a brave move. Well done to all involved. I'm sure these editions will help to ensure .NET dominance over other technologies for years to come.

|||You will want to download and install SSMSE. Here's a link to the November CTP of SSMSE. It will allow you to run SQL scripts to create, manage and query databases.|||

That's great. Thanks for your help.

Chris

|||

I downloaded and tried Management Studio Express because I need a substitute for Query Analyzer for users to run adhoc queries and save the results to files. This looks good, but is is a Community Technology Preview November 2005 version and it states that it is an unsupported pre-release version. Is there a RTM version available? If not will there be one? Can I give this to power users as a substitute for the Query Analyzer?

|||

There is no RTM version of Management Studio Express yet. We do plan to release a final version soon.

Management Studio is intended to be a replacement for Query Analyzer 2000 and SQL Enterprise Manager 2000, so it should be appropriate for your power users.

Regards,

Steve

|||Thanks Steve. Is there any target date yet for the RTM version of Management Studio Express? I need something very soon for a production system.

Express Manager

When will the express manager be available for the msdn version that is scheduled to ship later this month. If express manager isn't going to ship then what tool will allow me to create users in my express 2005 database.I'm wondering that also. I think I heard something about MS dropping Express Manager.|||We've dropped Express Manager. Instead, you can download and use SQL Server Management Studio Express to manage your Express servers. SSMSE is a subest of the full Management Studio tailored for SQL Server Express functionality. SSMSE can also connect to uplevel SQL Server 2005 servers, SQL Server 2000 servers, and MSDE 2000 servers.

You can download it from MSDN here: http://msdn.microsoft.com/vstudio/express/sql/ Look for the "Free Management Tool" paragraph on the page. It has a link to the Management Studio Express download page.

A few things to be aware of:

First, Management Studio Express is currently a Community Technology Preview, so there are still a few minor defects that remain to be fixed before it formally ships in the first half of 2006. If you use SSMSE, you can use this MSDN Forum to provide feedback. Issues raised on these forums have added weight with the dev team when it comes to prioritizing changes.

Second, Management Studio Express cannot run side-by-side with SQL Server 2005 Management Studio. SSMSE is supposed to have an error message that pops up telling you to use Management Studio if it detects the full product on your machine, but this appears to be broken for many people, for whom nothing happens at all when the try to start Management Studio Express on machines that have a version of the full Management Studio installed.|||Thanks for the info and the link!|||After reading a number of posts and trying out SSMSE, I would have to say that you have done an excellent job on 2005.

Dave
Retired SQL Sever DBA with 35+ years experience|||

Hi there.

I have just installed the Express editions of VB and SQL.However, I can't seem to find an IDE for SQL Server. I have been able to create a database through VB, but not directly in SQL Express as there is no way into a UI. Is this normal?

I would like to create and manage databases independently of VB and VWD and then connect to them in the way it was probably done before 2005. Is this possible? Do I have to install the SQL Server Management Studio Express (SSMSE)?

Many thanks in advance,

Chris

By the way, very impressed with the whole Express Edition initiative and with the tools themselves. It's a brave move. Well done to all involved. I'm sure these editions will help to ensure .NET dominance over other technologies for years to come.

|||You will want to download and install SSMSE. Here's a link to the November CTP of SSMSE. It will allow you to run SQL scripts to create, manage and query databases.|||

That's great. Thanks for your help.

Chris

|||

I downloaded and tried Management Studio Express because I need a substitute for Query Analyzer for users to run adhoc queries and save the results to files. This looks good, but is is a Community Technology Preview November 2005 version and it states that it is an unsupported pre-release version. Is there a RTM version available? If not will there be one? Can I give this to power users as a substitute for the Query Analyzer?

|||

There is no RTM version of Management Studio Express yet. We do plan to release a final version soon.

Management Studio is intended to be a replacement for Query Analyzer 2000 and SQL Enterprise Manager 2000, so it should be appropriate for your power users.

Regards,

Steve

|||Thanks Steve. Is there any target date yet for the RTM version of Management Studio Express? I need something very soon for a production system.

Express installation fails with "invalid installation package"

I get an error when trying to install the SQL Native Client. It says it cannot find the installation package and to use a valid copy of 'sqlncli.msi'. I've downloaded the Express setup twice and get the same error from both of them.
I'm attempting this in a VMWare session setup for Windows 2K, Advanced Server. I am trying to test my installation and setup procedures. This is not a production setup, just install testing and documentation. I have allocated only 272MB to the VMWare session, which is why the system doesn't meet the recommended settings.
Any help would be greatly appreciated.
Below is the Summary.txt output file.
Microsoft SQL Server 2005 9.00.2047.00
==============================
OS Version : Microsoft Windows 2000 Advanced Server Service Pack 4 (Build 2195)
Time : Wed May 03 09:54:23 2006

CPCWIN2KVM1 : The current system does not meet recommended hardware requirements for this SQL Server release. For detailed hardware requirements, see the readme file or SQL Server Books Online.
Machine : CPCWIN2KVM1
Product : Microsoft SQL Server Setup Support Files (English)
Product Version : 9.00.2047.00
Install : Successful
Log File : c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0003_CPCWIN2KVM1_SQLSupport_1.log
--
Machine : CPCWIN2KVM1
Product : SQL Native Client
Error : An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'.
--
Machine : CPCWIN2KVM1
Product : Microsoft SQL Server Native Client
Product Version : 9.00.2047.00
Install : Failed
Log File : c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0003_CPCWIN2KVM1_SQLNCLI_1.log
Last Action : InstallFinalize
Error String : An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'.
Error Number : 1706
--
Machine : CPCWIN2KVM1
Product : Microsoft SQL Server VSS Writer
Product Version : 9.00.2047.00
Install : Successful
Log File : c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0003_CPCWIN2KVM1_SqlWriter_1.log
--
Machine : CPCWIN2KVM1
Product : MSXML 6.0 Parser
Product Version : 6.00.3883.8
Install : Successful
Log File : c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0003_CPCWIN2KVM1_MSXML6_1.log
--
Remove the Native Client in the control panel/add remove programs and rerun the installation.|||

Let us know if this resolved your issue. Feel free to mark the thread as answered if it did.

If you're still having problems I can move this thread to the Setup group to see if they have some ideas.

Regards,

Mike Wachal
SQL Express team

-
Check out my tips for getting your answer faster and how to ask a good question: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=307712&SiteID=1

|||

I was having the same problem. I removed the Native Client in the control panel and all seems to be working fine now.

Alex

Express Installation

Hi,

I have tried to install the SQL 2005 Server Express and get the following message:

Your operating system does not meet service pack level requiements for this SQL server release. Install the service pack.

Can anyone tell me what service pack it will be and where I can get it.

hi,

please have a look at http://www.microsoft.com/sql/editions/express/sysreqs.mspx

regards

|||

What is the service pack of Windows where you are trying to install the SQLExpress?

Service packs can be obtained from MS download site.

express EM

Hi, is it any EM for SQL 2005 Express Edition? how to view the data? Thanks.http://www.microsoft.com/downloads/...&displaylang=en
http://www.aspfaq.com/2442
"js" <js@.someone.com> wrote in message
news:u6YkCnzKGHA.1076@.TK2MSFTNGP10.phx.gbl...
> Hi, is it any EM for SQL 2005 Express Edition? how to view the data?
> Thanks.
>

Express Edition, Reporting Services, and Licensing

Hello,

From reading the licensing considerations page [1], my understanding is that if my environment is 2 servers - an IIS Server and a separate SQL Server Std - I will need a 2nd license of SQL Server to run Reporting Services on my IIS Server? Is this correct? If so, would a license of SQL Server Express Edition w/Advanced Services satisfy the second license requirement, or would I need a license to match the database server?

Essentially, what is the recommended guidance for Reporting Services and Web Applications? It's a known best practice that, for performance, run SQL Server on a dedicated machine separate from IIS. Is it recommended that the database server also serve the reports?

[1] http://www.microsoft.com/sql/howtobuy/howtolicensers.mspx

Thanks,

The definitive answer for licensing issues is to call the licensing folks at:

Licensing –VL Contact
(800) 426-9400

|||

Hi,

"Is it recommended that the database server also serve the reports?"

there is no no yes or no for this, cause this depends on your workload and the amount of licences you want to spend on.

For the first qestions you ask, the scenario mentioned is not possible as you are only allowed to query and report data from the local SQL Server database.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||

Jens K. Suessmeyer wrote:

"Is it recommended that the database server also serve the reports?"

there is no no yes or no for this, cause this depends on your workload and the amount of licences you want to spend on.

Jens,

Thanks for your reply. I take it by workload, you are referring to combined/overall workload, not just Reporting Services vs. Transactional/Operational, correct? Obviously, that would needed to be weighed into the decision.

Thanks,|||Exactly.

Jens K. Suessmeyer.

http://www.sqlserver2005.de|||

Just a point from your initial question...

You can not use Express Advanced to bypass the licensing for SQL Standard Edition. Every person or service connecting to Standard Edition must be properly licensed either by CAL or Proc License. Using Reporting Services from Express Advanced doesn't change the licensing requirements for Standard.

Mike

|||

Mike Wachal - MSFT wrote:

Just a point from your initial question...

You can not use Express Advanced to bypass the licensing for SQL Standard Edition. Every person or service connecting to Standard Edition must be properly licensed either by CAL or Proc License. Using Reporting Services from Express Advanced doesn't change the licensing requirements for Standard.

Mike

Mike,

Thanks for your reply. I'm going to contact licensing just to be safe, but that makes sense.

Thanks,

Express Edition SP2 - How long to wait for complete installation?

Just curious if there's a reason why everytime I try to apply the Microsoft SQL Server 2005 Express Edition Service Pack 2 from Windows Update that it will sit at "Installing" and appear to do nothing (no hard drive activity, but the MSI and setup processes are chewing a little bit of CPU time). How long should I give this update to complete? I am running a 2-CPU dual-core Xeon 3.0GHz w/ 2GB of RAM setup, so I would have thought it would be completed very quickly. :(

Edit:

Disregard; I had to wait for a full 15 minutes! :OFifteen minutes isn't a 'unusual' amount of time. Depends upon what activity is occuring on the computer.|||I was surprised because nothing else was chewing CPU and Firefox was the only other application open besides IE7 running the Microsoft Update.

Express Edition and Report Builder

Hi all,
Little question for you all: does the SQL express (Advanced) edition come
with end user report builder tools? Will it be possible for an end user to
build reports itself?
Thanks in advance,
PeterNo, the semantic modelling tool which builds the report models used by
Report Builder is not included in SQL Server 2005 Express, even with
the "Advanced Services" add-on, which gives you some of Reporting
Services, just not all of it.
-Eric
On Thu, 17 Aug 2006 16:53:14 +0200, "Peter Bons" <joepie@.blakjsd.bl>
wrote:
>Hi all,
>
>Little question for you all: does the SQL express (Advanced) edition come
>with end user report builder tools? Will it be possible for an end user to
>build reports itself?
>Thanks in advance,
>Peter
>

Express Edition - limitations?

Hello -
Is the Express Edition able to handle 300 simultaneous users that are only
adding new records? Can it handle a couple million records?
Any help will be greatly appreciated!
--
SandyExpress Edition is limited to 1 CPU, 1 GB of RAM, and 4 GB database size.
What's the row size of the table with a couple of million rows? When
populated, will the database exceed 4 GB? That would be my number one
concern.
Other than that, I think it's really more a hardware question--do you have a
high-speed CPU? High-speed RAM? High-speed hard drives (RAID-1+0)?
Multiple physical drives to provide separate spindles for the O/S, databases
,
and transaction log file?
You can always start with Express and upgrade when needed to Workgroup or
Standard edtion.
Hope that helps,
Joe
"Sandy" wrote:

> Hello -
> Is the Express Edition able to handle 300 simultaneous users that are only
> adding new records? Can it handle a couple million records?
> Any help will be greatly appreciated!
> --
> Sandy|||P.S. And it depends on the application too. In a typical day, how many
records will the average user insert into the database? And more
importantly, over what time period? For example, if all of the activity hit
s
at the end of a shift, you might have a problem. If it's spread over the
entire shift, it may work fine.
Based on 300 users creating 2 million rows in a year, thats 2,000,000 rows /
300 users = 6667 rows per user per year. 6667 / 235 work days = 28 rows per
day. (To account for vacation and holidays, I assumed 47 work ws * 5 day
s
per w = 235 work days.) So, 300 users * 28 rows = 8,400 rows per day.|||Hi Joe -
Thanks for your reply. The row size is 567 bytes. I calculated the total
GB to be 1.6, assuming 3,000,000 rows. I should be relatively safe in that
regard, if the database size limitation is 4 GB and my calculations are
correct.
The activity should be spread throughout the entire shift, so that should be
okay.
What would you suggest for a minimum in the way of CPU, RAM and high-speed
hard drives? Suggested OS?
--
Sandy
"Joe from WI" wrote:

> P.S. And it depends on the application too. In a typical day, how many
> records will the average user insert into the database? And more
> importantly, over what time period? For example, if all of the activity h
its
> at the end of a shift, you might have a problem. If it's spread over the
> entire shift, it may work fine.
> Based on 300 users creating 2 million rows in a year, thats 2,000,000 rows
/
> 300 users = 6667 rows per user per year. 6667 / 235 work days = 28 rows p
er
> day. (To account for vacation and holidays, I assumed 47 work ws * 5 d
ays
> per w = 235 work days.) So, 300 users * 28 rows = 8,400 rows per day.|||SQL Server Express supports Windows 2000 SP4, Windows XP SP1, and Windows
2003. I'd recommend Windows Server 2003 - Standard Edition. If that doesn'
t
fit your budget, Windows XP Pro could be used but it's not as robust.
You can only have 1 physical CPU so I'd recommend the fastest you can
afford. Keep in mind that Microsoft licenses by the physical CPU so you can
purchase 1 dual core CPU and still be compliant with licensing. A dual-core
runs a little slower but I believe it will give overall better performance
when other services are competing for the CPU.
Top-end AMD's include Athlon 64 X2 4800+, Opteron 280 (dual core), and
Athlon 64 4000+.
Top-end Intel's include Pentium D 840 (dual core), Pentium 4 670, and
Pentium 4 Extreme Edition, and XEON EM64T.
CPU choice is heavily dependent on what motherboard you have/will have. My
personal favorite is the AMD Athlon 64 X2 4800+.
If the computer is only used for SQL Server and there are no extensive
query's, etc., then I'd recommend 2 GB of RAM. If you will be querying thos
e
3 million rows, aggregates (SUM, AVG, etc.), processing data, etc., I'd
recommend 4 GB of RAM. If you can only afford 1 or 2 GB, buy 1 GB sticks
(assuming the motherboard will support them) and hopefully, you'll have open
slots to add more memory later.
The speed of the memory is determined by what the motherboard will support.
If it's AMD, you'll be looking at DDR400 memory. If it's Intel, DDR400,
perhaps DDR2, and perhaps higher clock speeds. Intel often sounds faster bu
t
Intel CPU's use an external memory controller. AMD's have the memory
controller integrated into the CPU for very fast memory access.
Hard drives are dependent on budget. Fastest is Ultra320 SCSI 15,000 RPM
drives. In the SATA world, Western Digital Raptor 74GB SATA 10,000 RPM are
the fastest, primarily due to the access time of 4.5ms. (Other SATA drives
like ATA/IDE run at 7200 RPM and access data around 8.5 to 9ms.) If you
cannot afford SCSI, I'd highly recommend the WD Raptors.
An PCI/PCI-e RAID controller that has the RAID processor built into it is
the fastest solution. Controllers integrated into the motherboard utilize
the CPU for processing and are a bottleneck. One solution is to use the
motherboard HDD controller for the O/S drives in a RAID-1 (mirroring) array
as the O/S drive doesn't get heavy pounding. Then, use a separate controlle
r
for the database drives.
If you don't want to loose data, you'll need to protect, at a minumum, the
database log file (a.k.a. the transaction log) with RAID-1 (mirroring) or
RAID-1+0. Do NOT use RAID-5. In my opinion, too much overhead to calculate
parity. The log file is written to serially so if you can dedicate a
separate pair of drives, there will be minimum hard drive head movement and
will give you the best throughput.
If you can't afford for the box to be down, you'll need RAID-1 or RAID-1+0
for the O/S and for the database. Do NOT use RAID-5. In my opinion, too
much overhead to calculate and re-calculate (when data changes) parity
information.
Sorry for the long post. Hope that helps,
Joe
"Sandy" wrote:
> Hi Joe -
> Thanks for your reply. The row size is 567 bytes. I calculated the total
> GB to be 1.6, assuming 3,000,000 rows. I should be relatively safe in tha
t
> regard, if the database size limitation is 4 GB and my calculations are
> correct.
> The activity should be spread throughout the entire shift, so that should
be
> okay.
> What would you suggest for a minimum in the way of CPU, RAM and high-speed
> hard drives? Suggested OS?
> --
> Sandy
>
> "Joe from WI" wrote:
>|||Note that Express is 32 bit only so a 64 bit processor isn't of much use to
an Express installation.
I think you biggest issue with that many simultaneous users will be the 1GB
limit on memory. Each user requires some memory so a lot of users will
stretch the 1GB limit. If the load from each user is fairly light, you
might want to close the connection after each insert. Otherwise, I doubt
that you will get adequate performance from Express.
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Joe from WI" <JoefromWI@.discussions.microsoft.com> wrote in message
news:0FC7ADE0-75A2-4D38-B826-A1BE395F31B5@.microsoft.com...
> SQL Server Express supports Windows 2000 SP4, Windows XP SP1, and Windows
> 2003. I'd recommend Windows Server 2003 - Standard Edition. If that
> doesn't
> fit your budget, Windows XP Pro could be used but it's not as robust.
> You can only have 1 physical CPU so I'd recommend the fastest you can
> afford. Keep in mind that Microsoft licenses by the physical CPU so you
> can
> purchase 1 dual core CPU and still be compliant with licensing. A
> dual-core
> runs a little slower but I believe it will give overall better performance
> when other services are competing for the CPU.
> Top-end AMD's include Athlon 64 X2 4800+, Opteron 280 (dual core), and
> Athlon 64 4000+.
> Top-end Intel's include Pentium D 840 (dual core), Pentium 4 670, and
> Pentium 4 Extreme Edition, and XEON EM64T.
> CPU choice is heavily dependent on what motherboard you have/will have.
> My
> personal favorite is the AMD Athlon 64 X2 4800+.
> If the computer is only used for SQL Server and there are no extensive
> query's, etc., then I'd recommend 2 GB of RAM. If you will be querying
> those
> 3 million rows, aggregates (SUM, AVG, etc.), processing data, etc., I'd
> recommend 4 GB of RAM. If you can only afford 1 or 2 GB, buy 1 GB sticks
> (assuming the motherboard will support them) and hopefully, you'll have
> open
> slots to add more memory later.
> The speed of the memory is determined by what the motherboard will
> support.
> If it's AMD, you'll be looking at DDR400 memory. If it's Intel, DDR400,
> perhaps DDR2, and perhaps higher clock speeds. Intel often sounds faster
> but
> Intel CPU's use an external memory controller. AMD's have the memory
> controller integrated into the CPU for very fast memory access.
> Hard drives are dependent on budget. Fastest is Ultra320 SCSI 15,000 RPM
> drives. In the SATA world, Western Digital Raptor 74GB SATA 10,000 RPM
> are
> the fastest, primarily due to the access time of 4.5ms. (Other SATA
> drives
> like ATA/IDE run at 7200 RPM and access data around 8.5 to 9ms.) If you
> cannot afford SCSI, I'd highly recommend the WD Raptors.
> An PCI/PCI-e RAID controller that has the RAID processor built into it is
> the fastest solution. Controllers integrated into the motherboard utilize
> the CPU for processing and are a bottleneck. One solution is to use the
> motherboard HDD controller for the O/S drives in a RAID-1 (mirroring)
> array
> as the O/S drive doesn't get heavy pounding. Then, use a separate
> controller
> for the database drives.
> If you don't want to loose data, you'll need to protect, at a minumum, the
> database log file (a.k.a. the transaction log) with RAID-1 (mirroring) or
> RAID-1+0. Do NOT use RAID-5. In my opinion, too much overhead to
> calculate
> parity. The log file is written to serially so if you can dedicate a
> separate pair of drives, there will be minimum hard drive head movement
> and
> will give you the best throughput.
> If you can't afford for the box to be down, you'll need RAID-1 or RAID-1+0
> for the O/S and for the database. Do NOT use RAID-5. In my opinion, too
> much overhead to calculate and re-calculate (when data changes) parity
> information.
> Sorry for the long post. Hope that helps,
> Joe
> "Sandy" wrote:
>|||Thank you very much, Joe!
--
Sandy
"Joe from WI" wrote:
> SQL Server Express supports Windows 2000 SP4, Windows XP SP1, and Windows
> 2003. I'd recommend Windows Server 2003 - Standard Edition. If that does
n't
> fit your budget, Windows XP Pro could be used but it's not as robust.
> You can only have 1 physical CPU so I'd recommend the fastest you can
> afford. Keep in mind that Microsoft licenses by the physical CPU so you c
an
> purchase 1 dual core CPU and still be compliant with licensing. A dual-co
re
> runs a little slower but I believe it will give overall better performance
> when other services are competing for the CPU.
> Top-end AMD's include Athlon 64 X2 4800+, Opteron 280 (dual core), and
> Athlon 64 4000+.
> Top-end Intel's include Pentium D 840 (dual core), Pentium 4 670, and
> Pentium 4 Extreme Edition, and XEON EM64T.
> CPU choice is heavily dependent on what motherboard you have/will have. M
y
> personal favorite is the AMD Athlon 64 X2 4800+.
> If the computer is only used for SQL Server and there are no extensive
> query's, etc., then I'd recommend 2 GB of RAM. If you will be querying th
ose
> 3 million rows, aggregates (SUM, AVG, etc.), processing data, etc., I'd
> recommend 4 GB of RAM. If you can only afford 1 or 2 GB, buy 1 GB sticks
> (assuming the motherboard will support them) and hopefully, you'll have op
en
> slots to add more memory later.
> The speed of the memory is determined by what the motherboard will support
.
> If it's AMD, you'll be looking at DDR400 memory. If it's Intel, DDR400,
> perhaps DDR2, and perhaps higher clock speeds. Intel often sounds faster
but
> Intel CPU's use an external memory controller. AMD's have the memory
> controller integrated into the CPU for very fast memory access.
> Hard drives are dependent on budget. Fastest is Ultra320 SCSI 15,000 RPM
> drives. In the SATA world, Western Digital Raptor 74GB SATA 10,000 RPM ar
e
> the fastest, primarily due to the access time of 4.5ms. (Other SATA drive
s
> like ATA/IDE run at 7200 RPM and access data around 8.5 to 9ms.) If you
> cannot afford SCSI, I'd highly recommend the WD Raptors.
> An PCI/PCI-e RAID controller that has the RAID processor built into it is
> the fastest solution. Controllers integrated into the motherboard utilize
> the CPU for processing and are a bottleneck. One solution is to use the
> motherboard HDD controller for the O/S drives in a RAID-1 (mirroring) arra
y
> as the O/S drive doesn't get heavy pounding. Then, use a separate control
ler
> for the database drives.
> If you don't want to loose data, you'll need to protect, at a minumum, the
> database log file (a.k.a. the transaction log) with RAID-1 (mirroring) or
> RAID-1+0. Do NOT use RAID-5. In my opinion, too much overhead to calcula
te
> parity. The log file is written to serially so if you can dedicate a
> separate pair of drives, there will be minimum hard drive head movement an
d
> will give you the best throughput.
> If you can't afford for the box to be down, you'll need RAID-1 or RAID-1+0
> for the O/S and for the database. Do NOT use RAID-5. In my opinion, too
> much overhead to calculate and re-calculate (when data changes) parity
> information.
> Sorry for the long post. Hope that helps,
> Joe
> "Sandy" wrote:
>|||Thanks Roger!
--
Sandy
"Roger Wolter[MSFT]" wrote:

> Note that Express is 32 bit only so a 64 bit processor isn't of much use t
o
> an Express installation.
> I think you biggest issue with that many simultaneous users will be the 1G
B
> limit on memory. Each user requires some memory so a lot of users will
> stretch the 1GB limit. If the load from each user is fairly light, you
> might want to close the connection after each insert. Otherwise, I doubt
> that you will get adequate performance from Express.
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> "Joe from WI" <JoefromWI@.discussions.microsoft.com> wrote in message
> news:0FC7ADE0-75A2-4D38-B826-A1BE395F31B5@.microsoft.com...
>
>|||oops...I got carried away in my memory statement.
I recommended 2 GB of RAM because 1 GB can be utilized by SQL Server 2005
Express and the other 1 GB can be used by Windows, free space, etc. With
Express, there is no need to have more memory than 2 GB. (Unless of course,
you have other memory hungry applications on the same computer.)
The 4 GB of RAM recommendation would require Workgroup or Standard in order
to make use of it.
Sorry for the error, confusion, misstatement.
Joe
"Sandy" wrote:
> Thank you very much, Joe!
> --
> Sandy
>
> "Joe from WI" wrote:
>|||Also, Express is limited by 1 scheduler. A dual-core won't help you on the
SQL Server side of things.
"Joe from WI" wrote:
> oops...I got carried away in my memory statement.
> I recommended 2 GB of RAM because 1 GB can be utilized by SQL Server 2005
> Express and the other 1 GB can be used by Windows, free space, etc. With
> Express, there is no need to have more memory than 2 GB. (Unless of cours
e,
> you have other memory hungry applications on the same computer.)
> The 4 GB of RAM recommendation would require Workgroup or Standard in orde
r
> to make use of it.
> Sorry for the error, confusion, misstatement.
> Joe
> "Sandy" wrote:
>

express edition

Hi,
is it possible to connect to the sql server express edition from other
computer on the LAN or not?
I have tested connecting but doesn't work. I have used different
conditions but ..
thanks,
AliStart->All Programs->Microsoft SQL Server 2005->Configuration Tools->SQL
Server Surface Area Configuration
spelunk untill you fine it, the change is easy.
"Ali" <nikzad.a@.gmail.com> wrote in message
news:1192571122.912160.54820@.e34g2000pro.googlegroups.com...
> Hi,
> is it possible to connect to the sql server express edition from other
> computer on the LAN or not?
> I have tested connecting but doesn't work. I have used different
> conditions but ..
> thanks,
> Ali
>|||By default, Surface Area Configuration for Remote connections is turned off
in SQL Server 2005. Enable it first
"Ali" <nikzad.a@.gmail.com> wrote in message
news:1192571122.912160.54820@.e34g2000pro.googlegroups.com...
> Hi,
> is it possible to connect to the sql server express edition from other
> computer on the LAN or not?
> I have tested connecting but doesn't work. I have used different
> conditions but ..
> thanks,
> Ali
>|||I'd like to add a note to messages of my friends above.
If you are going to be connecting to your SQL Server Express Edition
instance, then you'll need to configure your TCP\IP or NP settings from SQL
Server Configuration Manager.
--
Ekrem Önsoy
http://www.ekremonsoy.net , http://ekremonsoy.blogspot.com
MCBDA, MCTS: SQL Server 2005, MCITP:DBA, MCSD.Net, MCSE, MCT
"Ali" <nikzad.a@.gmail.com> wrote in message
news:1192571122.912160.54820@.e34g2000pro.googlegroups.com...
> Hi,
> is it possible to connect to the sql server express edition from other
> computer on the LAN or not?
> I have tested connecting but doesn't work. I have used different
> conditions but ..
> thanks,
> Ali
>

Express Database Security

Could somebody explain to me how does database security in the SQL Server Express environment works? It would seem that there has to be some level of "interplay" between the user's basic level of authority in Windows security on the machine (e.g., "Adminstrator" vs. "User"), the implications that that has on their level of access to the hard drive location where the database file is stored, and how security is configured within the database engine.

hi,

kschlap wrote:

Could somebody explain to me how does database security in the SQL Server Express environment works? It would seem that there has to be some level of "interplay" between the user's basic level of authority in Windows security on the machine (e.g., "Adminstrator" vs. "User"), the implications that that has on their level of access to the hard drive location where the database file is stored, and how security is configured within the database engine.

first of all, the engine runs under the Windows account it has been set to, like Network Service, LocalSystem (please do not), a local account or a domain account..

usually that account related NTFS permissions are validated for OS specific tasks like creating databases, performing backup and restore operations...

interactive users do usually not have to care about NTFS related permissions as they are managed at the account running the service level..

but SQL Server obviously has a security policy... before connecting interactive users, they are checked, both for integrated security and standard SQL Server authentication, agains the internal managed "list" of granted logins...

for integrated security, a round trip to the domain controller is performed, in order to get the interactive account's SID to be checked against that list, where, for standard SQL Server authenticated connections, user's name and password credentials are required to be checked against the registered standard SQL Server logins..

once that check is fulfilled, the interactive user is granted connection to the SQL Server instance..

by default, on pre Vista operating systems, local administrators are granted connection permissions as a group login is "generated" like BUILTIN\Administrators, granting them membership to the sys_admins server role.. so all local admins inherit full permissions on that instance...

another local group is granted connection, BUILTIN\Users, but no particular permissions are granted, nor is it made member of "powerfull" server's roles..

the second phase is related to database access... all logins but sysadmin members must be granted database access as well, which resolves creating database users related to server's logins..

with no presence of a related database user, a login is not granted permissions to access databases (if not member of sysadmins server role)..

additional granularity is then obtained providing permissions at object lever (for SELECT, etc as long as EXECUTE...) and even deeper at the column level for tables and views..

at the end of the game, as long as the interactive user has been granted permissions at SQL Server level, you do not have to care about NTFS permissions, as it's the account running SQL Server that will be checked.. so you have to provide NTFS permissions for that account..

a "minor" difference in this path regards attaching already detached databases, where SQL Server resets ACL on the detached files and you, as interactive user, have to be granted permissions at the NTFS level on that files before beeing able to reattach the database..

regards|||Thank you very much.
-Kyle

Express cannot convert different data types automaticly?

I have a SQL Server 2000 database which works like a charm in my asp app. Joining tables by id columns which are of different data types (eg. int in one table and varchar in the other) is no problem with the SQL Server engine, but Native Client refuses to do so and hands me back an error. Even if columns have a slightly different collation (like Slovenian_CI_AS and SQL_Server_1250_CI_AS) SQL Express native client returns an ERROR?!!! Is it possible that Native client cannot resolve this on its own? Must I change the colattion and datatype on all my tables? Please help!!!!

Peca, developer from Serbia

If you have two columns in two tables, and one is, say PK in one table and FK on the other, then they really should be of the same datatype.

If possible, you should make changes where necessary.

I'm not familiar with Slovenian collations, but different collations may me incompatible between eachother, so there's a chance there could be errors when different collations are used at the same time.

/Kenneth

|||Yes Kenneth, you are right, but the same query works with the SQL SERVER 2000 engine and does not work with EXPRESS database engine. And the problem is that PK's cannot be of the same type in this case. "OLD" sql 2000 engine does not complain but the new one does. I just want to know if this is "solid rock rule" or I can change this behaviour and make him accept these querys?|||

Ah, I see... I haven't tried out those circumstances, so I'm sorry that I don't have a definite answer. Perhaps someone else will chime in with some insights.

/Kenneth

|||

All what you need is to specify collation explicitly in your queries while comparing charater data which collattion differ.

See ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/76763ac8-3e0d-4bbb-aa53-f5e7da021daa.htm

|||

Yes, I know that, but thank you anyway... With the collation I can live, but joining tables with different data types as pk's is a different story. If I say - join the table A with pk datatype int and table B with datatype varchar engine should do the following - join the fields that match ( values 1 -int and "1" varchar) and discard the rest (varchar like "aaa").This really works in SQL Server 2000 but not in Express (returns an error). I am developing databases for years now and I've been working on databases with millions of records and hundreds of tables. This database cannot be normalised more than it is...I'll just stick to 2000 and forget about Express...A BIG thanks to all that replied to y question!!!

|||

>>join the table A with pk datatype int and table B with datatype varchar engine should do the following - join the fields that match ( values 1 -int and "1" varchar) and discard the rest (varchar like "aaa").

Joining two tables throug int field and varchar field, MSSQL would try to convert varchar values into integer value and would generate an error as soon as 'aaa' value reached, unless you specify otherwise in your query.

|||

Agreed. That example has never worked in SQL 2000 either.
the conversion will follow the rules for datatype precedence, and the varchar will be converted to int when implicit conversion comes into play.

So, this is not some new behaviour by Express.

Small demo below from SQL Server 2000: (this is the expected behaviour)

create table #a (pk int not null, a varchar(10) not null)
create table #b (pk varchar(10) not null, b varchar(10) not null)
go
insert #a select 1, 'a'
insert #b select 1, 'b'
insert #b select 'aaa', 'b'
go
select *
from #a join #b
on #a.pk = #b.pk
go


pk a pk b
-- - - -
1 a 1 b

Server: Msg 245, Level 16, State 1, Line 1
Syntax error converting the varchar value 'aaa' to a column of data type int.

/Kenneth

|||

Kenneth, did I mention that I have the WHERE clausule? Ok, let's end this now and for all ! These are table definitions and bellow is the query that works in SQL 2000 (I can send screenshots to all that do not believe me) and DOES NOT work with EXPRESS (both your and my example).

Your example a bit rewriten:
create table #a (pk int not null, a varchar(10) not null)
create table #b (pk varchar(10) not null, b varchar(10) not null)
go

insert #a select 1, 'a'
insert #a select 2, 'b'
insert #b select 'aaa', 'be'
insert #b select '1', 'c'
insert #b select '2', 'd'

go

select * from #a ,#b
where #a.pk = #b.pk and (#b.b='c' or #b.b='g') and #a.pk in (1)
go

My example that does the same

table :KOMP_REF pk:SIFRA varchar(50)
table :VESTI pk:ID int

they are not referenced in any way (there is no explicit reference between them e.g. constraints, referencial integrity etc.)

query VESTI:
select id,headline,text,date from vesti where id=11
result:
11 heder <FONT face="Courier New".. 2005-12-23 11:51:13.107

query KOMP_REF:
select * from komp_ref
result:
...
lentro 7 4 43 11 81 1 1
11 7 4 127 -1 22 1 1
...

values 81 and 22 are of column SIFRA_KOMP so I believe that row with the value 81 should be excluded from the join by the where clausule in the query bellow

query:
select vesti.id from vesti,komp_ref
where vesti.id=komp_ref.sifra and
(komp_ref.sifra_komp=22 or komp_ref.sifra_komp=64 or komp_ref.sifra_komp=65 or
komp_ref.sifra_komp=91 or komp_ref.sifra_komp=92 or komp_ref.sifra_komp=93)
and vesti.id IN (11)

Express error msg:
Conversion failed when converting the varchar value 'lentro ' to data type int.

Database is copied from sql2000 into express (just copied files without any import procedure etc.)without any changes (I just changed the conn string in my ASP app). I understand all you said but WHY does 2000 do not report an error? Maybe that is the right question? Why is OR operator so confusing for Express? Without the or #b.b='g' even your example works in express but when I add it only SQL2000 returns a recordset? Any comments?!?

|||Sorry KeWin, I wrote Kenneth by mistake :)|||

:) No worries, Kenneth is what my mother calls me also.
(sry for the late reply)

Unfortunately I don't have the ability to try this on Express at the moment, but...
What if you tried rewriting the join ANSI style instead of the old legacy syntax.

select vesti.id
from vesti
join komp_ref
on vesti.id = komp_ref.sifra
and komp_ref.sifra_komp in ('22', '64', '65', '91', '92', '93')
and vesti.id = 11

..see if anything changes..?

/Kenneth

|||unfortunately...no... still reporting the same error... But that is to be expected since the exapmle I gave above has a 100% valid SQL syntax and there are no reasons why it would not work... And did I mention that it works with 2000? ;) (less than 2000 times daaaaa) ... If I accidentaly found a bug (hope not because it would be a huuuuuuuuge one) the boys and girls from MS owe me a beer :) thanx 4 all Kewin!