473,654 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing a DB on a file server through ASP on the Web Server

I have a split Access database that resides on a file server. The file
server is a restricted drive that only people with the correct permissions
can browse to this directory on the LAN. Several users use the Access front
end to modify the database on the file server, but I would like to make some
of the data available (read-only) through webpages with asp. It is not an
option to move the database directly to the webserver because these users
only have access to the file server and if the DB was moved to the webserver
that would not work. It is also not an option at this point to make the DB
fully web integrated and get rid of the access front end. I have tried
several ways to get the ASP code to work and pull the data off of the DB on
the file server, but so far no luck. I have spoken with a couple of the
administrators and they say this really isn't possible, but I have a hard
time believing that. I realize that the best answer would be to move the
database over to a SQL server and I am working towards that, but in the
meantime I would like to be able to share the data with ASP pages.
Hopefully I have made this understandable, and I would appreciate any help
if anyone has a potential solution.

Thanks!

Doug
Nov 13 '05 #1
3 1668
I would think that if your admins say it can't be done, then it can't be
done.

If the directory is restricted, I'm betting standard the IUSR (?? or
whatever the default internet user name is) would NOT have access to that
directory (I'd hope they wouldn't, anyway) ... if your Internet account
cannot connect to the LAN directory from the webserver, then quite simply
you cannot connect to the Access database.

Not sure how fresh your data needs to be, but you could possibly export data
to another db xx times a day (you can automate this via the Windows
Scheduler), one that is available to the webserver.

--
Scott McDaniel
InfoTrakker Software
"Doug" <dt*****@nospam .cox.net> wrote in message
news:bDcNe.739$ UI.326@okepread 05...
I have a split Access database that resides on a file server. The file
server is a restricted drive that only people with the correct permissions
can browse to this directory on the LAN. Several users use the Access
front
end to modify the database on the file server, but I would like to make
some
of the data available (read-only) through webpages with asp. It is not an
option to move the database directly to the webserver because these users
only have access to the file server and if the DB was moved to the
webserver
that would not work. It is also not an option at this point to make the
DB
fully web integrated and get rid of the access front end. I have tried
several ways to get the ASP code to work and pull the data off of the DB
on
the file server, but so far no luck. I have spoken with a couple of the
administrators and they say this really isn't possible, but I have a hard
time believing that. I realize that the best answer would be to move the
database over to a SQL server and I am working towards that, but in the
meantime I would like to be able to share the data with ASP pages.
Hopefully I have made this understandable, and I would appreciate any help
if anyone has a potential solution.

Thanks!

Doug

Nov 13 '05 #2
"Scott McDaniel" <sc***@infotrak kerDELETEME.com > wrote in
news:Kc******** ************@co mcast.com:
I would think that if your admins say it can't be done, then it
can't be done.
I would say exactly the opposite. Many times when sysadmins say
"can't be done" they mean "we don't want to do this for you for our
own reasons, even though it's perfectly possible to do it." My guess
is that making it available to the web server would violate their
security model, which is a pretty valid reason for not wanting to do
it.

[]
Not sure how fresh your data needs to be, but you could possibly
export data to another db xx times a day (you can automate this
via the Windows Scheduler), one that is available to the
webserver.


I wouldn't recommend it, but you could replicate the database to the
web server, but again, you'd still have to have an account somewhere
that has permission to read/write on both servers, and if that's
possible, then reading the original MDB from the web server ought to
be possible.

Of course, I'm also sort of assuming that the web version is
read-only, which would be the best way to implement the replicated
solution, since you'd never need to synchronize back from the web
server copy. If the web interface is providing write access, then
replication would require two-way synchs, and then the potential for
conflicts arises.

I think this needs to be discussed with the sysadmins and they
should provide you with a solution to do the job. You may need to
enlist the services of someone in the company with management clout
to force the IT people to listen to you.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #3
David,

I think you hit the nail on the head. Information protection over
information sharing is the standard here, but that doesn't always help the
customer. I know it CAN be done, just how can we do it securely is the
question I suppose.

Thanks for the response.

