By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,534 Members | 2,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,534 IT Pros & Developers. It's quick & easy.

Adding Web.Config file broke my website!

P: n/a
I added a small Web.Config file to the root of my website so that I
could view errors on a machine other than the server:

<configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
</configuration>

However, this immediately threw a different error when I tried to view
a page that already had a coding error of my own. I deleted the
Web.Config file, but I still got the same error, even after restarting.
However, I do not see this error on .aspx pages with no coding errors
of my own - they load properly. Is the .NET framework not installed
properly, so that one instance of Web.Config is causing it to compile
incorrectly even after the file's been deleted? Is it something with
IIS? I read somewhere that you have to specifically tell IIS that the
website is a .NET application, but I don't know how to do that. I am
brand new to ASP.NET, and this problem really has me stumped. Please
help!

The following is the error:

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: CS1513: } expected

Source Error:

Line 112: #line hidden
Line 113:
__output.Write("\r\n\r\n\r\n\r\n\r\n</body>\r\n</html>\r\n");
Line 114: }
Line 115:
Line 116: protected override void FrameworkInitialize() {
Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary
ASP.NET Files\root\2135a508\8d69a834\3zmlx22i.0.cs Line: 114

Show Detailed Compiler Output:
c:\windows\system32\inetsrv>
"c:\windows\microsoft.net\framework\v1.1.4322\csc. exe" /t:library
/utf8output
/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__b77a 5c561934e089\system.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.web.mobile\1.0.5 000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000 .0__b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b77a5c561934e089\system.data.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservic es\1.0.5000.0__b03f5f7f11d50a3a\system.enterprises ervices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\ms corlib.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ Temporary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.dll" /debug- /optimize+
/win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1. 4322\Temporary
ASP.NET Files\root\2135a508\8d69a834\3zmlx22i.res" /warnaserror /w:1
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.0.cs(114,10) : error CS1513: }
expected

