The service account or user has access to all files. I checked the css. Not sure what is causing this error.
The service account or user has access to all files. I checked the css. Not sure what is causing this error.
For the benefit of other readers, based on the Case she opened with Support, the issue was specific to the account Apruva was using. She logged in with another admin account (same account that was used by the service) and got past the Access Denied issue.
Open the "Details" in the message, and post it to this thread so we can see what it says.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Laserfiche\WebLink\tempDirDesigner\WebLinkStyles.css' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at WebLinkDesigner.SearchPicker.SearchDisplayPicker..ctor(WLVirtualDirectory vdir)
at WebLinkDesigner.StartForm.LoadSearchTab()
at WebLinkDesigner.StartForm.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
Go to IIS > Application Pool node > Look for the Weblink AppPool.. Right click > Advanced settings > Process Model > Identity. What account is it using? Change it to an account that has full rights to the Weblink folder and all its subfolders (including the css file in it). Make sure it has explicit rights to the files.