Instance , Session In SQL Express
Jul 24, 2007
Sorry but i need to know even it's very easy for all :
what is a session?
what is an instance?
if i use SQLExpress how meny people will be allowed to connect in same time to dataBase.?
is there another free DBManager, but is it better than SQLExpress?
thanks.
View 5 Replies
ADVERTISEMENT
Mar 5, 2008
Hi all,
For the first time, I want to set up the configuration of my SQL Server Management Studio Express (SSMSE) to allow me in doing the non-User-Instance/ADO.NET 2.0 programming from my VB 2005 Express. The SSMSE and VB 2005 Express are in my Windows XP Pro PC that is part of our NT 4 LAN System in our office. I read the article "How to configure SQL Server 2005 to allow remotre connections" in http://support.microsoft.com/kb/914277/ about (i) "Enable remote connections for SQL Server 2005 Express", (ii) Enable the SQL Server Browser service", (iii) Create exception in Windows Firewall, and (iv) Create an exception for the SQL Server Browser service in Windows Firewall. I entered the SQL Server Surface Area Configuration and I could not decide what options I should take for doing the non-User-Instance/ADO.NET 2.0 programming from my VB 2005 Express. I have the following questions on the page of "Minimize SQL Server 2005 Surface Area":
(1) I saw "Configure Surface Area for localhost [change computer]". I clicked on [change computer] and I saw the
following: Select Computer
The Surface Area Configuration of this surface area of this computer or a remote computer.
Specify a computer to configure: O Local computer
O Remote computer
Should I choose the "Local computer" or the "Remote computer" option?
(2) Below the "Configure Surface Area for localhost [change computer]",
I clicked on "Surface Area Configuration for Service and Connections", Select a component and then configure its services and connections: |-| SQLEXPRESS
|-| Database Engine
Service
I picked => Remote Connection
On the right-hand side, there are: O Local connections only
O Local and remorte connections
O Using TCP/IP
O Using named pipes only
O Using both TCP/IP and named pipes
Should I choose O Local and remorte connections and O Using named pipes only?
Please help and tell me what options I should choose in (1) and (2).
Thanks in advance,
Scott Chang
View 10 Replies
View Related
Jan 6, 2007
Hi all,
I have read/studied (i) Working with Databases in Visual Web Developer 2005 Express in http://quickstarts.asp.net/QuickStartv20/aspnet/doc/data/vwd.aspx, (ii) Xcopy Deployment (SQL Server Express) in http://msdn2.microsoft.com/en-us/library/ms165716.aspx, (iii) User Instances for Non-Administrators in http://msdn2.microsoft.com/en-us/library/ms143684.aspx, and (iv) Embedding SQL Server Server Express in Applications in http://msdn2.microsoft.com/en-us/library/ms165660.aspx. I do not understand the concepts and procedures to do Xcopy and User Instances for non-administrators completely-I do not know how to connect to databases and create database diagrams or schemas using the Database Explorer. I have a stand-alone Windows XP Pro PC. I have created a ChemDatabase with 3 dbo tables in the SQL Server Management Studio of my SQL Server Express and a website of my VWD Express application with an App_Data folder. I am not able to proceed to use Xcopy and user instance to bring the 3 dbo tables of ChemDatabase to my App_Data folder. Please help and give me some detailed procedures/instructions to bring the 3 dbo tables of ChemDatabase (or ChemDatabase itself) from the SQL Server Management Studio Express to the App_Data folder of the website of my VWD Express project?
Thanks in advance,
Scott Chang
View 3 Replies
View Related
Aug 3, 2006
The 2.0 version of ASPSTATE is slightly different than the 1.1 version in that one table has one additional column and another table uses a different data type and size for the key. The 2.0 version also has a couple additional stored procedures.
We'd like to manage just one session state database if possible so we're trying to figure out if Microsoft supports using the new schema for 1.1 session state access (it seems to work, but our testing has been very light).
Is there any official support line on this? If not, can anyone comment on whether or not you'd expect it to work and why?
Thanks.
View 1 Replies
View Related
Sep 5, 2006
How is memory, (RAM) used per instance in SQL Express 2005? I am aware that SQL Express will use only 1 GB of RAM, but is that as a whole, or per instance?
thanks.
View 1 Replies
View Related
Jan 22, 2008
HI
I make an application. I want to make an setup to install sqlexpress. So I add the SqlExpress in prequested components. There I want to make some configuration to the sqlexpress. There configuration that i want to make is that , to create a new sql instance in sqlserver. While installing the sqlexpress ... default instance is "sqlexpress" if i install express edition. anyway, i want to make it something like "abc". So how can i make a configuration to the sqlexpress installation
Regard
HaterClay
View 5 Replies
View Related
Oct 8, 2015
SQL Express 2014 was installed to support reporting for an application. I can connect to the server using the server name without any issue. When I run “select @@version”, I get SERVERNAMESQLEXPRESS, but I can’t connect to the server with SERVERNAMESQLEXPRESS. This is throwing off one of my script when trying to connect to the server.My script connects to the server using SERVERNAME for default instance or SERVERNAMEINSTANCENAME for named instance.
View 1 Replies
View Related
Oct 3, 2006
Hi,
How do I create a new instance for SQL Express? Also the machine also has MSDE Installed if that should be taken into consideration.
Thanks.
View 8 Replies
View Related
Oct 18, 2007
Hello everybody, on my first post on this forum
I just installed SQL Server Express 2005 (server) and created default instance SQLEXPRESS, so that, when I want to access in remote mode, the server conn string is: <servername>SQLEXPRESS
But I have been told there is one way to configure SQL Server so that only one instance is allowed, so you dont need to specify any. If this was true, I would only need to give 'servername' to access remotely.
Is this true? How can I achieve this? Will it be possible to doing it after having installed software, or do I have to uninstall and install it again?
Sorry if this is too basic, I am just having first contact with SQL Server
Thanks very much for your help!!!
View 2 Replies
View Related
Feb 5, 2008
Hi,
I have a installed SQL Server named instance by passing command line parameters to SQLEXPR.EXE on many computers. When I tried to uninstall this instance from one of the machines, the unistallation doesn't proceed after System Configuration Check dialog. The screen was blank for a long while and I had to use the Task Manager to stop it.
I'm able to unistall this instance from the other computers.
Also, I'm able to remove the instance by Clicking the Change option from Add/Remove programs.
Can anyone help?
View 1 Replies
View Related
Feb 7, 2007
Hello:
I have a requirement to connect to a user instance of sql express from a visual basic 6.0 project. I'm having trouble with my connection string.
I'm able to connect with my connection string to sql express:
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider= SQLOLEDB; Data Source=.SQLEXPRESS; Integrated Security=SSPI;Connect Timeout=30"
and the get user instance name:
'Get the user instance name
strSQL = "SELECT owning_principal_name, instance_pipe_name From sys.dm_os_child_instances"
but don't know how to query the instance name. Currently, I am returning the user instance name in a function. My questions are:
1. Is there any parameter for the user instance name in the connection string?
2. To attach and detach, what providers are available?
3. Using the Provider=SQLNCLI, is the AttachDBFileName parameter optional if I supply the database?
4. What is best recommended practice for querying a user instance from application code in vb6?
5. Are there any articles that specifically describe how to query a user instance if the dbfilename path is dynamic?
Sorry if my questions are not clear. I'm new to microsoft programming (coming from Lotus/Domino)
Thanks for any help you can give me.
View 9 Replies
View Related
Feb 5, 2007
When I try to connect to a default Express instance in Management Studio at the machine (Windows XP SP2) where the instance is installed, I'm getting the following 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server)
What does provider: SQL Network Interfaces mean? Does it mean the Shared Memory, Named Pipes and TCP/IP?
Additional information:
1. The following Network Protocols are enabled: Shared Memory, Named Pipes, TCP/IP thru Configuration Manager
2. SQL Server Express default instance is running using NT
AUTHORITYNetworkService.
3. SQL Server Browser service is not running. I believe this is not needed unless I want to connect to the instance from another machine.
4. Has tried to disable Windows Firewall but I believe it should not be matter in this particular case since this is within the same machine.
5. Can connect to the instance in ODBC Administrator using System DSN thru Named Pipes or TCP/IP.
Can such error caused by not having sufficient memory so the system is running kind of slow?
View 2 Replies
View Related
Nov 8, 2006
Hello,
i have both server instances installed on same machine, 1st is sql 2k enterprise and 2nd is sqlExpress 2005.
all was working fine till today, i renamed a catalog in the express2005 instance. the reason for this renaming was a duplicate catalog name in the 2k and in the 2005 so when i backup my dbs one is overwriting the other because of the same file name.
after this rename i started to get some errors in the application so i decided to rename it back to its original name and relocate the backup destination to other folder.
now the situation in that i cant login any more to the 2005 server, when i login to servsqlexpress2005 (via manager or via odbc) i see always the 2k server.
i tried to login to any server name like .sqlexpress2005 or whatever i always get to see the 2k catalogs only.
in proccess list i see both sqlserv.exe proccesses, also in services all is working fine, i only cant access to this server in any way.
PLEASE HELP!!!
should i reinstall 2005 instance? i dont wanna do that i have so much configs on it include very massive reporting services
***the more that i try to connect my 2k5 server the problem looks wierd more and more.
when i connected as localhostsqlexpress2005 i succeeded... but in 2-3 minutes connection didnt turn off, but it switched to the 2k server...
it looks like a major bug!!! how can connection switch himself between 2 server without even notice??
View 4 Replies
View Related
Feb 8, 2007
Hi All,
I am using SQL Server Express to connect to the network using VPN on a local machine. I have done the following..
a.) Enabled the remote connections for the Express Instance and rebooted the machine.
b.) Connected to the machine with Express Edition locally and can also connect other SQL Server instances from it to verify connectivity.
c.) Yes, SQL Browser Service is running.
d.) Firewall is not turned on, so I do not have to configure any exceptions.
Now here is the big problem: When I browse for SQL Servers on the network the machine does not show up on the list, i.e "macinenameSQLExpress". I had uninstalled and reinstalled the Express edition and rebooted the machine several times with no luck on the SQL Express Instance showing up on the browser list. I even changed the default instance name to "machinenameMACHINE1" on one of the reinstalls. However, I can connect to other SQL Instances from it. But, I cannot connect to it from other machines since its not registered on the network. I have been working on this for the past few days by looking for a solution via this and other forumns. Is there some setting somewhere that I am missing that prevents this instance from not showing up on the browser list. This issue with SQL Express Edition is baffling as well as frustrating and any ideas that can resolve this issue is very much appreciated.
View 15 Replies
View Related
Mar 16, 2007
Hi,
Im working in a proyect where i need to attach a mdf database to the client's SQL express instance. How can i accomplish during installation and without getting the user involved.
Any help will be greatly appretiated
View 3 Replies
View Related
Feb 11, 2008
Can anyone tell me what are the necessary steps if I want to connect to a Remote SqlExpress Instance ? I am using Visual Studio 2005. When I tried to connect it says that the remote server does not allow remote connection. I have enabled all the protocols from Sql Server Configuration manager and disable the firewall. But it still not working. Pls Help me.
Thank You.
View 4 Replies
View Related
Jan 15, 2008
I installed SQL Express but didn't install using mixed mode (which is required for the application I am using, DynamicsGP v10). I tried to uninstall and re-install using mixed mode but here is where the nightmare begins. I get a message that the instance name already exists (the default instance name) and I get kicked out of the install.
I am not technical. I went to the support forum but couldn't understand most of the answers to questions which seemed to be related to my problem.
Please, could someone help me with this. It sounds like a simple problem but I am stuck.
Thanks for any help.
Bill Kersh
View 6 Replies
View Related
Oct 8, 2006
I am attempting to install SQL Express 2005 on a laptop that already has MS Sql Server installed.
I downloaded the SQLEXPR_TOOLKIT.EXE from Microsoft's website and let it go through its installation routine accepting all the default answers.
When I open SQL Server Management Studio Express, I can only connect to the SQL 2000 instance. I have issued the 'SELECT @@VERSION' command, and When I try to connect to the instance COMPUTERNAMESQLEXPRESS, the following error message is displayed:
Cannot connect to YOUR-F8A010A9D0SQLEXPRESS.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure my 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)
When I go to remove SQL Express 2005 using the add/remove programs, there is a check box that says
"Remove SQL Server 2005 instance components"
and in the box underneath where it lists all the instances it says: "No instances have been installed"
How do I create an instance for SQL Server 2005?
Thank you
Susan
View 1 Replies
View Related
Aug 4, 2006
I'm currently building an MSI to install SQL Express and want to install as a new instance, not the default instance, and not into the SQLEXPRESS instance either.
I saw the package.xml for Express in my VS Studio install. How would I go about using this? Or would I have to modify the MSI via Orca or something? I hope not. Wouldn't have a clue where to start.
In short, regardless if there is already an SQL Express instance on the machine or not, I need to silently install a fresh new instance of the server engine only, no client tools except sqlcmd.exe
I have seen that MS would advise that everyone use the SQLEXPRESS instance but I don't agree with it. I don't want other application installs trampling over my server settings and I don't want to trample over others. For example, expose others to TCPIP and CLR when they don't need it, and conversely others swithing them off in a shared server instance when I do need them.
View 7 Replies
View Related
Dec 29, 2006
Is there a way to re-index a SQL Server Express User Instance? If I try to open the .mdf while the website is still running, I get a message stating that the file is in use. If I shut down the web service and open the .mdf, then restart the website, then the website cannot access the .mdf while I have it open in VStudio (reminds me a lot of Access).
In the past I tried to open a user instance with SQL Server Management Studio, but then it goofed up my user-instance...so I am hesitant to try that again. Is there any way to re-index?
Thanks!
View 1 Replies
View Related
Mar 3, 2007
Hi,
As per my understanding, if the user instance property is set to true for an express database then it is not multiuser/shared. A copy of the database is made for each user so he works on his private data. On the other hand, if user instance property is set to false then the express database is multiuser/shared. Thus different users will connect to the same instance of the database and changes by one user will be seen by the other users.
Now, if we use an express database with asp.net and our application is installed on IIS then it is mandatory for the express database to have the user instance property set to true. But we see that in this case when different users visit our website, the data they enter goes into the same common database, ie. all the users share the same common database, even though user instance is true for the express database.
Please shed some light to explain the correct functionality of the user instance property as related to the express database.
Regards, Sandy
View 1 Replies
View Related
Jul 25, 2005
I'm new to SQL Server and just installed VS 2005 and SQL Server 2005 Express. My question is, is there any naming rules for an instance? When I open Express Manager it is asking me to enter an Instance name. Thanks for any suggestions or help,
View 2 Replies
View Related
Dec 7, 2006
Hi,
how to build a sql server instance in the network using sql express?
thank you.
View 7 Replies
View Related
Feb 26, 2008
Hi
I want to Upgrade my express instance "Officeservers" to standard. I have installed Sql Server 2005 standard, but
the MOSS 2007 installs default Officeservers to express. The reason to upgrade is to use the maintenance plans to backup the instance. I have a report server on a different instance (standard).
Do I upgrade with SKUUPGRADE=1 and this is all ?
Do I need to run sp2 after this and does this affect my report server ?
Thanks for your help.
regards
Ivar
View 3 Replies
View Related
Nov 21, 2006
Hi,
Do the restrictions for SQL 2005 express apply to each instance or per server? For example, if there are two instances installed on a dual CPU machine, can each instance be configured to use 1 CPU and 1 GB of RAM?
Thank you.
View 1 Replies
View Related
Apr 18, 2008
(have reposted this here from Setup group, since no answers there)
Hi,
I am having a lot of trouble connecting to a user instance I've created. User instances have been enabled, Named pipes are also enabled. Running on XP SP2 with SQL2K5 SP2. I also have a standard SQL2005 instance running on this development machine.
When using SqlClient in a .Net2.0 application, my connection string to create the user instance looks like:
"Data Source=.SQLEXPRESS;integrated security=true;attachdbfilename=c: emp3500.mdf;user instance=true"
This connection succeeds and I see the new service being started etc. I also see the log file being created in my Application Data area. The log file all looks normal except for these lines at the very top of the report.
2008-04-15 16:29:13.57 Server Error: 17156, Severity: 16, State: 1.
2008-04-15 16:29:13.57 Server initeventlog: Could not initiate the EventLog Service for the key 'D69F8BFF-E490-47'.
2008-04-15 16:29:13.67 Server Error: 17054, Severity: 16, State: 1.
2008-04-15 16:29:13.67 Server The current event was not reported to the Windows Events log. Operating system error = 6(The handle is invalid.). You may need to clear the Windows Events log if it is full.
2008-04-15 16:29:13.67 Server Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86)
I can also run a query on the main express instance to check if a child instance is running:
SELECT owning_principal_name, instance_pipe_name, heart_beat FROM sys.dm_os_child_instances
gives:
METECHsteve \.pipeD69F8BFF-E490-47 sqlquery alive
If i try to connect via sqlcmd with this command line:
C:Program FilesMicrosoft Visual Studio 8VC>sqlcmd -S np:\.pipeD69F8BFF-E49
0-47 sqlquery -l 60
this will give:
HResult 0x57, Level 16, State 1
SQL Network Interfaces: Connection string is not valid [87].
Sqlcmd: Error: Microsoft SQL Native Client : 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..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
If i try to connect via SSMS using the pipe name above and everything else defaulted, i get the following 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: SQL Network Interfaces, error: 25 - Connection string is not valid) (.Net SqlClient Data Provider)
Both errors are pretty similar. I am running this locally, so I suspect the 'remote connection' error text is a red herring. The connection string is pretty minimal so I cant see why the connection string is invalid.
Heres another wierd thing. It used to consistently work. It now consistently fails. I have also tried creating a VM with SQLX. Now that works initially but once it fails, it seems to fail consistently. Reboots of the VM dont seem to fix it. That sort of leads me to believe that I've done something to my server (ie a setting somewhere).
Any help getting this connection issue sorted would be appreciated!
Thanks,
Steve
View 5 Replies
View Related
Oct 11, 2007
I recently installed SQL Server and Visual Studio. When I went into SQL Server, I could only connect to a SQL EXPRESS Database engine. I need to access the full Database. I tried disconnecting it, uninstalling/reinstalling. Now I cant connect to the SQL EXPRESS DB Object. There are no SQL Server services running.
Please help.
Thanks
View 8 Replies
View Related
Jun 22, 2006
[Background]
Upgraded SQL Server Express to Advanced and I started getting a user instance error. I followed the advice on some posts (most notably: http://blogs.msdn.com/sqlexpress/). I deleted the User Template Data as the instructions say but now get the error below when trying to run my application.
I've tried setting User Instance = False with no luck. Also noticed after rebooting that the Template Data file was recreated but the folder is empty. Have tried re-installing the update but it says there's nothing to update! Has anyone else had this problem? Any fixes? Any help will be greatly appreciated...
Many thanx,
Milt
The details:
Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException:
Failed to generate a user instance of SQL Server due to a failure in
copying database files. The connection will be closed.
Source Error:
Line 88: /// <returns></returns>
Line 89: public static ShoppingCart GetCart() {
Line 90: IDataReader rdr = ShoppingCartProvider.Instance.CartGetCurrentCart(GetUserName());
Line 91: ShoppingCart cart = new ShoppingCart();
Line 92: cart.Load(rdr);
Source File: c:2.0LineFLowDEVSHED 1production 1_catherinetough.co.ukCathyTProductionSiteApp_CodeBLLShoppingCartManager.cs Line: 90
Stack Trace:
[SqlException (0x80131904): Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed.]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +171
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +199
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2300
System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +34
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +606
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +193
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +218
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +429
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +70
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +510
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +85
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +89
System.Data.SqlClient.SqlConnection.Open() +160
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +196
Commerce.Providers.SqlShoppingCartProvider.CartGetCurrentCart(String userName) in D:@My ProjectsPayPalCommerce Template 2.0CommerceStarterKit09Commerce.ShoppingCartProviderSqlShoppingCartProvider.cs:139
[Exception: Error Executing CMRC_CART_GetCurrentCart: Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed.
@userName=9fb1c091-5117-4988-8592-19940069dc1e
]
Commerce.Providers.SqlShoppingCartProvider.HandleError(SqlParameter[] paramArray, SqlException x, String sprocName) in D:@My ProjectsPayPalCommerce Template 2.0CommerceStarterKit09Commerce.ShoppingCartProviderSqlShoppingCartProvider.cs:270
Commerce.Providers.SqlShoppingCartProvider.CartGetCurrentCart(String userName) in D:@My ProjectsPayPalCommerce Template 2.0CommerceStarterKit09Commerce.ShoppingCartProviderSqlShoppingCartProvider.cs:141
ShoppingCartManager.GetCart() in c:2.0LineFLowDEVSHED 1production 1_catherinetough.co.ukCathyTProductionSiteApp_CodeBLLShoppingCartManager.cs:90
MiniBasket.Page_Load(Object sender, EventArgs e) in c:2.0LineFLowDEVSHED 1production 1_catherinetough.co.ukCathyTProductionSiteModulesMiniBasket.ascx.cs:17
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +80
System.Web.UI.Control.LoadRecursive() +49
System.Web.UI.Control.LoadRecursive() +132
System.Web.UI.Control.LoadRecursive() +132
System.Web.UI.Control.LoadRecursive() +132
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3745
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
View 6 Replies
View Related
Feb 2, 2007
I have installed SQL Server Express and I can connect with it locally using "localcomputernameSQLEXPRESS". It is configured for remote connection and for some reason, when I browse for this instance on the Network Server, it does not appear in the list. I have unistalled/installed it several times and still I cannot see this instance on the SQL Network server list. Can anyone help troble shoot this frustrating issue...
Thanks!
SAM
View 1 Replies
View Related
Jan 9, 2007
Hi Folks,
Is it better to install SQL Server Express Default or install as Named Instance?
What are the pros and conns?
Thanks
View 1 Replies
View Related
Mar 23, 2006
How do you create a user instance so that you dont have to be logged on as administrator?
View 5 Replies
View Related
Dec 10, 2006
how do I attach my user instance mdf and chagne scheme etc? for example my mdf is at c:sqldatamyapp.mdf
I tried attach and got
TITLE: Microsoft SQL Server Management Studio Express
------------------------------
Attach database failed for Server 'IEI-A64SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)
------------------------------
Directory lookup for the file "c:sqldatamyapp.mdf" failed with the operating system error 5(Access is denied.). (Microsoft SQL Server, Error: 5133)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.2047&EvtSrc=MSSQLServer&EvtID=5133&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
I was able to run application with integrated security on teh mdf file.
View 3 Replies
View Related
Aug 31, 2007
Hello, I'll try to make the description of this multi-problem scenario as short and sweet as possible.
First Problem
The default named instance of "SQLEXPRESS" was somehow installed on my machine and nothing can get rid of it. However, it is somehow invisible to everything else on my system, so I can't use it. How do I get rid of the instance or repair it?
Second problem
I installed another instance of the SQL Server 2005 Express and named it, "SQLEXPRESS02". I attached a database to it and successfully retrieved data from it using an application that used the following connection string:
Data Source=(local)sqlexpress02;AttachDbFilename=|DataDirectory|MyDatabase.mdf;Initial Catalog=MyDatabase;Integrated Security=True;User Instance=True
Next, I tried to use a different application to retrieve data from a copy of the same database located in a different directory and used the same connection string as that shown above. When I do this, I receive an error message similar to the following:
Database 'C:PathToMyOriginalProjectinDebugMyDatabase.mdf' already exists. Choose a different database name.
Cannot attach the file 'C:PathToMyNewProjectinDebugMyDatabase.mdf' as database 'MyDatabase'.
I then tried, out of curiosity, to change the Initial Catalog portion of the connection string to "MyDatabase2" and attempt the data retrieval again. The connection string looked like this:
Data Source=(local)sqlexpress02;AttachDbFilename=|DataDirectory|MyDatabase.mdf;Initial Catalog=MyDatabase2;Integrated Security=True;User Instance=True
Interestingly enough, it worked. However, when I switched back to the original connection string, I got the same error message as before.
What's going on here? I thought that one of the virtues of user instances was that they would attach at run-time, then disconnect when the application was through with them. If that's the case, then why am I getting errors stating that a database of the same name is already attached? Is there a way to detach these databases from a user instance? Can it be done by some value in the connection string?
Thank you in advance for your help.
View 4 Replies
View Related