Click here to Skip to main content
15,918,243 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am working on a Windows application.

when i am changing the Product Name form
go to Project Property -> Application --> select Assembly Information -->

there is option Product name : by default is the same as project name now change it "xyz"(other then default project name) ->save

Now rebuild the project --> go to bin run the Exe( we can see the product name by right click on Exe and select details -- Product name will be display here )

one i am running exe i am getting below error.

the system cannot find the file specified exception from hresult: 0x8007002)


What I have tried:

Go to exe property
select Compatibility

and select check box of "run this program in compatibility mode for" (select windows 8)

but getting same error
Posted
Updated 4-Aug-20 13:48pm
v3
Comments
OriginalGriff 4-Aug-20 12:11pm    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with. You will have to provide a lot more information for us to be able to help.

Use the "Improve question" widget to edit your question and provide better information.
Siddharth Rai 4-Aug-20 12:28pm    
really i am very sorry.Now i will try to give more information .
[no name] 4-Aug-20 13:38pm    
There's release and debug bins / options. Check date times on exe's, dll's.

1 solution

You're going to have to debug the code to find out where the error is coming from. There's no short list of things this could be, so it's impossible to tell you what's going wrong.

Run the code under the debugger and it will stop where the exception is thrown. You can then inspect variables and figure out what is going on to cause the exception.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900