Click here to Skip to main content
15,886,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody,

I got a problem with application. I have deployed my application and I got .MSi. I have installed it in Xp and it is working fine. But when I install it in windows7, it is showing some errors like:
Unhanded Exception has occurred in your application if you click Continue the application will ignore this error and attempt to continue .if you click quit the application will close immediately

Syntax error(Missing Operator) in query expression "8522"


How can I resolve it? What could be the issue?
Posted
Updated 10-Feb-11 20:21pm
v2
Comments
Nithin Sundar 11-Feb-11 1:14am    
1. Do you have the proper .NET Framework installed? For example, if you have written an application targeting .NET 4.0 as you have tagged your question, do you have .NET 4.0 installed?
2. Did you debug through your code and check if you're getting an exception?
Abhinav S 11-Feb-11 3:25am    
Good advice Nithin.
rakeshpuppala 14-Feb-11 0:20am    
Thanx For your advise I have checked with some other C# as well as VB applications done by friends i am getting the same error. i have done all the things suggested by you

Do you have all the external software you use loaded on the Windows 7 machine?
Since it is complaining about a query expression, it may be that you need SQL server 2008, or Excel, or some other system loaded. Since we don't know what you are using, it is not possible to be more than vague!
 
Share this answer
 
Hey I have used Access as a DB i have installed Access also but it was showing the same error On more thing i noticed that it was not working in Vista also
 
Share this answer
 
v2
Just configure your Desktop access on windows 7 and this[^] may help you.
 
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