Showing posts with label management. Show all posts
Showing posts with label management. Show all posts

Tuesday, March 27, 2012

Cannot reinstall Sql Server Management Express

Hi,I just unistalled Sql Management Express and now I want to install it again but the installer says the product is already installed,Can somebody help me with this

What SQL components do you still show in Add/Remove Programs? Can you click on Remove and then on Report to show the detailed list and post the contents back to the thread?

Thanks,
Sam Lester (MSFT)

|||I was trying to reinstall from the setup package, using the change button in the add remove programs utility I was able to reinstall it thanks

Thursday, March 22, 2012

Cannot open user database error message AFTER I connect and log in.

Ok so I'm using the Management Studio Express and was able to log in and get into the database server, but I had to click the "options>>" button and change database I wanted to connect to from <<default>> to my database on the server or else I get the "cannot open user database, login failed" error message.

Then I right click my database and it gives me the "Cannot open user database. Login failed" error message, even though I already connected to the database to login during the connect screen.

Also I'm able to interact with the database using SQL QUERIES in the Management Studio, like adding new tables with it, but if I right click the database and click "add table" I get that error.

What gives? I know I have permission since I was able to log on, and modify the database using SQL queries but if use the GUI I can't use it. I can't even right-click select "properties" without getting that error.

The reason I want to use the GUI is because I want to right click and use the backup feature of the database.

My guess is that Management Studio continues to point to the default database(which gives me that message) after I already logged in, so I have no idea how to change the default database that management studio points to, to the one I do have permission to use.

Thanks in advance.

What's the account you used to connect to SQL Database Engine in Management Studio Express? The 'Default Database' in SQL is a property of login, that means each login has a Default Database which will be accessed when connecting to SQL Server. You can check this property in the Security->login Properties. Just make sure your login has access on its default database.

cannot open table in sql server management studio express

Hello all.

I have uploaded a table into sql management studio express. However, when I right click on the table and try and open it, I get an error message saying;

"SQL Execution Error.

Executed SQL statement: select columnName1, columnName2 etc....

Error source: Microsoft. VisualStudio.DataTools

Error Message: Exception has been thrown by the target of an invocation"

Because of this error, I cannot manually edit the table. However, when I write a query running select * from Table X, the table does appear that way.

Any help regarding how to open the table would be very much appreciated!!

I have same issue now. What is your solution?|||

Hi,

If you wanna modify data. you'd rather build a T-SQL script (e.g. with insert, update and/or delete
statements).

To prevent problems also consider enclosing the modification in a transaction, e.g.:

begin tran

-- do modifications

-- verify results

commit tran -- if results were ok

rollback tran -- if results were wrong

BTW, the question may be asked better at Sql server express :)

cannot open table in sql server management studio express

Hello all.

I have uploaded a table into sql management studio express. However, when I right click on the table and try and open it, I get an error message saying;

"SQL Execution Error.

Executed SQL statement: select columnName1, columnName2 etc....

Error source: Microsoft. VisualStudio.DataTools

Error Message: Exception has been thrown by the target of an invocation"

Because of this error, I cannot manually edit the table. However, when I write a query running select * from Table X, the table does appear that way.

Any help regarding how to open the table would be very much appreciated!!

I have same issue now. What is your solution?|||

Hi,

If you wanna modify data. you'd rather build a T-SQL script (e.g. with insert, update and/or delete
statements).

To prevent problems also consider enclosing the modification in a transaction, e.g.:

begin tran

-- do modifications

-- verify results

commit tran -- if results were ok

rollback tran -- if results were wrong

BTW, the question may be asked better at Sql server express :)

cannot open table in sql server management studio express

Hello all.

I have uploaded a table into sql management studio express. However, when I right click on the table and try and open it, I get an error message saying;

"SQL Execution Error.

Executed SQL statement: select columnName1, columnName2 etc....

Error source: Microsoft. VisualStudio.DataTools

Error Message: Exception has been thrown by the target of an invocation"

Because of this error, I cannot manually edit the table. However, when I write a query running select * from Table X, the table does appear that way.

Any help regarding how to open the table would be very much appreciated!!

I have same issue now. What is your solution?|||

Hi,

If you wanna modify data. you'd rather build a T-SQL script (e.g. with insert, update and/or delete
statements).

To prevent problems also consider enclosing the modification in a transaction, e.g.:

begin tran

-- do modifications

-- verify results

commit tran -- if results were ok

rollback tran -- if results were wrong

BTW, the question may be asked better at Sql server express :)

sql

Tuesday, March 20, 2012

cannot open property page for sa account

When I do right click and Properies on the sa account I get this:

TITLE: Microsoft SQL Server Management Studio

Cannot show requested dialog.

ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

Property IsLocked is not available for Login '[sa]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)

BUTTONS:

OK

