ASP访问远程设备上的数据 [英] ASP access to Data on Remote devices

查看:72
本文介绍了ASP访问远程设备上的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好朋友


我有一个局域网

在它的几个连接中有以下四种设备:

MAXSTOR网络存储设备

运行Microsoft Windows 2000 Server 5.0.2195(SP4)的PC

运行Microsoft Windows XP Professional 5.1.2600(SP2)的PC
运行Microsoft Windows XP Professional 5.1.2600(SP2)的PC


所有PC都运行IIS


''公共互联网''通过宽带连接来连接

LAN


在MAXSTOR上有一个名为''CENTRALDATA'的文件夹

在该文件夹中有许多Access dotMDB文件。


双击
$ b $可以在所有PC上打开Access文件b他们在Windows资源管理器中。


================================ ================== ==============

问题一


可以从do访问MAXTOR上的访问文件

三台电脑上的tASP页面?


如果是这样,怎么样?


如果是这样,是那里有简单的教程页面,用简单的

语言解释怎么做?



========== ======================================== ========== ====

我在公共互联网服务器上有一个类似的CENTRALDATA文件夹。那个

我自己


问题二


公共互联网服务器上的访问文件是否可以从三台PC上的
dotASP页面进入?


如果是这样,怎么样?


如果那么,有没有简单的教程页面可以用简单的方法解释

语言怎么做?



======= =========================================== ======= =======

我在公共互联网服务器上有一个类似的''CENTRALDATA''文件夹。那个

我自己


问题三

可以访问公共互联网服务器上的文件吗?可从其他公共互联网服务器上的
dotASP页面访问服务器??


如果是这样,怎么样?


如果是这样,有没有简单的教程页面可以简单解释

语言怎么做?


======================= =========================== ==============

By顺便说一句,我尝试在局域网上的三台PC上使用IIS Admin创建虚拟文件夹,但它不允许用于远程文件夹。


我等待您的回复感兴趣

提前谢谢


Pete(Northolt UK)

解决方案

" p byers" < pb@sst-ltd.co.ukwrote in message

news:48 *************** @ sst-ltd.co.uk ...


早安伙伴



是否早上取决于a)当读者阅读消息时b)

他们所在的时区。

今天早上我读了这个,我是英国人,早上好。但它现在下午是b $ b,或者是它?


>

我有一个局域网
与它的几个连接中有以下四种设备:

MAXSTOR网络存储设备

运行Microsoft Windows XP Professional 5.1.2600(SP2)的PC

>
所有的PC都在运行IIS


公共互联网通过

LAN的宽带连接进行连接/>

在MAXSTOR上是一个名为''CENTRALDATA'的文件夹'

在该文件夹中有许多Access dotMDB文件。


通过在Windows资源管理器中双击

,可以在所有PC上打开Access文件。


======= =========================================== ======= =======

问题一


可以从

三台PC上的dotASP页面访问MAXTOR上的访问文件吗?


如果是这样,如何?


如果是这样,有没有简单的教程页面用简单的解释?b $ b语言怎么做?


您还没有说明您是否希望用户匿名访问该网站




如果全部访问权限来自在您的网络上拥有域帐户的用户

然后关闭IIS站点上的匿名访问并打开窗口

集成安全性。现在授予这些用户访问文件共享

和包含MDB的文件夹的权限,就像通过

文件系统访问它们一样。

如果您需要匿名访问,则需要更多工作。默认情况下,IIS

创建一个IUSR_< machinenamemachine来宾帐户,用于访问

文件。此帐户无法访问网络。因此,您需要在域中创建一个新帐户并更改

IIS上的匿名访问权限以使用此新域帐户。授予此帐户文件访问权限

以上。


>


==== ============================================== ==== ==========

我在公共互联网服务器上有一个类似的CENTRALDATA文件夹。那个

我自己


问题二


公共互联网服务器上的访问文件是否可以从三台PC上的
dotASP页面进入?


如果是这样,怎么样?


如果那么,是否有任何简单的教程页面可以用简单的解释?b $ b语言怎么做?



我想这取决于你是什么意思是''访问''。如果你的意思是你可以使用

JET查询对公共服务器上保存的MDB的副本我会说

这可能不是一个好主意。

你想做什么?下载它?你是否也需要上传它。


