如果您需要匿名访问,则需要更多工作。默认情况下,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 FolksI have a LANAmong the several connections to it are the following four devices:A MAXSTOR network Storage DeviceA 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 IISThe ''Public Internet'' is connected via a Broadband connection from theLANOn 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 onthem in Windows Explorer.================================================== ==============QUESTION ONECan the access files on the MAXTOR be accessed from dotASP pages on thethree PCs ??If so, how ??If so, are there any simple tutorial pages that explain in simplelanguage how to do it ??================================================== ==============I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" thatI ownQUESTION TWOCan the access files on the "Public Internet Server" be accessed fromdotASP pages on the three PCs ??If so, how ??If so, are there any simple tutorial pages that explain in simplelanguage how to do it ??================================================== ==============I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" thatI ownQUESTION THREECan the access files on the "Public Internet Server" be accessed fromdotASP pages on other "Public Internet Server" servers ??If so, how ??If so, are there any simple tutorial pages that explain in simplelanguage how to do it ??================================================== ==============By the way, I tried to create Virtual Folders using IIS Admin on thethree PCs on the LAN, but it will not allow it for ''Remote'' folders.I await your replies with interestThank You in AdvancePete (Northolt UK) 解决方案 "p byers" <pb@sst-ltd.co.ukwrote in messagenews:48***************@sst-ltd.co.uk...Good Morning FolksWhether 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 itsafternoon now, or is it?>I have a LANAmong 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 IISThe ''Public Internet'' is connected via a Broadband connection from theLANOn 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 onthem in Windows Explorer.================================================== ==============QUESTION ONECan the access files on the MAXTOR be accessed from dotASP pages on thethree PCs ??If so, how ??If so, are there any simple tutorial pages that explain in simplelanguage how to do it ??You haven''t stated whether you are expecting users to access the siteanonymously or not.If all access is to be from users who have domain accounts on your networkthen turn off anonymous access on the IIS site and turn on windowsintergrated security. Now grant access for those users to the file shareand folders containing the MDBs as would if the were accessing them via thefile system.If you need anonymous access you will need more work. By default IIScreates an IUSR_<machinenamemachine guest account which it used to accessfiles. This account has not access to the network. Therefore you need tocreate a new account in the domain and change the anonymous access on theIIS to use this new domain account. Grant this account file access asabove.>================================================== ==============I have a similar ''CENTRALDATA'' folder on a "Public Internet Server" thatI ownQUESTION TWOCan the access files on the "Public Internet Server" be accessed fromdotASP pages on the three PCs ??If so, how ??If so, are there any simple tutorial pages that explain in simplelanguage how to do it ??I guess that depends on what you mean by ''access''. If you mean can you useJET queries against a copy of an MDB held on a public server I would saythats 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" thatI ownQUESTION THREESeems identical to second.>================================================== ==============By the way, I tried to create Virtual Folders using IIS Admin on thethree 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 auser name and password that IIS will use to access the folder. That howeverwould not help with DB queries against MDBs on remote server.--Anthony Jones - MVP ASP/ASP.NETAnthonyThank you for your reply.I tried so hard not to ''screw-up'' my request and to give all of the relevantinformation !!Such irony to slip-up on the ''Salutation'' - lolThe access to the ASPages (both on the PCs on the Local LAN and on the ''PublicInternet'') 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 ''PublicInternet'') 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 ofthe ''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 folksThank youPete (Northolt UK)Anthony Jones wrote:"p byers" <pb@sst-ltd.co.ukwrote in messagenews:48***************@sst-ltd.co.uk... Good Morning FolksWhether 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 itsafternoon 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 siteanonymously or not.If all access is to be from users who have domain accounts on your networkthen turn off anonymous access on the IIS site and turn on windowsintergrated security. Now grant access for those users to the file shareand folders containing the MDBs as would if the were accessing them via thefile system.If you need anonymous access you will need more work. By default IIScreates an IUSR_<machinenamemachine guest account which it used to accessfiles. This account has not access to the network. Therefore you need tocreate a new account in the domain and change the anonymous access on theIIS to use this new domain account. Grant this account file access asabove. ================================================== ============== 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 useJET queries against a copy of an MDB held on a public server I would saythats 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 THREESeems 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 auser name and password that IIS will use to access the folder. That howeverwould not help with DB queries against MDBs on remote server.--Anthony Jones - MVP ASP/ASP.NET"p byers" <pb@sst-ltd.co.ukwrote in messagenews:48**************@sst-ltd.co.uk...>In simple language, I would like several servers running IIS (LAN and''PublicInternet'') 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 theright direction. http://en.wikipedia.org/wiki/Path_(c...ing_Convention- Bob. 这篇关于ASP访问远程设备上的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!