473,473 Members | 1,511 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

what is the problem with my ASP Code

I was writing data to an html file through the following cide written a
file called "append.asp"

<%
Set MyFileSystemObject =
Server.CreateObject("Scripting.FileSystemObject")
Set MyTextFile =
MyFileSystemObject.OpenTextFile(Server.MapPath("cl ientlist.htm"), 8,
TRUE)
MyTextFile.WriteLine("<p>")
MyTextFile.WriteLine("<strong>")
MyTextFile.WriteLine("<LI>")
MyTextFile.WriteLine(Request.form("company"))
MyTextFile.WriteLine("<br>")
MyTextFile.WriteLine("</strong>")
MyTextFile.WriteLine(Request.form("person"))
MyTextFile.WriteLine("<br>")
MyTextFile.WriteLine(Request.form("address"))
MyTextFile.WriteLine("<br>")
MyTextFile.WriteLine("Ph. ")
MyTextFile.WriteLine(Request.form("phone"))
MyTextFile.WriteLine("</p>")
MyTextFile.WriteLine("<center>")
MyTextFile.WriteLine("<font size=2>")
MyTextFile.WriteLine("<a href=#top>")
MyTextFile.WriteLine("Top of Page")
MyTextFile.WriteLine("</a>")
MyTextFile.WriteLine("</font>")
MyTextFile.WriteLine("</center>")
MyTextFile.Close
response.redirect("confirm.htm")
%>

Now the same code is not working. What reason is behind that. If there
is any coding problem please do let me know as I am not that much
familiar in debugging ASP.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #1
2 1029
Paramjeet Singh wrote:
I was writing data to an html file through the following cide written
a file called "append.asp"

<%
Set MyFileSystemObject =
Server.CreateObject("Scripting.FileSystemObject")

Now the same code is not working.
Please try to describe your symptoms without using the words "not working",
"fails", etc. Are you getting errors? Incorrect behavior?
What reason is behind that. If there
is any coding problem please do let me know as I am not that much
familiar in debugging ASP.


Obviously, something has changed on the server. My guess:
http://www.aspfaq.com/show.asp?id=2180

If this is not relevant, then provide more information about your symptoms.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2
Paramjeet Singh wrote on 07 mrt 2005 in
microsoft.public.inetserver.asp.general:
I was writing data to an html file through the following cide written a
file called "append.asp"

<%
Set MyFileSystemObject=Server.CreateObject("Scripting. FileSystemObject")
Set MyTextFile=MyFileSystemObject.OpenTextFile(Server. MapPath ("clientlist.htm"), 8, TRUE)
I suspect the write permission on "clientlist.htm" is not set.
Now the same code is not working.


Describe "not working" please.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
12
by: Steven T. Hatton | last post by:
This is something I've been looking at because it is central to a currently broken part of the KDevelop new application wizard. I'm not complaining about it being broken, It's a CVS images. ...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.