Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 15th, 2006, 12:27 AM
Authorized User
 
Join Date: Nov 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Loading excel file

Hi
I have built a program with VS2005 (ASP) and i want to load an excel spreadsheet. When testing localhost, everything appears to be ok however when i publish the project to the web server i get an error as it cannot see the file i have selected. The following else clause is always invoked.

If fs.FileExists(file_name) = True Then
  Load_File(file_name, Session("username"), LError)
Else
 LError.Text = "File does not exists!"
End If

Any ideas???

Thanks


Guy








Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Help file not loading PauloAmado HTML Code Clinic 1 June 15th, 2007 07:10 AM
loading a html file abaso.jadhav01 ASP.NET 2.0 Basics 0 October 30th, 2006 01:46 PM
File Down Loading kvingupta Beginning VB 6 0 March 8th, 2006 07:33 AM
Error loading file bmains VS.NET 2002/2003 1 September 2nd, 2004 12:52 PM
Loading Excel into SQL Server using ASP.NET chiefg ADO.NET 6 July 22nd, 2004 11:57 AM





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