Showing posts with label explanation. Show all posts
Showing posts with label explanation. Show all posts

Friday, March 30, 2012

MSSQL 2000 connection problem, please help

Explanation:
After attaching MSSQL 2000 SP3 server into domain,
Local Admin and SA cannot login into MSSQL
EM and QA are not working.
"Change the MSSQLServer service account to be a domain account. Make this
domain account a member of the
Local Administrators group on the machine." - Tried, but no chance.Hi
If SA can't login and you have not changed the password, it means that SQL
Server is not running. Check in control panel > services and also check the
NT event log to see what the failures are.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Djangar S." <snapplefor@.hotmail.com> wrote in message
news:%23HeSsEDnFHA.320@.TK2MSFTNGP09.phx.gbl...
> Explanation:
> After attaching MSSQL 2000 SP3 server into domain,
> Local Admin and SA cannot login into MSSQL
> EM and QA are not working.
>
>
> "Change the MSSQLServer service account to be a domain account. Make this
> domain account a member of the
> Local Administrators group on the machine." - Tried, but no chance.
>|||It is running, I have another applications witch constantly using SQL
Server.
Any ideas?
"Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
news:%23DjkpWDnFHA.3380@.TK2MSFTNGP12.phx.gbl...
> Hi
> If SA can't login and you have not changed the password, it means that SQL
> Server is not running. Check in control panel > services and also check
> the NT event log to see what the failures are.
> Regards
> --
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
> IM: mike@.epprecht.net
> MVP Program: http://www.microsoft.com/mvp
> Blog: http://www.msmvps.com/epprecht/
> "Djangar S." <snapplefor@.hotmail.com> wrote in message
> news:%23HeSsEDnFHA.320@.TK2MSFTNGP09.phx.gbl...
>> Explanation:
>> After attaching MSSQL 2000 SP3 server into domain,
>> Local Admin and SA cannot login into MSSQL
>> EM and QA are not working.
>>
>>
>> "Change the MSSQLServer service account to be a domain account. Make this
>> domain account a member of the
>> Local Administrators group on the machine." - Tried, but no chance.
>>
>|||Hi,
What is the exact error message you are getting when trying to connect using
SA?
Thanks
Hari
SQL Server MVP
"Djangar S." <snapplefor@.hotmail.com> wrote in message
news:%23nD$t4DnFHA.1996@.TK2MSFTNGP10.phx.gbl...
> It is running, I have another applications witch constantly using SQL
> Server.
> Any ideas?
>
>
> "Mike Epprecht (SQL MVP)" <mike@.epprecht.net> wrote in message
> news:%23DjkpWDnFHA.3380@.TK2MSFTNGP12.phx.gbl...
>> Hi
>> If SA can't login and you have not changed the password, it means that
>> SQL Server is not running. Check in control panel > services and also
>> check the NT event log to see what the failures are.
>> Regards
>> --
>> Mike Epprecht, Microsoft SQL Server MVP
>> Zurich, Switzerland
>> IM: mike@.epprecht.net
>> MVP Program: http://www.microsoft.com/mvp
>> Blog: http://www.msmvps.com/epprecht/
>> "Djangar S." <snapplefor@.hotmail.com> wrote in message
>> news:%23HeSsEDnFHA.320@.TK2MSFTNGP09.phx.gbl...
>> Explanation:
>> After attaching MSSQL 2000 SP3 server into domain,
>> Local Admin and SA cannot login into MSSQL
>> EM and QA are not working.
>>
>>
>> "Change the MSSQLServer service account to be a domain account. Make
>> this domain account a member of the
>> Local Administrators group on the machine." - Tried, but no chance.
>>
>>
>sql

Wednesday, March 28, 2012

MSSQL 2000 authentication problem.Please help, it is really interesting.