Show Complete Compilation Source:
Line 1:
//------------------------------------------------------------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and
will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//------------------------------------------------------------------------------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27: public class agents_aspx : System.Web.UI.Page,
System.Web.SessionState.IRequiresSessionState {
Line 28:
Line 29: private static int __autoHandlers;
Line 30:
Line 31: private static bool __initialized = false;
Line 32:
Line 33: private static object __stringResource;
Line 34:
Line 35: private static System.Collections.ArrayList
__fileDependencies;
Line 36:
Line 37:
Line 38: #line 2 "c:\inetpub\wwwroot\agents.aspx"
Line 39:
Line 40: protected void Page_Load(Object sender, EventArgs e) {
Line 41: pageStep = Request.QueryString["step"];
Line 42: }
Line 43:
Line 44: #line default
Line 45: #line hidden
Line 46:
Line 47: public agents_aspx() {
Line 48: System.Collections.ArrayList dependencies;
Line 49: if ((ASP.agents_aspx.__initialized == false)) {
Line 50: ASP.agents_aspx.__stringResource =
System.Web.UI.TemplateControl.ReadStringResource(t ypeof(ASP.agents_aspx));
Line 51: dependencies = new
System.Collections.ArrayList();
Line 52:
dependencies.Add("c:\\inetpub\\wwwroot\\agents.asp x");
Line 53: ASP.agents_aspx.__fileDependencies =
dependencies;
Line 54: ASP.agents_aspx.__initialized = true;
Line 55: }
Line 56: }
Line 57:
Line 58: protected override int AutoHandlers {
Line 59: get {
Line 60: return ASP.agents_aspx.__autoHandlers;
Line 61: }
Line 62: set {
Line 63: ASP.agents_aspx.__autoHandlers = value;
Line 64: }
Line 65: }
Line 66:
Line 67: protected System.Web.HttpApplication
ApplicationInstance {
Line 68: get {
Line 69: return
((System.Web.HttpApplication)(this.Context.Applica tionInstance));
Line 70: }
Line 71: }
Line 72:
Line 73: public override string TemplateSourceDirectory {
Line 74: get {
Line 75: return "/";
Line 76: }
Line 77: }
Line 78:
Line 79: private void
__BuildControlTree(System.Web.UI.Control __ctrl) {
Line 80: __ctrl.SetRenderMethodDelegate(new
System.Web.UI.RenderMethod(this.__Render__control1 ));
Line 81: }
Line 82:
Line 83: private void
__Render__control1(System.Web.UI.HtmlTextWriter __output,
System.Web.UI.Control parameterContainer) {
Line 84:
__output.Write("\r\n\t\r\n<html>\r\n<head>\r\n<met a name=\"GENERATOR\"
Content=\"Microsoft Visual Studio .NET" +
Line 85: " 7.1\">\r\n</head>\r\n<body>\r\n\t<!-- ");
Line 86:
Line 87: #line 13 "c:\inetpub\wwwroot\agents.aspx"
Line 88: if (Request.QueryString["step"] == "select") {
Line 89:
Line 90: #line default
Line 91: #line hidden
Line 92: __output.Write(" -->\r\n\t");
Line 93:
Line 94: #line 14 "c:\inetpub\wwwroot\agents.aspx"
Line 95: if (pageStep == "select") {
Line 96:
Line 97: #line default
Line 98: #line hidden
Line 99: this.WriteUTF8ResourceString(__output, 0, 346,
true);
Line 100:
Line 101: #line 33 "c:\inetpub\wwwroot\agents.aspx"
Line 102: } else {
Line 103:
Line 104: #line default
Line 105: #line hidden
Line 106: __output.Write("\r\n\t\thi there!\r\n\t");
Line 107:
Line 108: #line 35 "c:\inetpub\wwwroot\agents.aspx"
Line 109: }
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113:
__output.Write("\r\n\r\n\r\n\r\n\r\n</body>\r\n</html>\r\n");
Line 114: }
Line 115:
Line 116: protected override void FrameworkInitialize() {
Line 117:
SetStringResourcePointer(ASP.agents_aspx.__stringR esource, 346);
Line 118: this.__BuildControlTree(this);
Line 119: this.FileDependencies =
ASP.agents_aspx.__fileDependencies;
Line 120: this.EnableViewStateMac = true;
Line 121: this.Request.ValidateInput();
Line 122: }
Line 123:
Line 124: public override int GetTypeHashCode() {
Line 125: return 216926451;
Line 126: }
Line 127: }
Line 128: }
Line 129:

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

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ann this is a compile time error. You have a synthax error along that line
of code.

"Anna" wrote:
I added a small Web.Config file to the root of my website so that I
could view errors on a machine other than the server:

<configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
</configuration>

However, this immediately threw a different error when I tried to view
a page that already had a coding error of my own. I deleted the
Web.Config file, but I still got the same error, even after restarting.
However, I do not see this error on .aspx pages with no coding errors
of my own - they load properly. Is the .NET framework not installed
properly, so that one instance of Web.Config is causing it to compile
incorrectly even after the file's been deleted? Is it something with
IIS? I read somewhere that you have to specifically tell IIS that the
website is a .NET application, but I don't know how to do that. I am
brand new to ASP.NET, and this problem really has me stumped. Please
help!

The following is the error:

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: CS1513: } expected

Source Error:

Line 112: #line hidden
Line 113:
__output.Write("\r\n\r\n\r\n\r\n\r\n</body>\r\n</html>\r\n");
Line 114: }
Line 115:
Line 116: protected override void FrameworkInitialize() {
Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary
ASP.NET Files\root\2135a508\8d69a834\3zmlx22i.0.cs Line: 114

Show Detailed Compiler Output:
c:\windows\system32\inetsrv>
"c:\windows\microsoft.net\framework\v1.1.4322\csc. exe" /t:library
/utf8output
/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__b77a 5c561934e089\system.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.web.mobile\1.0.5 000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000 .0__b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b77a5c561934e089\system.data.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservic es\1.0.5000.0__b03f5f7f11d50a3a\system.enterprises ervices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\ms corlib.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ Temporary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.dll" /debug- /optimize+
/win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1. 4322\Temporary
ASP.NET Files\root\2135a508\8d69a834\3zmlx22i.res" /warnaserror /w:1
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.0.cs(114,10) : error CS1513: }
expected

Show Complete Compilation Source:
Line 1:
//------------------------------------------------------------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and
will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//------------------------------------------------------------------------------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27: public class agents_aspx : System.Web.UI.Page,
System.Web.SessionState.IRequiresSessionState {
Line 28:
Line 29: private static int __autoHandlers;
Line 30:
Line 31: private static bool __initialized = false;
Line 32:
Line 33: private static object __stringResource;
Line 34:
Line 35: private static System.Collections.ArrayList
__fileDependencies;
Line 36:
Line 37:
Line 38: #line 2 "c:\inetpub\wwwroot\agents.aspx"
Line 39:
Line 40: protected void Page_Load(Object sender, EventArgs e) {
Line 41: pageStep = Request.QueryString["step"];
Line 42: }
Line 43:
Line 44: #line default
Line 45: #line hidden
Line 46:
Line 47: public agents_aspx() {
Line 48: System.Collections.ArrayList dependencies;
Line 49: if ((ASP.agents_aspx.__initialized == false)) {
Line 50: ASP.agents_aspx.__stringResource =
System.Web.UI.TemplateControl.ReadStringResource(t ypeof(ASP.agents_aspx));
Line 51: dependencies = new
System.Collections.ArrayList();
Line 52:
dependencies.Add("c:\\inetpub\\wwwroot\\agents.asp x");
Line 53: ASP.agents_aspx.__fileDependencies =
dependencies;
Line 54: ASP.agents_aspx.__initialized = true;
Line 55: }
Line 56: }
Line 57:
Line 58: protected override int AutoHandlers {
Line 59: get {
Line 60: return ASP.agents_aspx.__autoHandlers;
Line 61: }
Line 62: set {
Line 63: ASP.agents_aspx.__autoHandlers = value;
Line 64: }
Line 65: }
Line 66:
Line 67: protected System.Web.HttpApplication
ApplicationInstance {
Line 68: get {
Line 69: return
((System.Web.HttpApplication)(this.Context.Applica tionInstance));
Line 70: }
Line 71: }
Line 72:
Line 73: public override string TemplateSourceDirectory {
Line 74: get {
Line 75: return "/";
Line 76: }
Line 77: }
Line 78:
Line 79: private void
__BuildControlTree(System.Web.UI.Control __ctrl) {
Line 80: __ctrl.SetRenderMethodDelegate(new
System.Web.UI.RenderMethod(this.__Render__control1 ));
Line 81: }
Line 82:
Line 83: private void
__Render__control1(System.Web.UI.HtmlTextWriter __output,
System.Web.UI.Control parameterContainer) {
Line 84:
__output.Write("\r\n\t\r\n<html>\r\n<head>\r\n<met a name=\"GENERATOR\"
Content=\"Microsoft Visual Studio .NET" +
Line 85: " 7.1\">\r\n</head>\r\n<body>\r\n\t<!-- ");
Line 86:
Line 87: #line 13 "c:\inetpub\wwwroot\agents.aspx"
Line 88: if (Request.QueryString["step"] == "select") {
Line 89:
Line 90: #line default
Line 91: #line hidden
Line 92: __output.Write(" -->\r\n\t");
Line 93:
Line 94: #line 14 "c:\inetpub\wwwroot\agents.aspx"
Line 95: if (pageStep == "select") {
Line 96:
Line 97: #line default
Line 98: #line hidden
Line 99: this.WriteUTF8ResourceString(__output, 0, 346,
true);
Line 100:
Line 101: #line 33 "c:\inetpub\wwwroot\agents.aspx"
Line 102: } else {
Line 103:
Line 104: #line default
Line 105: #line hidden
Line 106: __output.Write("\r\n\t\thi there!\r\n\t");
Line 107:
Line 108: #line 35 "c:\inetpub\wwwroot\agents.aspx"
Line 109: }
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113:
__output.Write("\r\n\r\n\r\n\r\n\r\n</body>\r\n</html>\r\n");
Line 114: }
Line 115:
Line 116: protected override void FrameworkInitialize() {
Line 117:
SetStringResourcePointer(ASP.agents_aspx.__stringR esource, 346);
Line 118: this.__BuildControlTree(this);
Line 119: this.FileDependencies =
ASP.agents_aspx.__fileDependencies;
Line 120: this.EnableViewStateMac = true;
Line 121: this.Request.ValidateInput();
Line 122: }
Line 123:
Line 124: public override int GetTypeHashCode() {
Line 125: return 216926451;
Line 126: }
Line 127: }
Line 128: }
Line 129:

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

