This project is read-only.

"An expression of non-boolean type specified in a context where a condition is expected, near 'rc'."

Oct 28, 2009 at 7:45 PM

Anybody knows how to fix this error? When I try to run the install project it gives me this error.

Help me pls.. :(



Oct 28, 2009 at 8:37 PM

After looking at your project, I have determined that this is due to a custom script that you have added. I see that it is similar to a script we included in the Northwind sample project. However there are some strange characters in it: underscores. It almost looks like you ued VB.NET to format the SQL. In any case, this is not generated code. You need to modify this custom code or remove it. The stack trace tell you how to find the bad SQL in case this happens again to you. You can step through the installer project that is executing the SQL and find the exact SQL that has an error.

Look for the SQL that starts like this "--DROP ALL INDEXES". This whole section is wrong, please remove it from your code or copy the correct code from the Northwind example.

Oct 29, 2009 at 3:12 AM

ok thanks :)

BTW I love this tool.. 


Oct 29, 2009 at 3:45 AM

It works now..... THANKS A LOT CodeTools...