>


=========== ======================================= =========== ===

我在公共互联网服务器上有一个类似的''CENTRALDATA''文件夹。那个

我自己


问题三



似乎与第二个相同。


>

============================ ====================== ==============

顺便说一句,我试过了在局域网上的三台PC上使用IIS Admin创建虚拟文件夹,但它不允许用于远程文件夹。



可以为UNC路径创建虚拟文件夹,您必须具体指定IIS将用于访问该文件夹的用户名和密码。然而,

对远程服务器上的MDB数据库查询没有帮助。


-

Anthony Jones - MVP ASP / ASP.NET


Anthony

感谢您的回复。


我我努力不要搞砸我的要求并提供所有相关的

信息!!


如此讽刺在''Salutation'' - lol


访问ASPages(在本地局域网上的PC上和''公共

互联网上'')将是匿名的。


访问数据库只是Jet Queries - 不上传或下载。


用简单的语言,我想要几台服务器运行IIS(局域网和'公共

互联网'')来提供ASPages,以便能够使用一个Common(相同)数据库 -

不是单独的副本。


-AND-


只需引用批准就可以了在数据源中支持共享文件夹

打开语句。


-BUT-


我太朦胧了,无法做到这一点,我已经搜索,阅读和挣扎多年了 -

和FAILed到目前为止。


-HENCE-


我的简单请求来自聪明人的简单帮助


谢谢

Pete(Northolt UK)


Anthony Jones写道:


" p byers" < pb@sst-ltd.co.ukwrote in message

news:48 *************** @ sst-ltd.co.uk ...


Good Morning Folks



是否早上取决于a)当读者阅读消息时b)

他们所在的时区。

今天早上我读了这个,我是英国人,早上好。但是现在下午好了,或者是下午这个?



我有一个局域网

其中它的几个连接是以下四个设备:

MAXSTOR网络存储设备

运行Microsoft Windows 2000 Server 5.0.2195(SP4)的PC

运行Microsoft Windows XP Professional 5.1.2600(SP2)的PC

运行Microsoft Windows XP Professional 5.1.2600(SP2)的PC


全部PC正在运行IIS


''公共互联网''通过宽带连接从

LAN连接


在MAXSTOR上是一个名为''CENTRALDATA'的文件夹'

在该文件夹中有许多Access dotMDB文件。


Access文件可以在Windows资源管理器中双击

在所有PC上打开。


============= ===================================== ============= =

问题E $>

可以从

三台PC上的dotASP页面访问MAXTOR上的访问文件吗?


如果是这样,怎么样?


如果是这样,有没有简单的教程页面用简单的解释?b $ b语言怎么做?



您还没有说明您是否希望用户匿名访问该网站



如果所有访问都来自在您的网络上拥有域帐户的用户

然后关闭IIS站点上的匿名访问并打开窗口

集成安全。现在授予这些用户访问文件共享

和包含MDB的文件夹的权限,就像通过

文件系统访问它们一样。

如果您需要匿名访问,则需要更多工作。默认情况下,IIS

创建一个IUSR_< machinenamemachine来宾帐户,用于访问

文件。此帐户无法访问网络。因此,您需要在域中创建一个新帐户并更改

IIS上的匿名访问权限以使用此新域帐户。授予此帐户文件访问权限

以上。



============== ==================================== ==============

我在公共互联网服务器上有一个类似的''CENTRALDATA''文件夹。那个

我自己


问题二


公共互联网服务器上的访问文件是否可以从三台PC上的
dotASP页面进入?


如果是这样,怎么样?


如果那么,有没有简单的教程页面解释简单的

语言怎么做?



我想这取决于访问的含义。如果你的意思是你可以使用

JET查询对公共服务器上保存的MDB的副本我会说

这可能不是一个好主意。


你想做什么?下载它?你是否也需要上传它。



===================== ============================= ==============

我在公共互联网服务器上有一个类似的CENTRALDATA文件夹。那个

我自己


问题三



似乎与第二名相同。



================================== ================ ==============

顺便说一句,我尝试使用IIS创建虚拟文件夹管理员在局域网上的三台电脑上支付了两台电脑,但它不会允许它用于远程文件夹。



可以为UNC路径创建虚拟文件夹,您必须具体使用IIS将用于访问该文件夹的
用户名和密码。然而,

