Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

在發行 Microsoft SQL Server Analysis Service 2012 Service Pack 1 (SP1)後,Microsoft Excel 2010 的 PowerPivot 增益集以及 Microsoft Excel 2013 的設計變更會針對非 windows 整合連線(例如 SQL 連線),提示每個會話的密碼。 例如,如果使用者為 PowerPivot 資料模型儲存 SQL 連線的密碼,然後在 Excel 2010 或 Excel 2013 中關閉活頁簿,並使用 SQL Server 2012 SP1 的 PowerPivot 增益集,則在重新開啟關閉的活頁簿時,系統會提示使用者輸入密碼,並執行 PowerPivot 資料模型的資料重新整理,因為它涉及新的會話。 注意: 此設計變更行為與 SP1 版本(例如 SQL Server Analysis 2012 PowerPivot 增益集或 SQL Server 2008 R2 PowerPivot 增益集)不同。 設計變更原本是用來解決在未輸入密碼的會話中初始化連接字串重建的情況,因此,對於 PowerPivot 資料模型存取,後續的資料重新整理作業將會失敗。 

解決方案

在適用于 Excel 2010 和 Excel 2013 的 SQL Server Analysis Services 2012 SP1 增益集中,您可以復原行為,讓使用者在重新開啟已儲存的活頁簿並執行 PowerPivot 資料模型的資料重新整理時,系統不會提示您輸入密碼。 若要加入宣告 SP1 之前的行為,請遵循下列步驟:

  1. 取得並套用所需的修補程式或累積更新:

  2. 在 [登錄編輯程式] 中,按一下下列登錄機碼:

    • 針對 Excel 2010: HKEY_CURRENT_USER \software\microsoft\office\14.0\gemini\settings

    • 針對 Excel 2013: HKEY_CURRENT_USER \software\microsoft\office\15.0\powerpivot\settings

  3. 以滑鼠右鍵按一下 [ 設定],指向 [ 新增],然後按一下 [ DWORD 值]。

  4. 輸入 PasswordPromptBehavior ,然後按 enter

  5. 以滑鼠右鍵按一下 [ PasswordPromptBehavior ],然後按一下 [ 修改]。

  6. 在 [ 值資料 ] 方塊中,輸入 1 ,然後按一下 [確定]

注意: PasswordPromptBehavior = 1 不會提示非 windows 集成連線的密碼, 0 是提示非 windows 集成連線的密碼。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×