Error changing CSV file location for CSV Connector in IdentityBroker
When clicking on edit button inside the connector, it leads to the webpage: http://localhost:8008/Connector/ExtendedUpdateConnector/23d5cb8d-bfce-4519-857a-1bb0f52a1560?plugInId=CSV¤tStepId=InitialUpdateStep and display the following error:
Unify.Framework.UnifyUIException: The plug-in views directory cannot be accessed by the account. ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files\UNIFY Solutions\Identity Broker\Web\Views\Temp\Connector\ExtendedUpdateConnector\CSVInitialUpdateStep.cshtml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at Unify.Framework.Web.LocalPlugInInformationCache.Apply(ControllerActionIdKey appliedCache) in c:\workspaces\DEV\FrameworkCore\Source\Web\Unify.Framework.Web\Razor\LocalPlugInInformationCache.cs:line 56
at Unify.Framework.Web.UnifyRazorViewEngine.CreateView(ControllerContext controllerContext, String path) in c:\workspaces\DEV\FrameworkCore\Source\Web\Unify.Framework.Web\Razor\UnifyRazorViewEngine.cs:line 117
— End of inner exception stack trace —
at Unify.Framework.Web.UnifyRazorViewEngine.CreateView(ControllerContext controllerContext, String path) in c:\workspaces\DEV\FrameworkCore\Source\Web\Unify.Framework.Web\Razor\UnifyRazorViewEngine.cs:line 130
at Unify.Framework.Web.UnifyRazorViewEngine.CreateView(ControllerContext controllerContext, String viewPath, String masterPath) in c:\workspaces\DEV\FrameworkCore\Source\Web\Unify.Framework.Web\Razor\UnifyRazorViewEngine.cs:line 156
at System.Web.Mvc.VirtualPathProviderViewEngine.FindView(ControllerContext controllerContext, String viewName, String masterName, Boolean useCache)
at System.Web.Mvc.ViewEngineCollection.<>c_DisplayClassc.<FindView>b_b(IViewEngine e)
at System.Web.Mvc.ViewEngineCollection.Find(Func`2 lookup, Boolean trackSearchedPaths)
at System.Web.Mvc.ViewResult.FindView(ControllerContext context)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass1c.<InvokeActionResultWithFilters>b_19()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
Customer support service by UserEcho
This is a known issue - there needs to be a troubleshooting page. I believe Tony Sheehy knows the resolution.
Huu,
Can you please supply information about the version of Identity Broker?
Hi Shane,
The "About" page shows:
UNIFY Identity Broker
Identity Broker
About: UNIFY Identity Broker Management Studio
v4.0.0 Revision #3
© 2004 - 2012 UNIFY Solutions Pty. Ltd.
Support: https://unifysolutions.jira.com/browse/PUBIDB
Huu
Tony,
Matt says you have a known work around - can you please comment?
No, Matt has not told me yet. I asked him whether I should change the access permission for the folder but he has not confirmed yet. Should I?
Hi Huu,
There is a section on the IDB prerequisites (https://unifysolutions.jira.com/wiki/display/IDB40/Prerequisites) as to how to get around this issue:
"If Identity Broker is being configured to use IIS, the application pool identity will require read and write permissions to the Identity Broker Web directory. Contact your IIS administrator, or refer to this article for information on configuring the application pool with additional permissions."
I think this might be really easy to miss however, so i've created an issue (
IDB-906) to add a separate trouble shooting page.Thanks.
It works. Thanks Tony. Closing the issue now