对远程服务器上的MDB数据库查询没有帮助。


-

Anthony Jones - MVP ASP / ASP.NET


" p byers" < pb@sst-ltd.co.ukwrote in message

news:48 ************** @ sst-ltd.co.uk ...


>

用简单的语言,我想要几台运行IIS的服务器(局域网和

''公共

互联网'')服务ASPages能够使用Common(相同)

数据库 -

不是个人副本。



< snip>


有一个经常被滥用的首字母缩略词UNC这对你有很大的帮助。


阅读下面的URL;希望这足以让你在

正确的方向上。

http://en.wikipedia.org/wiki/Path_(c ... ing_Convention


- 鲍勃。


Good Morning Folks

I have a LAN
Among the several connections to it are the following four devices:
A MAXSTOR network Storage Device
A PC running Microsoft Windows 2000 Server 5.0.2195 (SP4)
A PC running Microsoft Windows XP Professional 5.1.2600 (SP2)
A PC running Microsoft Windows XP Professional 5.1.2600 (SP2)

All of the PCs are running IIS

The ''Public Internet'' is connected via a Broadband connection from the
LAN

On the MAXSTOR is a folder called ''CENTRALDATA''
In that folder are a number of Access dotMDB files.

The Access files can be opened on all of the PCs by double clicking on
them in Windows Explorer.

================================================== ==============
QUESTION ONE

Can the access files on the MAXTOR be accessed from dotASP pages on the
three PCs ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??


================================================== ==============
I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" that
I own

QUESTION TWO

Can the access files on the "Public Internet Server" be accessed from
dotASP pages on the three PCs ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??


================================================== ==============
I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" that
I own

QUESTION THREE

Can the access files on the "Public Internet Server" be accessed from
dotASP pages on other "Public Internet Server" servers ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??


================================================== ==============
By the way, I tried to create Virtual Folders using IIS Admin on the
three PCs on the LAN, but it will not allow it for ''Remote'' folders.

I await your replies with interest
Thank You in Advance

Pete (Northolt UK)

解决方案

"p byers" <pb@sst-ltd.co.ukwrote in message
news:48***************@sst-ltd.co.uk...

Good Morning Folks

Whether it is morning depends on a) when the reader reads the message and b)
what timezone they are in.
I read this this morning and I''m UK based to so good morning back. But its
afternoon now, or is it?

>
I have a LAN
Among the several connections to it are the following four devices:
A MAXSTOR network Storage Device
A PC running Microsoft Windows 2000 Server 5.0.2195 (SP4)
A PC running Microsoft Windows XP Professional 5.1.2600 (SP2)
A PC running Microsoft Windows XP Professional 5.1.2600 (SP2)

All of the PCs are running IIS

The ''Public Internet'' is connected via a Broadband connection from the
LAN

On the MAXSTOR is a folder called ''CENTRALDATA''
In that folder are a number of Access dotMDB files.

The Access files can be opened on all of the PCs by double clicking on
them in Windows Explorer.

================================================== ==============
QUESTION ONE

Can the access files on the MAXTOR be accessed from dotASP pages on the
three PCs ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??

You haven''t stated whether you are expecting users to access the site
anonymously or not.

If all access is to be from users who have domain accounts on your network
then turn off anonymous access on the IIS site and turn on windows
intergrated security. Now grant access for those users to the file share
and folders containing the MDBs as would if the were accessing them via the
file system.

If you need anonymous access you will need more work. By default IIS
creates an IUSR_<machinenamemachine guest account which it used to access
files. This account has not access to the network. Therefore you need to
create a new account in the domain and change the anonymous access on the
IIS to use this new domain account. Grant this account file access as
above.

>
================================================== ==============
I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" that
I own

QUESTION TWO

Can the access files on the "Public Internet Server" be accessed from
dotASP pages on the three PCs ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??

I guess that depends on what you mean by ''access''. If you mean can you use
JET queries against a copy of an MDB held on a public server I would say
thats probably not a good idea.
What is it you want to do? Download it? Do you need to upload it as well.

>
================================================== ==============
I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" that
I own

QUESTION THREE

Seems identical to second.

>
================================================== ==============
By the way, I tried to create Virtual Folders using IIS Admin on the
three PCs on the LAN, but it will not allow it for ''Remote'' folders.