Nov 19 '05 #2

P: n/a
Anna,
Compiler Error Message: CS1513: } expected
You're missing a closing brace

Andy
"Anna" <BC*****@gmail.com> wrote in message
news:11*********************@l41g2000cwc.googlegro ups.com... I added a small Web.Config file to the root of my website so that I
could view errors on a machine other than the server:

<configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
</configuration>

However, this immediately threw a different error when I tried to view
a page that already had a coding error of my own. I deleted the
Web.Config file, but I still got the same error, even after restarting.
However, I do not see this error on .aspx pages with no coding errors
of my own - they load properly. Is the .NET framework not installed
properly, so that one instance of Web.Config is causing it to compile
incorrectly even after the file's been deleted? Is it something with
IIS? I read somewhere that you have to specifically tell IIS that the
website is a .NET application, but I don't know how to do that. I am
brand new to ASP.NET, and this problem really has me stumped. Please
help!

The following is the error:

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: CS1513: } expected

Source Error:

Line 112: #line hidden
Line 113:
__output.Write("\r\n\r\n\r\n\r\n\r\n</body>\r\n</html>\r\n");
Line 114: }
Line 115:
Line 116: protected override void FrameworkInitialize() {
Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary
ASP.NET Files\root\2135a508\8d69a834\3zmlx22i.0.cs Line: 114

Show Detailed Compiler Output:
c:\windows\system32\inetsrv>
"c:\windows\microsoft.net\framework\v1.1.4322\csc. exe" /t:library
/utf8output
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__ b03f5f7f11d50a3a\system.w
eb.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c561934e089\system.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.x
ml.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5 000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000 .0__b03f5f7f11d50a3a\syst
em.drawing.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b77a5c561934e089\system.
data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservic es\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\ms corlib.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ Temporary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.dll" /debug- /optimize+
/win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1. 4322\Temporary
ASP.NET Files\root\2135a508\8d69a834\3zmlx22i.res" /warnaserror /w:1
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\2135a508\8d69a834\3zmlx22i.0.cs(114,10) : error CS1513: }
expected

Show Complete Compilation Source:
Line 1:
//--------------------------------------------------------------------------
---- Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and
will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//--------------------------------------------------------------------------
---- Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27: public class agents_aspx : System.Web.UI.Page,
System.Web.SessionState.IRequiresSessionState {
Line 28:
Line 29: private static int __autoHandlers;
Line 30:
Line 31: private static bool __initialized = false;
Line 32:
Line 33: private static object __stringResource;
Line 34:
Line 35: private static System.Collections.ArrayList
__fileDependencies;
Line 36:
Line 37:
Line 38: #line 2 "c:\inetpub\wwwroot\agents.aspx"
Line 39:
Line 40: protected void Page_Load(Object sender, EventArgs e) {
Line 41: pageStep = Request.QueryString["step"];
Line 42: }
Line 43:
Line 44: #line default
Line 45: #line hidden
Line 46:
Line 47: public agents_aspx() {
Line 48: System.Collections.ArrayList dependencies;
Line 49: if ((ASP.agents_aspx.__initialized == false)) {
Line 50: ASP.agents_aspx.__stringResource =
System.Web.UI.TemplateControl.ReadStringResource(t ypeof(ASP.agents_aspx));
Line 51: dependencies = new
System.Collections.ArrayList();
Line 52:
dependencies.Add("c:\\inetpub\\wwwroot\\agents.asp x");
Line 53: ASP.agents_aspx.__fileDependencies =
dependencies;
Line 54: ASP.agents_aspx.__initialized = true;
Line 55: }
Line 56: }
Line 57:
Line 58: protected override int AutoHandlers {
Line 59: get {
Line 60: return ASP.agents_aspx.__autoHandlers;
Line 61: }
Line 62: set {
Line 63: ASP.agents_aspx.__autoHandlers = value;
Line 64: }
Line 65: }
Line 66:
Line 67: protected System.Web.HttpApplication
ApplicationInstance {
Line 68: get {
Line 69: return
((System.Web.HttpApplication)(this.Context.Applica tionInstance));
Line 70: }
Line 71: }
Line 72:
Line 73: public override string TemplateSourceDirectory {
Line 74: get {
Line 75: return "/";
Line 76: }
Line 77: }
Line 78:
Line 79: private void
__BuildControlTree(System.Web.UI.Control __ctrl) {
Line 80: __ctrl.SetRenderMethodDelegate(new
System.Web.UI.RenderMethod(this.__Render__control1 ));
Line 81: }
Line 82:
Line 83: private void
__Render__control1(System.Web.UI.HtmlTextWriter __output,
System.Web.UI.Control parameterContainer) {
Line 84:
__output.Write("\r\n\t\r\n<html>\r\n<head>\r\n<met a name=\"GENERATOR\"
Content=\"Microsoft Visual Studio .NET" +
Line 85: " 7.1\">\r\n</head>\r\n<body>\r\n\t<!-- ");
Line 86:
Line 87: #line 13 "c:\inetpub\wwwroot\agents.aspx"
Line 88: if (Request.QueryString["step"] == "select") {
Line 89:
Line 90: #line default
Line 91: #line hidden
Line 92: __output.Write(" -->\r\n\t");
Line 93:
Line 94: #line 14 "c:\inetpub\wwwroot\agents.aspx"
Line 95: if (pageStep == "select") {
Line 96:
Line 97: #line default
Line 98: #line hidden
Line 99: this.WriteUTF8ResourceString(__output, 0, 346,
true);
Line 100:
Line 101: #line 33 "c:\inetpub\wwwroot\agents.aspx"
Line 102: } else {
Line 103:
Line 104: #line default
Line 105: #line hidden
Line 106: __output.Write("\r\n\t\thi there!\r\n\t");
Line 107:
Line 108: #line 35 "c:\inetpub\wwwroot\agents.aspx"
Line 109: }
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113:
__output.Write("\r\n\r\n\r\n\r\n\r\n</body>\r\n</html>\r\n");
Line 114: }
Line 115:
Line 116: protected override void FrameworkInitialize() {
Line 117:
SetStringResourcePointer(ASP.agents_aspx.__stringR esource, 346);
Line 118: this.__BuildControlTree(this);
Line 119: this.FileDependencies =
ASP.agents_aspx.__fileDependencies;
Line 120: this.EnableViewStateMac = true;
Line 121: this.Request.ValidateInput();
Line 122: }
Line 123:
Line 124: public override int GetTypeHashCode() {
Line 125: return 216926451;
Line 126: }
Line 127: }
Line 128: }
Line 129:

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

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.