473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Page not working from another computer

Hi All,
My ASP.net application has to fetch data from Excel sheet.
I'm using HTML File Control to select an excel file.

I'm using Microsoft.Jet.OLEDB.4.0 provider to fetch the data from excel.
Everything is working fine on my machine.

But when my machine is accessed from other machine and trying to upload an
excel sheet 'abc.xls', it's giving following error.
"The Microsoft Jet database engine could not find the object 'C:\abc.xls'.
Make sure the object exists and that you spell its name and the path name
correctly."

i.e.
My machine (A) when accessed from Machine B
and type the url as http://A/Myapplication/default.aspx and trying to upload
the file on machine B.It's giving an error that file not found.

Thanks in advance

Srinivas
Mar 6 '07 #1
3 1220
you need to write the uploaded file to disk before you try to open it.

-- bruce (sqlwork.com)

srinivas wrote:
Hi All,
My ASP.net application has to fetch data from Excel sheet.
I'm using HTML File Control to select an excel file.

I'm using Microsoft.Jet.OLEDB.4.0 provider to fetch the data from excel.
Everything is working fine on my machine.

But when my machine is accessed from other machine and trying to upload an
excel sheet 'abc.xls', it's giving following error.
"The Microsoft Jet database engine could not find the object 'C:\abc.xls'.
Make sure the object exists and that you spell its name and the path name
correctly."

i.e.
My machine (A) when accessed from Machine B
and type the url as http://A/Myapplication/default.aspx and trying to upload
the file on machine B.It's giving an error that file not found.

Thanks in advance

Srinivas
Mar 6 '07 #2
Bruce,
thanks for the reply.
Can you please explain in detail?
File that's to be uploaded is already there on another computer.
what do you mean by writing to a disk?

Thanks

"bruce barker" wrote:
you need to write the uploaded file to disk before you try to open it.

-- bruce (sqlwork.com)

srinivas wrote:
Hi All,
My ASP.net application has to fetch data from Excel sheet.
I'm using HTML File Control to select an excel file.

I'm using Microsoft.Jet.OLEDB.4.0 provider to fetch the data from excel.
Everything is working fine on my machine.

But when my machine is accessed from other machine and trying to upload an
excel sheet 'abc.xls', it's giving following error.
"The Microsoft Jet database engine could not find the object 'C:\abc.xls'.
Make sure the object exists and that you spell its name and the path name
correctly."

i.e.
My machine (A) when accessed from Machine B
and type the url as http://A/Myapplication/default.aspx and trying to upload
the file on machine B.It's giving an error that file not found.

Thanks in advance

Srinivas
Mar 6 '07 #3
Got it.
Thanks a lot.
Now i'm able to view it from another machine too.
I'm saving the file to disk before reading it.

Thanks again

"bruce barker" wrote:
you need to write the uploaded file to disk before you try to open it.

-- bruce (sqlwork.com)

srinivas wrote:
Hi All,
My ASP.net application has to fetch data from Excel sheet.
I'm using HTML File Control to select an excel file.

I'm using Microsoft.Jet.OLEDB.4.0 provider to fetch the data from excel.
Everything is working fine on my machine.

But when my machine is accessed from other machine and trying to upload an
excel sheet 'abc.xls', it's giving following error.
"The Microsoft Jet database engine could not find the object 'C:\abc.xls'.
Make sure the object exists and that you spell its name and the path name
correctly."

i.e.
My machine (A) when accessed from Machine B
and type the url as http://A/Myapplication/default.aspx and trying to upload
the file on machine B.It's giving an error that file not found.

Thanks in advance

Srinivas
Mar 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Mimi | last post by:
Hello, I am having trouble using the session vars in PHP 4.3.9 OS: Win XP Prof Web Server IIS (is local and there are no links to other servers from the web pages I work on) Browser: IE 6.0 ...
9
by: Daniel Walzenbach | last post by:
Hi I am faced with the following problem: I have a page (let’s call this page page1.aspx) containing some TextBoxes and a hyperlink which opens another page (let’s call this page page2.aspx)...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
1
by: Murat YILMAZ | last post by:
Hi all, I have develop a web page and there are 4 textbox on it. I have put 4 validation for these. Issue is that If I have request this page and submit form validations are not working. But I...
3
by: Raghu Raman | last post by:
Hi, I want to store a cookie peemanently for 2 days.From msdn article, i have coded like this.It is working when i run my application .But if i close my browser and restart my application , i...
9
by: KenLee | last post by:
I made an application which includes classic asp page and asp.net page. when I tried to redirect from classic asp page to asp.net 2.0 page, it works under my local IIS directory. ex) <a...
10
Ajm113
by: Ajm113 | last post by:
Making a History Page for BIG Sites Intro: Ok, let's say after a while your website has grown massive. We're talking search engine, forum and video hosting -- you've got a LOT of content. And you...
25
by: Geoff Cox | last post by:
Hello, The following <frame src="topbar-frameset.php?newVar=<?php echo $groups; ?>"> passes the value of the variable $groups from a php file to the top page in a frameset but how do I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.