473,583 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ 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 MyFileSystemObj ect =
Server.CreateOb ject("Scripting .FileSystemObje ct")
Set MyTextFile =
MyFileSystemObj ect.OpenTextFil e(Server.MapPat h("clientlist.h tm"), 8,
TRUE)
MyTextFile.Writ eLine("<p>")
MyTextFile.Writ eLine("<strong> ")
MyTextFile.Writ eLine("<LI>")
MyTextFile.Writ eLine(Request.f orm("company"))
MyTextFile.Writ eLine("<br>")
MyTextFile.Writ eLine("</strong>")
MyTextFile.Writ eLine(Request.f orm("person"))
MyTextFile.Writ eLine("<br>")
MyTextFile.Writ eLine(Request.f orm("address"))
MyTextFile.Writ eLine("<br>")
MyTextFile.Writ eLine("Ph. ")
MyTextFile.Writ eLine(Request.f orm("phone"))
MyTextFile.Writ eLine("</p>")
MyTextFile.Writ eLine("<center> ")
MyTextFile.Writ eLine("<font size=2>")
MyTextFile.Writ eLine("<a href=#top>")
MyTextFile.Writ eLine("Top of Page")
MyTextFile.Writ eLine("</a>")
MyTextFile.Writ eLine("</font>")
MyTextFile.Writ eLine("</center>")
MyTextFile.Clos e
response.redire ct("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 1040
Paramjeet Singh wrote:
I was writing data to an html file through the following cide written
a file called "append.asp "

<%
Set MyFileSystemObj ect =
Server.CreateOb ject("Scripting .FileSystemObje ct")

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.publi c.inetserver.as p.general:
I was writing data to an html file through the following cide written a
file called "append.asp "

<%
Set MyFileSystemObj ect=Server.Crea teObject("Scrip ting.FileSystem Object")
Set MyTextFile=MyFi leSystemObject. OpenTextFile(Se rver.MapPath ("clientlist.ht m"), 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
18935
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 any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it...
699
33656
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 capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it...
92
6407
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? cheers, reed
137
7027
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 pragmatic - 3) I usually move forward when I get the gut feeling I am correct - 4) Most likely because of 1), I usually do not manage to fully explain...
125
14637
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 software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
44
4173
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 must be many know the answer here. thanks
12
3284
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. Such things happen. The whole subsystem is going through radical changes. I don't really want to say what I think of the code just yet. That would...
121
9987
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 support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather...
46
4183
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 believe MSFT should do to improve C#, however. I know that in the "Whidbey" release of VS.NET currently
13
5029
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
7895
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7935
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8193
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5374
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3818
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3843
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2333
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 we have to send another system
0
1157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.