Hi, I have deployed an MVC 2.0 application which leverages the Spark view engine for views. I have no issues running the application locally but when I deploy and try to load it, I get the error below: "Dynamic view compilation failed. (0,0): error CS1668: Warning as Error: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. ' (0,0): error CS1668: Warning as Error: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied." I marked the web.config file to not treat warnings as errors (<providerOption name="WarnAsError" value="false"/>), so I am not sure what the deal is. I have verified that my mvc routing is working correctly..the problem lies with the spark view engine. Any help would be much appreciated. Thanks, Gary
Also, can you please humor me. Delete everything in the webspace and upload the application again as per http://forum.discountasp.net/showthread.php?t=4195
Hi Chuck, Thanks for responding. I actually figured it out..I set the Warning Level in the web.config file lower than 4 and set the modified the spark config section to <compilation debug="false"/> Thanks, Gary