Also for the other account I created,

TITLE: Microsoft SQL Server Management Studio

Cannot show requested dialog.

ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

Property MustChangePassword is not available for Login '[myLogin]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)

BUTTONS:

OK

I am running SQL Server Developer Edition SP2 in Windows Vista Ultimate.

Why is this happening to me?

I added my Vista account to the administrators using the Provisioning tool, and restarted the computer but this did not help.
I allowed SQL to have Mixed Mode (2)
What do I have to do to get SQL working?

Let's eliminate the rights and permissions question first. Log out of everything except the operating system. Then right-click the SQL Server Management Studio and select "Run as Administrator". See if the problem persists.

Second, are you running the Management Studio against the same version of SQL Server? In other words, are you trying to manage a SQL Server 2000 instance from 2K5?

|||

Given that this is a tool question, I'm moving this thread to the tools forum.

Thanks
Laurentiu

|||Its SQL Server 2005 Dev edition. No 2000 in my box.

I have solved the problem, because After updating the SQL server 2005 to SP2, it makes the sql only Windows Authentication. I had to change that to Mixed authentication.

Once I did that, I changed the sa password with ALTER USER sa WITH PASSWORD='mypassword' UNLOCK.

Then things worked out.

But I think MS should tell people about this, so that we dont spend a day figuring out what the problem is.sql

Cannot open Enterprise Mgr

All of a sudden I am getting a "Microsoft Management Console has encountered
a problem..." error when opening EM. It has been working fine up til now, and
I've made no changes to system, etc....
I replaced the SQL Server Enterprise Manager.MSC file with one from my
laptop, which is identical, but this did not help. I can open other mmc
files, just not this one.
Any help would be greatly appreciated, as this is preventing me from doing
many tasks.
Thanks in advance,
Tom
Hi Tom,
From your descriptions, I understood that you are not able to open SQL
Server Enterprise Manager with the error message "Microsoft Management
Console has encountered a problem...". Have I understood you? Correct me if
I was wrong.
Based on my knowledge, please delete file "SQL Server Enterprise Manager"
under
C:\Documents and Settings\<login ID>\Application Data\Microsoft\MMC
and then try again.
If you have any questions or concerns, don't hesitate to let me know. We
are always here to be of assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Thanks Michael, that did the trick.
I appreciate your quick response and assistance.
Tom
"Michael Cheng [MSFT]" wrote:

> Hi Tom,
> From your descriptions, I understood that you are not able to open SQL
> Server Enterprise Manager with the error message "Microsoft Management
> Console has encountered a problem...". Have I understood you? Correct me if
> I was wrong.
> Based on my knowledge, please delete file "SQL Server Enterprise Manager"
> under
> C:\Documents and Settings\<login ID>\Application Data\Microsoft\MMC
> and then try again.
> If you have any questions or concerns, don't hesitate to let me know. We
> are always here to be of assistance!
>
> Sincerely yours,
> Michael Cheng
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
|||Hi Tom,
It's great to hear that it works
If you have any questions or concerns on SQL Server next time, don't
hesitate to let me know. We are always here to be of assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/tec...rview/40010469
Others: https://partner.microsoft.com/US/tec...pportoverview/
If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.

Monday, March 19, 2012

Cannot open database "mydb" requested by the login.

Hi,
I installed sqlserver 2005 express on windows server 2000 sp4.
I made a new database ("mydb") with sql server Management studio express
(not a mdf file).
I also defined tables and i can make and execute queries in sql server
Management studio express without problem.
I granted to account ASPNET all privileges on the directories of sql server
(read, write, modify..) in c:\program files\sql server.
But when i try to execute this aspx-code (aspnet 2.0) with IE,
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:mydbConnectionString %>"
SelectCommand="select col1 from table1;"></asp:SqlDataSource>
i get this error:
Cannot open database "madb" requested by the login. The login failed.
Login failed for user 'PEN1800\ASPNET'.
How to solve this?
Thanks
CasTo grant access to a SQL Server instance (SQL Express or
other versions), you need to add the account as a login in
SQL Server. You don't need to mess with permissions on the
database files or in the SQL Server directory.
Then to allow that login access to a database, you need to
add the login as a user in the database. Once you have done
that, you need to grant the whatever permissions are
necessary in the database.
Add the login PEN1800\ASPNET to your SQL Express instance.
Add PEN1800\ASPNET as a user to the database mydb
Grant whatever permissions are needed for PEN1800\ASPNET
-Sue
On Fri, 5 May 2006 21:30:38 +0200, "cas" <cas@.nomail> wrote:

