SQL Express, Operating Systems, Simultaneous Connections

Sep 28, 2007

I was going over this article , and was intrigued by this statement "If SQL Server 2005 Express is running on Windows XP Home, it is limited to five simultaneous connections. If it is running on Windows 2000 or Windows XP Professional, it is limited to 10 simultaneous connections. However, these are limitations of the operating system and not of SQL Server 2005 Express."

What are simultaneous connections? Is this related to Max worker threads defined as 255 on other editions? How does underlying OS impose how many connections can be done to SQL server. And finally how many simultaneous connections can be done in Windows Server 2003?

View 11 Replies


ADVERTISEMENT

DTS And Operating Systems

Sep 18, 2002

I have created a VB 6.0 application that reads data from old db files into the SQL Server 2000 database using DTS stored structure files.

The application works fine with Windows NT but I keep getting an error in Windows 2000 environment.
"-2147220441(80040427) Execution Canceled By User"

Any ideas why?

View 1 Replies View Related

64-bit SQL Server + Operating Systems

Jun 12, 2008

I currently run SQL Server 2005 64-bit Developer Edition (Service Pack 2 - it will be SP 3 as soon as I can get hold of it). I am running this on a stand-alone box with Windows Server 2003 as the OS.

Soon, I will be buying another computer for a colleague who will be running SQL Server as specified above. However, I am not happy with Windows Server and am wondering about changing to either XP 64-bit or Vista 64-bit. The machine will not be networked.

I would welcome advice on this since, in some ways, I would be happy enough to use XP or Vista, and think that 64-bit development is more likely on Vista than on other Windows OS's. However, I am not convinced that SQL Server 2005 works with Vista and, like everyone else, have heard plenty of complaints about Vista.

All advice gratefully received.

Thanks.

Chris

View 5 Replies View Related

Maximum Simultaneous Connections

Feb 14, 2008

Hi All,

I have a Windows 2003 Server. Planning to use SQL Server to act as the main Database Server which needs to cater to over 100's of simultaneous connections.

Can anyone share with me the default maximum simultaneous connections and the maximum allowed simultaneous connections for the following versions:

- MSDE
- 2000
- 2005 Express
- 2005

Hope I can get more professional advice from you guys.

Thanks.

View 1 Replies View Related

SSIS Simultaneous Connections

Jul 11, 2006

Using the Import/Export Wizard, it is easy to set up SSIS jobs to import multiple tables in one task. However, SSIS appears to grab a connection to the source database and the destination database for each table indicated in the task sometime prior to doing the actual data transfer. Even though the transfer seems to be done a few tables at a time, all the connections are held throughout the execution of the task.

This has two effects:

1. The task may fail if the number of connections exceeds the limit of user connections set for the database

2. There is a severe impact on the other users of the databases (in my case, the source is a production system)

Is there any way to control the number of simultaneous connections that SSIS data transfer packages initiate?

I can, of course, define the package to have a small number of tables (thus limiting the connections), but in real life I need to transfer almost 700 tables, so limiting the number of tables per task to 20 or 25 produces an awkwardly large, and error prone, number of tasks. And since this definition must be done for multiple (not quite identical) databases, the extra effort of defining small collections of tables is signifcant.

View 4 Replies View Related

Number Of Simultaneous Users/connections On SQL Server

Mar 30, 2001

Hi,

could somebody please let me know what is the maximum number of simultaneous users/connection per single SQL Server 7.0 box? Licenses are not the issue here, rather the number of physical connections supported before another server needs to be purchased.

Another variation of this question would be what's the highest number of databases that 7can be created on SQL 7.0 server and what is the highest number of physical connections supported per database? Again, licenses are not the issue. Thanks a lot in advance.

View 2 Replies View Related

User Login - How To Control Number Of Simultaneous Connections

Jul 30, 1998

Hi everyone!

