Stata
Products Purchase Support Company
Search
   >> Home >> Resources & support >> FAQs >> Windows Vista error while creating stata.lic

Why do I receive the error “cannot open C:\Program Files\Stata10\STATA.LIC” on a Windows Vista machine?

Title Windows Vista error while creating stata.lic  
Author Theresa Boswell, StataCorp
Date July 2007

Some users may encounter the following error message when attempting to install Stata on a Windows Vista machine:

I cannot open C:\Program Files\Stata10\STATA.LIC for writing.
No Action Taken.

The default Vista permission settings do not allow applications write permissions to their respective install directories, even if you are logged into a machine as administrator. Stata needs these permissions to create its license file.

To get around the problem, you must right-click the Stata executable in the Stata install directory and select “Run as Administrator” from the right-click menu to open Stata. Then you can enter your authorization information, etc., and Stata will create the proper file.

Technical note:   If you are having trouble updating Stata on a Vista machine, click here.

FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Macintosh
Technical support
Resources & support
FAQs
Technical support
NetCourses
Short courses
Users Group meetings
Statalist
Links
Software updates
Software archives
Customer service
Manuals & supplements
Stata Journal
STB
Stata News
Stata Automation
Plugins

Site overview
Products
Resources & support
Company
Site index

© Copyright 1996–2008 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index