>Hi,
>I installed sqlserver 2005 express on windows server 2000 sp4.
>I made a new database ("mydb") with sql server Management studio express
>(not a mdf file).
>I also defined tables and i can make and execute queries in sql server
>Management studio express without problem.
>I granted to account ASPNET all privileges on the directories of sql server
>(read, write, modify..) in c:\program files\sql server.
>But when i try to execute this aspx-code (aspnet 2.0) with IE,
><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
>ConnectionStrings:mydbConnectionString %>"
> SelectCommand="select col1 from table1;"></asp:SqlDataSource>
> i get this error:
>Cannot open database "madb" requested by the login. The login failed.
>Login failed for user 'PEN1800\ASPNET'.
>How to solve this?
>Thanks
>Cas
>|||Hi,
thanks for replying.
I'm new to this so sorry if it's a stupid question, but can i add the login
PEN1800\ASPNET to the SQL Express instance with 'sqlserver Management Studio
express' or i have to use sqlcmd and the command 'create login ..'.?
And about adding PEN1800\ASPNET as a user to the database mydb, can i do
that with 'sqlserver Management Studio express'?
Thanks
Cas
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:nlen525khvamen0l1viflf84g5j0lbjplg@.
4ax.com...
> To grant access to a SQL Server instance (SQL Express or
> other versions), you need to add the account as a login in
> SQL Server. You don't need to mess with permissions on the
> database files or in the SQL Server directory.
> Then to allow that login access to a database, you need to
> add the login as a user in the database. Once you have done
> that, you need to grant the whatever permissions are
> necessary in the database.
> Add the login PEN1800\ASPNET to your SQL Express instance.
> Add PEN1800\ASPNET as a user to the database mydb
> Grant whatever permissions are needed for PEN1800\ASPNET
> -Sue
> On Fri, 5 May 2006 21:30:38 +0200, "cas" <cas@.nomail> wrote:
>
server[vbcol=seagreen]
ConnectionString="<%$[vbcol=seagreen]
>|||I don't know what you can and can't do with Management
Studio Express. When in doubt, just use sqlcmd as you can
certainly do it with t-sql statement.
-Sue
On Sat, 6 May 2006 10:15:58 +0200, "cas" <cas@.nomail> wrote:

>Hi,
>thanks for replying.
>I'm new to this so sorry if it's a stupid question, but can i add the login
>PEN1800\ASPNET to the SQL Express instance with 'sqlserver Management Studi
o
>express' or i have to use sqlcmd and the command 'create login ..'.?
>And about adding PEN1800\ASPNET as a user to the database mydb, can i do
>that with 'sqlserver Management Studio express'?
> Thanks
>Cas
>
>"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
> news:nlen525khvamen0l1viflf84g5j0lbjplg@.
4ax.com...
>server
>ConnectionString="<%$
>|||In Management Studio Express, look at the Security Logins folder. Add ASPNE
T
and set permissions in the USER MAPPING section. Since the webpage reads an
d
writes, I selected db_datareader and db_datawriter (and public, but not sure
this is wise for non-intranet pages?). Hope this helps get you in the area.
"Sue Hoegemeier" wrote:

> I don't know what you can and can't do with Management
> Studio Express. When in doubt, just use sqlcmd as you can
> certainly do it with t-sql statement.
> -Sue
> On Sat, 6 May 2006 10:15:58 +0200, "cas" <cas@.nomail> wrote:
>
>

Cannot open database "mydb" requested by the login.