Creating virtual folders for a UNC path is possible, you must specific a
user name and password that IIS will use to access the folder. That however
would not help with DB queries against MDBs on remote server.


--
Anthony Jones - MVP ASP/ASP.NET


Anthony
Thank you for your reply.

I tried so hard not to ''screw-up'' my request and to give all of the relevant
information !!

Such irony to slip-up on the ''Salutation'' - lol

The access to the ASPages (both on the PCs on the Local LAN and on the ''Public
Internet'') will be anonymous.

The access to the Databases is Jet Queries only - not uploading or downloading.

In simple language, I would like several servers running IIS (LAN and ''Public
Internet'') to serve ASPages to be able to use the a Common (the same) Database -
not individual copies.

-AND-

to do it simply by quoting the appropriate Shared Folder in the DataSource of
the ''Open'' statements.

-BUT-

I am too dim to be able to do it, I have Searched, Read and Struggled for ages -
and FAILed so far.

-HENCE-

My simple plea for simple help from clever folks

Thank you
Pete (Northolt UK)

Anthony Jones wrote:

"p byers" <pb@sst-ltd.co.ukwrote in message
news:48***************@sst-ltd.co.uk...

Good Morning Folks


Whether it is morning depends on a) when the reader reads the message and b)
what timezone they are in.
I read this this morning and I''m UK based to so good morning back. But its
afternoon now, or is it?


I have a LAN
Among the several connections to it are the following four devices:
A MAXSTOR network Storage Device
A PC running Microsoft Windows 2000 Server 5.0.2195 (SP4)
A PC running Microsoft Windows XP Professional 5.1.2600 (SP2)
A PC running Microsoft Windows XP Professional 5.1.2600 (SP2)

All of the PCs are running IIS

The ''Public Internet'' is connected via a Broadband connection from the
LAN

On the MAXSTOR is a folder called ''CENTRALDATA''
In that folder are a number of Access dotMDB files.

The Access files can be opened on all of the PCs by double clicking on
them in Windows Explorer.

================================================== ==============
QUESTION ONE

Can the access files on the MAXTOR be accessed from dotASP pages on the
three PCs ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??


You haven''t stated whether you are expecting users to access the site
anonymously or not.

If all access is to be from users who have domain accounts on your network
then turn off anonymous access on the IIS site and turn on windows
intergrated security. Now grant access for those users to the file share
and folders containing the MDBs as would if the were accessing them via the
file system.

If you need anonymous access you will need more work. By default IIS
creates an IUSR_<machinenamemachine guest account which it used to access
files. This account has not access to the network. Therefore you need to
create a new account in the domain and change the anonymous access on the
IIS to use this new domain account. Grant this account file access as
above.


================================================== ==============
I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" that
I own

QUESTION TWO

Can the access files on the "Public Internet Server" be accessed from
dotASP pages on the three PCs ??

If so, how ??

If so, are there any simple tutorial pages that explain in simple
language how to do it ??


I guess that depends on what you mean by ''access''. If you mean can you use
JET queries against a copy of an MDB held on a public server I would say
thats probably not a good idea.

What is it you want to do? Download it? Do you need to upload it as well.


================================================== ==============
I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" that
I own

QUESTION THREE


Seems identical to second.


================================================== ==============
By the way, I tried to create Virtual Folders using IIS Admin on the
three PCs on the LAN, but it will not allow it for ''Remote'' folders.


Creating virtual folders for a UNC path is possible, you must specific a
user name and password that IIS will use to access the folder. That however
would not help with DB queries against MDBs on remote server.

--
Anthony Jones - MVP ASP/ASP.NET


"p byers" <pb@sst-ltd.co.ukwrote in message
news:48**************@sst-ltd.co.uk...

>
In simple language, I would like several servers running IIS (LAN and
''Public
Internet'') to serve ASPages to be able to use the a Common (the same)
Database -
not individual copies.

<snip>

There''s an oft-abused acronym of "UNC" which''d help you greatly here.

Have a read of the URL below; hopefully that''ll be enough to set you in the
right direction.

http://en.wikipedia.org/wiki/Path_(c...ing_Convention

- Bob.


这篇关于ASP访问远程设备上的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