Solved

The compiler failed with error code 128

Posted on 2008-10-08
4
959 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 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