Hi,
I installed sqlserver 2005 express on windows server 2000 sp4.
I made a new database ("mydb") with sql server Management studio express
(not a mdf file).
I also defined tables and i can make and execute queries in sql server
Management studio express without problem.
I granted to account ASPNET all privileges on the directories of sql server
(read, write, modify..) in c:\program files\sql server.
But when i try to execute this aspx-code (aspnet 2.0) with IE,
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:mydbConnectionString %>"
SelectCommand="select col1 from table1;"></asp:SqlDataSource>
i get this error:
Cannot open database "madb" requested by the login. The login failed.
Login failed for user 'PEN1800\ASPNET'.
How to solve this?
Thanks
CasTo grant access to a SQL Server instance (SQL Express or
other versions), you need to add the account as a login in
SQL Server. You don't need to mess with permissions on the
database files or in the SQL Server directory.
Then to allow that login access to a database, you need to
add the login as a user in the database. Once you have done
that, you need to grant the whatever permissions are
necessary in the database.
Add the login PEN1800\ASPNET to your SQL Express instance.
Add PEN1800\ASPNET as a user to the database mydb
Grant whatever permissions are needed for PEN1800\ASPNET
-Sue
On Fri, 5 May 2006 21:30:38 +0200, "cas" <cas@.nomail> wrote:
>Hi,
>I installed sqlserver 2005 express on windows server 2000 sp4.
>I made a new database ("mydb") with sql server Management studio express
>(not a mdf file).
>I also defined tables and i can make and execute queries in sql server
>Management studio express without problem.
>I granted to account ASPNET all privileges on the directories of sql server
>(read, write, modify..) in c:\program files\sql server.
>But when i try to execute this aspx-code (aspnet 2.0) with IE,
><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
>ConnectionStrings:mydbConnectionString %>"
> SelectCommand="select col1 from table1;"></asp:SqlDataSource>
> i get this error:
>Cannot open database "madb" requested by the login. The login failed.
>Login failed for user 'PEN1800\ASPNET'.
>How to solve this?
>Thanks
>Cas
>|||Hi,
thanks for replying.
I'm new to this so sorry if it's a stupid question, but can i add the login
PEN1800\ASPNET to the SQL Express instance with 'sqlserver Management Studio
express' or i have to use sqlcmd and the command 'create login ..'.?
And about adding PEN1800\ASPNET as a user to the database mydb, can i do
that with 'sqlserver Management Studio express'?
Thanks
Cas
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:nlen525khvamen0l1viflf84g5j0lbjplg@.4ax.com...
> To grant access to a SQL Server instance (SQL Express or
> other versions), you need to add the account as a login in
> SQL Server. You don't need to mess with permissions on the
> database files or in the SQL Server directory.
> Then to allow that login access to a database, you need to
> add the login as a user in the database. Once you have done
> that, you need to grant the whatever permissions are
> necessary in the database.
> Add the login PEN1800\ASPNET to your SQL Express instance.
> Add PEN1800\ASPNET as a user to the database mydb
> Grant whatever permissions are needed for PEN1800\ASPNET
> -Sue
> On Fri, 5 May 2006 21:30:38 +0200, "cas" <cas@.nomail> wrote:
> >Hi,
> >
> >I installed sqlserver 2005 express on windows server 2000 sp4.
> >
> >I made a new database ("mydb") with sql server Management studio express
> >(not a mdf file).
> >I also defined tables and i can make and execute queries in sql server
> >Management studio express without problem.
> >I granted to account ASPNET all privileges on the directories of sql
server
> >(read, write, modify..) in c:\program files\sql server.
> >
> >But when i try to execute this aspx-code (aspnet 2.0) with IE,
> ><asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$
> >ConnectionStrings:mydbConnectionString %>"
> > SelectCommand="select col1 from table1;"></asp:SqlDataSource>
> >
> > i get this error:
> >Cannot open database "madb" requested by the login. The login failed.
> >Login failed for user 'PEN1800\ASPNET'.
> >How to solve this?
> >Thanks
> >Cas
> >
>|||I don't know what you can and can't do with Management
Studio Express. When in doubt, just use sqlcmd as you can
certainly do it with t-sql statement.
-Sue
On Sat, 6 May 2006 10:15:58 +0200, "cas" <cas@.nomail> wrote:
>Hi,
>thanks for replying.
>I'm new to this so sorry if it's a stupid question, but can i add the login
>PEN1800\ASPNET to the SQL Express instance with 'sqlserver Management Studio
>express' or i have to use sqlcmd and the command 'create login ..'.?
>And about adding PEN1800\ASPNET as a user to the database mydb, can i do
>that with 'sqlserver Management Studio express'?
> Thanks
>Cas
>
>"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
>news:nlen525khvamen0l1viflf84g5j0lbjplg@.4ax.com...
>> To grant access to a SQL Server instance (SQL Express or
>> other versions), you need to add the account as a login in
>> SQL Server. You don't need to mess with permissions on the
>> database files or in the SQL Server directory.
>> Then to allow that login access to a database, you need to
>> add the login as a user in the database. Once you have done
>> that, you need to grant the whatever permissions are
>> necessary in the database.
>> Add the login PEN1800\ASPNET to your SQL Express instance.
>> Add PEN1800\ASPNET as a user to the database mydb
>> Grant whatever permissions are needed for PEN1800\ASPNET
>> -Sue
>> On Fri, 5 May 2006 21:30:38 +0200, "cas" <cas@.nomail> wrote:
>> >Hi,
>> >
>> >I installed sqlserver 2005 express on windows server 2000 sp4.
>> >
>> >I made a new database ("mydb") with sql server Management studio express
>> >(not a mdf file).
>> >I also defined tables and i can make and execute queries in sql server
>> >Management studio express without problem.
>> >I granted to account ASPNET all privileges on the directories of sql
>server
>> >(read, write, modify..) in c:\program files\sql server.
>> >
>> >But when i try to execute this aspx-code (aspnet 2.0) with IE,
>> ><asp:SqlDataSource ID="SqlDataSource1" runat="server"
>ConnectionString="<%$
>> >ConnectionStrings:mydbConnectionString %>"
>> > SelectCommand="select col1 from table1;"></asp:SqlDataSource>
>> >
>> > i get this error:
>> >Cannot open database "madb" requested by the login. The login failed.
>> >Login failed for user 'PEN1800\ASPNET'.
>> >How to solve this?
>> >Thanks
>> >Cas
>> >
>|||In Management Studio Express, look at the Security Logins folder. Add ASPNET
and set permissions in the USER MAPPING section. Since the webpage reads and
writes, I selected db_datareader and db_datawriter (and public, but not sure
this is wise for non-intranet pages?). Hope this helps get you in the area.
"Sue Hoegemeier" wrote:
> I don't know what you can and can't do with Management
> Studio Express. When in doubt, just use sqlcmd as you can
> certainly do it with t-sql statement.
> -Sue
> On Sat, 6 May 2006 10:15:58 +0200, "cas" <cas@.nomail> wrote:
> >Hi,
> >thanks for replying.
> >I'm new to this so sorry if it's a stupid question, but can i add the login
> >PEN1800\ASPNET to the SQL Express instance with 'sqlserver Management Studio
> >express' or i have to use sqlcmd and the command 'create login ..'.?
> >And about adding PEN1800\ASPNET as a user to the database mydb, can i do
> >that with 'sqlserver Management Studio express'?
> > Thanks
> >Cas
> >
> >
> >"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
> >news:nlen525khvamen0l1viflf84g5j0lbjplg@.4ax.com...
> >> To grant access to a SQL Server instance (SQL Express or
> >> other versions), you need to add the account as a login in
> >> SQL Server. You don't need to mess with permissions on the
> >> database files or in the SQL Server directory.
> >> Then to allow that login access to a database, you need to
> >> add the login as a user in the database. Once you have done
> >> that, you need to grant the whatever permissions are
> >> necessary in the database.
> >> Add the login PEN1800\ASPNET to your SQL Express instance.
> >> Add PEN1800\ASPNET as a user to the database mydb
> >> Grant whatever permissions are needed for PEN1800\ASPNET
> >>
> >> -Sue
> >>
> >> On Fri, 5 May 2006 21:30:38 +0200, "cas" <cas@.nomail> wrote:
> >>
> >> >Hi,
> >> >
> >> >I installed sqlserver 2005 express on windows server 2000 sp4.
> >> >
> >> >I made a new database ("mydb") with sql server Management studio express
> >> >(not a mdf file).
> >> >I also defined tables and i can make and execute queries in sql server
> >> >Management studio express without problem.
> >> >I granted to account ASPNET all privileges on the directories of sql
> >server
> >> >(read, write, modify..) in c:\program files\sql server.
> >> >
> >> >But when i try to execute this aspx-code (aspnet 2.0) with IE,
> >> ><asp:SqlDataSource ID="SqlDataSource1" runat="server"
> >ConnectionString="<%$
> >> >ConnectionStrings:mydbConnectionString %>"
> >> > SelectCommand="select col1 from table1;"></asp:SqlDataSource>
> >> >
> >> > i get this error:
> >> >Cannot open database "madb" requested by the login. The login failed.
> >> >Login failed for user 'PEN1800\ASPNET'.
> >> >How to solve this?
> >> >Thanks
> >> >Cas
> >> >
> >>
> >
>

