Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2006, 06:28 AM
Registered User
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Provider Access Error

Hi,
i am working with asp. I used the following code segment in my code
to retrieve the the data from an Excel file.It is a part of a SQL Query and I am executing this by an ADODB.connection object. It is working well in my local machine. But after I uploaded it to the web server, it is not working and it shows an error message. the following is the code segment.


OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=" &
filepath & ";', 'SELECT * FROM [Sheet1$]')"


Error message is:


Microsoft OLE DB Provider for SQL Server error '80040e14'

Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server.

/smspayroll/attach_xl_view.asp, line 74



Please tell me how to resolve this problem,

Thanks in advance.

by,
Ashok Kumar.K





Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership Provider error jamara ASP.NET 2.0 Basics 1 March 12th, 2007 02:01 PM
About data access provider and consumer kimsunshine ADO.NET 0 July 28th, 2006 06:45 AM
Access DB2 on AS/400 using IBM OLE DB Provider KiwiMark SQL Server 2005 2 February 16th, 2006 07:40 PM
Provider Error Getting Me Upset arimakidd Classic ASP Databases 1 September 7th, 2005 10:00 AM
Oracle provider error bikerd Pro VB Databases 2 April 4th, 2005 11:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.