•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 392,271 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,678 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 948 | Replies: 0
•
•
Join Date: Jun 2006
Location: UK (Bristol)
Posts: 225
Reputation:
Rep Power: 3
Solved Threads: 1
Hello all. I am trying to write an SSJS application to process the submissions from a form on my website. I downloaded the Mono .NET compiler, which has a JScript.NET compiler in it. I believe JScript.NET is a superset of Javascript (and my host has a Javascript runtime engine) so this seemed appropriate. However, I'm getting compile errors from some very basic statements. For example:
This brings up numerous errors starting with:
If anyone can point out my silly mistakes I would really appriciate it. Thanks.
Steven.
<server>
var file1 = 0;
var success = 0;
var first_name = "0";
var surname = "0";
var e_mail = "0";
var add = "0";
var feedback = "0";
file1 = new File("/logs/newsgroup.txt");
success = file1.open("a");
file1.close();
</server>This brings up numerous errors starting with:
/mnt/floppy/thanks.htm (1, 0) Error: msg.syntax Unhandled exception: System.Exception: must create expr stm with numerous errors.... numerous errors....
If anyone can point out my silly mistakes I would really appriciate it. Thanks.
Steven.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
ad ajax architecture asp backup beta business centro coding compilers crash daniweb database dell developer development doubleclick enterprise errors firefox google home html internet javascript languages linux longhorn microsoft mmorpg msdn news novell office open programming qmail red hat rhel server site smtp software source sql suse vista web windows windows server
- Client Side < -- > Server Side (ASP)
- Javascript: Connecting to database (ASP)
- Compile errors [help] [ log ] (C++)
- 2 Compile errors in my array program (C)
- How to call a ServerSide Script through Javascript (ASP.NET)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: javascript onclick image swap is broken on server side using IE
- Next Thread: How do you grab a value from a stylesheet?



Threaded Mode