Solved

The compiler failed with error code 128

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

19 Experts available now in Live!

Get 1:1 Help Now