Doug

"David W. Fenton" <dX********@bwa y.net.invalid> wrote in message
news:Xn******** *************** ***********@216 .196.97.142...
"Scott McDaniel" <sc***@infotrak kerDELETEME.com > wrote in
news:Kc******** ************@co mcast.com:
I would think that if your admins say it can't be done, then it
can't be done.


I would say exactly the opposite. Many times when sysadmins say
"can't be done" they mean "we don't want to do this for you for our
own reasons, even though it's perfectly possible to do it." My guess
is that making it available to the web server would violate their
security model, which is a pretty valid reason for not wanting to do
it.

[]
Not sure how fresh your data needs to be, but you could possibly
export data to another db xx times a day (you can automate this
via the Windows Scheduler), one that is available to the
webserver.


I wouldn't recommend it, but you could replicate the database to the
web server, but again, you'd still have to have an account somewhere
that has permission to read/write on both servers, and if that's
possible, then reading the original MDB from the web server ought to
be possible.

Of course, I'm also sort of assuming that the web version is
read-only, which would be the best way to implement the replicated
solution, since you'd never need to synchronize back from the web
server copy. If the web interface is providing write access, then
replication would require two-way synchs, and then the potential for
conflicts arises.

I think this needs to be discussed with the sysadmins and they
should provide you with a solution to do the job. You may need to
enlist the services of someone in the company with management clout
to force the IT people to listen to you.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc

Nov 13 '05 #4

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

Similar topics

23
2897
by: Lamberti Fabrizio | last post by:
Hi all, I've to access to a network file from an asp pages. I've red a lot of things on old posts and on Microsoft article but I can't still solve my problem. I've got two server inside the same NT domain, each one has its own web server. The web server is always IIS 5.0.
3
4312
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different geographical locations. I have been completely unsucessful in acheiving this goal so far however. Things I have tried: Create a shortcut to ftp sight via browser then tried to map local drive to
0
2257
by: Joergen Bech | last post by:
Fairly new to ASP.NET 1.1. Getting the error below when running application on a web server outside of my control, but only the first time I run it: 1. After a long period of inactivity (or updating the code-behind dll) accessing any aspx page in the application causes the application to run for the first time. Some of the initialization involves reading and writing some text and xml files using simple streamreader and streamwriter...
5
3051
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet explorer would do in this case. The headers I am getting are: Headers {Content-Disposition: attachment; filename="dynamic_file.mdb" Connection: close Cache-Control: private Content-Type: application/octet-stream
4
3768
by: Khalique | last post by:
I have built a web service whose purpose is to copy files from a secure place to client machine and vice versa. The problem I am having is perhaps related to permissions and access rights. For testing purposes, the secure place is setup on the client machine. The client (window app) calls the web service (on a different machine) and connects successfully to the web service. However, when client calls a method that copies the file from...
3
4994
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : >************************************************************************ > <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _ > Public Function HelloWorld() As > <System.Xml.Serialization.SoapElementAttribute("return")> String
0
12071
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the likelihood of CRM success from less than 20 percent to 60 percent. WHITEPAPER :
2
5693
by: olekribu | last post by:
Hi! I'm struggling with the following scenario: I want my asp.net application to be able to create and write to a specific file on a remote file server from a web server. Both servers have Windows Server 2003 with IIS 6.0 installed. What I have done is: 1. I have created 2 identical accounts on the servers, a "Custom ASP.NET account" by following this "How To":
4
4218
by: Noy B | last post by:
Hi, I have developed a small application that is using a MSAccess DB. the problem is that it was developed on a machine where the application and the DB are both located. now it needs to be change that the application will be able to run on any other machine (using \\ syntax on the run command- not a problem) using the DB located on a static-different machine. for this purpose I need to create a Remote Connection from my
8
10817
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList steps successfully with the following code... Control myContainer = (Control)Wizard1.FindControl("SideBarContainer"); DataList mySideBarList = (DataList)myContainer.FindControl("SideBarList");
0
8814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8706
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8475
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8591
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5621
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2709
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1915
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1592
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.