第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

關(guān)于ASP.NET網(wǎng)站調(diào)用Outlook發(fā)送郵件失敗的問題

關(guān)于ASP.NET網(wǎng)站調(diào)用Outlook發(fā)送郵件失敗的問題

智慧大石 2018-12-06 19:44:29
因?yàn)榉N種原因,需要調(diào)用Server上的Outlook發(fā)送email, 現(xiàn)在的問題是當(dāng)使用VS調(diào)試時(shí)是可以正常發(fā)送email, 但是一旦部署到IIS上,WEB端調(diào)用則會(huì)提示如下錯(cuò)誤: 異常System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType) at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj) at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) 感覺是權(quán)限哪里出現(xiàn)問題了,但是又不知道怎么解決, 麻煩高手幫忙指點(diǎn)一下。 謝謝。
查看完整描述

3 回答

?
青春有我

TA貢獻(xiàn)1784條經(jīng)驗(yàn) 獲得超8個(gè)贊

給IIS的應(yīng)用程序池指定一個(gè)帳戶試試

查看完整回答
反對(duì) 回復(fù) 2019-01-21
?
慕森王

TA貢獻(xiàn)1777條經(jīng)驗(yàn) 獲得超3個(gè)贊

按照您的方法給程序池指定賬戶結(jié)果和在web.config里節(jié)點(diǎn)<system.web>添加

<identity impersonate="true" userName="accountname" password="password" />

后的執(zhí)行結(jié)果一樣,

提示

異常System.Runtime.InteropServices.COMException (0x80040111): Cannot create the e-mail message because a data file to send and receive messages cannot be found. Check your settings in this Microsoft Outlook profile. In Microsoft Windows, click the Start button, and then click Control Panel. Click User Accounts, and then click Mail. ?Click Show Profiles, select this profile, and then click Properties. The server is not available. Contact your administrator if this condition persists.

查看完整回答
反對(duì) 回復(fù) 2019-01-21
  • 3 回答
  • 0 關(guān)注
  • 883 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)