troubleshooting Question

Getting "sql does not exist or access denied" error

Avatar of nigerman
nigerman asked on
Microsoft SQL ServerASP
8 Comments1 Solution372 ViewsLast Modified:
Hello experts,

can you please tell me what this stored proc is supposed to be doing?

It has been running now for a long time till today when we started getting the following errors:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server][DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.


Below is the entire stored proc. I just took over managing both this and the server side code - classic asp
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_getpics]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_getpics]
GO
 
SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS OFF 
GO
 
CREATE PROCEDURE sp_getpics
 
 
 AS
Set ansi_nulls on
Set ansi_warnings on
GO
SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS ON 
GO
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros