中国开发网: 论坛: 程序员情感CBD: 贴子 21039
pcplayer: 一进去就出错
Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1010: Newline in constant

Source Error:



Line 3: if not NoxForum.Framework.Security.IsLogin then
Line 4: Response.Redirect( "cu_index.aspx" )
Line 5: 'elseif Session("default_board") = "" then
Line 6: ' Response.Redirect( "cu_main.aspx" )
Line 7: else


Source File: d:\vhosts\cndev.org#www2\main\cu_default.aspx Line: 5



Show Detailed Compiler Output:


C:\WINNT\system32> "C:\WINNT\Microsoft.NET\Framework\v2.0.40607\csc.exe" /t:library /utf8output /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\assembly\dl2\v2_4dfa4ff4\14e211b8_8d91c401\NoxForum.Framework.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\assembly\dl2\v2_3fc71c58\78ca8686_8591c401\Nox.Common.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\mscorlib.dll" /R:"C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.3600.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web\2.0.3600.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\assembly\dl2\v2_84bab171\50326784_8591c401\Interop.ADODB.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web.Services\2.0.3600.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web.Mobile\2.0.3600.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\__codeojtwlzme.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System\2.0.3600.0__b77a5c561934e089\System.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Xml\2.0.3600.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Drawing\2.0.3600.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINNT\assembly\GAC_32\System.Data\2.0.3600.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\global.asax83nsg5cc.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\vjyx9uih.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\vjyx9uih.res" /warnaserror /w:1 /nowarn:1659 "C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\vjyx9uih.0.cs" "C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\vjyx9uih.1.cs" "C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\vjyx9uih.2.cs" "C:\WINNT\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\root\8cd67811\76ffa35f\vjyx9uih.3.cs"


Microsoft (R) Visual C# .NET Compiler version 8.00.40607.16
for Microsoft (R) Windows (R) .NET Framework version 2.0.40607
Copyright (C) Microsoft Corporation 2001-2003. All rights reserved.

d:\vhosts\cndev.org#www2\main\cu_default.aspx(5,2): error CS1010: Newline in constant
d:\vhosts\cndev.org#www2\main\cu_default.aspx(5,2): error CS1012: Too many characters in character literal
d:\vhosts\cndev.org#www2\main\cu_default.aspx(6,2): error CS1010: Newline in constant
d:\vhosts\cndev.org#www2\main\cu_default.aspx(6,2): error CS1012: Too many characters in character literal
d:\vhosts\cndev.org#www2\main\cu_default.aspx(9,3): error CS1010: Newline in constant
d:\vhosts\cndev.org#www2\main\cu_default.aspx(9,3): error CS1012: Too many characters in character literal





Show Complete Compilation Source:


Line 1: #pragma checksum "d:\vhosts\cndev.org#www2\main\cu_default.aspx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6CA6AAC42461E693DC82FCD896D714CC"
Line 2: //------------------------------------------------------------------------------
Line 3: // <autogenerated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:2.0.40607.16
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </autogenerated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System.Web.Profile;
Line 14: using System.Text.RegularExpressions;
Line 15: using System.Web.Caching;
Line 16: using System.Configuration;
Line 17: using System.Collections.Specialized;
Line 18: using System.Web.UI.HtmlControls;
Line 19: using System.Web.UI.WebControls;
Line 20: using System.Collections;
Line 21: using System.Web.UI;
Line 22: using System.Web.UI.WebControls.WebParts;
Line 23: using System;
Line 24: using System.Web.Security;
Line 25: using System.Web;
Line 26: using System.Web.SessionState;
Line 27: using System.Web.UI.Imaging;
Line 28: using System.Text;
Line 29:
Line 30:
Line 31: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 32: public partial class cu_default_aspx : System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState {
Line 33:
Line 34: private static bool @__initialized = false;
Line 35:
Line 36: private static object @__stringResource;
Line 37:
Line 38: private static object @__fileDependencies;
Line 39:
Line 40: public cu_default_aspx() {
Line 41: string[] dependencies;
Line 42: AppRelativeVirtualPath = "~/main/cu_default.aspx";
Line 43: if ((global::ASP.cu_default_aspx.@__initialized == false)) {
Line 44: global::ASP.cu_default_aspx.@__stringResource = System.Web.UI.TemplateControl.ReadStringResource(typeof(global::ASP.cu_default_aspx));
Line 45: dependencies = new string[1];
Line 46: dependencies[0] = "~/main/cu_default.aspx";
Line 47: global::ASP.cu_default_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
Line 48: global::ASP.cu_default_aspx.@__initialized = true;
Line 49: }
Line 50: this.Server.ScriptTimeout = 30000000;
Line 51: }
Line 52:
Line 53: protected System.Web.Profile.DefaultHttpProfile Profile {
Line 54: get {
Line 55: return ((System.Web.Profile.DefaultHttpProfile)(this.Context.Profile));
Line 56: }
Line 57: }
Line 58:
Line 59: protected override bool SupportAutoEvents {
Line 60: get {
Line 61: return false;
Line 62: }
Line 63: }
Line 64:
Line 65: protected ASP.Global_asax ApplicationInstance {
Line 66: get {
Line 67: return ((ASP.Global_asax)(this.Context.ApplicationInstance));
Line 68: }
Line 69: }
Line 70:
Line 71: public override string AppRelativeTemplateSourceDirectory {
Line 72: get {
Line 73: return "~/main";
Line 74: }
Line 75: }
Line 76:
Line 77: private void @__BuildControlTree(cu_default_aspx @__ctrl) {
Line 78: @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__Render__control1));
Line 79: }
Line 80:
Line 81: private void @__Render__control1(System.Web.UI.HtmlTextWriter @__w, System.Web.UI.Control parameterContainer) {
Line 82:
Line 83: #line 2 "d:\vhosts\cndev.org#www2\main\cu_default.aspx"
Line 84:
Line 85: if not NoxForum.Framework.Security.IsLogin then
Line 86: Response.Redirect( "cu_index.aspx" )
Line 87: 'elseif Session("default_board") = "" then
Line 88: ' Response.Redirect( "cu_main.aspx" )
Line 89: else
Line 90: Response.Redirect( "cu_main.aspx" )
Line 91: 'Response.Redirect( "../forum/bbs.aspx?board=" & Nox.Common.Encoder.HtmlUrl( Session("default_board") ) )
Line 92: end if
Line 93:
Line 94:
Line 95: #line default
Line 96: #line hidden
Line 97: }
Line 98:
Line 99: protected override void FrameworkInitialize() {
Line 100: base.FrameworkInitialize();
Line 101: SetStringResourcePointer(global::ASP.cu_default_aspx.@__stringResource, 0);
Line 102: this.@__BuildControlTree(this);
Line 103: this.AddWrappedFileDependencies(global::ASP.cu_default_aspx.@__fileDependencies);
Line 104: this.Request.ValidateInput();
Line 105: }
Line 106:
Line 107: public override int GetTypeHashCode() {
Line 108: return 5381;
Line 109: }
Line 110: }
Line 111: }
Line 112:





--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.16; ASP.NET Version:2.0.40607.16

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录