An Error Occurred Loading The Windows File Protection Data File
Beta, I cannot find an appropriate place to post my question, and this seems the closest. I have the Windows 7 Beta DDK. I'm trying to use inf2cat to create a CAT file which is suitable for various Windows OSes, including Windows 7. I can use this just fine before attempting to add any Windows 7 options. The included documentation says that in the /os: parameter to use "Windows 7_X64" and "Windows 7_X86". I tried variations with quoting the parameter to use the spaces, using no spaces, and using underscores. It just says "Operating systems parameter invalid.". In the online inf2cat webpage (http://msdn.microsoft.com/en-us/library/dd434712.aspx), it says to use "7_X64" and "7_X86". I tried these, and got the same error. What are the correct options to the /os: parameter for Windows 7? Thanks, Nathan Nathan Glasser, Feb 12, 2009 #1 Advertisements Jennifer Stepler [MSFT] Guest Nathan, The version of Inf2cat in the WDK beta does not allow you to generate INF files for Windows 7. The version in the RC release should allow this. Also, you'll be able to download an updated inf2cat that supports Win7 from the Winqual website on 4/9/2009. Sorry about the inconvenience. Jennifer "Nathan Glasser" wrote: > Though this is regarding Windows 7 Beta, I cannot find an appropriate place > to post my question, and this seems the closest. > > I have the Windows 7 Beta DDK. I'm trying to use inf2cat to create a CAT > file which is suitable for various Windows OSes, including Windows 7. I can > use this just fine before attempting to add any Windows 7 options. > > The included documentation says that in the /os: parameter to use "Windows > 7_X64" and "Windows 7_X86". I tried variations with quoting the parameter to > use the spaces, using no spaces, and using underscores. It just says > "Operating systems parameter invalid.". > > In the online inf2cat webpage > (http://msdn.microsoft.com/en-us/library/dd434712.aspx), it says to use > "7_X64" and "7_X86". I tried these, and got the same error. > > What are the correct options to the /os: parameter for Windows 7? > > Thanks, > Nathan > Jennifer Stepler [MSFT], Feb 13, 2009 #2 Advertisements June Guest Hello Jennifer, It's 4/15 already and the inf2cat in winqual submission tool 2.5.10.0 doesn't have Win 7 option still. Please help check. Thanks, June "Jennifer Stepler [MSFT]" wrote: > Nathan, > The version of Inf2cat in the WDK beta does not allow you to generate INF > files for Windows 7. The version in the RC release should allow this. Also, > you'll be able to download an updated inf2cat that supports Win7 from the > Winqual website on 4/
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Export (0) Print Expand All MSDN Library Open Specifications Protocols Windows Protocols References [MS-ERREF]: Windows Error Codes 2 Structures 2.1 HRESULT 2.2 Win32 Error Codes http://www.winvistatips.com/threads/inf2cat-for-windows-7.196255/ 2.3 NTSTATUS 2.4 LDAP Error to Win32 Error Mapping Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. 2.2 Win32 Error Codes All Win32 error codes MUST be in the range 0x0000 to 0xFFFF, although Win32 error codes can be used both in 16-bit https://msdn.microsoft.com/en-us/library/cc231199.aspx fields (such as within the HRESULT type specified in section 2.1) as well as 32-bit fields. Most values also have a default message defined, which can be used to map the value to a human-readable text message; when this is done, the Win32 error code is also known as a message identifier. The following table specifies the values and corresponding meanings of the Win32 error codes. Vendors SHOULD NOT assign other meanings to these values, to avoid the risk of a collision in the future. This document provides the common usage details of the Win32 error codes; individual protocol specifications provide expanded or modified definitions. Note In the following descriptions, a percentage sign followed by one or more alphanumeric characters (for example, "%1" or "%hs") indicates a variable that will be replaced by text at the time the value is returned. Win32 error codes Description 0x00000000 ERROR_SUCCESS The operation completed successfully. 0x00000000 NERR_Success The operation completed successfully. 0x00000001 ERROR_INVALID_FUNCTION Incorrect funct
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads http://stackoverflow.com/questions/13344921/error-occurred-loading-a-configuration-file-access-to-path-c-program-files-x8 with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error occurred loading a configuration file: Access to path c:\Program Files (x86)\… denied up vote 3 down vote favorite 2 I have an application which I deploy using a setup program in Visual Studio 2010 on Windows 7. The an error program deploys and runs fine on Windows 7 and XP, but when I deploy it on a Windows 8 system I get errors about access to a configuration file. The program gets installed in c:\Program Files (x86)[Company Name][App Name]\ and the file being referenced is a temp file with a name that looks machine generated by Windows GetTempFile, e.g. x4q0toqw.tmp. which does not exist in this folder and then there is a reference to the exe config file (myapp.exe.config, which does exist) If an error occurred I build and run the code on the Windows 8 system it installs and runs fine, I don't get the error, but then if I deploy the Window 8 compiled app on Windows 7 I get the same errors about access to the configuration file. Both machines are 64-bit but generate a 32-bit application. I don't plan on releasing two binaries. Can anyone tell me what is going on? I'm in the process of trying to setup JIT debugging to that I can attach to the exe when it throws exceptions, since debugging it natively doesn't help me as I don't get the exceptions. Thanks, Gary This is on two different machines, but I login to the same domain as the same user on both, and am an administrator. c# windows file config denied share|improve this question edited Nov 12 '12 at 14:31 asked Nov 12 '12 at 13:50 Gary 2052718 Same machine? Admin rights in both sessions? –Brad Nov 12 '12 at 13:51 When do you get the errors, during setup or when the application is run? Is the setup program one you've written yourself, or a commercial product? –Harry Johnston Nov 12 '12 at 20:43 I get the first error when the application loads, in the form_load call, which is where I load up all the configuration settings for the application. With that not functioning, nothing works. The setup is very simple, I wrote it, and it