Cannot open connection Dialog when starting SQL Server Management Studio

I start SQL Server Management Studio on my workstation and get the following message.

TITLE: Microsoft SQL Server Management Studio

Failed to open connection dialog.


ADDITIONAL INFORMATION:

Could not load file or assembly 'SqlMgmt, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (mscorlib)


BUTTONS:

OK

I had SQl Express version installed previously and everything worked. I could connect to one server running SQL Express and a different server running full up SQL 2005 enterprise version.

I uninstalled All SQL express programs and installed tools from SQL 2005 developer.

I have rebooted, started the program directly (not using a link of any kind) and all attempts fail. After dismissing the error msg the tool opens and I can run queries agains the DB but the database engines and related tables do not show.

My work station is Windows XP with SP2 installed.

I have googled the problem extensively and tried solutions found but none have solved the problem.

Any help greatly appreciated.

I uninstalled all SQL Server components, deleted all directories (there were no files) in the installation directory. Then reinstalled SQL Server 2005 developer edition. All management tools appear to work correctly.

Sunday, March 11, 2012

cannot login to SQLExpress 2005 help please!!

I just installed SQL express couple of days ago.

Then I tried using SQL Management Express Studio CTP. I select

SQL Authetication, key in the correct password but

it says "A connection was succesfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error:0 - No process is on the other end of the pipe). (Microsoft Sql Error: 233)

When i tried windows authetication, it say cannot initialise SSPI package.

I went to download the windows fix after reading this article

http://www.pcreview.co.uk/forums/thread-1714474-2.php

since google on SSPI has no useful results.... I will be grateful if microsoft people fix this bug with SQL Server 2005 express cos newbies will not be able to understand what

