Community discussion forum
Beginning Active Server Pages
-
This thread is for discussions of Beginning Active Server Pages.
-
Advertisement
Simply the fastest line-level profiler for .NET ever
“The low overhead means it has minimal impact on the execution of my program”
Mark Everest, Development Team Leader, Renault F1 Team Ltd.Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now
-
One thing to note, this only works on pages which have been posted to
-
I tried this code out exactly, but I get an INSERT INTO syntax error. I have also tried using the rs.AddNew to add to my database but I get a read-only error. I have tried changing the lock type and cursor types around but I can't get anything to work.
-
U Have to include a file name adovbs.inc file i yr asp page. thenu can use the addnew and update methods
-
Quote: [1]Posted by JadesNet on 22 May 2003 09:07 AM[/1]
I tried this code out exactly, but I get an INSERT INTO syntax error. I have also tried using the rs.AddNew to add to my database but I get a read-only error. I have tried changing the lock type and cursor types around but I can't get anything to work.
pls see t he comment -
I get this error when I submit forminput.asp:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Unknown
/forminput.asp, line 12
What's wrong? I even copied the code over exactly.
the error's with this line:
cConn.Execute sSQL -
It doesn't work it all. I created the table using Access and set of the OBDC fine. What's wrong?
-
I'm beginner of ASP.I make my thesis with ASP.But I've got problem for building project in Visual InterDev.I'd already installed IIS5.It shows web server can't connect.How I do?If it's cause of IIS error,please explain me step by step.let me know solution during five days.please help me.
-
heppens to be that i have the same prolem.
-
i solved the problem a while ago, but i forgot how.
-
chk your SQL statement. Stop before execting cConn.Execute sSQL . Print sSQL and try executing the same in the backend. If it doesnt work then you need to change the SQL statement.
-
thanks, but it wasn't the sql. i did that. it's long since solved.
-
i'd used ActiveX treeview control in my page and created tree by using ASP codings. but the tree is shown as collapsed one on load. i'd tried "TreeView1.Nodes(count).EnsureVisible " which produces an error of "index out of bounds". anyone pls help me as early as possible as i 've to complete by today itself. Thanks -
hi all,
I am very new to ASP technology.
I am in a need to use DLLs (written in C#) in ASP Pages.
Could anyone suggest me how to proceed.
Regards,
MAK, -
The trick for this is to get .NET to generate a TLB library for your the .NET class. In Vs.NET, you can modify the current build profile and set the "Register for COM Interop" section to true. See http://www.c-sharpcorner.com/Code/2002/April/COMInteropP2AJ.asp for more information.
-
What do I do if I need to include a file from a remote storage site other than the one my website is being hosted on. The following doesn't work anymore
<!--#include file = " www.someplace.com/somefile.inc " -->
or even less the " virtual " call which starts searching the virtual directory the website is stored on.
What now?
Do I need to write a routine to access the file remotely then spilling it onto the page using response.write???
-
you can not include a file from a remote storage site other than the one your website is being hosted on , like writing <!--#include file = " www.someplace.com/somefile.inc " --> but by using asp tear codes you can if you have any support this features.
-
"The VB code can act on information passed to the page, such as from an internet form or a querystring (this is data passed in the URL after the ? ... take a look at this pages URL!)"
http://www.developerfusion.com/show/1010 doesn't have a question mark in it...
-
Is there something special I have to do besides saving it as a .asp file, or does it just not work on my server? It just spits out the code, even HTML, as plain text.
Code: <html>
Let's see if ASP works!<br>
<%
Response.Write "Yep!"
%>
</html> -
It does - you just can't see it
We've got an ISAPI filter that rewritse /show/1010/ to something like /show.aspx?id=1010 -
Are you running IIS ? And are you viewing it in your browser via the correct URL? (ie something starting with http:// rather than file:// ) ?
-
hi,
its first i started ASP.I want to know how to save the files.whats the extensions...Where can i get the sample programs
-
Hi,
When I say I'm an ASP beginner, I mean it! I've only written one trivial bit of code, and got a blank page. I see now that's described in the article snippet below. I did indeed go to the saved .asp page on my hard drive!
So my questions:
I have XP, so IIS is presumably installed. In the snippet below, are 'localhost' and c:\inetpub\wwwroot the actual strings to type in? For example, I currently don't have a folder called "inetpub". Do I have to create one? And where on my actual server (starman.co.uk) should I put any ASP pages?
Alternatively, is there a good introductory book you can recommend?- When you create an ASP page, you cannot view it on your hard disk by going to C:MyWebmyasppage.asp. It won't work! That references a direct page on your hard disk, and the server doesn't get a chance to parse any of the ASP code.
- If you have IIS installed, it means your PC is a server (even if your
PC is the only one which can access it)! You can access the pages on
the server at
http://localhost/orhttp://PCName/. The physical location of your web site is by defaultC:\inetpub\wwwroot. Save your ASP pages there, and view them in a browser by visiting the URLs above.
Post a reply
Related discussion
-
how to select item to datagrid from textbox
by chandradev819 (39 replies)
-
handling special character in xslt's
by bussureddy82 (1 replies)
-
String was not recognized as a valid DateTime.
by buvanasubi (22 replies)
-
String size limit and array upperbound limit
by Akhtar Hussain (2 replies)
-
ASP.NET Patterns every developer should know
by AndyGrant2005 (2 replies)
Related articles
Quick links
Recent activity
- Mandy Bradley replied to Loop help needed
- Chris Hsu replied to How can I execute server-si...
- anu anand.lv replied to Excel Oledb Engine and VB.NET
- Rafeeque Ahmed replied to HELP ME, URGENT RESPONSE
- anu anand.lv replied to we search the company in I...
- chandradev prasad replied to how to select item to datag...
Enter your message below
Sign in or Join us (it's free).