Can someone explain this statement to me. "The View of the event class could not be materialized". I get it when I try to do a build of my Instance.
Also, yesterday I used CopySample to prepare an instance for my project. I'm not sure if this is the right way to go.
Is there a better template to use or process to follow to create a complete project (including Visual Studio Build Scripts, etc...)
Thanks
...Ray
Ray,"The View of the event class could not be materialized" is a runtime error, not a build-time error. Are you sure you saw this while building your instance?
Here's what the error means:
Before SQL-NS executes the rules in your application (match rules or chronicle rules) it first builds views of the events and subscriptions tables. These views provide the input data for the rules: they contain only the events and subscriptions against which the rule should operate in any given firing. The error means that something when wrong during the process of setting up these views. Usually the rest of the error message provides more detail on the problem. If you could include the complete message, we'd be able to diagnose the problem better. The most common cause of this is a timeout, which can happen if the event batch is huge.
Also, please tell us what version of SQL-NS you're using - is it SQL 2000 (NS2.0) or SQL 2005? If 2005, which build are you using?
Regarding your question about the best template, you can certainly use the ones provided with the samples. However, this does involve starting from a pre-existing application and changing/removing things to make it do what you want. In my book (http://www.amazon.com/exec/obidos/tg/detail/-/0672326647/) I describe how to set up a "minimal" instance and application (with just the elements required to get it to build) and then add the code you want piece by piece. The book's CD-ROM provides all the necessary files and instructions on setting this up.
Hope this helps.
-shyam
No comments:
Post a Comment