Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

利用IIS上傳檔案到另一台主機?

113 views
Skip to first unread message

smokehouse

unread,
Jun 1, 2007, 7:10:00 AM6/1/07
to
Dear All

另外有個問題想請教大家

我有一台Windows 2003 R2的主機
負責執行ASP與我們公司自家寫的dll元件並安裝IIS
執行我們的元件是利用系統內建帳號
執行IIS是使用IUSR_HostName

另外有一台Windows2003 R2
負責擔任AD 並將目錄分享出來

我們的系統是設計
讓使用者連到IIS主機並利用功能上傳檔案
檔案會存放在AD主機上

所以程式會根據參數位置將上傳檔案經由UNC(例如 \\AD\share\)上傳上去
IIS也會建立一個虛擬目錄是連到 \\AD\share

但是上傳都會出現
錯誤 '8007052e'
我查過這似乎是登入失敗
因此我做了個實驗
將Share移到IIS主機及可

想請問\\AD\share這個目錄權限該如何調整
謝謝您
Cloud


Bernard Cheah [MVP]

unread,
Jun 4, 2007, 1:36:47 AM6/4/07
to
The error indicating that the user failed to logon to the remote share.
what you create the UNC mapping in IIS, what user do you specify?
the user need to have read permission on the share and can be authenticate
by the remote server.

Remote storage connectivity in IIS.
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/remstorg.mspx


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"smokehouse" <smoke...@discussions.microsoft.com> wrote in message
news:C6B006F8-2A29-4734...@microsoft.com...

smokehouse

unread,
Jun 4, 2007, 7:12:00 AM6/4/07
to
Dear Bernard

其實除了IIS要可以讀寫外
我們的系統還會利用DLL去寫入資料

原本架構我在Windows2000是可行的
所以我才會認為應該是Windows 2003 R2版
在安全性上的不同?

您給我的手冊瞞實用
我會好好看

謝謝您

"Bernard Cheah [MVP]" 來函:

璉璉

unread,
Jun 4, 2007, 9:26:52 AM6/4/07
to
你也可以看看新的微軟討論區那邊的既有討論:
http://forums.microsoft.com/MSDN-CHT/Search/Search.aspx?words=UNC&localechoice=31748&SiteID=14&searchscope=forumscope&ForumID=236

--
請移轉至微軟程式設計、系統管理使用新技術論壇討論區,提供網友回覆後即時簡訊、電子郵件通知:
程式開發設計:http://forums.microsoft.com/msdn-cht/default.aspx?siteid=14
操作管理技術:http://forums.microsoft.com/technet-cht/default.aspx?siteid=23


"smokehouse" <smoke...@discussions.microsoft.com> 撰寫於郵件新聞:C6B006F8-2A29-4734...@microsoft.com...

Bernard Cheah [MVP]

unread,
Jun 5, 2007, 1:03:10 AM6/5/07
to
Yes, a lot of new security changes introduced in w2k3.
If IIS is a member server, just specify the connect as user using one of the
AD user account, grant read permissions.

From DLL perspective, it is the same, as long as the user running the
application has the permission, it will be able to write.


"smokehouse" <smoke...@discussions.microsoft.com> wrote in message

news:946B515E-3425-4125...@microsoft.com...

0 new messages