dear frineds,
i have a problem aobut mono asp.net xml and web service service,
sometimes i try to connect my default page for instance index.aspx. when
i start to index.aspx on browser error occure and shown this error page
but this problem doesn^t occur every time.Rarely times i can show
asp.net start page but mostly times not.
How can i solve this problem ??? could you please help me .
thanks.
Title: Compilation Error
Server Error in '/' Application
Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Error message: C:\DOCUME~1\YUSUFB~1\LOCALS~1\Temp\yusufbodur-temp-aspnet-0\a7d33d53\43486.0.cs(47,9) : error CS8025: Parsing error
File name: C:/PROGRA~1/MONO-1~1.10/lib/xsp/test\Global.asax Source File: C:\DOCUME~1\YUSUFB~1\LOCALS~1\Temp\yusufbodur-temp-aspnet-0\a7d33d53\43486.0.cs
Line 1: // ------------------------------------------------------------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Mono 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.Security;
Line 21: using System.Web.SessionState;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26: public class Global_asax : System.Web.HttpApplication {
Line 27:
Line 28: private static bool __intialized = false;
Line 29:
Line 30:
Line 31: void Application_Start (object o, EventArgs args)
Line 32: {
Line 33: Console.WriteLine ("Application_Start");
Line 34: }
Line 35:
Line 36: void Application_End (object o, EventArgs args)
Line 37: {
Line 38: Console.WriteLine ("Application_End");
Line 39: }
Line 40:
Line 41: void Application_BeginRequest (object o, EventArgs args)
Line 42: {
Line 43: if (Request.FilePath == "/index.aspx" && Environment.Version.Major == 2)
Line 44: Response.Redirect ("/index2.aspx");
Line 45: }
Line 46:
Line 47: </script>
Line 48:
Line 49: public Global_asax() {
Line 50: if ((ASP.Global_asax.__intialized == false)) {
Line 51: ASP.Global_asax.__intialized = true;
Line 52: }
Line 53: }
Line 54: }
Line 55:
Line 56: }
|
|
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list