Jump to content

clearsky

Members
  • Posts

    8
  • Joined

  • Last visited

clearsky's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yep, After i converted the code to use C# instead of VB it works... Here is the examples: default.aspx: <%@ page language="C#" %> <script runat="server"> void Button1_Click(object sender, System.EventArgs e) { Label1.Text = "Hello " + TextBox1.Text; } </script> <html> <head> <title>ASP.NET Inline Pages</title> </head> <body> <form id="Form1" runat="server"> <h1>Welcome to ASP.NET 2.0!</h1> <b>Enter Your Name:</b> <asp:TextBox ID="TextBox1" Runat="server"/> <asp:Button ID="Button1" Text="Click Me" OnClick="Button1_Click" Runat="server"/> <br /> <br /> <asp:Label ID="Label1" Text="Hello" Runat="server" /> </form> </body> </html> web.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation defaultLanguage="c#" debug="true"/> <customErrors mode="Off" /> <authentication mode="Windows" /> <authorization> <allow users="*" /> </authorization> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> </system.web> </configuration> Put both files in the same directory. Thanks.
  2. Wrong forums, go ask the aspx guys. Well after some digging, it seems that its monos that are missing the VB codebase.. or that the VB compiler is not in the Path...
  3. Thanks, now i got the error.. but what to so about it is the big question: Process has not been started. Description: HTTP 500. Error processing request. Stack Trace: System.InvalidOperationException: Process has not been started. at System.Diagnostics.Process.get_ExitCode () [0x00000] at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ExitCode () at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.String virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.String virtualPath) [0x00000] at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x00000] at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000] at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000] here is my web.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation defaultLanguage="c#" debug="true"/> <customErrors mode="Off" /> <authentication mode="Windows" /> <authorization> <allow users="*" /> </authorization> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> </system.web> </configuration>
  4. Server Error in '/' Application -------------------------------------------------------------------------------- Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> but dont know how where, or how to change the web.config
  5. im trying to get this to work, but have no idea why it dont work here... <%@ page language="VB" %> <script runat="server"> Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Label1.Text = "Hello " & TextBox1.Text End Sub </script> <html> <head> <title>ASP.NET Inline Pages</title> </head> <body> <form id="Form1" runat="server"> <h1>Welcome to ASP.NET 2.0!</h1> <b>Enter Your Name:</b> <asp:TextBox ID="TextBox1" Runat="server"/> <asp:Button ID="Button1" Text="Click Me" OnClick="Button1_Click" Runat="server"/> <br /> <br /> <asp:Label ID="Label1" Text="Hello" Runat="server" /> </form> </body> </html>
  6. yep, both my internal dns server and the external side aswell: > travian.clearsky.dk Server: ratatosk.DK.net Address: 193.88.44.22 Non-authoritative answer: travian.clearsky.dk internet address = 65.19.143.3 travian.clearsky.dk primary name server = ns1.heliohost.org responsible mail addr = ashoat.gmail.com serial = 2008112002 refresh = 86400 (1 day) retry = 7200 (2 hours) expire = 3600000 (41 days 16 hours) default TTL = 86400 (1 day) travian.clearsky.dk MX preference = 0, mail exchanger travian.clearsky.dk nameserver = ns2.heliohost.org travian.clearsky.dk nameserver = ns1.heliohost.org travian.clearsky.dk nameserver = ns2.heliohost.org travian.clearsky.dk nameserver = ns1.heliohost.org > but hey - it looks like its working now thanks a bunch
  7. Hi The other day(wedensday at 02:30 GMT) i regitered an account, but its still not activated here is the confirmation email: (username and password have been masked out) and the site seems ot have been down all of yesterday, what happened? Dear clearsky, Your hosting account at HelioHost has been installed. Here is your account information: Username: ******** Password: ******* Domain: travian.clearsky.dk Control Panel URL: http://travian.clearsky.dk/cpanel Please note that you may have to wait for account validation before your account becomes active. If this is so, you will see a suspended message on your domain until validation. Regards, HelioHost Staff
×
×
  • Create New...