SSPI means.... and failure to install and use an easy software like MS SQL Server will lead to people running to Mysql . sighed.

Cannot login to SQL Server 2005 using SQL Server Authentication

I am unable to login to Server Management Express using Server
Authentication. I am able to login using Windows Authentication
though. I setup a new logic using Server Authentication but get the
following message:
Cannot connect to MIKE-PC.
===================================
A connection was successfully established with the server, but then an
error occurred during the login process. (provider: Shared Memory
Provider, error: 0 - No process is on the other end of the pipe.)
(.Net SqlClient Data Provider)
For help, click: [url]http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLS erver&EvtID=233&LinkId=20476[/url]
Server Name: MIKE-PC
Error Number: 233
Severity: 20
State: 0
I am running SQL Server 2005 Express on my local PC and would like to
use the SQL Server Authentication so that a VB programcan access the
database.
Any idea where to look for more info to resolve this?
Thanks in advance,
Mike Polinske
Milwaukee, WI
By default SQL Server is installed to only accept Windows (SSPI)
authentication credentials. You'll need to reconfigure (and restart) SQL
Server to handle mixed-mode security.
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
------
"Mike Polinske" <mikepolinske@.gmail.com> wrote in message
news:1187031553.693705.10860@.l22g2000prc.googlegro ups.com...
>I am unable to login to Server Management Express using Server
> Authentication. I am able to login using Windows Authentication
> though. I setup a new logic using Server Authentication but get the
> following message:
> Cannot connect to MIKE-PC.
> ===================================
> A connection was successfully established with the server, but then an
> error occurred during the login process. (provider: Shared Memory
> Provider, error: 0 - No process is on the other end of the pipe.)
> (.Net SqlClient Data Provider)
> --
> For help, click:
> [url]http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLS erver&EvtID=233&LinkId=20476[/url]
> --
> Server Name: MIKE-PC
> Error Number: 233
> Severity: 20
> State: 0
> I am running SQL Server 2005 Express on my local PC and would like to
> use the SQL Server Authentication so that a VB programcan access the
> database.
> Any idea where to look for more info to resolve this?
> Thanks in advance,
> Mike Polinske
> Milwaukee, WI
>
|||On Aug 13, 3:12 pm, "William Vaughn" <billvaNoS...@.betav.com> wrote:
> By default SQL Server is installed to only accept Windows (SSPI)
> authentication credentials. You'll need to reconfigure (and restart) SQL
> Server to handle mixed-mode security.
> --
> ____________________________________
> William (Bill) Vaughn
> Author, Mentor, Consultant, Dad, Grandpa
> Microsoft MVP
> INETA Speakerwww.betav.comwww.betav.com/blog/billva
> Please reply only to the newsgroup so that others can benefit.
> This posting is provided "AS IS" with no warranties, and confers no rights.
> __________________________________
> Visitwww.hitchhikerguides.netto get more information on my latest book:
> Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
> and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
> ----X---
>
Thanks Bill, I was able to find the server properry under Security
that controls the authentication and it worked like a charm!!

Cannot login to SQL Server 2005 using SQL Server Authentication

I am unable to login to Server Management Express using Server
Authentication. I am able to login using Windows Authentication
though. I setup a new logic using Server Authentication but get the
following message:
Cannot connect to MIKE-PC.
===================================
A connection was successfully established with the server, but then an
error occurred during the login process. (provider: Shared Memory
Provider, error: 0 - No process is on the other end of the pipe.)
(.Net SqlClient Data Provider)
--
For help, click: http://go.microsoft.com/fwlink?Prod...33&LinkId=20476
--
Server Name: MIKE-PC
Error Number: 233
Severity: 20
State: 0
I am running SQL Server 2005 Express on my local PC and would like to
use the SQL Server Authentication so that a VB programcan access the
database.
Any idea where to look for more info to resolve this?
Thanks in advance,
Mike Polinske
Milwaukee, WIBy default SQL Server is installed to only accept Windows (SSPI)
authentication credentials. You'll need to reconfigure (and restart) SQL
Server to handle mixed-mode security.
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
----
---
"Mike Polinske" <mikepolinske@.gmail.com> wrote in message
news:1187031553.693705.10860@.l22g2000prc.googlegroups.com...
>I am unable to login to Server Management Express using Server
> Authentication. I am able to login using Windows Authentication
> though. I setup a new logic using Server Authentication but get the
> following message:
> Cannot connect to MIKE-PC.
> ===================================
> A connection was successfully established with the server, but then an
> error occurred during the login process. (provider: Shared Memory
> Provider, error: 0 - No process is on the other end of the pipe.)
> (.Net SqlClient Data Provider)
> --
> For help, click:
> http://go.microsoft.com/fwlink?Prod...33&LinkId=20476
> --
> Server Name: MIKE-PC
> Error Number: 233
> Severity: 20
> State: 0
> I am running SQL Server 2005 Express on my local PC and would like to
> use the SQL Server Authentication so that a VB programcan access the
> database.
> Any idea where to look for more info to resolve this?
> Thanks in advance,
> Mike Polinske
> Milwaukee, WI
>|||On Aug 13, 3:12 pm, "William Vaughn" <billvaNoS...@.betav.com> wrote:
> By default SQL Server is installed to only accept Windows (SSPI)
> authentication credentials. You'll need to reconfigure (and restart) SQL
> Server to handle mixed-mode security.
> --
> ____________________________________
> William (Bill) Vaughn
> Author, Mentor, Consultant, Dad, Grandpa
> Microsoft MVP
> INETA Speakerwww.betav.comwww.betav.com/blog/billva
> Please reply only to the newsgroup so that others can benefit.
> This posting is provided "AS IS" with no warranties, and confers no right=
s=2E
> __________________________________
> Visitwww.hitchhikerguides.netto get more information on my latest book:
> Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
> and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
> ----=
--=AD---
>
Thanks Bill, I was able to find the server properry under Security
that controls the authentication and it worked like a charm!!

