Error message displays when exiting QTP
Question ID: 106045
1
0

Receive error when closing QTP – click on X to close app and receive error re: unauthorized access exception. Details of the error:

Exception of type: System.UnauthorizedAccessException. Source: mscorlib. Occured in Void WinIOError(Int32, System.String) method
Exception message is: Access to the path ‘C:\\Users\\regressionuser\\AppData\\Local\\HP\\UFT\\layouts\\Default.xml’ is denied.
Exception trace is: 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, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at AvalonDock.DockingManager.SaveLayout(String filename)
at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.StoreConfiguration()

SharpDevelop Version : 4.1.3.0-00000000
.NET Version : 4.0.30319.34209
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 243776kb
GC Heap Memory : 15868kb

—- Post-error application state information:
Installed 3rd party AddIns: [HP UFT File Dialog for UFT Only} 12.0.0.0], [HP QTP ActiveScreen Pane 12.0.0.0], [HP QTP DataTable Addin 12.0.0.0], [HP QTP UTT Based Debugger 12.0.0.0], [HP QTP FileDialog Addin 12.0.0.0], [HP QTP Property Tabs 12.0.0.0], [HP ST ALM Storage 12.0.0.0], [HP ST Basic Extensibility 12.0.0.0], [HP ST Designer UI Extensibility 12.0.0.0], [HP ST SOA Replay API Extensibility 12.0.0.0], [HP ST Async 12.0.0.0], [HP ST Checkpoints 12.0.0.0], [HP ST Data Providers 12.0.0.0], [HP ST Basic Activities 12.0.0.0], [HP ST BPT Integration 12.0.0.0], [HP ST C Sharp Translation Layer 12.0.0.0], [HP ST Database Activities 12.0.0.0], [HP ST .NET Import Technologies 12.0.0.0], [HP ST Framework Upgraders 12.0.0.0], [HP ST FTP Activities 12.0.0.0], [HP ST Debugger Addin 12.0.0.0], [HP ST HTTP Activities 12.0.0.0], [HP ST HTTP Receiver Activities 12.0.0.0], [HP ST Run Step Pad 12.0.0.0], [HP ST Java Call 12.0.0.0], [HP ST JMS Technology 12.0.0.0], [HP ST LoadRunner Integration 12.0.0.0], [HP ST MQ Activities 12.0.0.0], [HP ST Basic Property Sheet Tabs 12.0.0.0], [HP ST REST Technology 12.0.0.0], [HP ST REST V2 Technology 12.0.0.0], [HP ST UFT File Dialog for STM 12.0.0.0], [HP ST Service Test Runner 12.0.0.0], [HP ST Basic Framework 12.0.0.0], [HP ST Toolbox Default Presenter 12.0.0.0], [HP ST Toolbox UI Extensibility 12.0.0.0], [HP ST Transform JSON 12.0.0.0], [HP ST Transform XML 12.0.0.0], [HP ST QTP Test Runner 12.0.0.0], [HP ST XML Validation 12.0.0.0], [HP ST VTD Extensibility 12.0.0.0], [HP ST Run Vugen 12.0.0.0], [HP ST Wait Activity 12.0.0.0], [HP ST Web Analyzer 12.0.0.0], [HP ST Standard Import Technologies 12.0.0.0], [HP ST Shell Services 12.0.0.0], [HP SV ALM Integrations 12.0.0.0], [HP UFT Data Explorer 12.0.0.0], [UTT Configuration UI 12.1.0.0], [Debug Pad Wrapper Extension addin for UTT 12.1.0.0], [UTT Debug Basic implementation addin for UTT 12.1.0.0], [UTT File Dialog 12.1.0.0], [HP UFT File System Dialog Addin 12.0.0.0], [HP UFT ALM File Dialog Addin 12.0.0.0], [UTT Connection Addin 12.1.0.0], [HPUttIdeCommands 12.1.0.0], [UttBookmarkPad 12.1.0.0], [UttErrorListPad 12.1.0.0], [UttOutputPad 12.1.0.0], [UttTaskListPad 12.1.0.0]
Workbench.ActiveContent:
ProjectService.OpenSolution:
ProjectService.CurrentProject:

—- Recent SharpDevelop log messages:

—- Recent Utt log messages:

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on April 28, 2015 3:20 pm
264 views
Answers (1)
1
Private answer

The error states:

''Access to the path 'C:UsersregressionuserAppDataLocalHPUFTlayoutsDefault.xml' is denied.''

The problem is with your Windows Profile user permissions for ''regressionuser.'' You will need to ask your IT/desktop team to make sure the user profile has the permissions as outlined in Chapter 1 of the install guide (''Permissions Required When Working with ALM'') and isn't corrupted (if the profile is corrupted, they may need to rebuild it).

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on April 28, 2015 3:21 pm
0
Thanks, I had our IT guy redeploy the affected user, and it works great now!
( at April 28, 2015 3:22 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top