Code not being used as code? :S

Status
Not open for further replies.

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
It must be ASPX not ASP.

.aspx is Microsoft ASP.NET, .asp is Microsoft ASP. X10 only supports ASP.NET
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
ASP.NET and ASP are similar but not the same, in the same way that windows XP, Vista and Seven are similar but not the same.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
In addition to diabolo's link:

in short, no
http://msdn.microsoft.com/en-us/library/ms973813(lightweight).aspx


ASP is the classic version.
ASP.Net has 1.0, 1.1, 2.0, 3.0, and 3.5 (might have missed a couple). But you will generally use 2.0 and up.
ASPX is the new file extension for ASP.Net

Sorry to complicate things further, but X10 only supports all of 1.0 and 1.1, most of 2.0, and a little of 3.5 because we use Linux based servers and have to emulate support for ASP.NET through mono http://www.mono-project.com/ASP.NET

It looks like you've changed the extension and are now getting an error. The web.config file is one of the biggest pains for switching to Mono from Windows IIS server. The guys in programming help should be able to help you no problem http://forums.x10hosting.com/programming-help
 
Last edited:

martynball

New Member
Messages
60
Reaction score
0
Points
0
:S I am basically a noob with code Lol.

So I don't really know what to do, the includes don't work, I know that, how do I convert the code to aspx?

Edit:

Okay, cheers :)
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
After looking at it again, I do think it's plain ASP. Did you download Visual Studio Web Developer Express Edition? It's free and it's the best IDE for ASP.NET hands down. That would be the first thing I would do. It may have some tools to convert, but I don't think so. You really kinda have to start all over again.

I don't know of any hosts that support plain ASP, but I haven't looked. It seems to me to be more or less a dying language.
 
Last edited:

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
Okay, cheers :)

Hi martynball,

Now that your original problem has been addressed and solved, and you have not posted a response back in over 48 hours, I am going to close this thread to mark it as resolved. Feel free to create a new support request if you need more help or have any additional questions.

- Adam
 
Status
Not open for further replies.
Top