Forum Moderators: open

Message Too Old, No Replies

Uploading ASP.NET project to webserver

Trial to upload ASP.NET project to Brinkster Free Webserver failed

         

sun1967

9:28 pm on Jun 20, 2003 (gmt 0)

10+ Year Member



Hello

I have created a basic asp.net project to display "Hello world" in a label. I have upload the entire project folder to Brinkster free server. Brinkster does not support following

"1. In the General and General SE Solutions Code Behind is not supported.

2. All of your .NET code must be written in-line. This means that you must put all of your .NET code (VB.NET, C#, etc) in the .aspx file (or .asmx, .ascx, etc).

3. You will not have use of the global.asax file. (Premium X4-X10 Users can use this file.) ".

I am getting following error while trying to execute the URL

<snip>

"Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'test.WebForm1'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="test.WebForm1" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>"

Is it because brinkster free webserver doesnt support code behind? I have tried my best. But failed to rectify the same. Can somebody help on this

Many thanks
Sun1967

[edited by: Xoc at 11:15 am (utc) on June 21, 2003]

Xoc

11:19 am on Jun 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Obviously you are using code-behind and they prohibit it. So that would be where I'd start. If you are going to code in one file instead of using code-behind, I strongly suggest using webmatrix [asp.net] to develop your web site. It doesn't use code-behind.

sharbel

7:21 pm on Jun 21, 2003 (gmt 0)

10+ Year Member



I was going to reply bashing the company for not allowing code-behind but then realized its that free service.. not much you can say when its free :) I personally host all my applications on my own server, but if I was going to get a host I have heard a lot of good things about Host For Life.. good .NET host aparently.