SQL Server Express ForumQuestions related to SQL Server Express, SQL Server Express with Advanced Services, and MSDE upgrade questions.© 2009 Microsoft Corporation. All rights reserved.Mon, 30 Nov 2009 09:26:32 Z4dfc1132-ed0e-4490-865b-89dcc2402af9http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/8360ba38-2fdb-49fd-b34a-303032095c51http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/8360ba38-2fdb-49fd-b34a-303032095c51dvdavid2001http://social.msdn.microsoft.com/Profile/en-US/?user=dvdavid2001Full-text Index Hang<span style="font-family:Verdana,Arial,Helvetica;color:midnightblue;font-size:x-small"><span class=spnMessageText>Hi guys,<br/> <br/> I am beginner in supporting SQL server so please guide me along. I have one strange problem in my SQL server. My SQL Server edition is Express Edition with Advanced Services SP3 - 9.00.4035.00.<br/> <br/> I am querying a table with full-text index on it. The table contains approximately 3 million records with the size of 1.5 GB.<br/> <br/> The problem is that SQL server hangs (CPU 100%) if the WHERE criteria contains both the date range as well as full-text index. I can only fix this either by restarting SQL server services or by killing the msftesql.exe manually via Task Manager.<br/> <br/> Please refer to the SQL below to the problem.<br/> <br/> Any comments on this? This is driving me nuts.<br/> <br/> Thanks<br/> David<br/> <br/> <pre><span style="font-family:Verdana,Arial,Helvetica;color:midnightblue;font-size:x-small"><span class=spnMessageText><pre><span style="font-family:courier;font-size:x-small">-- this works fine and return result <br/> select count(1)<br/> from product_pass<br/> where (CONTAINS(CUSTOMER, '&quot;*test*&quot;') OR CONTAINS(SAM_DESC, '&quot;*test*&quot;'))<br/> <br/> -- this hangs!!!<br/> select count(1)<br/> from product_pass<br/> where result_approved_dt &gt;= CONVERT(DATETIME, '11/01/09', 1) <br/> AND result_approved_dt &lt;= CONVERT(DATETIME, '11/01/09', 1) <br/> AND (CONTAINS(CUSTOMER, '&quot;*test*&quot;') OR CONTAINS(SAM_DESC, '&quot;*test*&quot;'))<br/> <br/> -- change the year to 2008, this is working fine<br/> select count(1)<br/> from product_pass<br/> where result_approved_dt &gt;= CONVERT(DATETIME, '11/01/08', 1) <br/> AND result_approved_dt &lt;= CONVERT(DATETIME, '11/01/08', 1) <br/> AND (CONTAINS(CUSTOMER, '&quot;*test*&quot;') OR CONTAINS(SAM_DESC, '&quot;*test*&quot;'))<br/> <br/> -- this also works fine<br/> select count(1)<br/> from product_pass<br/> where result_approved_dt &gt;= CONVERT(DATETIME, '11/01/09', 1) <br/> AND result_approved_dt &lt;= CONVERT(DATETIME, '11/01/09', 1)<br/> </span> </pre> </span> </span> <br/> <span style="font-family:courier;font-size:x-small"></span></pre> </span> </span>Sat, 21 Nov 2009 09:04:22 Z2009-11-30T08:42:45Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/8051dc79-b17e-4e50-bc9c-392b46254353http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/8051dc79-b17e-4e50-bc9c-392b46254353btreksqlhttp://social.msdn.microsoft.com/Profile/en-US/?user=btreksqljava.lang.classnotfoundexception:com.microsoft.sqlserver.jdbc.sqlserverdriver urgentHi,<br/> <br/> I been trying to connect remotely from windows xp computer A to windows xp computer B with sqlserver 2005 express.<br/> and get this error:<br/> java.lang.classnotfoundexception:com.microsoft.sqlserver.jdbc.sqlserverdriver<br/> <br/> Actually when setting the classpath, I dont find any sqljdbc in my Ms SQL 2005 server installation ? I have to download separately the sqljdbc 1.2 jar file.<br/> <br/> Then, have tried to set the classpath in computer A or B or both A and B <br/> CLASSPATH .;C:\Program Files\Microsoft SQL Server\sqljdbc_1.2\enu\sqljdbc.jar or<br/> CLASSPATH  C:\Program Files\Microsoft SQL Server\sqljdbc_1.2\enu\sqljdbc.jar<br/> <br/> But in vain still getting the same error. Pls help urgent, I have been trying to find solution for 1 month. <br/> <br/>  <br/> <br/> ThanksMon, 30 Nov 2009 07:51:08 Z2009-11-30T07:51:08Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c19e20ec-71f0-4fd8-984d-f4443dc05b68http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c19e20ec-71f0-4fd8-984d-f4443dc05b68ybchttp://social.msdn.microsoft.com/Profile/en-US/?user=ybcLogin as 'sa' in SQL Server Authentication modeI install SQL Server 2008 Express edition and Management Studio. It creates a user as 'sa' and the password. But the password as 'sa' is unknown. I login in Widnows Authentication mode and change the password for 'sa', but when login as 'sa' in SQL Server Authentication mode there's an error - &quot;Login failed for user 'sa'.&quot; Why? Thanks, ybcThu, 26 Nov 2009 04:07:52 Z2009-11-30T07:00:20Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f2c2c8ea-976e-4e76-9435-e8d8cfd0ef3dhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f2c2c8ea-976e-4e76-9435-e8d8cfd0ef3djwlaytonhttp://social.msdn.microsoft.com/Profile/en-US/?user=jwlaytonobject reference not set to an instance of an objectI'm trying to create a asp web site, but i keep gettings this error when I put sqldatasource on the page, I'v tried vs2008, wwd 2008 and vwd2010 beta 2 ,sql server 2008 express on a vista 64 home edition.  I create the same thing on a xp sp3 machine with the vs2008, and sql server 2008 installed and everything works as expected, I'm at a loss why I can't get is to work with my vista 64<br/><br/>Please advise<br/><br/>thanks in advanceThu, 26 Nov 2009 04:10:42 Z2009-11-30T06:40:54Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/e898fa3e-de3f-4477-8adc-6275f653320chttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/e898fa3e-de3f-4477-8adc-6275f653320cNick-Williamshttp://social.msdn.microsoft.com/Profile/en-US/?user=Nick-WilliamsConfig Manager gives error "The specified module could not be found. [0x8007007e]"I've been using SQL Server 2008 Express Edition on my development pc for several months now.  It has recently started giving me an error when I attempt to run the SQL Server Configuration Manager  (SQLServerManager10.msc).  I have uninstalled completely and reinstalled twice which has not solved the problem.  I can run the Management Studio just fine and everything works, I just can't run the Configuration Manager which is an issue.<br/> <br/> Full error message is as follows:<br/> <br/> Cannot connect to WMI provider.  You do not have permission or the server is unreachable.  Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager.<br/> The specified module could not be found. [0x8007007e]<br/> <br/> I have tried the workaround listed here: https://connect.microsoft.com/SQLServer/feedback/Workaround.aspx?FeedbackID=443459 however I did not have a sqlmgmproviderxpsp2up.mof file in my local install.  I copied the one from my production installation and ran the mofcomp.exe program successfully but it did not solve the issue.<br/> <br/> <br/>Thu, 24 Sep 2009 05:53:53 Z2009-11-30T05:55:46Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/19e88a0c-29f1-462b-9113-97f154886086http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/19e88a0c-29f1-462b-9113-97f154886086cbx1000http://social.msdn.microsoft.com/Profile/en-US/?user=cbx1000remote servicing suite honeywell version 2.14<p>hi,<br/>have problems installing Galaxy Rs software(remote servicing suite honeywell). I think it's a 32 bit version.Works with sql server 2005 express.Have following reply during installation<br/>&quot;<br/>TITLE: Microsoft SQL Server 2005 Setup<br/>------------------------------</p> <p>SQL Server 2005 Setup cannot continue because the installation package could not be opened. The installation package has a missing file, or you are running a 32-bit only Setup program on a 64-bit computer. To continue, verify the SQL Server 2005 package you are running is supported on WOW64. If you are certain that you are running a supported SQL Server 2005 package, and you continue to see this message, contact the application vendor.&quot;</p> <p><br/>For help, click: <a href="http://go.microsoft.com/fwlink?LinkID=20476&amp;ProdName=Microsoft+SQL+Server&amp;ProdVer=9.00.3042.00&amp;EvtSrc=setup.rll&amp;EvtID=50000&amp;EvtType=setup\sqlsetupactions.cpp@PerformSCCAction2@sqls::PerformSCCAction::perform@0x1119f">http://go.microsoft.com/fwlink?LinkID=20476&amp;ProdName=Microsoft+SQL+Server&amp;ProdVer=9.00.3042.00&amp;EvtSrc=setup.rll&amp;EvtID=50000&amp;EvtType=setup%5csqlsetupactions.cpp%40PerformSCCAction2%40sqls%3a%3aPerformSCCAction%3a%3aperform%400x1119f</a></p> <p>------------------------------<br/>BUTTONS:</p> <p>OK<br/>------------------------------<br/>Strange but with another software(NET2 from paxton(works also with sql 2005 express) don't have any problem.<br/><br/>Anywhone an idea?<br/>regrads<br/>pat</p>Sun, 29 Nov 2009 09:14:39 Z2009-11-30T03:49:53Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/44fb773f-1fc1-478c-9896-0a58c3f3811dhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/44fb773f-1fc1-478c-9896-0a58c3f3811dlipkee85http://social.msdn.microsoft.com/Profile/en-US/?user=lipkee85Restore user-defined filegroups<span class=spnMessageText><span style="color:#191970;font-size:x-small">Hello Everyone,<br/><br/>Here is my sql from backup filegroup to restore filegroup.<br/><br/>--set database to full recovery<br/>USE master;<br/>ALTER DATABASE NetTrustOSK SET RECOVERY FULL;<br/><br/>--create new filegroup and file<br/>USE master;<br/>GO<br/>ALTER DATABASE NetTrustOSK<br/>ADD FILEGROUP Secondary;<br/>GO<br/><br/>ALTER DATABASE NetTrustOSK <br/>ADD FILE <br/>(<br/>NAME = Secondary2,<br/>FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\Secondary.ndf',<br/>SIZE = 5MB,<br/>MAXSIZE = 100MB,<br/>FILEGROWTH = 5MB<br/>)<br/>TO FILEGROUP Secondary;<br/>GO<br/><br/>ALTER DATABASE NetTrustOSK <br/>MODIFY FILEGROUP Secondary DEFAULT;<br/>GO<br/><br/>--create table in secondary filegroup<br/>USE NetTrustOSK;<br/>CREATE TABLE MyTable<br/>( cola int PRIMARY KEY,<br/>colb char(8) )<br/>ON Secondary;<br/>GO<br/><br/>USE NetTrustOSK;<br/>insert into MyTable (cola,colb) values ('1','A')<br/>insert into MyTable (cola,colb) values ('2','B')<br/>insert into MyTable (cola,colb) values ('3','C')<br/>insert into MyTable (cola,colb) values ('4','D')<br/>insert into MyTable (cola,colb) values ('5','E')<br/><br/>--backup secondary filegroup in database<br/>USE master<br/>GO<br/>BACKUP DATABASE NetTrustOSK TO<br/>DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH INIT;<br/>GO<br/><br/>--USE NetTrustOSK<br/>--select * from usergroup<br/><br/>USE NetTrustOSK<br/>delete from MyTable where colb='E'<br/><br/>BACKUP LOG NetTrustOSK TO DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH NOINIT;<br/><br/>--backup tail of the log<br/>BACKUP LOG NetTrustOSK TO DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH NOINIT, NORECOVERY;<br/><br/>--restore secondary filegroup in database<br/>RESTORE DATABASE NetTrustOSK FILEGROUP='Secondary'<br/>FROM DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH PARTIAL,NORECOVERY;<br/>GO<br/>RESTORE LOG NetTrustOSK <br/>FROM DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH FILE=1,NORECOVERY;<br/>GO<br/>RESTORE LOG NetTrustOSK <br/>FROM DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH FILE=2,NORECOVERY;<br/>GO<br/>RESTORE LOG NetTrustOSK <br/>FROM DISK='C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Secondary.bak'<br/>WITH FILE=3,RECOVERY;<br/><br/>Now the problem is when I do a restore, the data inside the MyTable table is still the same. Initially I have 5 records in MyTable and I deleted one record. After I restore, I still get 4 records and not 5 records. What exactly have I do wrong there? Thanks in advance.</span></span>Thu, 26 Nov 2009 14:15:26 Z2009-11-30T07:27:30Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/b19c5a34-61dc-44a8-9a15-295770853b40http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/b19c5a34-61dc-44a8-9a15-295770853b40DenniSys1http://social.msdn.microsoft.com/Profile/en-US/?user=DenniSys1Importing CSV filesSpent way too much time on this already pouring through books, forums, etc., more than 12 solid hours.<br/>Time to ask for help?<br/>Resources: VB.net Express 2008 &amp; SQL Server 2008 Express from web platform installer on Vista Ultimate.<br/>Dataset has table named &quot;Stores&quot; with fields that match the CSV located on the desktop, which is a space delimited file created by Excel 2007.<br/><br/>I tried cut and paste to the table data. The file shows up properly parsed, but there are errors. The cut and paste worked on one of my tables in another project (maybe a different version and a different type of install of SQL), but does not work in this project. Access has a handy dandy table import wizard, but that is not the API I'm using for this project. The connection is standard .\SQLExpress;AttachDbFilename=etc. to my.mdf. Owner: MyNet\User.<br/><br/>Also, is the SQL 2005 Express toolkit generally usable with 2008? Also, there was SQL Server Management Studio Express in 2005. Is that useable? Is there a toolkit for 2008? I haven't found one.<br/><br/>This 'usually simple' task is holding up the project. I've seen several solutions in VB.net, ADO, and SQL Server, but so far I'm getting nothing but errors. One error fired on MyNet\User authentication. What works?Fri, 27 Nov 2009 11:25:05 Z2009-11-29T19:33:02Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/2c347446-f1e0-44e0-b59c-5cb112ba3dfdhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/2c347446-f1e0-44e0-b59c-5cb112ba3dfdOmniAdihttp://social.msdn.microsoft.com/Profile/en-US/?user=OmniAdiSQL Express 2008 Adventure works DBHi,<br/> <br/> I was trying to install Adventure works DB for SQL Express 2008 using the zip file method as suggested on the codeplex website. I got the following error. But before that some background -  i double the prerequisites and i think all three are in place.. I have Vista SP2 64 bit computer. Please let me know if there is another way to get it installed.<br/> <br/> *** Dropping Database<br/>  <br/> *** Enabling FileStream<br/> Configuration option 'filestream access level' changed from 2 to 2. Run the RECONFIGURE statement to install.<br/>  <br/> *** Creating Database<br/> Msg 5133, Level 16, State 1, Line 2<br/> Directory lookup for the file &quot;C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AdventureWorks2008_Data.mdf&quot; failed with the operating system error 3(The system cannot find the path specified.).<br/> Msg 1802, Level 16, State 1, Line 2<br/> CREATE DATABASE failed. Some file names listed could not be created. Check related errors.<br/> ** An error was encountered during execution<br/>Wed, 11 Nov 2009 08:58:37 Z2009-11-29T17:09:44Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f4c00d71-496e-43e6-98f9-4f77a7a176a1http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f4c00d71-496e-43e6-98f9-4f77a7a176a1statcomphttp://social.msdn.microsoft.com/Profile/en-US/?user=statcompHow to create SQL Express 2008 instance after installing management studio 2008I've read all complaints about installation of SQL server 2008 express studio. According to them, it seems that installing the management studio actually installs database engine of sql server 2008 express as well. So knowing that, I proceeded to install the management studio and expected additional database engine and its instance of ss 2008 express. But after its 800MB installation, I can't find any instance of 2008 express? So my natural question is this. How can I create database instance of 2008 express engine at this point?Sun, 29 Nov 2009 00:44:11 Z2009-11-29T03:36:46Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f05cf54d-adfb-4fa2-89b4-39f60e5765e1http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f05cf54d-adfb-4fa2-89b4-39f60e5765e1Jim0717http://social.msdn.microsoft.com/Profile/en-US/?user=Jim0717Microsoft SQL Server 2005 Express Edition Service Pack 2 (KB 921896)I have attempted to load Microsoft SQL Server 2005 Express Edition Service Pack 2 (KB 921896) several timese but it just comes back and says it failed.  Any ideas what is wrong.  I am running XP SP3Sat, 28 Nov 2009 16:09:24 Z2009-11-28T18:03:01Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/73c74949-3716-41ed-8758-427efb5b8e57http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/73c74949-3716-41ed-8758-427efb5b8e57Rahul Rajputhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rahul%20RajputRemote Database ApplicationHi,<br/><br/>I have developed a small <strong>wpf</strong> application with <strong>sql server 2008</strong> and published it on my local system named <strong>rahul</strong> and a shortcut is created by the publishing wizard in program menu to run the application. The application is running fine on my machine.<br/><br/>Now I want to install and run this on to client machine considering that database will be access/initiated from my machine.<br/>what should I do for this? <br/>Would I have to create a deployment project? and how ?<br/>If yes than how it will access my machine from client machine? What are the all type of requirement to do this?<br/><br/>Please help.<br/><br/>Thanks<br/><br/>RahulSat, 28 Nov 2009 14:13:22 Z2009-11-28T18:02:12Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/284cc8de-70d6-4d21-b530-c733cc9a87afhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/284cc8de-70d6-4d21-b530-c733cc9a87aflaik1458http://social.msdn.microsoft.com/Profile/en-US/?user=laik1458Sql Server Management Studio 2008 (MSSQL 2008) problem.I have a problem with SQL Database and managing of them. I have a VS2010 VWD EE (Beta 2). And SQL Server Express Edition 2008. Now I have a problem with this:<br/> <pre>TITLE: Registered Servers<br/> ------------------------------<br/> Unable to read the list of previously registered servers on this system. Re-register your servers in the 'Registered Servers' <br/> window.<br/> For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=10.50.1312.2+((dac_stab2).090829-0704+)<br/> &amp;LinkId=20476<br/> ------------------------------<br/> ADDITIONAL INFORMATION:<br/> Deserialization operation on /RegisteredServersStore/ServerGroup/DatabaseEngineServerGroup has failed. <br/> (Microsoft.SqlServer.Management.Sdk.Sfc)<br/> For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=10.50.1312.2+((dac_stab2).090829-0704+)<br/> &amp;LinkId=20476<br/> ------------------------------<br/> There is an error in XML document (0, 0). (System.Xml)<br/> ------------------------------<br/> The type initializer for 'System.Xml.Serialization.XmlSerializationReader' threw an exception. (System.Xml)<br/> ------------------------------<br/> Configuration system failed to initialize (System.Configuration)<br/> ------------------------------<br/> Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config <br/> line 136) (System.Configuration)<br/> ------------------------------<br/> BUTTONS:<br/> OK<br/> ------------------------------<br/> </pre> When I press Ok button it shows me another dialog: <pre>See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializationException: Serialization operation on ServerGroup[@Name='DatabaseEngineServerGroup'] has failed. ---&gt; System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---&gt; System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136) at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors() at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey) --- End of inner exception stack trace --- at System.Configuration.ConfigurationManager.PrepareConfigSystem() at System.Configuration.ConfigurationManager.GetSection(String sectionName) at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection() at System.Diagnostics.DiagnosticsConfiguration.Initialize() at System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings() at System.Diagnostics.Switch.InitializeConfigSettings() at System.Diagnostics.Switch.InitializeWithStatus() at System.Diagnostics.Switch.get_SwitchSetting() at System.Diagnostics.BooleanSwitch.get_Enabled() at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation&amp; contract) at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) at System.Xml.Serialization.XmlSerializer..ctor(Type type) at Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.WriteInternal(XmlWriter instanceWriter, Object instance, Dictionary`2 namespaces) at Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.Write(XmlWriter instanceWriter, Object instance, Dictionary`2 namespaces) --- End of inner exception stack trace --- at Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.Write(XmlWriter instanceWriter, Object instance, Dictionary`2 namespaces) at Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.WriteAllInstances() at Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.Write(XmlWriter xmlWriter) at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore.Serialize() at Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Create() at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore.get_DatabaseEngineServerGroup() at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerControl.RegisteredServerControl_Load(Object sender, EventArgs e) at System.Windows.Forms.UserControl.OnLoad(EventArgs e) at System.Windows.Forms.UserControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message&amp; m) at System.Windows.Forms.Control.WndProc(Message&amp; m) at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m) at System.Windows.Forms.ContainerControl.WndProc(Message&amp; m) at System.Windows.Forms.UserControl.WndProc(Message&amp; m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- AppIDPackage Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/AppIDPackage.DLL ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- Microsoft.SqlServer.SqlTools.VSIntegration Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.SqlTools.VSIntegration.DLL ---------------------------------------- Microsoft.VisualStudio.Shell.Interop Assembly Version: 7.1.40304.0 Win32 Version: 7.10.6071 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.Shell.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.dll ---------------------------------------- Microsoft.VisualStudio.OLE.Interop Assembly Version: 7.1.40304.0 Win32 Version: 7.10.6070 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.OLE.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.OLE.Interop.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- SqlWorkbench.Interfaces Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlWorkbench.Interfaces.DLL ---------------------------------------- Microsoft.SqlServer.SqlTDiagM Assembly Version: 10.0.0.0 Win32 Version: 10.50.1312.2 ((dac_stab2).090829-0704 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlTDiagM/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlTDiagM.dll ---------------------------------------- Microsoft.SqlServer.Instapi Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Instapi/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Instapi.dll ---------------------------------------- Microsoft.VisualStudio.Shell Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1826 (QFE.050727-1800) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Shell/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.dll ---------------------------------------- Microsoft.VisualStudio.Shell.Interop.8.0 Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.1826 (QFE.050727-1800) CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.Shell.Interop.8.0/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.8.0.dll ---------------------------------------- Microsoft.SqlServer.Management.SDK.SqlStudio Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SDK.SqlStudio.DLL ---------------------------------------- SQLEditors Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SQLEditors.DLL ---------------------------------------- Microsoft.VisualStudio.TextManager.Interop Assembly Version: 7.1.40304.0 Win32 Version: 7.10.6070 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.VisualStudio.TextManager.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.TextManager.Interop.dll ---------------------------------------- SqlMgmt Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlMgmt.DLL ---------------------------------------- Microsoft.SqlServer.Management.UserSettings Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.UserSettings.DLL ---------------------------------------- Microsoft.SqlServer.Management.Sdk.Sfc Assembly Version: 10.0.0.0 Win32 Version: 10.50.1312.2 ((dac_stab2).090829-0704 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Management.Sdk.Sfc/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.Sdk.Sfc.dll ---------------------------------------- Microsoft.SqlServer.Management.Reports Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Reports.DLL ---------------------------------------- Microsoft.SqlServer.Management.RegisteredServersUI Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.RegisteredServersUI.DLL ---------------------------------------- Microsoft.SqlServer.Management.Controls Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Controls.DLL ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll ---------------------------------------- Microsoft.SqlServer.Management.RegisteredServers Assembly Version: 10.0.0.0 Win32 Version: 10.50.1312.2 ((dac_stab2).090829-0704 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Management.RegisteredServers/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.RegisteredServers.dll ---------------------------------------- Microsoft.SqlServer.ConnectionInfo Assembly Version: 10.0.0.0 Win32 Version: 10.50.1312.2 ((dac_stab2).090829-0704 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll ---------------------------------------- ConnectionDlg Assembly Version: 10.0.0.0 Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 ) CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ConnectionDlg.DLL ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Microsoft.SqlServer.SqlClrProvider Assembly Version: 10.0.0.0 Win32 Version: 10.50.1312.2 ((dac_stab2).090829-0704 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlClrProvider/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlClrProvider.dll ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- Microsoft.NetEnterpriseServers.ExceptionMessageBox Assembly Version: 10.0.0.0 Win32 Version: 10.0.2531.0 ((Katmai_PCU_Main).090329-1015 ) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.NetEnterpriseServers.ExceptionMessageBox/10.0.0.0__89845dcd8080cc91/Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll ---------------------------------------- System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: &lt;configuration&gt; &lt;system.windows.forms jitDebugging=&quot;true&quot; /&gt; &lt;/configuration&gt; When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.</pre> And in Label it's shows: <br/> &quot;Serialization operation on<br/> ServerGroup[@Name='DatabaseEngineServerGroup'] has failed.<br/> Then I can Log-In into database, and do just half work.<br/> <br/> I have installed: MS Framework 2.0, 3.5, 4.0. I am using MS Windows XP SP2.  It makes me crazy. Everything running okay but just this application have problems.Mon, 23 Nov 2009 14:55:33 Z2009-11-28T14:12:24Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/cd2de859-9ed0-410d-a6aa-47e020e5998bhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/cd2de859-9ed0-410d-a6aa-47e020e5998bFOCUSGuyhttp://social.msdn.microsoft.com/Profile/en-US/?user=FOCUSGuyCannot Connect to Server - Error 26 / Error -1.<p align=left><font face=Arial>I am attempting to connect to SQL Server 2005 Express, at the 'Connect to Server' form.  </font></p> <p align=left> </p> <p align=left>When I click the 'Connect' button, I obtain the following error box:</p> <p> </p> <p align=left><font face=Courier>TITLE: Connect to Server<br>------------------------------</font></p> <p align=left><font face=Courier>Cannot connect to DAVID\SQLEXPRESS.</font></p> <p align=left><font face=Courier>------------------------------<br>ADDITIONAL INFORMATION:</font></p> <p align=left><font face=Courier>An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)</font></p> <p align=left><font face=Courier>For help, click: </font><a title="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;EvtSrc=MSSQLServer&amp;EvtID=-1&amp;LinkId=20476" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;EvtSrc=MSSQLServer&amp;EvtID=-1&amp;LinkId=20476"><font face=Courier>http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;EvtSrc=MSSQLServer&amp;EvtID=-1&amp;LinkId=20476</font></a></p> <p align=left><font face=Courier>------------------------------<br>BUTTONS:</font></p> <p align=left><font face=Courier>OK<br>------------------------------<br></font></p> <p>My installation is ok, as I used to be able to connect just fine.  It has been about six months since I've attempted to go into SQL Server Express.  I don't know what on my PC might have changed in the last six months.  I am running under Windows XP SP 2.  </p> <p> </p> <p> </p> <p>  </p>Sun, 30 Nov 2008 17:01:10 Z2009-11-28T14:07:05Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/ad11a640-52ab-42ee-aca3-918287a1d137http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/ad11a640-52ab-42ee-aca3-918287a1d137vinoth.f1http://social.msdn.microsoft.com/Profile/en-US/?user=vinoth.f1Sql Stored procedure Issue<ol> <li>I have query with lot of inner joins and left joins with some conditions.<br/><br/>If excute this query in my query analyzer, i am getting the answer with in few sec.<br/><br/>but if i put this query inside procedure its taking long time to around 9 min.<br/>what can i do to get the performance.</li> </ol><hr class="sig">regards VinothFri, 27 Nov 2009 05:27:56 Z2009-11-30T08:21:43Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/ce0797a4-9570-4ae7-bf15-1ce05ae178dahttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/ce0797a4-9570-4ae7-bf15-1ce05ae178darimlesskidhttp://social.msdn.microsoft.com/Profile/en-US/?user=rimlesskidsql question with VB<p>Hiya folks, im very new to the sql server 2008 express edition along side VB 2008 express edition so i havent a clue. i might be going about this the wrong way so if you have any other ideas, would love to hear them.<br/><br/>ive got it working sr, sw readwriter stuff reading to and from text files, but im going to end up with shed loads of files, i could do without.<br/><br/><br/>ive created a tested database, called lindberg_test.<br/>Ive done the drag and drop stuff, so all the auto bindings are on screen on my VB2008 express page. Thats where im up to.<br/><br/>i can click next, put new data in and all that but i need to go a bit further.<br/><br/>ive got my data in 12 columns.column 1 is my primary key, stroke my data point i need to refrence to call the data back from the entire row and sow it in the relevent text boxs on another page.<br/><br/>i was wondering can i use column 1 to recall the data from so lets say for example.<br/><br/>think about it in a musical way.<br/><br/>band name is in column 1<br/>all the stuff about the album is in the other 11 columns.<br/><br/>so on page 1.VB i enter the band name click search and on page 2.vb the data from the 11 columns show in the relevent text boxes. <br/><br/>Also i think i read somewhere you put put pictures in sql sever, how do i do that for recall to a picturebox from the server so the picture pulled will be in relation to the rest of the info recalled.<br/><br/> If i posted this to the wrong place very sorry. think of me virtually slapped, for making the mistake. let me know where to post it/move it to.<br/><br/>thanks in advance.<br/>regard<br/>rimlesskid</p>Thu, 26 Nov 2009 17:51:08 Z2009-11-28T05:35:02Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/3f528542-bef7-4d80-8442-b2e7919680a4http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/3f528542-bef7-4d80-8442-b2e7919680a4BillWuhttp://social.msdn.microsoft.com/Profile/en-US/?user=BillWuSqlServer auto restarts in single-user-mode everydayDear All,<br/>       My SQL Server wroks well for 1 year, recently,some applicaiton were failed to login. It claim that the sql server was started in Single User mode, How can I fix it ?<br/>         <br/>        In the error log files, I found the time that the logs start are all 3am for everyday.<br/>         <pre>1-28 03:00:53.03 Server Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 5.2 (Build 3790: Service Pack 2) 2009-11-28 03:00:53.03 Server (c) 2005 Microsoft Corporation. 2009-11-28 03:00:53.03 Server All rights reserved. 2009-11-28 03:00:53.03 Server Server process ID is 3796. 2009-11-28 03:00:53.03 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. 2009-11-28 03:00:53.03 Server This instance of SQL Server last reported using a process ID of 3640 at 28/11/2009 3:00:16 (local) 27/11/2009 19:00:16 (UTC). This is an informational message only; no user action is required. 2009-11-28 03:00:53.03 Server Registry startup parameters: 2009-11-28 03:00:53.03 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf 2009-11-28 03:00:53.03 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG 2009-11-28 03:00:53.03 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf 2009-11-28 03:00:53.03 Server Command Line Startup Parameters: 2009-11-28 03:00:53.03 Server -m SqlSetup 2009-11-28 03:00:53.03 Server SqlSetup</pre> <br/><br/>Thanks<br/><br/>Regards,<br/>BillSat, 14 Nov 2009 03:48:14 Z2009-11-28T04:14:56Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/bad23a21-2009-46ad-b4d8-1c4fcd796050http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/bad23a21-2009-46ad-b4d8-1c4fcd796050nodakhttp://social.msdn.microsoft.com/Profile/en-US/?user=nodakKB970892 Sql server will not insallSQL update will not install KB970892 error code&nbsp;0x663. Now I can not open any of my programs that need sql. I have been on hold with microsoft on and off for two hours now. ANY HELPThu, 15 Oct 2009 16:08:33 Z2009-11-27T22:58:44Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/965db65a-5592-4474-9153-35929edee216http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/965db65a-5592-4474-9153-35929edee216BKlinghttp://social.msdn.microsoft.com/Profile/en-US/?user=BKlingNamed pipes errorHey guys! I have an ASP application and we want it to point to the mirror when the main server fail. We made a test today and we got a nmaed pipes error when we caused the failover.<br/> <br/> This is the connection string:<br/> <br/> &quot;Provider=SQLNCLI10;;Server=xxx.xxx.x.xx;Failover Partner=yyy.yyy.y.yy;Database=dbname; Uid=user;Pwd=password;&quot;        <br/> <br/> The error I got was :<br/> <br/> Microsoft SQL Server Native Client 10.0 error '80004005'<br/> Named pipes provider. could not open a connection to sql server [53]<br/> <br/> The named pipes on both Servers are enabled. <br/>  <br/> Anny sugetions?<br/> <br/> <br/>Fri, 27 Nov 2009 17:03:27 Z2009-11-27T19:02:59Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c976441a-be56-4036-9c2b-1acf09acbddfhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c976441a-be56-4036-9c2b-1acf09acbddfBeebeeontheroofhttp://social.msdn.microsoft.com/Profile/en-US/?user=BeebeeontheroofFirst Time SQL Server but cannot save dataHi<br/>I made a sql database comprised of two fields as a test. I am able to add data to the fields. I have the navigator linked.<br/>The navigator allows me to page thru the fields. That seems to be working. <br/>How do I save the changes I`ve made to the database file. The navigator has a save button...is that were the code must be.<br/>PS...I have looked for videos on this but never seem to find the info that applies to my current problem.<br/>Please don`t be hard on me for this very basic question ...just starting to learnFri, 27 Nov 2009 16:56:54 Z2009-11-27T17:58:20Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9577d77d-1805-4b78-9116-7c39c32c7b0dhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9577d77d-1805-4b78-9116-7c39c32c7b0ddibby44http://social.msdn.microsoft.com/Profile/en-US/?user=dibby44SQL Server [&Express] 2008 fails to install correctly Can anyone help?  I am a [very] mature IT student and need to have SQL Server Express 2008 &amp; Management Studio available to do coursework.  I have loaded both without a problem on my laptop, but on my pc the installation doesn't work.  Although I answer the setup questions the same as for the laptop, I get error messages.  I tried loading from the MS web-site [various different options] and from SQLEXPRWT_x86_ENU.exe and from SQLManagementStudio_x86_ENU.exe - I either get an error message with a code like 17113 or 17058 and a web-site prompt that displays a message that &quot;no further information is available, but thanks for letting us know&quot;, or, when I actually load Management Studio, I can't connect to SQL Express and finish up with SQL Compact instead [which is not what I need!].  One time, I got a message that SQL Server failed to install because of Invalid ID, whatever that is supposed to mean, and also &quot;The following error has occurred:The specified user '\Everyone' does not exist.&quot;  Another time, &quot;couldn't find the file&quot;, and WMI Provider Error [call to WMI Provider returned error code 0x8007452a2].  When I look up that error on the web, I get sites that list many WMI error codes, but not that one.  When I try to load Express, I have had &quot;connection timed out&quot;, and messages about pipes, etc., and &quot;cannot find the user&quot;.  Many times I just get &quot;SQL Server installed with failures&quot;.   Each time installation failed, I have tried to rectify using info from web-site message boards - to no avail, and then had to uninstall all SQL apps and delete all files, run a registry checker and re-boot.  Going on 4 days now, and I am very frustrated at the lack of information to rectify and install properly.  I am running a Vista Home Premium setup, the same as my laptop, on which it is all correctly installed first time.  I have also run the Windows Install Clean Up to get rid of previous SQL Server installation setup files.<br/> <br/> Today, before I try to install yet again tomorrow [if I had any hair, I would by now have torn it all out!], I also went through the whole registry, and deleted every key with a reference to SQL Server or Express or Management Studio [Yes, I know it's dangerous, but I'm desperate!]  And why doesn't uninstall remove all these keys?  I found more than a dozen keys for SQL10.Express !!!!<br/> <br/> Why is this so complicated - and why do I get messages without suggested rectifying solutions?  It's a good job it's free - If I'd paid for it, I'd be in the small claims court right now.  Is there a screen-by-screen installation guide out there somewhere that I haven't yet found?<br/> <br/> Any help to a speedy resolution would be appreciated.<br/> Dave B.<br/> <br/>Sat, 21 Nov 2009 22:24:12 Z2009-11-27T15:18:58Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/bb297947-5939-47e9-bbf8-9bd0e0d85130http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/bb297947-5939-47e9-bbf8-9bd0e0d85130Dixie_47http://social.msdn.microsoft.com/Profile/en-US/?user=Dixie_47Database Wizard in VB Express?Does anyone know what happened to the database wizard? Because apparently, it does most of the work for you. I have been struggling to connect my VB application to my SQL database. I did eventually achieve this in code, but I am told that ,with the wizard, everything is just a click away.<br/><br/>Please, I don't need code, I just need to find out where to find this wizard.(To use this wizard in VB 2003,you just add it as a new item.)Fri, 27 Nov 2009 07:01:21 Z2009-11-30T08:26:09Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/5495497c-5ff7-419d-b22c-290333d2e3a2http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/5495497c-5ff7-419d-b22c-290333d2e3a2xkrchnavhttp://social.msdn.microsoft.com/Profile/en-US/?user=xkrchnavSet MS SQL Express listening on localhost/loopback onlyHello, <br/> Is there any possibility of setting SQL server instance to listen on localhost loopback only? (So that no remote application can access it). The best solution would be to have this possibility as a CMD line command (we need this to do in installer and it is able to run CMD commands not clicking in windows). Thank you. <br/> (I'm using MS SQL Express 2005 and it accept remote connections by default)<br/> <br/> Best regards, <br/> JozefFri, 27 Nov 2009 07:43:08 Z2009-11-27T09:30:14Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/3b05ba72-1660-4612-ad40-8d74813b5217http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/3b05ba72-1660-4612-ad40-8d74813b5217Kaboom81http://social.msdn.microsoft.com/Profile/en-US/?user=Kaboom81Error when opening node databases in SQL server management studio<p>Hi, <br/><br/>I recive the following error message when I try to expand the node databases in SQL server management studio. I have SQLexpress2008 installed and alle my databases seem to work just fine. I even moved some of the databases to a different computer and had no trouble opening them there. But why can't I open them on my own machine???<br/><br/>Local enviroment:<br/><br/>Vista Business 64 bit<br/>SQLexpress2008<br/>VS2008 + SQL2005<br/><br/>Errormessage:<br/><br/>Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)</p> <p>------------------------------<br/>For help, click: <a href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;LinkId=20476">http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;LinkId=20476</a></p> <p>------------------------------<br/>Program Location:</p> <p>   at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)<br/>   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.DatabaseNavigableItemBuilder.&lt;ReadData&gt;d__0.MoveNext()<br/>   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.DatabaseNavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)<br/>   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)<br/>   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)<br/>   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.GetChildren(IGetChildrenRequest request)<br/>   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)</p> <p>===================================</p> <p>An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)</p> <p>------------------------------<br/>Program Location:</p> <p>   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteReader(String sqlCommand)<br/>   at Microsoft.SqlServer.Management.Smo.ExecuteSql.GetDataReader(String query)<br/>   at Microsoft.SqlServer.Management.Smo.DataProvider.SetConnectionAndQuery(ExecuteSql execSql, String query)<br/>   at Microsoft.SqlServer.Management.Smo.ExecuteSql.GetDataProvider(StringCollection query, Object con, StatementBuilder sb, RetriveMode rm)<br/>   at Microsoft.SqlServer.Management.Smo.ExecuteSql.ExecuteWithResults(StringCollection query, Object con, StatementBuilder sb)<br/>   at Microsoft.SqlServer.Management.Smo.SqlObjectBase.FillData(ResultType resultType, StringCollection sql, Object connectionInfo, StatementBuilder sb)<br/>   at Microsoft.SqlServer.Management.Smo.SqlObjectBase.FillDataWithUseFailure(SqlEnumResult sqlresult, ResultType resultType)<br/>   at Microsoft.SqlServer.Management.Smo.SqlObjectBase.BuildResult(EnumResult result)<br/>   at Microsoft.SqlServer.Management.Smo.SqlObjectBase.GetData(EnumResult erParent)<br/>   at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()<br/>   at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)<br/>   at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)<br/>   at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)</p> <p>===================================</p> <p>Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information. (.Net SqlClient Data Provider)</p> <p>------------------------------<br/>For help, click: <a href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=10.00.1600&amp;EvtSrc=MSSQLServer&amp;EvtID=926&amp;LinkId=20476">http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;ProdVer=10.00.1600&amp;EvtSrc=MSSQLServer&amp;EvtID=926&amp;LinkId=20476</a></p> <p>------------------------------<br/>Server Name: BOSSEN-PC1\SQLEXPRESS2008<br/>Error Number: 926<br/>Severity: 14<br/>State: 1<br/>Line Number: 3</p> <p><br/>------------------------------<br/>Program Location:</p> <p>   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)<br/>   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)<br/>   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()<br/>   at System.Data.SqlClient.SqlDataReader.get_MetaData()<br/>   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)<br/>   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)<br/>   at System.Data.SqlClient.SqlCommand.ExecuteReader()<br/>   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteReader(String sqlCommand)</p> <p>Please help :-)</p>Tue, 24 Nov 2009 18:12:31 Z2009-11-27T02:40:37Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/159b6cc9-e259-4dd9-91de-aa6de9ab04c0http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/159b6cc9-e259-4dd9-91de-aa6de9ab04c0Atovehttp://social.msdn.microsoft.com/Profile/en-US/?user=AtoveSQL Server 2008 Express edition install issue.Ok, i've been looking around forums for a while now and have not found a post similar to this one or one that offers a solution; so here it goes.<br/> <br/> I'm trying to install management studio and in the web platform installer i keep getting this error:<br/> &quot;You must install visual C++ 2008 SP1 before you can install SQL server 2008 Express with tools&quot;<br/> <br/> I managed to get the install to &quot;work&quot;, but it didn't actually install the studio app. So heres my questions:<br/> <br/> Firstly...why? i've installed this before and not had any issues at all, so why the sudden need for C++?<br/> <br/> Secondly, does anyone have any insight into my problem and how i cant actually install it?<br/> <br/> The only real difference between this install and previous installs is that i'm not running it on vista home premium 64-bit (previously 32-bit).<br/> <br/> I tried installing visual C++ express, but that didn't work.<br/> <br/> Thank you in advance and for giving up your time to read this.Tue, 24 Nov 2009 16:36:51 Z2009-11-27T00:01:24Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/b4c87ac6-f57a-4639-bb33-68fdfc346231http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/b4c87ac6-f57a-4639-bb33-68fdfc346231rimlesskidhttp://social.msdn.microsoft.com/Profile/en-US/?user=rimlesskidsql 2008 question<p>Hiya folks, im very new to the sql server 2008 express edition so i havent a clue. i might be going about this the wrong way so if you have any other ideas, would love to hear them.<br/><br/>ive created a tested database, called lindberg_test.<br/>Ive done the drag and drop stuff, so all the auto bindings are on screen on my VB2008 express page. Thats where im up to.<br/><br/>i can click next, put new data in and all that but i need to go a bit further.<br/><br/>ive got my data in 12 columns.column 1 is my primary key, stroke my data point i need to refrence to call the data back from the entire row and sow it in the relevent text boxs on another page.<br/><br/>i was wondering can i use column 1 to recall the data from so lets say for example.<br/><br/>think about it in a musical way.<br/><br/>band name is in column 1<br/>all the stuff about the album is in the other 11 columns.<br/><br/>so on page 1.VB i enter the band name, on page 2.vb the data from the 11 columns show in the relevent text boxes.<br/><br/>Also i think i read somewhere you put put pictures in sql sever, how do i do that for recall to a picturebox.<br/><br/> If i posted this to the wrong place very sorry. think of me virtually slapped, for making the mistake. let me know where to post it/move it to.<br/><br/>thanks in advance.<br/>regard<br/>rimlesskid</p>Wed, 25 Nov 2009 16:35:19 Z2009-11-26T17:43:12Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/30a73837-dc69-4de5-9e81-5c4331df7397http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/30a73837-dc69-4de5-9e81-5c4331df7397NebelHintenhttp://social.msdn.microsoft.com/Profile/en-US/?user=NebelHintenSQL Server Modeling Services <p>Does anyone know in what SQL server edition the new <strong>SQL Server Modeling Services </strong>will be included, e.g. will it be available in Express edition?</p>Wed, 18 Nov 2009 20:17:23 Z2009-11-26T12:14:58Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/7f964ba1-b8a4-4e46-bb4a-c74e55e46414http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/7f964ba1-b8a4-4e46-bb4a-c74e55e46414Yvkehttp://social.msdn.microsoft.com/Profile/en-US/?user=YvkeSyncing Sql Server Express<span style="font-size:12px"> <p style="font-size:11px">Hi!</p> <p style="font-size:11px">I have a .net application which communicates with a webbased server database provided by SQL Server Express 2005.</p> <p style="font-size:11px">This databse has to be synchronized a couple times a day with a local database server (als sql sever express).</p> <p style="font-size:11px">I started looking at replication, but since sql server express cannot be a publisher, this will not be an option...</p> <p style="font-size:11px"> </p> <p style="font-size:11px">I have looked into Microsoft Sync Framework, but I am not sure this is the best way, since it doesnt work that well with express (or this is what I read)</p> <p style="font-size:11px"> </p> <p style="font-size:11px">So my question is: Do you have any tips / tricks / examples /  howto's??</p> </span>Thu, 26 Nov 2009 08:17:48 Z2009-11-30T06:17:49Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9bd4a600-16cc-4ae0-bddc-2aa58ac2eb38http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9bd4a600-16cc-4ae0-bddc-2aa58ac2eb38ShekarBangalorehttp://social.msdn.microsoft.com/Profile/en-US/?user=ShekarBangaloreCannot connect from client to SQL Server 2005 Express Resently I installed SQL Server 2005 Express on a system with windows server 2008. Kindly help me to establish connection from a client with XP Professional with sp2. Do I have to install any s/w or drivers to do this.<br/>Secondly how do i get connected from vb6. what connection string will do.<br/>Thanks,Tue, 24 Nov 2009 15:21:49 Z2009-11-26T07:00:32Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/09676777-0ad5-4f7f-a3f9-3e4346f63e74http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/09676777-0ad5-4f7f-a3f9-3e4346f63e74sdochttp://social.msdn.microsoft.com/Profile/en-US/?user=sdocSQL Express connectivity issue on Vista Home Premium<span><span><span><span>Two Vista Home Premium machines setup. SQL Express 2005 is successfully installed on the first machine along with our application. Our application is able to browse and connectthe SQL Express. However, the other machine is unable to browse or see the SQL Server. What could be the issue??<br/> <br/> Another thing, in order to test the connection, I tried creating a UDL file on the machine that wont connect.And it does not recognize the .udl extension. Why so?<br/> <br/> Kindly help.</span> <span style="font-size:xx-small"><br/> </span> </span> </span> </span>Tue, 24 Nov 2009 14:33:20 Z2009-11-26T06:14:56Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/b6e1bef6-14e7-42f7-92a8-21f2e40f8ff6http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/b6e1bef6-14e7-42f7-92a8-21f2e40f8ff6H.HEMDAN ISMAILIA - EGYPThttp://social.msdn.microsoft.com/Profile/en-US/?user=H.HEMDAN%20%20%20%20%20%20%20%20ISMAILIA%20-%20EGYPTI need to know how i can Deal with Database on Different computer ???<p>if i have 2 computers and one of them is install sql server express on it and have DB on it and i want insert or make anything i want from the remote computer that didnt have sql ,,, as you know a remote connection i want to know where from i can learn about that ,,, i need to know how i can do it in my connection string to connect through network and this things ?</p>Wed, 25 Nov 2009 23:35:02 Z2009-11-27T05:31:19Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/60aff8a0-9e36-4087-b1c0-05c4a023a189http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/60aff8a0-9e36-4087-b1c0-05c4a023a189theboytonyhttp://social.msdn.microsoft.com/Profile/en-US/?user=theboytonycheck size of databaseHi, <div>Is there a query I can use to check the size of a database from a vb.net app</div>Tue, 24 Nov 2009 18:31:07 Z2009-11-25T21:03:44Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/6b112387-da10-4351-aa39-e9b8d627eb02http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/6b112387-da10-4351-aa39-e9b8d627eb02Ric.Hardacrehttp://social.msdn.microsoft.com/Profile/en-US/?user=Ric.HardacreDistributing SQL Server 2008 Smos / SDK with an application<p align=left><font face=Arial size=2>This is somewhat related to this thread: <a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3871856&amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3871856&amp;SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3871856&amp;SiteID=1</a> but regarding the SDK rather than SQL Server 2008 Express proper.</font></p> <p align=left> </p> <p align=left>Our issue is that we have issues with dependencies, specifically VS2008 SP1 is not detecting all the dependencies for the installer merge modules: Microsoft.SqlServer.BatchParser and ..BatchParserClient are missing from the target install. What IS being correctly detected are Smos, SmoEnums and ConnectionInformation (amongst a few other things)</p> <p> </p> <p>During testing of the install routine on a clean system we had to manually install the Native Client + SDK, CLR Types and Management Objects first to get the app to install. </p> <p> </p> <p>I'm fairly certain that installing SQL Server 2008 express + sdk resolves all the dependencies but that itself brought in two caveats:</p> <p align=left>1. If SQL Server 2008 Express is installed it will simply create an instance instead of installing - but the SDK will not be installed if it was not there already</p> <p align=left>2. We dont want to neccesarily inclue Express just to get the SDK</p> <p align=left>3. We want a merge module - we do not want to rely on a net connection to bootstrap as this is a plastic-disc based product</p> <p align=left> </p> <p align=left>Basically we'd be happy with a single &quot;all in one&quot; &quot;SDK only&quot; msi we can run silently, any clues?</p> <p align=left> </p> <p align=left><br> </p>Fri, 14 Nov 2008 09:28:26 Z2009-11-25T19:57:34Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/eb136979-6061-49cd-a887-af9e028991bbhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/eb136979-6061-49cd-a887-af9e028991bbGlenVhttp://social.msdn.microsoft.com/Profile/en-US/?user=GlenVSQL Server 7.0 SP3I <span style="text-decoration:underline">specifically</span> need Service Pack 3 (not SP4) for MSDE (1.0).  Can anyone point me to a location where I can download it from?<br/><br/>Thanks.<br/><br/>GlenWed, 25 Nov 2009 16:37:33 Z2009-11-25T18:38:26Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c7d0a234-763b-4f9c-b7ec-3a40df6340a8http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/c7d0a234-763b-4f9c-b7ec-3a40df6340a8FOCUSGuyhttp://social.msdn.microsoft.com/Profile/en-US/?user=FOCUSGuyKB970892 Will Not Install. <p>When I booted my XP SP3 machine Tuesday night (10/13), the many MS updates loaded.&nbsp; <br /><br />I then let them all install.&nbsp;</p> <p>All updates installed except for one.&nbsp; <br /><br />I am getting the following message, for KB970892:</p> <pre>The following updates were not installed. Security Update for SQL Server 2005 Service Pack 3 (KB970892)</pre> <p>I am running SQL Server Express 2005:</p> <pre>Microsoft SQL Server Management Studio Express 9.00.4035.00 Microsoft Data Access Components (MDAC) 2000.085.1132.00 (xpsp.080413-0852) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 7.0.5730.11 Microsoft .NET Framework 2.0.50727.3603 Operating System 5.1.2600</pre> <p><br /><br /><br /></p>Fri, 16 Oct 2009 02:17:36 Z2009-11-25T18:27:23Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/4bc5b442-8cdb-4890-96eb-fe38d70c3bd8http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/4bc5b442-8cdb-4890-96eb-fe38d70c3bd8jackrqhttp://social.msdn.microsoft.com/Profile/en-US/?user=jackrqNo Server is listed in the "Server Name" box after launching Managment Studio Express.I installed SQL SERVER 2008 express and management studio express successfully in window7 home premium x64. but when I start the Management studio, there is no Server listed in the &quot;Server Name Box, I can't connect any servers in database Engine. I try several times for download and setup, The results are same. Is any one know what I miss?Wed, 25 Nov 2009 01:02:02 Z2009-11-25T15:45:05Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/e5b36785-b0d0-415b-8fb6-7ac1bc285362http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/e5b36785-b0d0-415b-8fb6-7ac1bc285362oguzkaygunhttp://social.msdn.microsoft.com/Profile/en-US/?user=oguzkaygunSelect Max problem ?Hello<br/> i have coulum of Table. Datatype is nvarchar(50). and Coulumname is x_kod.<br/> For Example My coulum have below records.<br/> 100<br/> 101<br/> 102<br/> 100.001<br/> 100.002<br/> 102.01.001<br/> 102.01.002<br/> zthisort001<br/> zthisort002<br/> ambrella001<br/> ambrella002<br/> <br/> I have one textbox and one button. <br/> Firstly When i doesnt enter to Textbox and i click button, how can i get 102 ?<br/> Secondly When i enter 100. to Textbox and i click button, how can i get 100.002 ?<br/> 3. When i enter 102.01. to Textbox and i click button, how can i get 102.01.002 ?<br/> 4. When i enter zthisort to Textbox and i click button, how can i get zthisort002 ?<br/> 5. When i enter ambrella to Textbox and i click button, how can i get ambrella 002 ?<br/> Note: My result should be max value of related group of records.<br/> Thanks<br/> <br/>Tue, 24 Nov 2009 18:00:40 Z2009-11-25T13:54:49Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9de093eb-0a8c-4bf6-ad57-29293096dcd0http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9de093eb-0a8c-4bf6-ad57-29293096dcd0S.Lutterodthttp://social.msdn.microsoft.com/Profile/en-US/?user=S.LutterodtImport/Export Data using Management Studio Express?I need to import data from a table in one SQL Database into the same  tables of another SQL Database.  I am using SQL 2005 Express Edition and Management Studio Express.  Is there an import/export tool to use with this version?Wed, 25 Nov 2009 03:09:25 Z2009-11-27T03:58:50Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/0c2dc05b-ab55-4865-ac08-e868891da2dehttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/0c2dc05b-ab55-4865-ac08-e868891da2deAsifchouhanhttp://social.msdn.microsoft.com/Profile/en-US/?user=AsifchouhanWhile installing SQL Server 2005 Express edition my computer restarts multiple timesHi all,<br/> <br/>      I have downloaded fresh copy of SQL Server 2005 Express Edition from Microsoft Website and started installing. In last step when installation wizard automatically starts the SQL Service at that moment my computer restarts. And after restarts, atleast after 1 minute my system restarts again without any notification. This continues for several times.<br/>      Is this due to some problem with windows? But I have formatted and installed windows xp 2 too.<br/> <br/>      Please anyone comeout with some solution I would really appreciate.<br/> <br/> Regards<br/> <br/> Asif...<br/> <br/> <br/>Mon, 23 Nov 2009 13:14:24 Z2009-11-25T07:43:19Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/0783d873-b422-4c0d-a0a1-7f3db9751222http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/0783d873-b422-4c0d-a0a1-7f3db9751222PDolanhttp://social.msdn.microsoft.com/Profile/en-US/?user=PDolanCannot connect to SQL 2008 Express from VB 2008 Express<p>I installed VB 2008 Express with SP1 and SQL 2008 Express. However, I cannot link to SQL 2008 Express from  VB 2008 Express. Please Help. </p> <p align=left> </p> <p align=left>Since I'm new to this environment, I may not even be asking the right question. A brief background: I did some minimal work with VB 2008 Express - creating an sdf database and some forms that interacted with the database. I also did some minimal work with SQL 2008 Express, running some queries against the AdventureWorks Database. When I tried to create a form in VB 2008 Express that accessed the AdventureWorks Database in SQL 2008 Express, I have been unable to figure out how to create the needed connection.</p>Wed, 26 Nov 2008 03:07:25 Z2009-11-25T05:26:53Z