Is it possible to control the number of simultaneous connections one login id can have?
I`d like to avoid my users to share their login ids and passwords to help them enter data into the system.

Thanks,
Mauricio

View 5 Replies View Related

SQL Express And Simultaneous Users

Aug 14, 2007

Greetings!

Are there any limit of simultaneous users and/or connections when running SQL Express? The free license of SQL Express, does that include use by any number of users/devices?

Regards

Harald Hedlund

View 5 Replies View Related

SQL Server Express, Simultaneous ,Multiple Application Access?

Jul 27, 2006

Hi Everyone,

I have a software solution that consists of two separate applications that share a SQL Server Express database on a single computer. Everything is working great, except when both of the applications want to access the database at the same time. All I can find is information on configuring multi-user access in a distributed system. I'd appreciate any information on configuring multi-application access on a single computer.

Thanks,

Mike

View 4 Replies View Related

Help Needed In Accessing A Sqlserver 2005 Express Edition From Client Systems To The Server 2003 R2 Servermachine.

Dec 4, 2007



hi guys,
i am having a truble in accesing the server 2005 express edition from my client systems in server 2003 domain network. i get server not accessible. whereas my domain is working perfectly. i really tried alot and i have enable tcpip and named pipes and i am still getting errors while accessing. i have also created user reights for the domain users to access sql server. still i couldn't able to access it.

please guide me to over come this issue. I'm dying.My project is similar to SAP concept project and i am doing it in a production industry.so each department as to access the data from the server to update their daily production and activity.

thnks in advance.

Viswa

View 1 Replies View Related

Problems Of Remote Connections For Creating A SQLCLR Project In SQL Server Express-ADO.NET 2.0-VB 2005 Express Via Network/LAN

Sep 19, 2007

Hi all,

In my office computer network system (LAN), my Windows XP Pro PC has SQL Server Express and VB 2005 Express installed and I was granted to have the Administrator priviledge to access SQL Server Express. I tried to create a SQLCLR project in my terminal PC.
1) I tried to set up a remote connection to SQL Server Express in the following way: SQL Server EXpress => SQL Server Surface Area Configuration. In the Surface Area Configuration for Service and Connection - local, I clicked on Remote Connection of Database Engine, SQLEXPRESS and I had a "dot" on "Local and remote connections" and "Using TCP/IP only". Then I clicked on "Apply" and "OK" buttons. Then I went to restart my database engine in SQL Server Management. When I went to check SQL Server 2005 Surface Area Configuration, I saw the arrow is pointing to "Service", not to "Remote Connections"!!!??? Is it right/normal? Please comment on this matter and tell me how I can have "Remote Connecton" on after I selected it.

2) After I restarted the database engine (I guess!!), I executed the following project code (copied from a book) in my VB 2005 Express:

//////////////--Form9.vb---/////////////////

mports System.Data.SqlClient

Imports System.Data

Public Class Form9

Dim cnn1 As New SqlConnection

Private Sub Form5_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

'Compute top-level project folder and use it as a prefix for

'the primary data file

Dim int1 As Integer = InStr(My.Application.Info.DirectoryPath, "bin")

Dim strPath As String = Microsoft.VisualBasic.Left(My.Application.Info.DirectoryPath, int1 - 1)

Dim pdbfph As String = strPath & "northwnd.mdf"

Dim cst As String = "Data Source=.sqlexpress;" & _

"Integrated Security=SSPI;" & _

"AttachDBFileName=" & pdbfph

cnn1.ConnectionString = cst

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

'Create a command to create a table

Dim cmd1 As New SqlCommand

cmd1.CommandText = "CREATE TABLE FromExcel (" & _

"FirstName nvarchar(15), " & _

"LastName nvarchar(20), " & _

"PersonID int Not Null)"

cmd1.Connection = cnn1

'Invoke the command

Try

cnn1.Open()

cmd1.ExecuteNonQuery()

MessageBox.Show("Command succeeded.", "Outcome", _

MessageBoxButtons.OK, MessageBoxIcon.Information)

Catch ex As Exception

MessageBox.Show(ex.Message)

Finally

cnn1.Close()

End Try

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

'Create a command to drop a table

Dim cmd1 As New SqlCommand

cmd1.CommandText = "DROP TABLE FromExcel"

cmd1.Connection = cnn1

'Invoke the command

Try

cnn1.Open()

cmd1.ExecuteNonQuery()

MessageBox.Show("Command succeeded.", "Outcome", _

MessageBoxButtons.OK, MessageBoxIcon.Information)

Catch ex As Exception

MessageBox.Show(ex.Message)

Finally

cnn1.Close()

End Try

End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click



'Declare FromExcel Data Table and RowForExcel DataRow

Dim FromExcel As New DataTable

Dim RowForExcel As DataRow

FromExcel.Columns.Add("FirstName", GetType(SqlTypes.SqlString))

FromExcel.Columns.Add("LastName", GetType(SqlTypes.SqlString))

FromExcel.Columns.Add("PersonID", GetType(SqlTypes.SqlInt32))

'Create TextFieldParser for CSV file from spreadsheet

Dim crd1 As Microsoft.VisualBasic.FileIO.TextFieldParser

Dim strPath As String = _

Microsoft.VisualBasic.Left( _

My.Application.Info.DirectoryPath, _

InStr(My.Application.Info.DirectoryPath, "bin") - 1)

crd1 = My.Computer.FileSystem.OpenTextFieldParser _

(My.Computer.FileSystem.CombinePath(strPath, "Book1.csv"))

crd1.TextFieldType = Microsoft.VisualBasic.FileIO.FieldType.Delimited

crd1.Delimiters = New String() {","}

'Loop through rows of CSV file and populate

'RowForExcel DataRow for adding to FromExcel

'Rows collection

Dim currentRow As String()

Do Until crd1.EndOfData

Try

currentRow = crd1.ReadFields()

Dim currentField As String

Dim int1 As Integer = 1

RowForExcel = FromExcel.NewRow

For Each currentField In currentRow

Select Case int1

Case 1

RowForExcel("FirstName") = currentField

Case 2

RowForExcel("LastName") = currentField

Case 3

RowForExcel("PersonID") = CInt(currentField)

End Select

int1 += 1

Next

int1 = 1

FromExcel.Rows.Add(RowForExcel)

RowForExcel = FromExcel.NewRow

Catch ex As Microsoft.VisualBasic.FileIO.MalformedLineException

MsgBox("Line " & ex.Message & _

"is not valid and will be skipped.")

End Try

Loop

'Invoke the WriteToServer method fo the sqc1 SqlBulkCopy

'object to populate FromExcel table in the database with

'the FromExcel DataTable in the project

Try

cnn1.Open()

Using sqc1 As SqlBulkCopy = New SqlBulkCopy(cnn1)

sqc1.DestinationTableName = "dbo.FromExcel"

sqc1.WriteToServer(FromExcel)

End Using

Catch ex As Exception

MessageBox.Show(ex.Message)

Finally

cnn1.Close()

End Try

'Read the FromExcel table and display results in

'a message box

Dim strQuery As String = "SELECT * " & _

"FROM dbo.FromExcel "

Dim str1 As String = ""

Dim cmd1 As New SqlCommand(strQuery, cnn1)

cnn1.Open()

Dim rdr1 As SqlDataReader

rdr1 = cmd1.ExecuteReader()

Try

While rdr1.Read()

str1 += rdr1.GetString(0) & ", " & _

rdr1.GetString(1) & ", " & _

rdr1.GetSqlInt32(2).ToString & ControlChars.CrLf

End While

Finally

rdr1.Close()

cnn1.Close()

End Try

MessageBox.Show(str1, "FromExcel")

End Sub

End Class
//////////////////////////////////////////////////////////////////////////////
I got the following error messages:
SecurityException was unhandled
Request for the permission of type 'System. Security. Permissions.FileIOPermission,mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'failed that is pointing to the code statement "Dim int1 As Integer = InStr (My.Application.Info.DirectoryPath, "bin")."
Troubleshooting tips:
Store application data in isolated storage.
When deploying an Office solution, check to make sure you have fulfilled all necessary requirments.
Use a certificate to obtain the required permission(s).
If an assembly implementing the custom security references other assemblies, add the referenced assemblies to the full trust assembly list.
Get general help for the exception.

I am a new Microsoft VS.NET Express user to do the SQL Server 2005 Express and VB 2005 Express programming by using the example of a tutorial book. Please help and tell me what is wrong in my SQLCLR sep-up and project coding and how to correct the problems.

Many Thanks in advance,
Scott Chang

View 3 Replies View Related

Data Connections For SQL Server Express In Visual Studio Express

Jan 27, 2006

I have an Excel add-in that connects to a SQL Server Express 2005database. I've decided to create a configuration piece for this add-inin Visual Studio 2005 Express. I added a data connection using the dataconnection wizard and all appeared to go well. Anyways when I attemptto open SQL Server Express to administer the database, it was corruptedand I had to restore it.I eventually got it to work correctly (I'm pretty sure I followedpretty much the same steps as before), but I was just wondering ifanyone had experienced problems like this? I find it a bit scary thatit may be that easy to corrupt the database by just creating a dataconnection.

View 2 Replies View Related

VWD Express 2005 Doesn't See My SQL Express For Data Connections

Mar 24, 2007

I have a laptop and a desktop that I both installed VWD and SQL Express.   from my laptop, i see my laptop's name in the Server Name under data connections, but on the desktop, I only see an older Win2K Server with SQL 2000 in the list. Anyone know why my desktop doesn't show it's NAME?I can create new tables, users and all that stuff from the Management area. Thanks 

View 3 Replies View Related

SQL Express && Network Connections

Jun 21, 2006

This has been driving me crazy for weeks and I can't seem to find any info on it... Here is the scenario:
I've developed an intranet using ASP.NET 2 and SQL Express.  I have the site running on my local development computer and also the production server (Windows Server 2003 running SQL Express).
Fully functional connection string for database running on local development computer and running on production server:
<add name="ASPNETDBConnectionString" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename='|DataDirectory|ASPNETDB.MDF';Integrated Security=True;User Instance=True;Connect Timeout=30"     providerName="System.Data.SqlClient" />
Once I roll the site out, I want to be able to develop (to some degree) against the production database. But when changing my connection string to point to the production server from my development computer...
    <add name="ASPNETDBConnectionString" connectionString="Data Source=LancelotSQLEXPRESS;Database='D:OfficenetApp_DataASPNETDB.MDF';Integrated Security=True;User Instance=True;Connect Timeout=30;" providerName="System.Data.SqlClient" />
...I get the following error:
User does not have permission to perform this action.
I've found some documentation about not using the "User Instance=True;" command but without that I get:
Cannot open database "D:OfficenetApp_DataASPNETDB.MDF" requested by the login. The login failed.Login failed for user 'WITTEGregL'.
In regular SQL Server, (not Express), I just change the connection string to work against the Local or Production database and it's really easy.  I just can't figure out the trick to do the same kind of thing using SQL Express.
Can someone clear this up for me?
Greg

View 5 Replies View Related

Limit To Connections In Sql Express 05?

Dec 22, 2006

If I deploy a database to the web using sql express 05 is there a limit to the number of connections that can be made on it?  I have read posts stating that but cant find any documentation from MSFT that supports that idea.  I just know that it has a limit of a db size to 4 gigs.
Thanks!

View 5 Replies View Related

Trying To Set Up SS 5 Express For Remote Connections

May 9, 2008

I am running a standalone WinXP SP2 system with VS 8 and SS 5 Express on it. I have been working very nicely with VB and SSCE, but I want to learn to use Sql Server 5 Express, which I also have on my system from a prior install of VS 5. I am strictly doing this as a learning experience on my own.

I have been trying to install the NW sample database into SS 5 Ex, but it is obviously not configured properly, because I am getting errors stating that the scripts cannot install because they cannot establish a remote connection to SS. So I looked up the FAQ item here on setting up for remote connections (which I am not even sure applies for a standalone system like mine). Anyway, I followed the instructions in the FAQ, using the SAC util to configure for remote connections, but it does not work. Every time I try to start the DB engine, it fails with the following message:

When trying to start Database Engine when configuiriung for remote connections in SAC:

"TITLE: Surface Area Configuration
------------------------------
The service did not respond to the start or control request in a timely fashion, you need
administrator privileges to be able to start/stop this service. (SQLSAC)



Now, I am the admin user on the PC but OK, so I selected the SAC option to set myself as SSadmin, even though this option is supposedly only for Vista users according to the dialog. Anyway, it does not allow me to set myself as SSAdmin, it returns the following error:

When trying to add myself to SQLSAC, even though it is for Vista:

"TITLE: .Net SqlClient Data Provider
------------------------------
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: Named Pipes Provider, error: 40 - Could not open
a connection to SQL Server)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtI
D=2&LinkId=20476"

(which help link is no help BTW, because it is not valid). And the setting does not get set, because the next time I open that dialog, I am back to being a non-admin user.

So what is the solution here? Am I going to be able to use SS 5 Ex on my PC? No matter which connection option I select, either local only, or for any of the remote options, I cannot get it to work. Am I supposed to reboot my PC after changing a setting? Or is it just not possible to run SS 5 Ex on a standalone PC like mine?

Or worse, are there a bunch of other configuration settings I must change as well? I note that, when I look in the SS Config Manager at the properties for SS Express, I see that it shows the logon option that uses the built-in account "Network Service"rather than Local System or Local Service; is that correct? BTW the browser is always running in all this.

As you may gather, I know zip nada about SS, but I am an experienced VB/VBA/VC+/FP programmer of many years, did desktop Access databases w/VB6 frontends for a lot of customers, so I am familiar with DB design etc. I just know next to nothing about backend stuff like this, other than a little with BTrieve years ago.

Any help appreciated

Pete B
.

View 1 Replies View Related

SQL Express Connections Limitation

Dec 15, 2007

In the latest issue of MSDN Journal , article "IIS 7.0: Enhance Your Apps Wioth Integrated ASP.NET Pipeline", Mike Volodarsky says:

"...Be sure to close the tool after you are finished as SQL Server Express Edition allows only one user identity to access the database at a time."
Can someone elaborate on this?

View 1 Replies View Related

2005 Express - Concurrent Connections

Jul 23, 2005

Hi all !Does someone know how many concurrent connections 2005 Express canaccommodate ? The limit on MSDE was 5 before performance drops considerably.Thanks for your help.Sebastian

View 1 Replies View Related

Active Database Connections SQL Express, How Many

Jun 12, 2006

How can I determine if everyone has logged off of the SQL Express database, ie, no one else is connected.

I need to clean up some files that are generated in my code, but I only want to do that when everyone has logged off the database?

In MS Access, I could try to re-open the MDB file exclusively.

Is there a connection number etc?



View 3 Replies View Related

Sql Express - Enabling Remote Connections

Sep 1, 2006

I have an application that will deployed on LANS running 1- 10 systems on average.

The front end is C#.net 2.0 and the backend will be sql express.

I need to enable remote connections by default because 99.5% of our customers have 2 or more computers.



I have two questions:

1) How do I enabled remote access during installation? Can I run the sqlExpress install silently and turn this on so that my users (who are very non-technical) do not have to go into surface configuration and turn on network access?

2) If I already have sql express installed (like on my development machine now) how do I enable remote access via a command line utility without having to run the surface configuration tool? I want to be able to execute a command to turn on network access so my users don't have to go to a GUI tool(Surface area configuration) and turn it on themselves. Can I use sqlcmd to turn on network access or some other command line utility that I can execute easily. Perhaps there is some type of .NET assembly that I can reference from within my C#.net application that will allow me to enable remote access? Basically How do i take care of this without making my users have to do it?

thanks in advance

View 3 Replies View Related

Problems With Remote Connections To Express

May 7, 2007

Hi,



I'm having problems getting a remote connection to sql server express.



The application connects fine on the local PC (using SQL server authentication), however a networked laptop cannot connect to sql.



The PC/Laptop have been networked using the network wizard, and files on the PC are accesible from the laptop.



tcp/ip is enabled on express and the browser service is running. All firewalls have been switched off.



Any ideas?

View 3 Replies View Related

Sql Server Express Hangs And Does Not Allow Any Connections

Jul 19, 2006

Hi,

We have few installations of SQL Server express on Windows 2003 servers, platforms varrying from Celeron to P4.

Sql Server on system hangs after running for some time. Time varies from few hours to few days.

When we try to connect it just gives connection timeout error.

Any idea how to isolate the problem?

We would like to to enable more detail tracing but do not know how to do that.

Thanks in advance.

View 6 Replies View Related

ASP.NET && SQL Server Express Remote Connections Problem

May 3, 2007

Hi,
My Web Aplication read and write into a sql server express database. The database is in one server and the applicacion is running from my laptop.
Everything works well.
But if i publish the web in the same server that the sql server and getting the next error:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) 
When am running the application from my laptop i am using the external IP and when I publish it in the same server i am changing the IP for the server name. The most interesting part is that the web can read but when it tries to insert is when am getting this error.
Any clue??' I can select, delete, insert using Microsoft SQl Server management Studio from my laptop, then the sql server accept remote connections.
I do not understand why the ASP.Net application works perfectly when runs from my computer but get this error when is publish in the server.
Any help will be more than appreciate.
Thanks in advance

View 8 Replies View Related

Problem With Mssql Express 2005 Connections

Jul 20, 2007

i Have this stored procedure below that creates a backujp copy of tblpersons from database db1 into another database db2 with a table1 pressing f5 to create it it goes fine up to around 5 seconds and after that the error below appears and looking at the stored procedure it is not created either. I already activated the default settings SQL Server to allow remote connections but still the error appears.

CREATE PROCEDURE makebackup
BEGIN
SELECT * INTO table1 FROM sql1.database1.dbo.tblpersons
END
GO

OLE DB provider "SQLNCLI" for linked server "amps" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked server "amps" returned message "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.".

Msg 126, Level 16, State 1, Line 0
VIA Provider impossible to find the module

THANKS
ALEX

View 5 Replies View Related

SQL Express 2005 Going Idle And Not Allowing Connections.

Feb 20, 2007

Just upgraded to SQL Express 2005 from MSDE for Firehouse. Upgrade went great and the db is accessable and running fine. Except when not used for a while. Then I need to restart the db to allow connections of any kind. If I don't I get an error that the db is not accessable and I can't connect. Everything runs fine after until it goes to "sleep" on me again. We upgraded to make use of the 4GB limit as we were at 1.9GB and MSDE was getting a little unhappy.



Any suggestions? Is this a "feature" and if so, is there a script I can run to kick it into working mode again?



Thanks

Chris

View 1 Replies View Related

Number Of Total Connections In SQL Express 2005

Aug 31, 2006

number of connectios tcp/ip..........I have a 3 person but the 4 does not connect????

View 1 Replies View Related

How Many Open Connections Does SQL Server 2005 Express Allow To .mdf File

May 17, 2007

Hi Guys, how many connections does sql 2005 express allow to .mdf file. I stumpled on info on a microsoft site (actually a forum post on msdn) that sql server express allows only a single connection to an .mdf file.
Iam intrested in this because i developed reporting services reports in BIS and iam having problems. If i run a report from report manager, i have to wait for close to 20 minutes before i can be able to run my asp.net application agian. Else if i insert data or retrieve data from my asp.net application, then i have to wait again for 20 minutes or more before i can be able to run my reports else i will get an error that a connection can not be made to the database or that the database is being used by another process.
So in all cases, i have to wait for 20--30 minutes before a connection can be made to the .mdf file. i.e after running a report or after inserting or retrieving data from the database through my asp.net application. 
Iam using sql sever 2005 express with advanced services and visual web developer on windows server 2003. 
Any ideas or help.

View 2 Replies View Related

Installing SQL Server Express &&amp; Remote Connections On XP Home

Jul 6, 2006

My target market includes Micro-SMEs (i.e. 1 to 2 person business). This users often have multiple computers, but tend to run XP Home edition. Hence I need to set up a SQL Server Express on one of the machines and allow the other machines to access it.

So far I realise:

XP machines must be SP2ed (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=379560&SiteID=1)
XP Home machines need to be in the same work group (am I right?)
I have to Open up the MS Firewall on each of the machines for TCP ports 1433 and 1434 (see http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=511441&SiteID=1)
On the machine hosting the SQL Server Express instance, start the "Browser" Service (again http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=511441&SiteID=1)

I have several questions surrounding this.....

If I package SQL Express with my application is there away I can get the Browser to be started automatically? Do I need to write some custom code using the Microsoft.SqlServer.Management namespace?
My understanding of the SQL Server security model is that ideally I should ideally use Windows Authenticated users connections - how do I set up the remote XP Home user on the XP Home machine which is hosting the SQL Server Instance? I'm thing I may have to used Mixed Mode and pass the SQL Server username and password in the connection string. Am I right or can I use Windows Authenticated?
Are there any more resources other than http://msdn.microsoft.com/sql/express/default.aspx?pull=/library/en-us/dnsse/html/emsqlexcustapp.asp which I should look at for help on installing an app bound to SQL Server Express?

Thanks in advance

Ben

View 4 Replies View Related

Does Sql Express License Limits Number Of User / Connections?

Apr 25, 2006

I can't find the answer...it just talk about the CPU / ram /database limit. thanks for you help!

View 1 Replies View Related

How To Allow Remote Connections To SQL Server 2005 Express Database

Feb 27, 2006

I've developed an asp.net 2.0 web app with vs 2005 and am using a SQL Server 2005 Express database. The app works fine locally, but after uploading to the remote web server the following error occures:
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)

How do I go about granting remote connections to SQL Server Express?

Does the web server have to have SQL Server Express installed in order to run apps that utilize SQL Server 2005 Express databases?

Do I grant access locally on my machine or do I have to be on the web server to grant remote connections?

I've been using .net 1.1 with access databases for the past couple of years, so this is all new to me.

Thanks.

View 27 Replies View Related

Cannot Configure SQL Server Express 2005 For Remote Connections

Aug 15, 2006

Hello. I have SQLEXPRESS 2005 installed on my laptop running Windows XP Home Edition with SP2. I have an application that can connect to the local instance with no problem. The other day, I tried to configure SQLEXPRESS 2005 for a remote connection from my desktop. To date, I have been unable to figure out how to do this.

I have followed the instructions posted at various locations on the internet, but to no avail. While I can configure SQLEXPRESS 2005 to allow TCP/IP connections, I have been unable to restart the server.

Here is the pertinent snippet from the error log:

<time> Server A self-generated certificate was successfully loaded for encryption.
<time> Server Error: 26024, Severity: 16, State: 1.
2006-08-14 21:02:27.18 Server Server failed to listen on 'any' <ipv4> 0. Error: 0x277a. To proceed, notify your system administrator.
<time> Server Error: 17182, Severity: 16, State: 1.
<time> Server TDSSNIClient initialization failed with error 0x277a, status code 0xa.
<time> Server Error: 17182, Severity: 16, State: 1.
<time> Server TDSSNIClient initialization failed with error 0x277a, status code 0x1.
<time> Server Error: 17826, Severity: 18, State: 3.
<time> Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
<time> Server Error: 17120, Severity: 16, State: 1.
<time> Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

I have a feeling this problem is due to the way my system is configured, not necessarily how my SQLEXPRESS 2005 is configured. My laptop and desktop are connected via a wireless router, and both machines are running Norton Anti-Virus 2006. I've added sqlserver.exe and sqlbrowser.exe to the exceptions list for the Worm protection on the laptop, i.e., the server machine. There's not a setting at the router that would prevent the server from re-starting, is there?

Any help is GREATLY appreciated!

Matt

View 15 Replies View Related

Simultaneous Snapshots?

May 2, 2006

If multiple snapshots for the same report attempt to generate at the same second, is there something in place to prevent them from conflicting with each other?

Our SSRS 2005 application will use a console app that we are writing to change the default parameters on each report and call the CreateReportHistorySnapshot method. This application will be multi-threaded, so there is a possibility that multiple versions of the same report with different parameters will attempt to run at the same time. We need to be sure that these snapshots will not conflict and return the appropriate SnapshotHistoryID for that report run.

From looking at the History table in the ReportServer database it looks like there are uniqueIDs and other keys that would prevent duplicates, but what if the requests come in at the same time? Is SSRS 2005 smart enough to delay for a second so that there is not a duplicate? Since the way you reference these snapshots in your URL is with the Snapshot Time in UTC format, that only goes out to full seconds (2006-05-02T00:00:00).

Sorry for the length, but I could not think of how to condense this.

Thanks,

Steve

View 4 Replies View Related

Simultaneous DB Access

Mar 12, 2006

I have C# Express and the SQL Express Management Studio CTP installed. So far, I've been forced to disconnect from the server in one app to connect to it in the other. I understand there is something around a 4 connection limit in SQLServer Express, so I don't see the problem.

During one of these episodes, SQL Mgmt Studio hung while opening DB properties, then the SQLServer service couldn't be stopped. Now the DB can't be opened even after a reboot.

Help?

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved