472,371 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Acessing mdb file from a network share!!

Jay
Hello,

Iam trying to access a mdb file from a shared drive \\mycomputer\files from
ASP.NET and OLEDB.

It works locally
Computer A hosts IIS/ASP.Net.
Files reside in ComputerB under a network share.

Web.config has the following-
1. One which works-
<add key="NEWVIP" value="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
SOURCE=c:\inetpub\wwwroot\clients\newvip\database\ vip.mdb;" />

2. One which does not work-
<add key="NEWVIP" value="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
SOURCE=\\computerA\\files\newvip\database\vip.mdb; " />

Thanks for your help.
jay
Nov 18 '05 #1
2 4710
Hi Jay,

"Jay" <pr********@atginc.com> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...
Hello,

Iam trying to access a mdb file from a shared drive \\mycomputer\files from ASP.NET and OLEDB.

It works locally
Computer A hosts IIS/ASP.Net.
Files reside in ComputerB under a network share.

Web.config has the following-
1. One which works-
<add key="NEWVIP" value="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
SOURCE=c:\inetpub\wwwroot\clients\newvip\database\ vip.mdb;" />

2. One which does not work-
<add key="NEWVIP" value="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
SOURCE=\\computerA\\files\newvip\database\vip.mdb; " />


The aspnet account under which asp.net application is run has not enough
privileges to access the file share.
You will have to run your asp.net application under domain account that has
access to file share.
You might create an account with same name/password on both computers or use
a domain account.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
Nov 18 '05 #2
Try this knowledge base article...
307901: INFO: Permissions to Connect to a Remote Access Database from
ASP.NET
http://support.microsoft.com/default...Product=aspnet
-
Peter O'Reilly
Nov 18 '05 #3

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

Similar topics

4
by: Jay Mack | last post by:
Hello, I converted an Access application that used to have a MDE front-end (distributed to each user) with a MDB back-end on a share. It now has a MDE front-end with linked ODBC SQL Server 2000...
7
by: Frank Rizzo | last post by:
Hello, I've asked this question in the languages.vb group, but got no response, so I'll try my luck here. My app needs to copy a file from a local folder to a network share. The network share...
9
by: Andrew Shitov | last post by:
I have to copy files from one network share folder to another (both are on different remote machines). Server running this asp.net appllication is not configurable (except web.config), while...
3
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
3
by: Michel Smit | last post by:
Hello, I have a question. We have a webserver in a domain, DomainA, and a webserver in a DMZ with local users and groups only. I'm trying to copy a file from the DomainA webserver to the DMZ...
0
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, We have a legacy asp application that uses a third party component to upload a file and saves it to a secure network share. The code sets the credentials for the secure network share on the...
0
by: cw808 | last post by:
Hi all. I'm new here but hoping I can get some help for my problem. My situation is that I need to upload files through a C# .NET web application to a file server. I done a search and followed...
0
by: Sucheta Pawade | last post by:
Hi All, I want to access a folder shared across network which contains very important files and My ASP.NET application is deployed on DMZ and files are shared in other network. Currently...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...

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.