Cannot Login

VB express and SQL express are on the same desktop. I have an application in VB that works fine.The issue I have is if I go into SQL Management to work on the DBand then close SQL Management Express. When I go back to execute my VB application I get a message like this " Login failed for "user name" file is in use by another application". If I reboot my system and then run the VB application it works OK. I've tried doing a disconnect before I exit SQL Management but this had no affect on the problem. Is there something I need to do when I exit SQL Management Express so I can immediatley run my VB applicaton without having to reboot?

You probably have open transactions.

Before closing SQL EE, Comit Transaction a few times, then close it.

Adamus

|||

i guess you are using User Insatance. this is a common problem in userinstance of sql server express

Refer this link :

http://blogs.msdn.com/sqlexpress/archive/2006/11/22/connecting-to-sql-express-user-instances-in-management-studio.aspx

if you are not aware of User Instance , post back the connection string used in your application. I think , you don't really need to use Userinstance. in that case you can use normal connection string.

Madhu

Thursday, March 8, 2012

cannot list tables or other objects

Sometimes, when a try to list tables or view (or access Management, etc) Enterprise Manager hungs up.
Using SELECT * FROM SYSOBECTS also freezes the process. But the SQLServer is operational for data updates and retrieves.
Anyone?
thanx!SYSOBJECTS along with SYSINDEXES, SYSPROTECTS, SYSDEPENDS, SYSCOLUMNS, and SYSCOMMENTS are the most frequently used system objects in every user database. You should ALWAYS use (NOLOCK) when attempting to directly retrieve data from those tables.|||You might also want to use the information_schema views rather than looking up directly in the tables. They're more typing but if this is part of a script/procedure having a lifetime that might span generations of SQL Server, this is safer. The system tables can change; the views will be kept stable.

Cannot Install Workstation Components - Missing Management Studio

Hello,

I have installed SQL Server 2K5 Developer Edition x64, when viewing the option under Start -> All Programs -> Microsoft SQL Server 2005, I do not have the option for Management Studio.

When I attempt to install workstation components I get a message claiming the components I am attempting to install are already installed on the machine and the install will not let me continue.

Any help would be appreciated.

Thanks,

CC

-

Further details, I installed SQL Server after .Net 2K5.

Once I removed all SQL Server components, then re-installed SQL Server 2K5 all appropriate tools were present.

CC

-

|||

While installing , to get tools, you need to select Workstation components from the same window where you sleect Services. If the services are already installed, then go to Control Pannel -- Add/Remove Prorgamm -- Sql server -- Change/Remove -- choose Change and select the Workstation components. It will install only Components. If you are not installed any services, then Install the services and worksation components ...

Madhu

|||

Thanks Madhu,

I resolved the issue prior to you posting by removing SQL Server and SQL Express (installed via .Net 2005 Install). Upon re-installing SQL Server 2005 Dev I was able to access SSMS. I will keep this in mind if I experience this behavior again Smile

Thanks again,

CC

-

Wednesday, March 7, 2012

Cannot Install SQL Server Management Studio after removing Express edition

I'm trying to upgrade my management studio to the full version, I uninstalled Express edition and started the install for the full version, but I get an error stating "you cannot install this component because it is already installed". I had a word with one of the guys in the office and he said the only way he's ever been able to get round this is by flattening the entire PC and starting again. Obviously I want to avoid that!

Hey Parrotboy,

You asked awesome question , I never had this problem but I had something like this.
At first tell me Do you have any SQL Server on your desktop ? if so what version is that?

and review your Regedit to find SQL Server directory there is some setting that you can change them and I hope you will able to set that up.

