Wrox Programmer Forums
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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 January 4th, 2005, 09:22 PM
Registered User
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Excel doc on web server

Hi all,

I have a link from ASP to an Excel spreadsheet. In the spreadsheet, I'm using External data linked to a DSN. The problem is that I want Excel to use the DSN that is set up on the web server. I thought that it would do this because I'm linking to the Excel doc from the web server.

However, it only works if the DSN is created on the client machine.

Any ideas?


Old January 5th, 2005, 03:00 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

That is correct, Excel will always look for a local DSN rather than a remote one, it may be worth looking for alternative solutions see http://www.greggriffiths.org/webdev/both/excel/ for some ideas.
Old January 27th, 2005, 03:14 PM
Authorized User
Join Date: Jan 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

You may be creating more dependencies by the way u are doing right now,
an alternative may be use recorset gather data in ASP page and export to excel using the filesystem object, no client dependencies will arrive and easy to maintain

Old May 11th, 2005, 11:52 AM
Registered User
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

better yet, use web queries with an asp page that serves csv data as the connection

There may be no stupid questions, but I've sure met a lot of inquisitive idiots.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a XML doc be updated on a Web Form ocarroll General .NET 12 August 30th, 2007 07:42 AM
Problem opening Excel Doc when using AxBrowser sroy C# 2 September 19th, 2006 06:07 AM
Excel Embeded Doc bwood415 Excel VBA 0 September 10th, 2004 06:40 AM
Pass data from Web page to Word Doc kilika Classic ASP Professional 1 April 8th, 2004 06:14 PM
How to load a Web Server report into a Report Doc dshadle Crystal Reports 3 September 30th, 2003 03:47 PM

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