Solved

The compiler failed with error code 128

Posted on 2008-10-08
4
955 Views
Last Modified: 2013-12-17
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"

0
Comment
Question by:techques
  • 3
4 Comments
 

Author Comment

by:techques
ID: 22667242
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"))   
                {   
                    browserbrowser = browser.Substring(0, browser.LastIndexOf(".exe") + 4);   
                }   
            }   
            catch   
            {   
                if (key != null)   
                {   
                    key.Close();   
                }   
            }   
            return browser;   
        }  

Open in new window

0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 50 total points
ID: 22673637
This is a documented error, here is the Microsoft explanation:
http://support.microsoft.com/kb/916451
0
 

Author Comment

by:techques
ID: 22674791
How should I edit the code to avoid it?
0
 

Author Comment

by:techques
ID: 22674794
I have a windows server 2003 and SP2. But, still get that error.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now