首页上一页 1 下一页尾页 2 条记录 1/1页
ASP.NET程序运行时出现的错误,急着解决呀
发表在ASP.NET图书答疑
2008-04-29
是否精华
是
否
版块置顶:
是
否
<P><FONT color=#f709f7><FONT size=4>我运行ASP.NET时出现的问题,在网上找不到答案,急呀!我用的是C#语言,数据库是SQL2000,不只是这一个程序,以前能运行的程序一运行都是这样的错误,可能是设置的问题把!请高手指点</FONT>。</FONT></P><FONT size=3><I>
<H2><I>编译错误</I> </H2>
<P><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><B>说明: </B>在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 <BR><BR><B>编译器错误信息: </B>编译器失败,错误代码为 -1073741819。<BR><BR><BR></P>
<DIV class=expandable onclick=OnToggleTOCLevel1() level2ID="compilerOutputDiv">显示详细的编译器输出:</DIV>
<DIV id=compilerOutputDiv style="DISPLAY: none"><BR>
<TABLE width="100%" bgColor=#ffffcc>
<TBODY>
<TR>
<TD><CODE><PRE>C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mytoys\40a81026\edd958e7\assembly\dl2\ea0a86a3\00114bd3_02a9c801\mytoys.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mytoys\40a81026\edd958e7\dkdudwdf.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mytoys\40a81026\edd958e7\dkdudwdf.res" /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mytoys\40a81026\edd958e7\dkdudwdf.0.cs"
</PRE></CODE></TD></TR></TBODY></TABLE></DIV>
<P><BR> </P>
<DIV class=expandable onclick=OnToggleTOCLevel1() level2ID="dynamicCodeDiv">显示完整的编译源:</DIV>
<DIV id=dynamicCodeDiv style="DISPLAY: none"><BR>
<TABLE width="100%" bgColor=#ffffcc>
<TBODY>
<TR>
<TD><CODE><PRE>行 1: //------------------------------------------------------------------------------
行 2: // <autogenerated>
行 3: // This code was generated by a tool.
行 4: // Runtime Version: 1.1.4322.573
行 5: //
行 6: // Changes to this file may cause incorrect behavior and will be lost if
行 7: // the code is regenerated.
行 8: // </autogenerated>
行 9: //------------------------------------------------------------------------------
行 10:
行 11: namespace ASP {
行 12: using System;
行 13: using System.Collections;
行 14: using System.Collections.Specialized;
行 15: using System.Configuration;
行 16: using System.Text;
行 17: using System.Text.RegularExpressions;
行 18: using System.Web;
行 19: using System.Web.Caching;
行 20: using System.Web.SessionState;
行 21: using System.Web.Security;
行 22: using System.Web.UI;
行 23: using System.Web.UI.WebControls;
行 24: using System.Web.UI.HtmlControls;
行 25:
行 26:
行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 28: public class pagefooter_ascx : MyToys.control.pagefooter {
行 29:
行 30: private static bool __initialized = false;
行 31:
行 32: private static object __stringResource;
行 33:
行 34: public pagefooter_ascx() {
行 35: if ((ASP.pagefooter_ascx.__initialized == false)) {
行 36: ASP.pagefooter_ascx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(typeof(ASP.pagefooter_ascx));
行 37: ASP.pagefooter_ascx.__initialized = true;
行 38: }
行 39: }
行 40:
行 41: protected override bool SupportAutoEvents {
行 42: get {
行 43: return false;
行 44: }
行 45: }
行 46:
行 47: protected System.Web.HttpApplication ApplicationInstance {
行 48: get {
行 49: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
行 50: }
行 51: }
行 52:
行 53: public override string TemplateSourceDirectory {
行 54: get {
行 55: return "/MyToys/control";
行 56: }
行 57: }
行 58:
行 59: private void __BuildControlTree(System.Web.UI.Control __ctrl) {
行 60: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
行 61:
行 62: #line 1 "http://localhost/MyToys/control/pagefooter.ascx"
行 63: __parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(0, 819, false));
行 64:
行 65: #line default
行 66: #line hidden
行 67: }
行 68:
行 69: protected override void FrameworkInitialize() {
行 70: SetStringResourcePointer(ASP.pagefooter_ascx.__stringResource, 819);
行 71: this.__BuildControlTree(this);
行 72: }
行 73: }
行 74: }
行 75: </PRE></CODE></TD></TR></TBODY></TABLE></DIV>
<P>
<SCRIPT language=JavaScript>
function OnToggleTOCLevel1()
{
var elemSrc = window.event.srcElement;
var elemLevel2 = document.all(elemSrc.level2ID);
if (elemLevel2.style.display == 'none')
{
elemLevel2.style.display = '';
if (elemSrc.usesGlyph == '1')
elemSrc.innerHTML = '6';
}
else {
elemLevel2.style.display = 'none';
if (elemSrc.usesGlyph == '1')
elemSrc.innerHTML = '4';
}
}
</SCRIPT>
</FONT></I></FONT><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><FONT size=3>。</FONT></FONT></P>
<H2><I>编译错误</I> </H2>
<P><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><B>说明: </B>在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 <BR><BR><B>编译器错误信息: </B>编译器失败,错误代码为 -1073741819。<BR><BR><BR></P>
<DIV class=expandable onclick=OnToggleTOCLevel1() level2ID="compilerOutputDiv">显示详细的编译器输出:</DIV>
<DIV id=compilerOutputDiv style="DISPLAY: none"><BR>
<TABLE width="100%" bgColor=#ffffcc>
<TBODY>
<TR>
<TD><CODE><PRE>C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mytoys\40a81026\edd958e7\assembly\dl2\ea0a86a3\00114bd3_02a9c801\mytoys.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mytoys\40a81026\edd958e7\dkdudwdf.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mytoys\40a81026\edd958e7\dkdudwdf.res" /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mytoys\40a81026\edd958e7\dkdudwdf.0.cs"
</PRE></CODE></TD></TR></TBODY></TABLE></DIV>
<P><BR> </P>
<DIV class=expandable onclick=OnToggleTOCLevel1() level2ID="dynamicCodeDiv">显示完整的编译源:</DIV>
<DIV id=dynamicCodeDiv style="DISPLAY: none"><BR>
<TABLE width="100%" bgColor=#ffffcc>
<TBODY>
<TR>
<TD><CODE><PRE>行 1: //------------------------------------------------------------------------------
行 2: // <autogenerated>
行 3: // This code was generated by a tool.
行 4: // Runtime Version: 1.1.4322.573
行 5: //
行 6: // Changes to this file may cause incorrect behavior and will be lost if
行 7: // the code is regenerated.
行 8: // </autogenerated>
行 9: //------------------------------------------------------------------------------
行 10:
行 11: namespace ASP {
行 12: using System;
行 13: using System.Collections;
行 14: using System.Collections.Specialized;
行 15: using System.Configuration;
行 16: using System.Text;
行 17: using System.Text.RegularExpressions;
行 18: using System.Web;
行 19: using System.Web.Caching;
行 20: using System.Web.SessionState;
行 21: using System.Web.Security;
行 22: using System.Web.UI;
行 23: using System.Web.UI.WebControls;
行 24: using System.Web.UI.HtmlControls;
行 25:
行 26:
行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 28: public class pagefooter_ascx : MyToys.control.pagefooter {
行 29:
行 30: private static bool __initialized = false;
行 31:
行 32: private static object __stringResource;
行 33:
行 34: public pagefooter_ascx() {
行 35: if ((ASP.pagefooter_ascx.__initialized == false)) {
行 36: ASP.pagefooter_ascx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(typeof(ASP.pagefooter_ascx));
行 37: ASP.pagefooter_ascx.__initialized = true;
行 38: }
行 39: }
行 40:
行 41: protected override bool SupportAutoEvents {
行 42: get {
行 43: return false;
行 44: }
行 45: }
行 46:
行 47: protected System.Web.HttpApplication ApplicationInstance {
行 48: get {
行 49: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
行 50: }
行 51: }
行 52:
行 53: public override string TemplateSourceDirectory {
行 54: get {
行 55: return "/MyToys/control";
行 56: }
行 57: }
行 58:
行 59: private void __BuildControlTree(System.Web.UI.Control __ctrl) {
行 60: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
行 61:
行 62: #line 1 "http://localhost/MyToys/control/pagefooter.ascx"
行 63: __parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(0, 819, false));
行 64:
行 65: #line default
行 66: #line hidden
行 67: }
行 68:
行 69: protected override void FrameworkInitialize() {
行 70: SetStringResourcePointer(ASP.pagefooter_ascx.__stringResource, 819);
行 71: this.__BuildControlTree(this);
行 72: }
行 73: }
行 74: }
行 75: </PRE></CODE></TD></TR></TBODY></TABLE></DIV>
<P>
<SCRIPT language=JavaScript>
function OnToggleTOCLevel1()
{
var elemSrc = window.event.srcElement;
var elemLevel2 = document.all(elemSrc.level2ID);
if (elemLevel2.style.display == 'none')
{
elemLevel2.style.display = '';
if (elemSrc.usesGlyph == '1')
elemSrc.innerHTML = '6';
}
else {
elemLevel2.style.display = 'none';
if (elemSrc.usesGlyph == '1')
elemSrc.innerHTML = '4';
}
}
</SCRIPT>
</FONT></I></FONT><FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><FONT size=3>。</FONT></FONT></P>