473,466 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Webclient UploadFile "could not find file c:\..."

I followed the instructions from MSDN for Webclient UploadFile and I get an
error: Could not find file 'C:\testfile.xls'.

If I add the file (c:\testfile.xls) to the server I do not get the error and
the file is copied from the server to the server, rather than from the web
client to the server.

Please help!!!

Here is my code:

--------------Default.aspx---------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index: 100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />

</div>
</form>
</body>
</html>
--------------- default.aspx.cs ----------------------

protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

}
----------- confirm.aspx --------------------------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>

</div>
</form>
</body>
</html>
--------- confirm.aspx.cs --------------------------

public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}

Oct 31 '08 #1
6 4876
I think you confusing Upload with Download...

Upload - from client to server
Download from server to client.
George.
"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:71**********************************@microsof t.com...
>I followed the instructions from MSDN for Webclient UploadFile and I get an
error: Could not find file 'C:\testfile.xls'.

If I add the file (c:\testfile.xls) to the server I do not get the error
and
the file is copied from the server to the server, rather than from the web
client to the server.

Please help!!!

Here is my code:

--------------Default.aspx---------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index:
100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />

</div>
</form>
</body>
</html>
--------------- default.aspx.cs ----------------------

protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

}
----------- confirm.aspx --------------------------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>

</div>
</form>
</body>
</html>
--------- confirm.aspx.cs --------------------------

public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}
Oct 31 '08 #2
No I'm not confused I probably just didn't explain my problem good enough.

What is happening is that the UploadFile command is looking on the c drive
of the server rather than the c drive of the webclient.

In the command below sPath is supposed to be the path of a file on the web
client and sent to the web server but the command is looking on the server
for sPath???

// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

"George" wrote:
I think you confusing Upload with Download...

Upload - from client to server
Download from server to client.
George.
"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:71**********************************@microsof t.com...
I followed the instructions from MSDN for Webclient UploadFile and I get an
error: Could not find file 'C:\testfile.xls'.

If I add the file (c:\testfile.xls) to the server I do not get the error
and
the file is copied from the server to the server, rather than from the web
client to the server.

Please help!!!

Here is my code:

--------------Default.aspx---------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index:
100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />

</div>
</form>
</body>
</html>
--------------- default.aspx.cs ----------------------

protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

}
----------- confirm.aspx --------------------------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>

</div>
</form>
</body>
</html>
--------- confirm.aspx.cs --------------------------

public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}

Oct 31 '08 #3
WebClient allows a program to upload a file via http to another server. as
you are running webclient on the web server, the server is the client, and it
can only access its own files.

it is unclear what you are trying to do. you have the browser upload a file
to the server, but don't do anything with it. did you forget to save the
browsers uploaded file to disk? are you trying to send it to another server?
-- bruce (sqlwork.com)
"Scott Trick" wrote:
No I'm not confused I probably just didn't explain my problem good enough.

What is happening is that the UploadFile command is looking on the c drive
of the server rather than the c drive of the webclient.

In the command below sPath is supposed to be the path of a file on the web
client and sent to the web server but the command is looking on the server
for sPath???

// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

"George" wrote:
I think you confusing Upload with Download...

Upload - from client to server
Download from server to client.
George.
"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:71**********************************@microsof t.com...
>I followed the instructions from MSDN for Webclient UploadFile and I get an
error: Could not find file 'C:\testfile.xls'.
>
If I add the file (c:\testfile.xls) to the server I do not get the error
and
the file is copied from the server to the server, rather than from the web
client to the server.
>
Please help!!!
>
>
>
Here is my code:
>
--------------Default.aspx---------
>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index:
100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />
>
</div>
</form>
</body>
</html>
>
>
--------------- default.aspx.cs ----------------------
>
protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";
>
// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
>
>
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);
>
}
>
>
----------- confirm.aspx --------------------------
>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>
>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>
>
</div>
</form>
</body>
</html>
>
>
--------- confirm.aspx.cs --------------------------
>
public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}
>
Oct 31 '08 #4
Ok, then you have some messed up code...
You Default.aspx has a FileUpload control but instead of saving file when
button is pressed (event sendfileButton_Click)
you doing some weird thing.

Your confirm.aspx.cs has correct code but what is it for no clear....
since there is no FileUpload control on confirm.aspx

Do something like this.
protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
if (FileUpload1.HasFile)
FileUpload1.SaveAs(sPath);
}
George
"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:25**********************************@microsof t.com...
No I'm not confused I probably just didn't explain my problem good enough.

What is happening is that the UploadFile command is looking on the c drive
of the server rather than the c drive of the webclient.

In the command below sPath is supposed to be the path of a file on the web
client and sent to the web server but the command is looking on the server
for sPath???

// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

"George" wrote:
>I think you confusing Upload with Download...

Upload - from client to server
Download from server to client.
George.
"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:71**********************************@microso ft.com...
>I followed the instructions from MSDN for Webclient UploadFile and I get
an
error: Could not find file 'C:\testfile.xls'.

If I add the file (c:\testfile.xls) to the server I do not get the
error
and
the file is copied from the server to the server, rather than from the
web
client to the server.

Please help!!!

Here is my code:

--------------Default.aspx---------

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index:
100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />

</div>
</form>
</body>
</html>
--------------- default.aspx.cs ----------------------

protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

}
----------- confirm.aspx --------------------------

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>

</div>
</form>
</body>
</html>
--------- confirm.aspx.cs --------------------------

public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}

Oct 31 '08 #5
What I am trying to do is allow for users to upload files to our web server.

"bruce barker" wrote:
WebClient allows a program to upload a file via http to another server. as
you are running webclient on the web server, the server is the client, and it
can only access its own files.

it is unclear what you are trying to do. you have the browser upload a file
to the server, but don't do anything with it. did you forget to save the
browsers uploaded file to disk? are you trying to send it to another server?
-- bruce (sqlwork.com)
"Scott Trick" wrote:
No I'm not confused I probably just didn't explain my problem good enough.

What is happening is that the UploadFile command is looking on the c drive
of the server rather than the c drive of the webclient.

In the command below sPath is supposed to be the path of a file on the web
client and sent to the web server but the command is looking on the server
for sPath???

// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

"George" wrote:
I think you confusing Upload with Download...
>
Upload - from client to server
Download from server to client.
>
>
George.
>
>
"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:71**********************************@microsof t.com...
I followed the instructions from MSDN for Webclient UploadFile and I get an
error: Could not find file 'C:\testfile.xls'.

If I add the file (c:\testfile.xls) to the server I do not get the error
and
the file is copied from the server to the server, rather than from the web
client to the server.

Please help!!!



Here is my code:

--------------Default.aspx---------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index:
100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />

</div>
</form>
</body>
</html>


--------------- default.aspx.cs ----------------------

protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();


// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);

}


----------- confirm.aspx --------------------------

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>

</div>
</form>
</body>
</html>


--------- confirm.aspx.cs --------------------------

public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}

>
>
Oct 31 '08 #6
then instead of calling another webserver, write the uploaded file out to disk.

if (FileUpload1.HasFile)
FileUpload1.SaveAs("filename");

be sure to pick a folder the asp.net process has access to (say app_data).
don't write to the website (except app_data) or you will force a recycle.

-- bruce (sqlwork.com)
"Scott Trick" wrote:
What I am trying to do is allow for users to upload files to our web server.

"bruce barker" wrote:
WebClient allows a program to upload a file via http to another server. as
you are running webclient on the web server, the server is the client, and it
can only access its own files.

it is unclear what you are trying to do. you have the browser upload a file
to the server, but don't do anything with it. did you forget to save the
browsers uploaded file to disk? are you trying to send it to another server?
-- bruce (sqlwork.com)
"Scott Trick" wrote:
No I'm not confused I probably just didn't explain my problem good enough.
>
What is happening is that the UploadFile command is looking on the c drive
of the server rather than the c drive of the webclient.
>
In the command below sPath is supposed to be the path of a file on the web
client and sent to the web server but the command is looking on the server
for sPath???
>
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);
>
>
>
"George" wrote:
>
I think you confusing Upload with Download...

