none
The compiler failed with error code 128

    Question

  • Why that error message happens?

    c:\windows\system32\inetsrv> "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\assembly\dl3\6ba26f94\00693055_e459c701\Utilities.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\assembly\dl3\0551175b\ee7356e1_2129c901\PTCModules.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\assembly\dl3\4d3bd621\3ef931d5_2229c901\PTCWeb.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\ptcweb\ebb9210f\dd90674a\assembly\dl3\3990efcb\005fb1d1_595ac701\Messaging.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\assembly\dl3\70d9ca52\00090b59_df01c901\Provato.DLL" /out:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\App_Web_index.aspx.cdcab7d2.tjhgglqm.dll" /D:DEBUG /debug+ /optimize- /win32res:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\_qo7-day.res" /w:4 /nowarn:1659;1699;1701  "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\App_Web_index.aspx.cdcab7d2.tjhgglqm.0.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ptcweb\ebb9210f\dd90674a\App_Web_index.aspx.cdcab7d2.tjhgglqm.1.cs"

    • Moved by Harry Zhu Friday, October 10, 2008 2:37 AM asp.net problem (Moved from Visual C# General to Off-Topic Posts (Do Not Post Here))
    Wednesday, October 08, 2008 8:52 AM

All replies

  • it was caused by the following code

    private void OpenUrl(string url)  
            {  
                string browser = GetDefaultBrowser();  
                if (browser.Length > 0)  
                {  
                    ProcessStartInfo psi = new ProcessStartInfo();  
                    psi.UseShellExecute = false;  
                    psi.Arguments = url;  
                    psi.FileName = browser;  
                    System.Diagnostics.Process.Start(psi);  
                }  
                else  
                {  
                    System.Diagnostics.Process.Start(url);  
                }  
            }  
     
            private string GetDefaultBrowser()  
            {  
                string browser = String.Empty;  
                RegistryKey key = null;  
                try  
                {  
                    key = Registry.ClassesRoot.OpenSubKey(@"HTTP\shell\open\command", false);  
                    browser = key.GetValue(null).ToString().ToLower().Replace("\"", "");  
                    if (!browser.EndsWith(".exe"))  
                    {  
                        browser browser = browser.Substring(0, browser.LastIndexOf(".exe") + 4);  
                    }  
                }  
                catch  
                {  
                    if (key != null)  
                    {  
                        key.Close();  
                    }  
                }  
                return browser;  
            } 
    Wednesday, October 08, 2008 9:17 AM
  • You haven't show the output that shows the error. 
    http://www.peterRitchie.com/blog
    Wednesday, October 08, 2008 3:27 PM
    Moderator
  • Since the code in question is for ASP.Net, you might find that people on http://forums.asp.net/ have encountered this problem before.
    http://www.peterRitchie.com/blog
    Wednesday, October 08, 2008 3:28 PM
    Moderator