|||

I don't have SQL on my desktop nope.

I took a look in the registry and the only settings I can find that look at all relevant are in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQL Redist. Theres a folder called 1.00.00 with a default token with no value, and a folder called Setup with a default token (no value) and a REG_DWORD called ExitCode with 0x000000 (0) as the value.

I can't see how they would be interfering really, is it worth deleting the whole SQL Redist folder?

|||

Hi Parrotboy,

So, you have sql server management studio express installed on your machine(without database engine installed) and now, you want to update(anyway, i don't think it can be count as "update")management studio to a "full" version--develope version or enterprise version or standard version or whatever. Correct me if my understanding is wrong.

Open your control pannel and click "add or remove programms", then select sql server, click the change button. All the sql component you have installed are listed there. Just check if you have uninstalled management studio express successfully. And if not, select it and choose "next", "remove".

Hope my suggestion helps

|||

I've tried that. There is no entry in add/remove for SQL Server, I have already uninstalled it from this route. Thats why its baffling me, there must be something left after the uninstall which is stopping the install for the new version, but I can't find it.

I wish I'd never decided to upgrade now, I'm stuck using the server explorer in VS2005 which is OK, except that I need to use table/field extended properties which can't be modified through VS. :(

|||

I am having this same problem. I was wondering if you ever found a solution? I had Mgmt Studio Express installed and removed it. I had a version of Visual Studio installed and removed it. There were some errors during de-installation, and I think that has left my system in a sort of install limbo, with maybe registry entries and some shared files still installed. Apparently the SQL Server installer is tripping over those files/entries and not allowing me to upgrade. I checked the logs and changed the settings in template.ini for the installer to upgrade the Tools and skip upgrade blockers, but that didn't work. I really don't want to re-image my machine to get past this problem. Does anyone know the files/registry entries that the installer is checking? I will just delete them by hand if I have to. Why does Microsoft have to make this so complicated?

|||

Nope I never found a solution, aparently the ONLY option is to wipe the PC and start again, which simply is not an option for me. So now I'm stuck writing any complex update to the DB in pure SQL...

|||

Sorry its a little late but take a read of

http://blogs.msdn.com/publicsector/archive/2007/10/26/installing-sql-server-management-studio-when-you-already-have-management-studio-express-installed.aspx

Hope its helpful

Sunday, February 19, 2012

cannot import table in management studio wizard. ODBC Error

Im using the Tasks/Import wizard in Management Studio for a 2005 MSSQL to import a table from another database, same MSSQL server

on my machine im having: mssql 2000 (default instance), mssql 2005. 2000 is not running, only 2005.

(by the way: all .net tools like Management Studio, Database explorer in VS 2005 and so on NEVER find the 2005 instance in the combo for available servers ! i always have to enter it manually)

I am always getting:

Operation stopped...

- Initializing Data Flow Task (Success)

- Initializing Connections (Success)

- Setting SQL Command (Success)

- Setting Source Connection (Error)

Messages

The connection "SourceConnectionOLEDB" is not found. This error is thrown by Connections collection when the specific connection element is not found.
({3A6A6A25-FF8B-4E17-B2A9-C0181A291B5D})

I tried all scenarios:

different databases / tables in same server / different servers, 1 talbe, many....

it always stops there !

What do I have to do ? It is impossible to work like that !

thanks in advance, Michael

Is microsoft going to answer this? I have seen many posts like this but no solution?|||

They finally did after some month! in another thread

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255347&SiteID=1

see: http://support.microsoft.com/kb/913817

hope this helps, good luck

Michael

cannot import table in management studio wizard. ODBC Error

Im using the Tasks/Import wizard in Management Studio for a 2005 MSSQL to import a table from another database, same MSSQL server

on my machine im having: mssql 2000 (default instance), mssql 2005. 2000 is not running, only 2005.

(by the way: all .net tools like Management Studio, Database explorer in VS 2005 and so on NEVER find the 2005 instance in the combo for available servers ! i always have to enter it manually)

I am always getting:

Operation stopped...

- Initializing Data Flow Task (Success)

- Initializing Connections (Success)

- Setting SQL Command (Success)

- Setting Source Connection (Error)

Messages

The connection "SourceConnectionOLEDB" is not found. This error is thrown by Connections collection when the specific connection element is not found.
({3A6A6A25-FF8B-4E17-B2A9-C0181A291B5D})

I tried all scenarios:

different databases / tables in same server / different servers, 1 talbe, many....

it always stops there !

What do I have to do ? It is impossible to work like that !

thanks in advance, Michael

Is microsoft going to answer this? I have seen many posts like this but no solution?|||

They finally did after some month! in another thread

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255347&SiteID=1

see: http://support.microsoft.com/kb/913817

hope this helps, good luck

Michael