Solved

The compiler failed with error code 128

Posted on 2008-10-08
4
949 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

20 Experts available now in Live!

Get 1:1 Help Now