Explanation:
After attaching MSSQL 2000 SP3 server into domain,
Local Admin and SA cannot login into MSSQL
EM and QA are not working.
Even Local Admin cannot do it. But MSSQL is running, I have another
applications witch constantly using SQL Server (authentication by sql).
From previous thread.
Q.From Mike Epprecht
Q.Hi
Q.If SA can't login and you have not changed the password, it means that
SQL
Q.Server is not running. Check in control panel > services and also check
the
Q.NT event log to see what the failures are.
A.It is running, I have another applications witch constantly using SQL
Server.1. Are the services runnin under local system account
2. Was this SP3 all along or did you patch it right before move
3. What Server/DBRoles is the login used by the application that can connect
part of
4. Was this server part of a different domain or standalone before move
5. What aduit level do you have set
6. What is showing up in errorlog
"Djangar S." <snapplefor@.hotmail.com> wrote in message
news:%23GkT2AuvFHA.3932@.TK2MSFTNGP15.phx.gbl...
> Explanation:
> After attaching MSSQL 2000 SP3 server into domain,
> Local Admin and SA cannot login into MSSQL
> EM and QA are not working.
> Even Local Admin cannot do it. But MSSQL is running, I have another
> applications witch constantly using SQL Server (authentication by sql).
>
> From previous thread.
> Q.From Mike Epprecht
> Q.Hi
> Q.If SA can't login and you have not changed the password, it means that
> SQL
> Q.Server is not running. Check in control panel > services and also check
> the
> Q.NT event log to see what the failures are.
>
> A.It is running, I have another applications witch constantly using SQL
> Server.
>|||Thank you David for your response.
1. Are the services runnin under local system account.
Yes. It is.
2. Was this SP3 all along or did you patch it right before move
Before move.
3.What Server/DBRoles is the login used by the application that can connect
part of.
Not able say exactly because it EM not working , but as far as I know
login's has different roles for one specific DB.
4.Was this server part of a different domain or standalone before move
Standalone.
5.What aduit level do you have set
Nothing.
6. What is showing up in errorlog
Nothing specific.
QA is showing :
Unable to connect to server XXX:
Msg 18456,Level 16,State 1
"David J. Cartwright" <davidcartwright@.hotmail.com> wrote in message
news:exIRpLuvFHA.3740@.TK2MSFTNGP14.phx.gbl...
> 1. Are the services runnin under local system account
> 2. Was this SP3 all along or did you patch it right before move
> 3. What Server/DBRoles is the login used by the application that can
> connect part of
> 4. Was this server part of a different domain or standalone before move
> 5. What aduit level do you have set
> 6. What is showing up in errorlog
>
> "Djangar S." <snapplefor@.hotmail.com> wrote in message
> news:%23GkT2AuvFHA.3932@.TK2MSFTNGP15.phx.gbl...
>> Explanation:
>> After attaching MSSQL 2000 SP3 server into domain,
>> Local Admin and SA cannot login into MSSQL
>> EM and QA are not working.
>> Even Local Admin cannot do it. But MSSQL is running, I have another
>> applications witch constantly using SQL Server (authentication by sql).
>>
>> From previous thread.
>> Q.From Mike Epprecht
>> Q.Hi
>> Q.If SA can't login and you have not changed the password, it means that
>> SQL
>> Q.Server is not running. Check in control panel > services and also check
>> the
>> Q.NT event log to see what the failures are.
>>
>> A.It is running, I have another applications witch constantly using SQL
>> Server.
>>
>|||what does the sql server log have in it, also you can try to start sqlserver
from the command line while logged in as the (local) administrator account
for the computer...then try to connect with osql -E or Query analyzer...
"Djangar S." <snapplefor@.hotmail.com> wrote in message
news:eSqBy4uvFHA.2292@.TK2MSFTNGP12.phx.gbl...
> Thank you David for your response.
> 1. Are the services runnin under local system account.
> Yes. It is.
> 2. Was this SP3 all along or did you patch it right before move
> Before move.
> 3.What Server/DBRoles is the login used by the application that can
> connect part of.
> Not able say exactly because it EM not working , but as far as I
> know login's has different roles for one specific DB.
> 4.Was this server part of a different domain or standalone before move
> Standalone.
> 5.What aduit level do you have set
> Nothing.
>
> 6. What is showing up in errorlog
> Nothing specific.
> QA is showing :
> Unable to connect to server XXX:
> Msg 18456,Level 16,State 1
>
>
>
>
> "David J. Cartwright" <davidcartwright@.hotmail.com> wrote in message
> news:exIRpLuvFHA.3740@.TK2MSFTNGP14.phx.gbl...
>> 1. Are the services runnin under local system account
>> 2. Was this SP3 all along or did you patch it right before move
>> 3. What Server/DBRoles is the login used by the application that can
>> connect part of
>> 4. Was this server part of a different domain or standalone before move
>> 5. What aduit level do you have set
>> 6. What is showing up in errorlog
>>
>> "Djangar S." <snapplefor@.hotmail.com> wrote in message
>> news:%23GkT2AuvFHA.3932@.TK2MSFTNGP15.phx.gbl...
>> Explanation:
>> After attaching MSSQL 2000 SP3 server into domain,
>> Local Admin and SA cannot login into MSSQL
>> EM and QA are not working.
>> Even Local Admin cannot do it. But MSSQL is running, I have another
>> applications witch constantly using SQL Server (authentication by sql).
>>
>> From previous thread.
>> Q.From Mike Epprecht
>> Q.Hi
>> Q.If SA can't login and you have not changed the password, it means that
>> SQL
>> Q.Server is not running. Check in control panel > services and also
>> check the
>> Q.NT event log to see what the failures are.
>>
>> A.It is running, I have another applications witch constantly using SQL
>> Server.
>>
>>
>|||Djangar S. wrote:
> Explanation:
> After attaching MSSQL 2000 SP3 server into domain,
> Local Admin and SA cannot login into MSSQL
> EM and QA are not working.
> Even Local Admin cannot do it. But MSSQL is running, I have another
> applications witch constantly using SQL Server (authentication by sql).
>
> From previous thread.
> Q.From Mike Epprecht
> Q.Hi
> Q.If SA can't login and you have not changed the password, it means that
> SQL
> Q.Server is not running. Check in control panel > services and also check
> the
> Q.NT event log to see what the failures are.
>
> A.It is running, I have another applications witch constantly using SQL
> Server.
>
When you have another application that can use the SQL server, have you
then tried to connect to the instance from EM using the account this
application is using? You could also check which account you have
registered in EM for connecting to the instance. Have you tried to to
create a new SQL server registration in EM using Windows Authentication
(while logged on to the server with an account that is local
administrator on the server.
Regards
Steen|||Hello, Steen
>When you have another application that can use the SQL server, have you
>then tried to connect to the instance from EM using the account this
>application is using?
Unfortunatly this user information is not avalible for me. This
application is the closed box.
>Have you tried to to create a new SQL server registration in EM using
>Windows Authentication (while logged on to the server with an account that
>is local administrator on the server.
Yes, I did but same result.
"Steen Persson (DK)" <spe@.REMOVEdatea.dk> wrote in message
news:ec7j6P2vFHA.664@.tk2msftngp13.phx.gbl...
> Djangar S. wrote:
>> Explanation:
>> After attaching MSSQL 2000 SP3 server into domain,
>> Local Admin and SA cannot login into MSSQL
>> EM and QA are not working.
>> Even Local Admin cannot do it. But MSSQL is running, I have another
>> applications witch constantly using SQL Server (authentication by sql).
>>
>> From previous thread.
>> Q.From Mike Epprecht
>> Q.Hi
>> Q.If SA can't login and you have not changed the password, it means that
>> SQL
>> Q.Server is not running. Check in control panel > services and also
>> check the
>> Q.NT event log to see what the failures are.
>>
>> A.It is running, I have another applications witch constantly using SQL
>> Server.
>>
> When you have another application that can use the SQL server, have you
> then tried to connect to the instance from EM using the account this
> application is using? You could also check which account you have
> registered in EM for connecting to the instance. Have you tried to to
> create a new SQL server registration in EM using Windows Authentication
> (while logged on to the server with an account that is local administrator
> on the server.
> Regards
> Steen

Friday, March 9, 2012

MSFT: Urgent request for explanation, help please

Hello MSFT,
this is a repeated attempt to get an explanation for a hopefully simple
problem.
The question: What causes RS to mark an user account as "unknown" as
described below and what has to be done in order to get rid of this?
Here the problem description:
<snip>
I got a clue what might be wrong on my server machines which do not allow
eMail subscription due to a "configuration error"
I have an XP machine here with a local SQL server and a local RS client and
server. If I look at the property page of a given report there is always
something like that (I have to translate it from german, so maybe it is a
bit different in english versions):
changed at: (datetime)
changed by: SPONGEBOB\roland
created at: (datetime)
created by: SPONGEBOB\roland
size: 8kb
SPONGEBOB is the name of the machine; roland the user account.
Whereas my server machines show up the following:
changed at: (datetime)
changed by: TACCO\Administrator (unknown)
created at: (datetime)
created by: TACCO\Administrator (unknown)
size: 8kb
TACCO is the server name; administrator the user account. My concern is the
"unknown", what exactly causes the problem with eMail subscription. What
does cause RS to print "unknown" there and how to come over it?
</snip>
TIA
rolandReporting Services gets the name of the user from Windows / Active
Directory. Internally, we store a SID and translate this via the Windows API
at display time. In general, I don't think it has anything to do with your
subscription failures. What does the entry in the log file say?
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roland" <roland.klabunde@.gmx.de> wrote in message
news:execmMdVEHA.1472@.TK2MSFTNGP09.phx.gbl...
> Hello MSFT,
> this is a repeated attempt to get an explanation for a hopefully simple
> problem.
> The question: What causes RS to mark an user account as "unknown" as
> described below and what has to be done in order to get rid of this?
>
> Here the problem description:
> <snip>
> I got a clue what might be wrong on my server machines which do not allow
> eMail subscription due to a "configuration error"
> I have an XP machine here with a local SQL server and a local RS client
and
> server. If I look at the property page of a given report there is always
> something like that (I have to translate it from german, so maybe it is a
> bit different in english versions):
> changed at: (datetime)
> changed by: SPONGEBOB\roland
> created at: (datetime)
> created by: SPONGEBOB\roland
> size: 8kb
> SPONGEBOB is the name of the machine; roland the user account.
> Whereas my server machines show up the following:
> changed at: (datetime)
> changed by: TACCO\Administrator (unknown)
> created at: (datetime)
> created by: TACCO\Administrator (unknown)
> size: 8kb
> TACCO is the server name; administrator the user account. My concern is
the
> "unknown", what exactly causes the problem with eMail subscription. What
> does cause RS to print "unknown" there and how to come over it?
> </snip>
>
> TIA
> roland
>
>|||In news:O5Q6GwtVEHA.3988@.tk2msftngp13.phx.gbl,
Brian Welcker [MSFT] <bwelcker@.online.microsoft.com> typed:
> Reporting Services gets the name of the user from Windows
> / Active Directory. Internally, we store a SID and
> translate this via the Windows API at display time. In
> general, I don't think it has anything to do with your
> subscription failures. What does the entry in the log
> file say?
Hello Brian,
thanks for your answer. All of our observations point into the direction of
a policy or user rights problem. Besides the fact, that the SPONGEBOB
machine has the SQL server locally and the TACCO had a previous Sharepoint
installation (currently deinstalled) this "unknown" trace seems to be the
only difference between both setups for RS.
We have three problems with TACCO:
1) The "unknown" remark
2) Sometimes we get an error which complains about an "unknown user", mostly
on attempts to setup role properties for a given and correct user
3) The eMail subscription does not work.
Here is the log for 2)
aspnet_wp!library!918!05/24/2004-14:30:07:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException:
Der Benutzer- oder Gruppenname 'roland.klabunde[Unbekannt]' wird nicht
erkannt., ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException:
Der Benutzer- oder Gruppenname 'roland.klabunde[Unbekannt]' wird nicht
erkannt.
Means: User or groupname roland.klabunde has not been recognized
Here is the log for 3)
ReportingServicesService!library!c20!05/24/2004-14:26:02:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files, AuthzInitializeContextFromSid: Win32 error: 87;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files
ReportingServicesService!emailextension!c20!05/24/2004-14:26:02:: Error
sending email.
Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The Report
Server has encountered a configuration error; more details in the log
files -->
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files
Because I already made eMail subscription run on SPONGEBOB I'm currently
having no idea what might be wrong. As said the latest clue was that
"unknown" remark...
Hoping to finally overcome this problem
roland|||Looks like the user verification during subscriptions is failing. We use a
module called AuthZ to do this. Not sure what OS this is running on but if
it is Windows 2000, you will need to install the most recent service pack.
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roland" <roland.klabunde@.gmx.de> wrote in message
news:ucIk$9uVEHA.1152@.TK2MSFTNGP09.phx.gbl...
> In news:O5Q6GwtVEHA.3988@.tk2msftngp13.phx.gbl,
> Brian Welcker [MSFT] <bwelcker@.online.microsoft.com> typed:
> > Reporting Services gets the name of the user from Windows
> > / Active Directory. Internally, we store a SID and
> > translate this via the Windows API at display time. In
> > general, I don't think it has anything to do with your
> > subscription failures. What does the entry in the log
> > file say?
> Hello Brian,
> thanks for your answer. All of our observations point into the direction
of
> a policy or user rights problem. Besides the fact, that the SPONGEBOB
> machine has the SQL server locally and the TACCO had a previous Sharepoint
> installation (currently deinstalled) this "unknown" trace seems to be the
> only difference between both setups for RS.
> We have three problems with TACCO:
> 1) The "unknown" remark
> 2) Sometimes we get an error which complains about an "unknown user",
mostly
> on attempts to setup role properties for a given and correct user
> 3) The eMail subscription does not work.
> Here is the log for 2)
> aspnet_wp!library!918!05/24/2004-14:30:07:: e ERROR: Throwing
>
Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException:
> Der Benutzer- oder Gruppenname 'roland.klabunde[Unbekannt]' wird nicht
> erkannt., ;
> Info:
>
Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException:
> Der Benutzer- oder Gruppenname 'roland.klabunde[Unbekannt]' wird nicht
> erkannt.
> Means: User or groupname roland.klabunde has not been recognized
> Here is the log for 3)
> ReportingServicesService!library!c20!05/24/2004-14:26:02:: e ERROR:
Throwing
>
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
> ception: The Report Server has encountered a configuration error; more
> details in the log files, AuthzInitializeContextFromSid: Win32 error: 87;
> Info:
>
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
> ception: The Report Server has encountered a configuration error; more
> details in the log files
>
> ReportingServicesService!emailextension!c20!05/24/2004-14:26:02:: Error
> sending email.
> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The Report
> Server has encountered a configuration error; more details in the log
> files -->
>
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
> ception: The Report Server has encountered a configuration error; more
> details in the log files
> Because I already made eMail subscription run on SPONGEBOB I'm currently
> having no idea what might be wrong. As said the latest clue was that
> "unknown" remark...
> Hoping to finally overcome this problem
> roland
>
>|||Brian, the Win2000 machine Tacco has SP4 and the latest patches installed. I
got the message that we have a third machine with this problem. It is a
Windows 2003 server. Again: We do neither have Active Directory installed
anywhere. Could that be the problem?
r.|||No, I think it has something to do with the privileges of the user used to
run the ReportServer Windows service. Are you running a domain? Is the
service running as a domain user?
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roland" <roland.klabunde@.gmx.net> wrote in message
news:OhFFPD3VEHA.384@.TK2MSFTNGP10.phx.gbl...
> Brian, the Win2000 machine Tacco has SP4 and the latest patches installed.
I
> got the message that we have a third machine with this problem. It is a
> Windows 2003 server. Again: We do neither have Active Directory installed
> anywhere. Could that be the problem?
> r.
>|||> No, I think it has something to do with the privileges of the user used to
> run the ReportServer Windows service. Are you running a domain? Is the
> service running as a domain user?
The answers to both of your questions is NO. Does this cause any problem?
r|||Next attempt on new machine:
* Windows 2000 Advanced Server German out of the box, SP 4, latest security
patches.
* No domain, no active directory, standard web server
* IIS 5
* RS eval
* RS running under System
* Websites under ASPNET
Same result: Administrator marked as unknown, eMail subscription fails.
r.|||The error returned by the name resolution API is that the parameter is
incorrect. We have not seen this before.
A way to debug this would be to look at the subscription owner in the
ReportServer database:
select * from Users inner join Subscriptions on User.UserID =Subscriptions.OwnerID
The SQL is from memory so the exact syntax may be slightly different.
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roland" <roland.klabunde@.gmx.net> wrote in message
news:uaPVZaGWEHA.1048@.tk2msftngp13.phx.gbl...
> Here is the log. The OS is an english Win2k Advanced Server.
> I'm near to surrender. Five machines and one with OK eMail only...
> r
>
>
>|||Brian, the problem has been solved by SP 1. Since then the [unknown] entry
has gone...
Thanks
roland