Upload - from client to server
Download from server to client.


George.


"Scott Trick" <Sc********@discussions.microsoft.comwrote in message
news:71**********************************@microsof t.com...
>I followed the instructions from MSDN for Webclient UploadFile and I get an
error: Could not find file 'C:\testfile.xls'.
>
If I add the file (c:\testfile.xls) to the server I do not get the error
and
the file is copied from the server to the server, rather than from the web
client to the server.
>
Please help!!!
>
>
>
Here is my code:
>
--------------Default.aspx---------
>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat=server>
<div>
<asp:FileUpload ID="FileUpload1" runat="server" Style="z-index:
100;
left: 22px;
position: absolute; top: 16px" Width="537px" />
<asp:Button ID="sendfileButton" runat="server"
OnClick="sendfileButton_Click" Style="z-index: 102;
left: 27px; position: absolute; top: 55px" Text="Send File"
Width="90px" />
>
</div>
</form>
</body>
</html>
>
>
--------------- default.aspx.cs ----------------------
>
protected void sendfileButton_Click(object sender, EventArgs e)
{
String sPath = @"C:\PricingImportTest.xls";
String sPost = "http://webservername/confirm.aspx";
>
// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
>
>
// Upload the file to the URL using the HTTP 1.0 POST.
byte[] responseArray = myWebClient.UploadFile(sPost, sPath);
>
}
>
>
----------- confirm.aspx --------------------------
>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Confirm.aspx.cs"
Inherits="Confirm" %>
>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" method="post" runat="server">
<div>
>
</div>
</form>
</body>
</html>
>
>
--------- confirm.aspx.cs --------------------------
>
public partial class Confirm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
foreach(string f in Request.Files.AllKeys)
{
HttpPostedFile file = Request.Files[f];
file.SaveAs(@"c:\users\tmp\" + file.FileName);
}
}
}
>
Oct 31 '08 #7

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

Similar topics

3
by: Brian Fulford | last post by:
I am trying to deploy a web app with a deployment project since I am including Crystal Reports for .Net. I attached all the merge modules, etc but I am getting a build error when I try to build...
3
by: Daniel Billingsley | last post by:
Today I went to compile a solution I've been working on for months. I've been off most of the last few months, so there's been a gap in the work, but I did compile it a few times earlier this...
0
by: haylow | last post by:
Hi I am new to ASP.NET and am working on an application that runs on a webserver. The user will open up the web interface in a browser on their local machine and enter a path to a directory. I...
1
by: Job Lot | last post by:
i am querying excel file as follows Dim conn As New OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source='" & "C:\Temp\SSPortfolio.xls" & " '; " & _ "Extended Properties=Excel...
4
by: jim | last post by:
I'm trying to import a 625MB, tab-delimited .txt file into Access, but I keep receiving the following error after several minutes of what seem to be noble attempts by Access to render the data: ...
2
by: orandov | last post by:
I am trying to connect to an Access 2000 database from VB.NET and I get this error "Could not find installable ISAM." I don't think there is anything wrong with my connection string. ...
11
by: fniles | last post by:
One of our application uses VB6 and Access97 database. Another application uses VB.NET 2005. This morning for about 15 seconds when the application tries to read either a query or a table from the...
0
by: Chuckk Hubbard | last post by:
The docs say to try to discover the URI on my own if this happens. Could I get a hand doing that? This isn't just something I want to solve on my machine, e.g. by changing my network setup or what...
0
by: Chuckk Hubbard | last post by:
OK, I think I have it. The Manual says to start a Name Server "using the ns command", and I figured out that means using the pyro-ns script. On Mon, Nov 10, 2008 at 10:49 AM, Chuckk Hubbard...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.