Compiler error (SQLXML)

Discussion in 'ASP.NET 2.0' started by Dekker, Mar 30, 2007.

  1. I'm moving some stuff from one site to the root of another site, and I am getting an unusual compiler warning... Is it Discount's settup or mine? To my knowledge, I am not explicitly calling either DLL, but I am using SQL and XML in the app...

    Source Error:







    Code:
    Line 10: using System.Web.UI.HtmlControls;
    Line 11: 
    Line 12: public partial class blahblah_MasterPage : System.Web.UI.MasterPage
    Line 13: {
    Line 14:     protected void Page_Load(object sender, EventArgs e)


    Compiler Warning Messages:
    Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
    Source Error:







    Code:
    [No relevant source lines]
    Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
    Source Error:







    Code:
    [No relevant source lines]



    <Edit: I inserted the line-breaks to make the display easier on the eyes...>
    Show Detailed Compiler Output:





    Code:
    c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" 
    	/t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceProcess\2.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" 
    	/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\App_Web_fdltg-85.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll" 
    	/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\assembly\dl3\afdb73ad\1f73109e_db71c701\Crater.FileManager.DLL" 
    	/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\assembly\dl3\d4de581e\fb1aead1_9871c701\FredCK.FCKeditorV2.DLL" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices.Protocols\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" 
    	/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" 
    	/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\App_Code.gcl-734f.dll" 
    	/R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" 
    	/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\assembly\dl3\9ce77437\e4cbecce_9871c701\AjaxControlToolkit.DLL" 
    	/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\App_Web_masterpage.master.cdcab7d2.gveeostz.dll" 
    	/D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\fwks1wqx.res" 
    	/w:4 /nowarn:1659;1699  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\App_Web_masterpage.master.cdcab7d2.gveeostz.0.cs" 
    	"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\App_Web_masterpage.master.cdcab7d2.gveeostz.1.cs" 
    	"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5ebba6f4\9bfeb11b\App_Web_masterpage.master.cdcab7d2.gveeostz.2.cs"
    
    
    Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
    for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
    Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
    
    warning CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
    warning CS1668: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
    e:\web\blahblah\htdocs\MasterPage.master.cs(912304,33): error CS0115: 'ASP.masterpage_master.FrameworkInitialize()': no suitable method found to override
    







    Post Edited (Dekker) : 3/31/2007 10:21:12 AM GMT
     
  2. ...I couldn't come up with an answer for this one but it is odd that the errors point to local resources.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    wow.. that's weird!!


    I am quite amaze you actually find out the root cause;; pretty obsure problem.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Found the reason for the error, and it's mine...

    I'm using WS_FTP Pro to synchronize my local copy and the DiscASP site's copy...
    For some reason, the LOCALcode file (.cs) of my MasterPage was reading as older
    than the REMOTE copy, and so it was not updated. It was off by days, not hours, which
    is the odd thing, but that's my problem I guess..

    <sigh>
     

Share This Page