Thursday, March 29, 2012
ERROR 18456 not being logged in event viewer
I made an alert that will email me whenever someone causes error 18456 to be
raised... My thinking behind this is that if anyones trying to access my
server and FAILS, then they are probably up to no good.
So anyway... This alert was created... I verified that SQL Server Agent
Mail is running, as is SQL Mail... so thats not the point of failure.
I just attempted to log in with sa and a fake password. It predictably did
not give me access to the databases, but the event was NOT logged to the
application log. I checked in enterprise manager, and the checkbox that
says "Always write to Windows eventlog" is checked.
I also verified that the SQL Server Agent is running under a local and
domain admin, and this is the case.
Does anybody have any ideas?
Thanks in advance,
-- Jason
I assume that this error number is failed login. If so, you handle this in a special way. EM, right-click your
server, security.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Jeigh" <folkens.jason@.acd.net> wrote in message news:CoydnaIo9LfTcVndRVn-gw@.giganews.com...
> Hi.
> I made an alert that will email me whenever someone causes error 18456 to be
> raised... My thinking behind this is that if anyones trying to access my
> server and FAILS, then they are probably up to no good.
> So anyway... This alert was created... I verified that SQL Server Agent
> Mail is running, as is SQL Mail... so thats not the point of failure.
> I just attempted to log in with sa and a fake password. It predictably did
> not give me access to the databases, but the event was NOT logged to the
> application log. I checked in enterprise manager, and the checkbox that
> says "Always write to Windows eventlog" is checked.
> I also verified that the SQL Server Agent is running under a local and
> domain admin, and this is the case.
> Does anybody have any ideas?
> Thanks in advance,
> -- Jason
>
|||Are you referring to the "Audit Level" raido buttons?
Changing it from "None" to "Failure" didnt seem to make that much of a
difference. Am I looking at the right thing?
Thanks,
-- Jason
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:O6NBB4STEHA.2416@.TK2MSFTNGP09.phx.gbl...
> I assume that this error number is failed login. If so, you handle this in
a special way. EM, right-click your
> server, security.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "Jeigh" <folkens.jason@.acd.net> wrote in message
news:CoydnaIo9LfTcVndRVn-gw@.giganews.com...[vbcol=seagreen]
to be[vbcol=seagreen]
my[vbcol=seagreen]
Agent[vbcol=seagreen]
did
>
|||Yep, that's the one I was referring to. So you don't see the events logged to eventlog, after checking the
checkbox. Strange, I know it work for me. Perhaps time to open a case with MS?
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Jeigh" <folkens.jason@.acd.net> wrote in message news:p7GdnZI30-avWFjd4p2dnA@.giganews.com...
> Are you referring to the "Audit Level" raido buttons?
> Changing it from "None" to "Failure" didnt seem to make that much of a
> difference. Am I looking at the right thing?
> Thanks,
> -- Jason
>
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
> message news:O6NBB4STEHA.2416@.TK2MSFTNGP09.phx.gbl...
> a special way. EM, right-click your
> news:CoydnaIo9LfTcVndRVn-gw@.giganews.com...
> to be
> my
> Agent
> did
>
Error 18456 - ODBC connection failed for domain user account
database while another persons domain account with the same permission to th
e
database works just fine. I remote into the workstation and test the odbc
connection with my user account and it worked just fine. Any help.
I am getting this message below
Connection failed Sql state 28000 error 18456 microsoft odbc connection
login failed for user bhcs/connie'Aboki,
This should be a straight-forward error that means: bhcs/connie has no right
to login on the server.
Check to be sure: the login is the proper one (not one spelled almost the
same), that connie was not denied login, etc.
RLF
"Aboki" <Aboki@.discussions.microsoft.com> wrote in message
news:4C4AD587-76B4-498F-9D1A-99ED809F7294@.microsoft.com...
>I have a user that her domain user account is failing to access a sql
>server
> database while another persons domain account with the same permission to
> the
> database works just fine. I remote into the workstation and test the odbc
> connection with my user account and it worked just fine. Any help.
> I am getting this message below
> Connection failed Sql state 28000 error 18456 microsoft odbc connection
> login failed for user bhcs/connie'
Error 18456 - ODBC connection failed for domain user account
database while another persons domain account with the same permission to the
database works just fine. I remote into the workstation and test the odbc
connection with my user account and it worked just fine. Any help.
I am getting this message below
Connection failed Sql state 28000 error 18456 microsoft odbc connection
login failed for user bhcs/connie'
Aboki,
This should be a straight-forward error that means: bhcs/connie has no right
to login on the server.
Check to be sure: the login is the proper one (not one spelled almost the
same), that connie was not denied login, etc.
RLF
"Aboki" <Aboki@.discussions.microsoft.com> wrote in message
news:4C4AD587-76B4-498F-9D1A-99ED809F7294@.microsoft.com...
>I have a user that her domain user account is failing to access a sql
>server
> database while another persons domain account with the same permission to
> the
> database works just fine. I remote into the workstation and test the odbc
> connection with my user account and it worked just fine. Any help.
> I am getting this message below
> Connection failed Sql state 28000 error 18456 microsoft odbc connection
> login failed for user bhcs/connie'
Error 18456 - ODBC connection failed for domain user account
database while another persons domain account with the same permission to the
database works just fine. I remote into the workstation and test the odbc
connection with my user account and it worked just fine. Any help.
I am getting this message below
Connection failed Sql state 28000 error 18456 microsoft odbc connection
login failed for user bhcs/connie'Aboki,
This should be a straight-forward error that means: bhcs/connie has no right
to login on the server.
Check to be sure: the login is the proper one (not one spelled almost the
same), that connie was not denied login, etc.
RLF
"Aboki" <Aboki@.discussions.microsoft.com> wrote in message
news:4C4AD587-76B4-498F-9D1A-99ED809F7294@.microsoft.com...
>I have a user that her domain user account is failing to access a sql
>server
> database while another persons domain account with the same permission to
> the
> database works just fine. I remote into the workstation and test the odbc
> connection with my user account and it worked just fine. Any help.
> I am getting this message below
> Connection failed Sql state 28000 error 18456 microsoft odbc connection
> login failed for user bhcs/connie'sql
Error 18456 - Connecting via DSN
My MS Access application needs to connect to a SQL server via a system
dsn. However, I keep getting the error 18456 - Login failed for user 'xxxx'.
The surprising bit is I am able to use the same password and user id and
connect to the server using Enterprise Manager. Any ideas on why the dsn is
throwing this error? Connection is via SQL authentication.
Any help would be much appreciated.
Rgds,
San
Any success with this? I'm having the exact same problem. I was doing
some permissions stuff the other day so I'm sure I hosed something up.
goosesr
Posted via http://www.codecomments.com
|||Yeah, I was able to resolve the issue by updating the links in Access. Right
click on the link table, select Link Table Manager, select, promt for new
location,a nd on ok, select the DSN again...
Hope it works for you too !
~San
"goosesr" wrote:
> Any success with this? I'm having the exact same problem. I was doing
> some permissions stuff the other day so I'm sure I hosed something up.
>
> --
> goosesr
> Posted via http://www.codecomments.com
>
Error 18456 - Connecting via DSN
My MS Access application needs to connect to a SQL server via a system
dsn. However, I keep getting the error 18456 - Login failed for user 'xxxx'.
The surprising bit is I am able to use the same password and user id and
connect to the server using Enterprise Manager. Any ideas on why the dsn is
throwing this error? Connection is via SQL authentication.
Any help would be much appreciated.
Rgds,
SanAny success with this? I'm having the exact same problem. I was doing
some permissions stuff the other day so I'm sure I hosed something up.
goosesr
---
Posted via http://www.codecomments.com
---|||Yeah, I was able to resolve the issue by updating the links in Access. Right
click on the link table, select Link Table Manager, select, promt for new
location,a nd on ok, select the DSN again...
Hope it works for you too !
~San
"goosesr" wrote:
> Any success with this? I'm having the exact same problem. I was doing
> some permissions stuff the other day so I'm sure I hosed something up.
>
> --
> goosesr
> ---
> Posted via http://www.codecomments.com
> ---
>
Thursday, March 22, 2012
Error 15274: Access to the remote server is denied because the current security context is not t
Hi,
I have a stored procedure servicing a queue (sql 2005).
The stored procedure updates some data in a different server and database.
If the queue contains messages and I execute manually the stored procedure, I don't have any problem at all.
However, if I set the queue to use the same stored procedure, it gives me the following error:
Error 15274: Access to the remote server is denied because the current security context is not trusted.
Any ideas?
Thanks,
Aron
Please, see if the following link to a similar question on this forum has the answer for your particular scenario: https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1064271&SiteID=1
If the answers in this thread do not help you to resolve the problem, please let us know and we will be glad to provide further assistance.
Thanks a lot,
-Raul Garcia
SDE/T
SQL Server Engine
Sunday, March 11, 2012
error 1069
receiving the following error:
An error 1069 - (This service did not start due to logon
failure) occurred while performing this service operation
on the MSSQLServer sevice.
Any help would be greatly appreciated!!!It looks like you may have changed the password for whatever
account is running SQL Server. You need to change the
password setting for the services if you change the password
for the account.
-Sue
On Mon, 22 Mar 2004 12:14:32 -0800, "Haas"
<h_widemond@.hotmail.com> wrote:
>When trying to access the sql server database I am
>receiving the following error:
>An error 1069 - (This service did not start due to logon
>failure) occurred while performing this service operation
>on the MSSQLServer sevice.
>Any help would be greatly appreciated!!!
Friday, March 9, 2012
Error 10060
used to work fine still opens fine in Preview mode, but when you go to print,
after a long delay it finally generates the error:
Connection failed:
SQLState: '01000'
SQL Server Error: 10060
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
{PreLoginHandshake()}.
Connection Failed:
SQL State: '08001'
SQL Server Error: 11
[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error.Check
your network documentation.
and hangs up the server (the users have been restarting it to get back up
and running).
Would appreciate any ideas to help me resolve this. I have copied the
database and app to another system and did not have any problems there, so I
suspect the problem is with SQL Server on the first system.
Carole
Hello Carole,
Because the issue does not occur when previewing, it seems to be related to
printer driver. I suggest that you use the printer "Microsoft Office
document image writer" as default printer. Does the issue occurs at this
time?
Also, please install the latest MDAC 2.8 sp1 on the cleint to test the
sitaution.
If you copy the database to a different client, can you reproduce the
issue? Have a great day!
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
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/default...national.aspx.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
| Thread-Topic: Error 10060
| thread-index: AcWdB9WyA+PsIdd4R12C2kKVL3Rfsg==
| X-WBNR-Posting-Host: 66.119.205.215
| From: "=?Utf-8?B?Q0R1dHRsaW5nZXI=?=" <h2oPower@.newsgroup.nospam>
| Subject: Error 10060
| Date: Tue, 9 Aug 2005 10:29:02 -0700
| Lines: 23
| Message-ID: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.odbc
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2571
| X-Tomcat-NG: microsoft.public.sqlserver.odbc
|
| I have an Access front-end connected to a SQL Server database. A report
that
| used to work fine still opens fine in Preview mode, but when you go to
print,
| after a long delay it finally generates the error:
|
| Connection failed:
| SQLState: '01000'
| SQL Server Error: 10060
| [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
| {PreLoginHandshake()}.
| Connection Failed:
| SQL State: '08001'
| SQL Server Error: 11
| [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error.Check
| your network documentation.
|
| and hangs up the server (the users have been restarting it to get back up
| and running).
|
| Would appreciate any ideas to help me resolve this. I have copied the
| database and app to another system and did not have any problems there,
so I
| suspect the problem is with SQL Server on the first system.
| --
| Carole
|
|||This print job has to go to a specific printer, which is also used for
numerous other reports that don't lock up SQL Server. If I use the image
writer as my default printer, won't that just create a file on disk -- that
isn't a viable solution.
I cannot reproduce the error on another server, though it happens fairly
consistently from all the clients on the problem server.
Carole
"Peter Yang [MSFT]" wrote:
> Hello Carole,
> Because the issue does not occur when previewing, it seems to be related to
> printer driver. I suggest that you use the printer "Microsoft Office
> document image writer" as default printer. Does the issue occurs at this
> time?
> Also, please install the latest MDAC 2.8 sp1 on the cleint to test the
> sitaution.
> If you copy the database to a different client, can you reproduce the
> issue? Have a great day!
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> 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/default...national.aspx.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --
> | Thread-Topic: Error 10060
> | thread-index: AcWdB9WyA+PsIdd4R12C2kKVL3Rfsg==
> | X-WBNR-Posting-Host: 66.119.205.215
> | From: "=?Utf-8?B?Q0R1dHRsaW5nZXI=?=" <h2oPower@.newsgroup.nospam>
> | Subject: Error 10060
> | Date: Tue, 9 Aug 2005 10:29:02 -0700
> | Lines: 23
> | Message-ID: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.sqlserver.odbc
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2571
> | X-Tomcat-NG: microsoft.public.sqlserver.odbc
> |
> | I have an Access front-end connected to a SQL Server database. A report
> that
> | used to work fine still opens fine in Preview mode, but when you go to
> print,
> | after a long delay it finally generates the error:
> |
> | Connection failed:
> | SQLState: '01000'
> | SQL Server Error: 10060
> | [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
> | {PreLoginHandshake()}.
> | Connection Failed:
> | SQL State: '08001'
> | SQL Server Error: 11
> | [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error.Check
> | your network documentation.
> |
> | and hangs up the server (the users have been restarting it to get back up
> | and running).
> |
> | Would appreciate any ideas to help me resolve this. I have copied the
> | database and app to another system and did not have any problems there,
> so I
> | suspect the problem is with SQL Server on the first system.
> | --
> | Carole
> |
>
|||Hello Carole,
I'd like to explain the suggestions I provided is just to narrow down the
issue, other than a permanet solution. If the "Microsoft Office document
image writer" works. We shall take some actions to reolve the printer
driver or related issue on this machine. Or, we shall find other possible
cause.
To check if the issue is relate to user profile, I suggest that you create
a new user on this machine with admin rights and log on as this new user to
test the situation.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
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.
| Thread-Topic: Error 10060
| thread-index: AcWd3YxRa9b6SiYZRW+JwZSYJajkQg==
| X-WBNR-Posting-Host: 66.119.205.215
| From: "=?Utf-8?B?Q0R1dHRsaW5nZXI=?=" <h2oPower@.newsgroup.nospam>
| References: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
<WzR0VIXnFHA.3472@.TK2MSFTNGXA01.phx.gbl>
| Subject: RE: Error 10060
| Date: Wed, 10 Aug 2005 11:58:51 -0700
| Lines: 110
| Message-ID: <86B3C55F-3647-4E4B-9414-B6137D3AD6CE@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.odbc
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2577
| X-Tomcat-NG: microsoft.public.sqlserver.odbc
|
| This print job has to go to a specific printer, which is also used for
| numerous other reports that don't lock up SQL Server. If I use the image
| writer as my default printer, won't that just create a file on disk --
that
| isn't a viable solution.
|
| I cannot reproduce the error on another server, though it happens fairly
| consistently from all the clients on the problem server.
| --
| Carole
|
|
| "Peter Yang [MSFT]" wrote:
|
| > Hello Carole,
| >
| > Because the issue does not occur when previewing, it seems to be
related to
| > printer driver. I suggest that you use the printer "Microsoft Office
| > document image writer" as default printer. Does the issue occurs at
this
| > time?
| >
| > Also, please install the latest MDAC 2.8 sp1 on the cleint to test the
| > sitaution.
| >
| > If you copy the database to a different client, can you reproduce the
| > issue? Have a great day!
| >
| > Best Regards,
| >
| > Peter Yang
| > MCSE2000/2003, MCSA, MCDBA
| > 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/default...national.aspx.
| >
| > ================================================== ===
| >
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| > --
| > | Thread-Topic: Error 10060
| > | thread-index: AcWdB9WyA+PsIdd4R12C2kKVL3Rfsg==
| > | X-WBNR-Posting-Host: 66.119.205.215
| > | From: "=?Utf-8?B?Q0R1dHRsaW5nZXI=?=" <h2oPower@.newsgroup.nospam>
| > | Subject: Error 10060
| > | Date: Tue, 9 Aug 2005 10:29:02 -0700
| > | Lines: 23
| > | Message-ID: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.sqlserver.odbc
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2571
| > | X-Tomcat-NG: microsoft.public.sqlserver.odbc
| > |
| > | I have an Access front-end connected to a SQL Server database. A
report
| > that
| > | used to work fine still opens fine in Preview mode, but when you go
to
| > print,
| > | after a long delay it finally generates the error:
| > |
| > | Connection failed:
| > | SQLState: '01000'
| > | SQL Server Error: 10060
| > | [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
| > | {PreLoginHandshake()}.
| > | Connection Failed:
| > | SQL State: '08001'
| > | SQL Server Error: 11
| > | [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network
error.Check
| > | your network documentation.
| > |
| > | and hangs up the server (the users have been restarting it to get
back up
| > | and running).
| > |
| > | Would appreciate any ideas to help me resolve this. I have copied the
| > | database and app to another system and did not have any problems
there,
| > so I
| > | suspect the problem is with SQL Server on the first system.
| > | --
| > | Carole
| > |
| >
| >
|
Error 10060
used to work fine still opens fine in Preview mode, but when you go to print
,
after a long delay it finally generates the error:
Connection failed:
SQLState: '01000'
SQL Server Error: 10060
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
{PreLoginHandshake()}.
Connection Failed:
SQL State: '08001'
SQL Server Error: 11
[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network err
or.Check
your network documentation.
and hangs up the server (the users have been restarting it to get back up
and running).
Would appreciate any ideas to help me resolve this. I have copied the
database and app to another system and did not have any problems there, so I
suspect the problem is with SQL Server on the first system.
--
CaroleHello Carole,
Because the issue does not occur when previewing, it seems to be related to
printer driver. I suggest that you use the printer "Microsoft Office
document image writer" as default printer. Does the issue occurs at this
time?
Also, please install the latest MDAC 2.8 sp1 on the cleint to test the
sitaution.
If you copy the database to a different client, can you reproduce the
issue? Have a great day!
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
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/te...erview/40010469
Others: https://partner.microsoft.com/US/te...upportoverview/
If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/defaul...rnational.aspx.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
| Thread-Topic: Error 10060
| thread-index: AcWdB9WyA+PsIdd4R12C2kKVL3Rfsg==
| X-WBNR-Posting-Host: 66.119.205.215
| From: "examnotes" <h2oPower@.newsgroup.nospam>
| Subject: Error 10060
| Date: Tue, 9 Aug 2005 10:29:02 -0700
| Lines: 23
| Message-ID: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.odbc
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2571
| X-Tomcat-NG: microsoft.public.sqlserver.odbc
|
| I have an Access front-end connected to a SQL Server database. A report
that
| used to work fine still opens fine in Preview mode, but when you go to
print,
| after a long delay it finally generates the error:
|
| Connection failed:
| SQLState: '01000'
| SQL Server Error: 10060
| [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
| {PreLoginHandshake()}.
| Connection Failed:
| SQL State: '08001'
| SQL Server Error: 11
| [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network e
rror.Check
| your network documentation.
|
| and hangs up the server (the users have been restarting it to get back up
| and running).
|
| Would appreciate any ideas to help me resolve this. I have copied the
| database and app to another system and did not have any problems there,
so I
| suspect the problem is with SQL Server on the first system.
| --
| Carole
||||This print job has to go to a specific printer, which is also used for
numerous other reports that don't lock up SQL Server. If I use the image
writer as my default printer, won't that just create a file on disk -- that
isn't a viable solution.
I cannot reproduce the error on another server, though it happens fairly
consistently from all the clients on the problem server.
--
Carole
"Peter Yang [MSFT]" wrote:
> Hello Carole,
> Because the issue does not occur when previewing, it seems to be related t
o
> printer driver. I suggest that you use the printer "Microsoft Office
> document image writer" as default printer. Does the issue occurs at this
> time?
> Also, please install the latest MDAC 2.8 sp1 on the cleint to test the
> sitaution.
> If you copy the database to a different client, can you reproduce the
> issue? Have a great day!
> Best Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> 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/te...erview/40010469
> Others: https://partner.microsoft.com/US/te...upportoverview/
> If you are outside the United States, please visit our International
> Support page:
> http://support.microsoft.com/defaul...rnational.aspx.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
> --
> | Thread-Topic: Error 10060
> | thread-index: AcWdB9WyA+PsIdd4R12C2kKVL3Rfsg==
> | X-WBNR-Posting-Host: 66.119.205.215
> | From: "examnotes" <h2oPower@.newsgroup.nospam>
> | Subject: Error 10060
> | Date: Tue, 9 Aug 2005 10:29:02 -0700
> | Lines: 23
> | Message-ID: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.sqlserver.odbc
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2571
> | X-Tomcat-NG: microsoft.public.sqlserver.odbc
> |
> | I have an Access front-end connected to a SQL Server database. A report
> that
> | used to work fine still opens fine in Preview mode, but when you go to
> print,
> | after a long delay it finally generates the error:
> |
> | Connection failed:
> | SQLState: '01000'
> | SQL Server Error: 10060
> | [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
> | {PreLoginHandshake()}.
> | Connection Failed:
> | SQL State: '08001'
> | SQL Server Error: 11
> | [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network
error.Check
> | your network documentation.
> |
> | and hangs up the server (the users have been restarting it to get back u
p
> | and running).
> |
> | Would appreciate any ideas to help me resolve this. I have copied the
> | database and app to another system and did not have any problems there,
> so I
> | suspect the problem is with SQL Server on the first system.
> | --
> | Carole
> |
>|||Hello Carole,
I'd like to explain the suggestions I provided is just to narrow down the
issue, other than a permanet solution. If the "Microsoft Office document
image writer" works. We shall take some actions to reolve the printer
driver or related issue on this machine. Or, we shall find other possible
cause.
To check if the issue is relate to user profile, I suggest that you create
a new user on this machine with admin rights and log on as this new user to
test the situation.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
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.
| Thread-Topic: Error 10060
| thread-index: AcWd3YxRa9b6SiYZRW+JwZSYJajkQg==
| X-WBNR-Posting-Host: 66.119.205.215
| From: "examnotes" <h2oPower@.newsgroup.nospam>
| References: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
<WzR0VIXnFHA.3472@.TK2MSFTNGXA01.phx.gbl>
| Subject: RE: Error 10060
| Date: Wed, 10 Aug 2005 11:58:51 -0700
| Lines: 110
| Message-ID: <86B3C55F-3647-4E4B-9414-B6137D3AD6CE@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.odbc
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2577
| X-Tomcat-NG: microsoft.public.sqlserver.odbc
|
| This print job has to go to a specific printer, which is also used for
| numerous other reports that don't lock up SQL Server. If I use the image
| writer as my default printer, won't that just create a file on disk --
that
| isn't a viable solution.
|
| I cannot reproduce the error on another server, though it happens fairly
| consistently from all the clients on the problem server.
| --
| Carole
|
|
| "Peter Yang [MSFT]" wrote:
|
| > Hello Carole,
| >
| > Because the issue does not occur when previewing, it seems to be
related to
| > printer driver. I suggest that you use the printer "Microsoft Office
| > document image writer" as default printer. Does the issue occurs at
this
| > time?
| >
| > Also, please install the latest MDAC 2.8 sp1 on the cleint to test the
| > sitaution.
| >
| > If you copy the database to a different client, can you reproduce the
| > issue? Have a great day!
| >
| > Best Regards,
| >
| > Peter Yang
| > MCSE2000/2003, MCSA, MCDBA
| > 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/te...erview/40010469
| >
| > Others:
https://partner.microsoft.com/US/te...upportoverview/
| >
| > If you are outside the United States, please visit our International
| > Support page:
| > http://support.microsoft.com/defaul...rnational.aspx.
| >
| > ========================================
=============
| >
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| > --
| > | Thread-Topic: Error 10060
| > | thread-index: AcWdB9WyA+PsIdd4R12C2kKVL3Rfsg==
| > | X-WBNR-Posting-Host: 66.119.205.215
| > | From: "examnotes" <h2oPower@.newsgroup.nospam>
| > | Subject: Error 10060
| > | Date: Tue, 9 Aug 2005 10:29:02 -0700
| > | Lines: 23
| > | Message-ID: <4F683860-86FB-4FF9-83E5-5FD0D6277F3E@.microsoft.com>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.sqlserver.odbc
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.odbc:2571
| > | X-Tomcat-NG: microsoft.public.sqlserver.odbc
| > |
| > | I have an Access front-end connected to a SQL Server database. A
report
| > that
| > | used to work fine still opens fine in Preview mode, but when you go
to
| > print,
| > | after a long delay it finally generates the error:
| > |
| > | Connection failed:
| > | SQLState: '01000'
| > | SQL Server Error: 10060
| > | [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpe
n
| > | {PreLoginHandshake()}.
| > | Connection Failed:
| > | SQL State: '08001'
| > | SQL Server Error: 11
| > | [Microsoft][ODBC SQL Server Driver][DBNETLIB]General netwo
rk
error.Check
| > | your network documentation.
| > |
| > | and hangs up the server (the users have been restarting it to get
back up
| > | and running).
| > |
| > | Would appreciate any ideas to help me resolve this. I have copied the
| > | database and app to another system and did not have any problems
there,
| > so I
| > | suspect the problem is with SQL Server on the first system.
| > | --
| > | Carole
| > |
| >
| >
|
Error 0xc0202009 for importing access97 into sql
Pre-execute (Error)
Messages
Error 0xc0202009: {DBD1EAB5-7865-4B89-A7BB-DDC8507D8119}: An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft JET Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
(SQL Server Import and Export Wizard)
Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.
(SQL Server Import and Export Wizard)
Error 0xc004701a: Data Flow Task: component "Source 64 - PlanClasses" (5206) failed the pre-execute phase and returned error code 0xC020801C.
(SQL Server Import and Export Wizard)
But if I divide importing as 2 steps:
1. import all tables before PlanClasses, it works.
2. import all tables after PlanClasses including PlanClasses, it works.
If I just import PlanClasses itself, it works, but I can not import all tables at once. Interesting thing is if I just unselect PlanClasses, it will have same error at the class right after PlanClasses. Is there size limitation when doing import at once?
Yes, unfortunately the wizard does not scale too well when you transfer many tables at once. It generates a single data flow task with as many sources and destinations as is the number of transferred tables. That makes such packages exhaust resources when the number of tables grows.
We have an optimization in place, which builds simple data flows on the fly for each table, but that only works for SQL Server to SQL Server transfers.
Thanks.
|||Will this problem be fixed at SP1? Thanks.|||
No, unfortunately it is not likely for this to be addressed before the next major product version.
You are welcome though, to put your feedback on the MSDN Feedback site; the more requests for this we get the better chance is to be addressed earlier.
Thanks.
Error 0x800c0005 when calling Microsoft.XMLHTTP from inside SQLSer
What has changed on the server?
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"SammyBar" wrote:
> Hi all,
> We have a sp that sends http requests. It uses Microsoft XMLHTTP component
> that is part of XML pack that is standard with SQL Server 2000 SP3. For an
> unknown reason the XMLHTTP component started to fail raising the error:
> OLE Automation Error Information
> HRESULT: 0x800c0005
> I've seen this error in Visual Basic 6 when trying to create a component
> that is not well installed. But here this error is raised when creating th
e
> object but when sending the request:
> Exec @.nError = sp_OACreate 'Microsoft.XMLHTTP', @.iReq OUT
> If @.nError != 0
> Begin
> Select @.nError = Null
> Raiserror('sp_OACreate Microsoft.XMLHTTP FAILED! [sp_send_http]', 16, -1)
> Goto Fin
> End
> Exec @.nError = sp_OAMethod @.iReq, 'Open', NULL, 'POST', @.sUrl, false,
> @.sUser, @.sPassword
> If @.nError != 0
> Begin
> Raiserror('sp_OAMethod Open FAILED! [sp_send_http]', 16, -1)
> Goto Fin
> End
> Exec @.nError = sp_OAMethod @.iReq, 'send'
> If @.nError != 0
> Begin
> Raiserror('sp_OAMethod Send FAILED! [sp_send_http]', 16, -1)
> Goto Fin
> End
> then it goes well through sp_OACreate and sp_OAMethod "Open" calls.
> I reregister msxml.dll, msxml2.dll, msxml2.dll, and restarted the server b
ut
> it was useless.
> Looking around on the server logs the only suspected entry I've found was:
> SqlDumpExceptionHandler: Process 397 generated fatal exception c0000005
> EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process..
> * ---
--
> * Short Stack Dump
> * 09C73F85 Module(UNKNOWN+00000000)
> * 0066A220 Module(sqlservr+0026A220) (MSXMLThreadDetach+0000003D)
> * 00505DF1 Module(sqlservr+00105DF1) (clean_process+000000C6)
> * 0050611D Module(sqlservr+0010611D) (kill_proc+000000EE)
> * 00506513 Module(sqlservr+00106513) (logout+000001AC)
> * 005063D8 Module(sqlservr+001063D8) (release_srvproc+00000045)
> * 004270F9 Module(sqlservr+000270F9) (process_commands+000002A2)
> * 41075002 Module(UMS+00005002) (ProcessWorkRequests+00000272)
> * 41074698 Module(UMS+00004698) (ThreadStartRoutine+00000098)
> * 7800C9EB Module(MSVCRT+0000C9EB) (beginthread+000000CE)
> * 77E8B2D8 Module(KERNEL32+0000B2D8) (lstrcmpiW+000000B7)
> * ---
--
> It looks like after that the XMLHTTP doesn't works.
> Then my problem is to restore the XMLHTTP component to normal state. It ru
ns
> on a production server so the rules here are very strict. We cannot instal
l
> any new package there. So just reinstalling the xml package is the least
> desirable solution. I'd prefer just reregister the proper dlls but it look
s
> like reregistering msxml?.dll is not enought.
> What should I do?
> Should I register any other dll associated to msxml?.dll
> Any idea is welcomed
> Thanks in advance
> Sammy
>
>> 0x800c0005 = Error 5 = Access Denied.
!!!
Where did you find error codes?
> What has changed on the server?
Nothing. It is in the production server and it is forbidden to change
anything..., even security patches...|||> Where did you find error codes?
From an OS command prompt:
NET HELPMSG 5
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"SammyBar" <sammybar@.gmail.com> wrote in message news:%23ZP6ykskFHA.3144@.TK2MSFTNGP12.phx.g
bl...
> !!!
> Where did you find error codes?
>
> Nothing. It is in the production server and it is forbidden to change
> anything..., even security patches...
>|||Hi
It is the standard COM error. After seeing the same ones for 10 years, you
generally get to know them.
You can strip the last 4 characters, and use them as Tibor Karaszi noted in
his post.
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/
"SammyBar" <sammybar@.gmail.com> wrote in message
news:%23ZP6ykskFHA.3144@.TK2MSFTNGP12.phx.gbl...
> !!!
> Where did you find error codes?
>
> Nothing. It is in the production server and it is forbidden to change
> anything..., even security patches...
>|||> What has changed on the server?
Ok, I found the error. Somebody activated a second NIC on the server and
that mangled the network routes. The server that was being requested was not
available by pinging. That is way the error was raising on the "send"
method.
Thanks you all for the hints
Best regards
Sammy
Wednesday, March 7, 2012
Error 0: Syntax error or Access violation
I'm writing a stored procedure and when I click on the Check Syntax button its giving me the error in the subject. I'm not really sure whats wrong with this. Here is my Stored Procedure code. Any help wud be appreciated.
CREATE PROC CabsSchedule_Insert
{
@.JulianDatesmallint,
@.SiteCodesmallint,
@.CalendarDaysmallint,
@.BillPeriodsmallint,
@.WorkDaysmallint,
@.CalDayBillRcvd varchar(30),
@.Remarksvarchar(50)
}
AS
INSERT INTO CabsSchedule
(JulianDate, SiteCode, CalendarDay, BillPeriod, WorkDay, CalDayBillRcvd, Remarks)
VALUES
(@.JulianDate, @.SiteCode, @.CalendarDay, @.BillPeriod, @.WorkDay, @.CalDayBillRcvd, @.Remarks)
Thanks,check the datatypes of the columns and the values that you are trying to put into them. other than that i dont see anything else. you might also want tocheck this if you havent already.
hth|||Hi Dinakar,
Thanks for the reply. I got this thing to work. I'm not really sure how SQL Server behaves if I had an extra space inbetween my proc but removing the flower brackets ({) and
adjusting the CabsSchedule in the insert statement right beside the field names did the trick.
CREATE PROC CabsSchedule_Insert@.JulianDatesmallint,
@.SiteCodesmallint,
@.CalendarDaysmallint,
@.BillPeriodsmallint,
@.WorkDaysmallint,
@.CalDayBillRcvd varchar(30),
@.Remarksvarchar(50)AS
INSERT INTO
CabsSchedule(JulianDate, SiteCode, CalendarDay, BillPeriod, WorkDay, CalDayBillRcvd, Remarks)
VALUES
(@.JulianDate, @.SiteCode, @.CalendarDay, @.BillPeriod, @.WorkDay, @.CalDayBillRcvd, @.Remarks)
Thanks again!
Error : SQL server does not exist or access denied.
We are replacing the box the SQL server resides on and we have set up the
new server as a copy of the old one. It is a Win2000server with DNS and
active directory.
SQL server ver 8.00.760
We are able to:
Attach to the new server from workstations including exploring and
mapping the drives (actually our old server mappings worked)
We can establish an ODBC connection to the SQL server from the new box
and it tests fine so the server is started and running.
We were able to get one workstation to access the SQL server after
enabling name pipes but another still could not.
We are able to connect to the old DNS server and SQL server from all
workstations with no difficlties. Only one of the servers is connected at at
ime.
We can not set up an ODBC connection from any other workstation attached to
the new server. This is the error message we receive:
Connection failed:
SQL State 01000
SQL Server error: 10060
[Microsoft][ODBC SQL Server driver[tcp/ip sockets] Connectionopen (Connect
()).
Connection failed:
SQL State 08001
SQL Server error 17
[Microsoft][ODBC SQL Server driver[tcp/ip sockets] SQL Server does not exist
or access denied.
There is no firewall in between the server and workstations (a fire wall
resides between the server and the internet with NAT enabled).
Login is set to use both windows and SQL authentication. We have tried it
as SQL only login with the same error message.
We have worked through Microsoft document 328306 "Potential causes of the
"SQL Server does not exist or access denied" error message"
Any ideas where our problem is?
Thank you,
Michael
Hi All,
We are facing exactly similar problem. Does anyone have any idea/thoughts as
to why this could be happening and what we can do to troubleshoot/solve this
problem.
Many Thanks,
Parag
"MABrown58" wrote:
> Error : SQL server does not exist or access denied.
> We are replacing the box the SQL server resides on and we have set up the
> new server as a copy of the old one. It is a Win2000server with DNS and
> active directory.
> SQL server ver 8.00.760
> We are able to:
> Attach to the new server from workstations including exploring and
> mapping the drives (actually our old server mappings worked)
> We can establish an ODBC connection to the SQL server from the new box
> and it tests fine so the server is started and running.
> We were able to get one workstation to access the SQL server after
> enabling name pipes but another still could not.
> We are able to connect to the old DNS server and SQL server from all
> workstations with no difficlties. Only one of the servers is connected at at
> ime.
> We can not set up an ODBC connection from any other workstation attached to
> the new server. This is the error message we receive:
> Connection failed:
> SQL State 01000
> SQL Server error: 10060
> [Microsoft][ODBC SQL Server driver[tcp/ip sockets] Connectionopen (Connect
> ()).
> Connection failed:
> SQL State 08001
> SQL Server error 17
> [Microsoft][ODBC SQL Server driver[tcp/ip sockets] SQL Server does not exist
> or access denied.
> There is no firewall in between the server and workstations (a fire wall
> resides between the server and the internet with NAT enabled).
> Login is set to use both windows and SQL authentication. We have tried it
> as SQL only login with the same error message.
> We have worked through Microsoft document 328306 "Potential causes of the
> "SQL Server does not exist or access denied" error message"
> Any ideas where our problem is?
> Thank you,
> Michael
|||Since you didn't provide any specifics (other than "exactly similar"), how
about:
http://support.microsoft.com/?kbid=328306
http://support.microsoft.com/?kbid=888228
http://www.aspfaq.com/
(Reverse address to reply.)
"Parag Gaikwad" <Parag Gaikwad@.discussions.microsoft.com> wrote in message
news:7F1BC52B-CF3E-4661-B50B-5DA4E460F666@.microsoft.com...
> Hi All,
> We are facing exactly similar problem. Does anyone have any idea/thoughts
as
> to why this could be happening and what we can do to troubleshoot/solve
this
> problem.
> Many Thanks,
> Parag
Error : SQL server does not exist or access denied.
We are replacing the box the SQL server resides on and we have set up the
new server as a copy of the old one. It is a Win2000server with DNS and
active directory.
SQL server ver 8.00.760
We are able to:
Attach to the new server from workstations including exploring and
mapping the drives (actually our old server mappings worked)
We can establish an ODBC connection to the SQL server from the new box
and it tests fine so the server is started and running.
We were able to get one workstation to access the SQL server after
enabling name pipes but another still could not.
We are able to connect to the old DNS server and SQL server from all
workstations with no difficlties. Only one of the servers is connected at at
ime.
We can not set up an ODBC connection from any other workstation attached to
the new server. This is the error message we receive:
Connection failed:
SQL State 01000
SQL Server error: 10060
[Microsoft][ODBC SQL Server driver[tcp/ip sockets] Connectionopen (Connect
()).
Connection failed:
SQL State 08001
SQL Server error 17
[Microsoft][ODBC SQL Server driver[tcp/ip sockets] SQL Server does not exist
or access denied.
There is no firewall in between the server and workstations (a fire wall
resides between the server and the internet with NAT enabled).
Login is set to use both windows and SQL authentication. We have tried it
as SQL only login with the same error message.
We have worked through Microsoft document 328306 "Potential causes of the
"SQL Server does not exist or access denied" error message"
Any ideas where our problem is?
Thank you,
MichaelHi All,
We are facing exactly similar problem. Does anyone have any idea/thoughts as
to why this could be happening and what we can do to troubleshoot/solve this
problem.
Many Thanks,
Parag
"MABrown58" wrote:
> Error : SQL server does not exist or access denied.
> We are replacing the box the SQL server resides on and we have set up the
> new server as a copy of the old one. It is a Win2000server with DNS and
> active directory.
> SQL server ver 8.00.760
> We are able to:
> Attach to the new server from workstations including exploring and
> mapping the drives (actually our old server mappings worked)
> We can establish an ODBC connection to the SQL server from the new box
> and it tests fine so the server is started and running.
> We were able to get one workstation to access the SQL server after
> enabling name pipes but another still could not.
> We are able to connect to the old DNS server and SQL server from all
> workstations with no difficlties. Only one of the servers is connected at at
> ime.
> We can not set up an ODBC connection from any other workstation attached to
> the new server. This is the error message we receive:
> Connection failed:
> SQL State 01000
> SQL Server error: 10060
> [Microsoft][ODBC SQL Server driver[tcp/ip sockets] Connectionopen (Connect
> ()).
> Connection failed:
> SQL State 08001
> SQL Server error 17
> [Microsoft][ODBC SQL Server driver[tcp/ip sockets] SQL Server does not exist
> or access denied.
> There is no firewall in between the server and workstations (a fire wall
> resides between the server and the internet with NAT enabled).
> Login is set to use both windows and SQL authentication. We have tried it
> as SQL only login with the same error message.
> We have worked through Microsoft document 328306 "Potential causes of the
> "SQL Server does not exist or access denied" error message"
> Any ideas where our problem is?
> Thank you,
> Michael|||Since you didn't provide any specifics (other than "exactly similar"), how
about:
http://support.microsoft.com/?kbid=328306
http://support.microsoft.com/?kbid=888228
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Parag Gaikwad" <Parag Gaikwad@.discussions.microsoft.com> wrote in message
news:7F1BC52B-CF3E-4661-B50B-5DA4E460F666@.microsoft.com...
> Hi All,
> We are facing exactly similar problem. Does anyone have any idea/thoughts
as
> to why this could be happening and what we can do to troubleshoot/solve
this
> problem.
> Many Thanks,
> Parag
Sunday, February 19, 2012
Error - Server Error in '/Reports' Application - system.drawing.dll
I've got a small issue - I can't access my report server anymore!
Everything was working beatifully, up until we restarted the server
last night.
Now when I try to access the site i get the following:
Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.
Parser Error Message: Assembly system.drawing.dll security permission
grant set is incompatible between appdomains.
Source Error:
Line 253: <add assembly="System.Web.Services,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 254: <add assembly="System.Xml, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
Line 255: <add assembly="System.Drawing,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Source File:
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config
Line: 255
The server hadn't been restarted since report services was installed.
As far As I'm aware, nothing else has been installed since.
Has anyone got any suggestions?
Thanks,
SarahSolved!!!
The problem related to security permission.
As it is set up for internal use only, we made the following change to
fix the problem.
In services, World Wide Web Publushing - added permisssion to allow
serice to interact with desktop.
Friday, February 17, 2012
Error
a local copy of the front end on their computer. I have a function set up to
read data off a CD and import it to the system -- this function works on all
computers except one. On the problematic machine, I keep getting Error 8152
-
String or binary data would be truncated. Here's the line of code that
triggers the error:
DoCmd.RunSQL "UPDATE [Table1] SET [Pub Date] = SUBSTRING([Pub Date], 1, 2) +
'/01/' + SUBSTRING([Pub Date], 3, 4)"
What is happening here is that a number of date fields come into the system
in mm/yyyy format. This causes some problems, so I loaded them into a temp
table as a string, and am inserting 01 for the day in the middle. Once that'
s
complete I'll cast it into a datetime and append the records to the live
data. As I said, this all works for every computer but one. The machine in
question has all the correct Access references, and the user is a member of
the correct group and has all the privileges he needs. Is anyone familiar
with this error? Why would it trigger for one user and not the others?mike wrote:
> Hi. I have a SQL backend and an Access data project front end. Each
> user has a local copy of the front end on their computer. I have a
> function set up to read data off a CD and import it to the system --
> this function works on all computers except one. On the problematic
> machine, I keep getting Error 8152 - String or binary data would be
> truncated. Here's the line of code that triggers the error:
> DoCmd.RunSQL "UPDATE [Table1] SET [Pub Date] = SUBSTRING([Pub Date],
> 1, 2) + '/01/' + SUBSTRING([Pub Date], 3, 4)"
> What is happening here is that a number of date fields come into the
> system in mm/yyyy format. This causes some problems, so I loaded them
> into a temp table as a string, and am inserting 01 for the day in the
> middle. Once that's complete I'll cast it into a datetime and append
> the records to the live data. As I said, this all works for every
> computer but one. The machine in question has all the correct Access
> references, and the user is a member of the correct group and has all
> the privileges he needs. Is anyone familiar with this error? Why
> would it trigger for one user and not the others?
The date format you are using is not a portable format. For a date-only
value, you should use:
YYYYMMDD
David Gugick
Imceda Software
www.imceda.com|||David: Thanks for your response, but the data I'm trying to manipulate is of
type varchar. I handle the date conversion later. Also, the code works just
fine on all the computers except one.
I did some more investigating and discovered that when I try to load data
using the problem computer, the system creates and saves copies of the temp
tables I use for data import and manipulation. All other users re-use the
previously defined tables. The new user-specific temp tables default to data
type nvarchar, rather than varchar. When I switched the appropriate fields
from nvarchar to varchar the code worked fine. Go figure.
"David Gugick" wrote:
> mike wrote:
> The date format you are using is not a portable format. For a date-only
> value, you should use:
> YYYYMMDD
> --
> David Gugick
> Imceda Software
> www.imceda.com
>
Wednesday, February 15, 2012
Erroneous EOF's from Simple Queries
ADODB.
Multiple instances of the application all access the database. In some
cases, they access and try to update the same row of a table. I am
opening this table with a single row query and
ADODB.LockTypeEnum.adLockPessimistic which I understand to be
equivalent to ROWLOCK.
Sample query:
SELECT Semaphores.* FROM Semaphores WHERE
(((Semaphores.SemaphoreName)='MySem'));
PROBLEM:
This query should always return the one record where this condition is
true. Most of the time it does this. However, sometimes it opens
without error, but the EOF condition is true (even though the query
should return the existing record).
My assumption was that the adLockPessimistic would fail the Open with
an exception if the the row could not be accessed with the lock. Is it
possible I am instead getting an EOF in this case? If not, any ideas
what may cause an EOF on a query that works almost every other time?
Other settings:
m_Connection.CommandTimeout = 5
m_Connection.ConnectionTimeout = 15
SET LOCK_TIMEOUT 0
Note:
Since I know the record is there, I could technically loop on the
erroneous EOF to get around the problem. But I believe I am seeing it
occur in other places where I cannot guarantee the EOF is not valid.
Gary Geniesse"GaryGen" <gary@.garygen.com> wrote in message
news:1146582362.350598.240750@.j73g2000cwa.googlegroups.com...
>I am testing a VB.NET application using SQL Server Express (2005) and
> ADODB.
Why are you using ADODB instead of System.Data.SqlClient?
> Multiple instances of the application all access the database. In some
> cases, they access and try to update the same row of a table. I am
> opening this table with a single row query and
> ADODB.LockTypeEnum.adLockPessimistic which I understand to be
> equivalent to ROWLOCK.
>
Ditch ADODB, use SqlClient, and read the BOL for lock hints and OUTPUT
clause.
No one remembers details of exactly ADO works, and no one wants to figure it
out. But plenty of people here can help with pure SQL solutions.
So what are you trying to acomplish? What are the table structures (DDL
please), and desired results?
David
Erro Mssage: tempdb is skipped. You cannot run a query that requires tempdb
following error message:
tempdb is skipped. You cannot run a query that requires
tempdb
After I reboot the database, the error goes away.
What cauases this error, and how can I fix it?
Thanks.
-- Charlie Lu
=========================================== View:
SELECT USERTBL.name AS User_Name
,ROLETBL.name AS Role_Name
,RM.Is_Primary
FROM sysusers USERTBL
INNER JOIN sysmembers SM
ON USERTBL.uid = SM.memberuid
INNER JOIN sysusers ROLETBL
ON SM.groupuid = ROLETBL.uid
INNER JOIN ROLE_MAP RM
ON ROLETBL.name = RM.Role_NameI can't get that far to try and reproduce, because I get:
Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'ROLE_MAP'.
--
http://www.aspfaq.com/
(Reverse address to reply.)
"C. Ming Lu" <cminglu@.qmxs.com> wrote in message
news:eDVWJVdaEHA.556@.tk2msftngp13.phx.gbl...
> While access a view (which is described as following), I encountered the
> following error message:
> tempdb is skipped. You cannot run a query that requires
> tempdb
> After I reboot the database, the error goes away.
> What cauases this error, and how can I fix it?
> Thanks.
> -- Charlie Lu
> ===========================================> View:
> SELECT USERTBL.name AS User_Name
> ,ROLETBL.name AS Role_Name
> ,RM.Is_Primary
> FROM sysusers USERTBL
> INNER JOIN sysmembers SM
> ON USERTBL.uid = SM.memberuid
> INNER JOIN sysusers ROLETBL
> ON SM.groupuid = ROLETBL.uid
> INNER JOIN ROLE_MAP RM
> ON ROLETBL.name = RM.Role_Name
>|||Sorry about the , I cut it out of the view. Role_Map is the user defined
table.
Here is the selection statement.
SELECT USERTBL.name AS User_Name
,ROLETBL.name AS Role_Name
FROM sysusers USERTBL
INNER JOIN sysmembers SM
ON USERTBL.uid = SM.memberuid
INNER JOIN sysusers ROLETBL
ON SM.groupuid = ROLETBL.uid
Regards,
-- C. Ming Lu
"Aaron [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in message
news:u$$GozdaEHA.2840@.TK2MSFTNGP11.phx.gbl...
> I can't get that far to try and reproduce, because I get:
> Server: Msg 208, Level 16, State 1, Line 1
> Invalid object name 'ROLE_MAP'.
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>
> "C. Ming Lu" <cminglu@.qmxs.com> wrote in message
> news:eDVWJVdaEHA.556@.tk2msftngp13.phx.gbl...
> > While access a view (which is described as following), I encountered the
> > following error message:
> > tempdb is skipped. You cannot run a query that requires
> > tempdb
> > After I reboot the database, the error goes away.
> >
> > What cauases this error, and how can I fix it?
> >
> > Thanks.
> >
> > -- Charlie Lu
> > ===========================================> > View:
> > SELECT USERTBL.name AS User_Name
> > ,ROLETBL.name AS Role_Name
> > ,RM.Is_Primary
> > FROM sysusers USERTBL
> > INNER JOIN sysmembers SM
> > ON USERTBL.uid = SM.memberuid
> > INNER JOIN sysusers ROLETBL
> > ON SM.groupuid = ROLETBL.uid
> > INNER JOIN ROLE_MAP RM
> > ON ROLETBL.name = RM.Role_Name
> >
> >
>
Erro message during import of access DB...
I am getting an error whle I try to import an Access DB into a MSSQL DB.
Insert Error, ('DATEBIRTH', DBTYPE_DBTIMESTAMP), status 6; Data
Overflow. Invalid character value for cast specification.
Now, during the DTS wizard I tried changing the types to smalldate, or
just plain text but neither work.
any thoughts?
thanks!
Luis
Hi
Usually this is caused by incorrect data. You may want to load into a
staging table and make the date column char or validate the data before
loading.
http://groups-beta.google.com/group/...514b83c7397d2c
John
"Anon" wrote:
> Hello All!
> I am getting an error whle I try to import an Access DB into a MSSQL DB.
> Insert Error, ('DATEBIRTH', DBTYPE_DBTIMESTAMP), status 6; Data
> Overflow. Invalid character value for cast specification.
> Now, during the DTS wizard I tried changing the types to smalldate, or
> just plain text but neither work.
> any thoughts?
> thanks!
> Luis
>
|||hmmm. that stinks since we have almost 100k records in this table...mayb
eI can make some sort of update query to these records. Ok, thanks!
Luis
John Bell wrote:[vbcol=seagreen]
> Hi
> Usually this is caused by incorrect data. You may want to load into a
> staging table and make the date column char or validate the data before
> loading.
> http://groups-beta.google.com/group/...514b83c7397d2c
> John
> "Anon" wrote:
>
|||Hi
It may highlight a deficiency in the current application, therefore any
clean up operation would have to be repeated each time you loaded your
SQL server database. Finding out why you have poor data would be
necessary to ensure a smoother transfer in the future. If you loaded
into staging tables your clean-up code could be used when transforming
that data into the live tables, this would mean you are not depending
on the current data source.
100K records is not actually that many, hopefully not all of them are
duff!!
John
Anon wrote:
> hmmm. that stinks since we have almost 100k records in this
table...mayb[vbcol=seagreen]
> eI can make some sort of update query to these records. Ok, thanks!
> Luis
>
> John Bell wrote:
a[vbcol=seagreen]
before[vbcol=seagreen]
http://groups-beta.google.com/group/...514b83c7397d2c[vbcol=seagreen]
MSSQL DB.[vbcol=seagreen]
or[vbcol=seagreen]