Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




ASP HTTP/1.1 Problems


We have written a small asp page to accept an HTTP request, pass the request onto an Oracle database for processing and then return the results.

This works find when we call it using HTTP/1.0 but if we use HTTP/1.1 or above it doesn't work. Here's the code:




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Error ASp .NET WEb Service : URL:'http://localhost/WebService1. HTTP/1.1 302 Found"
i'm using windows XP, IIS 5.1, Visual .NET 2003 and SQL Server 2000.

When I open New Project - Visual C# Projects - ASP .NET Web Service -

Location : http://localhost/WebService1

After that i click OK, then it returns error

"The web server reported the following error when

attempting to create or open the web project

located at the following

URL:'http://localhost/WebService1. HTTP/1.1 302 Found"

After that i try this : Code:

HTTP 405
in ie 5 i m writing this below statement
http://localhost/Mail/email.html

email.html page contains 3 field box username , password and name .it calls the form2email.asp page
the code is that
<FORM name="mailform" METHOD=POST ACTION="form2email.asp">

but when it calls that page ie5 shows error

HTTP 405 - Resource not allowed
Internet Explorer

what is the problem

XML HTTP + ASP
I'm using XML HTTP in an ASP to import HTML content for clients from
their existing web pages. But for some reason, the tabs are now ?'s

What can I do to handle this?

Http://
If someone puts a link into my form and I display it it will show:

http://http://www.abc.com as I put an additional http:// in front. So what I want is to detect is user has typed in http://, replace this and then input into DB or display.

I can use the replace function, but how would I check if first 7 characters are http:/

HTTP 403.9
I uninstall IIS and install it back again, will it solve the "HTTP 403.9 - Access Forbidden: Too many users are connected Internet Information Services" problem? I am running on Windows XP and using IIS 5.1 . I got this problem when I created a search page in Frontpage but I have deleted it when I found out I have this problem. I have disable HTTP Keep Alives in the IIS properties but I still cant resolve the problem.

HTTP 500.100
When i try to post message or try to open a new account server gives this error :
How can solve this problem

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
/Start/Forum/register_new_user.asp, line 193

HTTP 500.100
I am getting the following error when trying to run an SQL insert in my ASP page and I cannot find anything in TechNet that references this error.

Below are IIS messages:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E14)
Issue selected is no longer valid. Please select another issue.
/ActivityTrak/maintain/activityedit.asp, line 542

HTTP Header
i have heard that when you login from an NT login box the username gets passed on in the HTTP header. If so how can I get that information?

HTTP Upload
I'm having problems with timeouts on HTTP uploads. I set the session timeout property to zero, but it still didn't work. Is there a way to set the timeout to never expire?

HTTP Error 500
Window XP PRO, Access 2000, FR2002, FP2002 ext.
I have 3 webs with database, two work fine, the other
gives this error.

Microsoft OLE DB Provider for ODBC Drivers
error '80004005'


Microsoft][ODBC Microsoft Access Driver] The Microsoft
Jet database engine cannot open the file '(unknown)'. It
is already opened exclusively by another user, or you
need permission to view its data.

I had to reinstall Window and published all the web site
from ISP were they work fine. They worked fine before the
crash.

Check For Http?
I have a form that a user submits their clan's website, and roster page.
What I want to do, is check to see if the field submitted contained
"http://" and if not, add it to the field submission.

I know i can make this easier, and put the http:// in the field as a default
value, but i want to know how to do this with a bit of form validation or
something.

HTTP Server
I have free web-based email.Is there any way I can create an http server? For example, like hotmail does for outlook express? If so, how? Hotmails HTTP server is at http://services.msn.com/svcs/hotmail/httpmail.asp.

HTTP 500.100 Error
I am having a problem re-configuring the intranet server to connect ASP page with Oracle Database. I have a system DSN created with oracle. I am using the Microsoft ODBC for Oracle driver.

However, I am still getting the error below:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Error Type:
Microsoft VBScript runtime (0x800A01C2)
Wrong number of arguments or invalid property assignment: 'OOS.GETINFO'
/otis/common/memolist.inc, line 63

The file coding is: Code:

HTTP Headers
If I want to have a username/password dialog in my page, how can I add
http header in ASP for username/password dialog? I want to hardcode
the username/password in my page and check the authentication.

MS XML HTTP REQUEST
Why ASP's MS XML HTTP request object gets another page's HTML source
without interpreting path differences. For example, if my page is:

www.test.asp/one/two/page1.asp

with XMLHTTP getting source code of page:

www.test.asp/one/page2.asp

and this latter page has a CSS with path ../include/css.css, it won't
be used in page1.asp because path will stay as it is "../include/
css.css", not "../../include/css.css" as needed for page1.asp?

Using Http Post With Xml
I created a form for users to sign up for a newsletter our site sends out. The thing is we use a third party that keeps a db of our subscribers and sends the email for us. The signup resides on our site and when the user submits they get poasted to this third party site and then click through and get refreshed to our site again.

We want change that process and keep the user on our site so now thier values need to get posted to the 3rd party behind the scenes. Code:

Http Or Https
I'm trying to detect if the user is utilizing HTTP or HTTPS in the address
bar. The following code responds true regardless of whether I use HTTP or HTTPS.
What should I be using? In the end, if the user types in HTTP, I will
redirect them to HTTPS.

<%
If Request.Servervariables("https") <> "" Then
Response.Write "this is https...OK!!!"
End If
%>

HTTP.Open
In our ASP page, we call XMLHttp to download XML files. When calling our
page using localhost (localhost/myWebSite/myPage.htm), it works, but when
calling using the IP address of the web server
(xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the
HTTP.Open statement.

Set http = CreateObject("Microsoft.XmlHttp")
http.open "Get", "http://" & "xx.x.x.xxx" & "/XMLFiles/N-1min.xml",
ALSE --> permission denied error

Why do I get permission denied error on the HTTP.Open, and how to fix it ?


Xml Http Iis Caching
i want to info about iis caching and a special one when i get the a site with xml http it is caching by iis ... what is the refresh period and data amount of this caching...

could anyone give me a info or url to take more info...

HTTP POST
I'm working with the Paypal shopping cart and there is an option to use Instant Payment notification (IPN) to automate your inventory when you get a sale.
Anyway...I need to take their POST info and re-POST it to their server for coinfirmation. I've found some COM objects to handle this sort of thing, but they usually want money. I haven't found any good tutorials explaining how to do an HTTP POST in an ASP page.

HTTP Header
I have two sites on my computer. If I display the header information from
site 1, it displays PATH_TRANSLATED as below.

D:kbapplicationprogramuihttpClientPortalkba rticleindex.asp

If I display the header information from site 2, it display PATH_TRANSLATED
as below.

D:kbapplicationprogramuihttpCustomerPortaldi splay2search.asp, except
the here is W with a line going across it. For some reason, when I paste
it here, it changes to , but in IE, it's W with a horizontal line.

Error Http 500
i want to send email with asp but i receive error http 500 i dont know it`s reason?.
what can i do? i use "cdont" object

Getting Other Sites Using HTTP
Cold Fusion has this tag called <CFHTTP> which allows you to grab the contents of a web site and put it in a variable. It works well because we can grab our dynamically generated header and display it on our cold fusion sites.

We have a couple of ASP sites and we want to do the same thing for them. However I am not sure if ASP has the same exact type of tag. Does anyone know?

ASP HTTP Component
Is there any good and reliable Upload Component for ASP (or ASP.NET)? I
need one which provides an upload status bar.As well, it must be able to handle more than 4 gigabytes of data transfer.Internet connections can be unreliable at times. This component needs to be able to resume broken uploads.

HTTP 405 Error
i'm trying to call a html page from an asp page which prints its contents, but i keep getting this error, The page cannot be displayed: HTTP 405 Resource not allowed

any ideas anyone?

ASP HTTP GET Method
I have a service provider that's sends sms messages from clients mobile
phones to my asp page, problem is I don't know how to show the data and they
are not being helpful.
The process is simple as outlined below (instructions from service provider

Example: If you provide this: http://www.yourdomain.com/sms/sms.asp then we
will do a post via a standard HTTP GET as follow:

http://www.yourdomain.com/sms/sms.a...ISO-8859-1&udh=
How do I receive the url with the parameters in the address bar?

Http Post
i'm tring to send post data using
set objSrvHTTP = Server.CreateObject ("WinHTTP.WinHTTPRequest.5.1")
....
objSrvHTTP.send xmlstring

but the transfer rate is very low(4 min per MB on LAN)..
some ideas?

(with MSXML2.ServerXMLHTTP.4.0 is equal)

Http Referer
i am using the http referer and i get null value from some computers

and the correct value from other computers,

all the computers are using the same code!!

Can I Do A SSI By Http Address?
I have to be able to include a file via http address. Is this possible?

ex: How can I do the following and make it work...

<!--#include file="http://www.espn.com/somefile.asp"-->

or

<!--#include virtual="http://www.espn.com/somefile.asp"-->

HTTP 500 Error
When I view my live data on my system (IIS on XP) I can see my recordsets and the data just fine. When I ftp the pages to my site, I cannot even get them to load properly - I get the error above or "Page Not Found" (a DreamWeaver error), etc. But when I ftp'd a sample "time" script, it works just fine.

Why does the time script work, but my pages with sample recordsets not work - they will not even allow me to open them?

HTTP 400 - Bad Request
I have configured XP and IIS according to some security checklist on the internet.
I restarted machine after I renamed and set pw for my admin account.

The IIS isn't working now. I get this:

HTTP 400 Bad Request Error
The parameter is incorrect

In other words, The syntax of the request is badly formulated or is impossible to satisfy
I scanned my system with SPYBOT, no spyware found.

HTTP 500 Error
WHen I try to run ASP (JS or VB) scripts I get the HTTP
500: Internal Server Error

I can run a simple <%=Request.QueryString=%> command but
if I have to access a database or press F12 to preview a
page in Dreamweaver MX, it gives me the error

How do I fix this?

HTTP 500 Error IIS 6.0 ASP
I'm having a frustrating time trying to debug an ASP (not ASP.NET) app on my W2003 dev server running II6.

I continually get a HTTP 500 error message despite configuring IIS 6 to enable ASP debugging and to send detailed error message to the client.

Http Pages
I was hoping someone may knew what options I can have for applications (data0bound) like powerbuilder or access running on the internet, or even my own applications talking to for example a database, but not necessarily using the request response model traditionally on the internet?

HTTP Referrer
I'd like to limit access to an ASP script by checking that they came through the correct path. I believe that I can do this by checking that the scriptname that they came from was myscript.asp

How do I go about doing this though? Are there any problems with relying on Referrer? I heard something about Norton Firewall screwing it up

Add Http Header
If I want to have a username/password dialog in my page,how can I add http header in ASP for username/password dialog? I want to hardcode the username/password in my page and check the authentication.

HTTP Post
It seems to me that if I can have a regular .asp page that contains multiple <input type='file'> elements, and a user could browse to individual files and fill up all the elements on the page, that there should be a way to replicate the HTTP post data. Can
I somehow make my client-side activeX component post the same type of data?

I tried using MS Stress Tool to view the post data being sent from a regular.asp page that contained several <input type='file'> elements.I saw that there was a structure to it. The structure contained the binary data of the files I had selected for upload. But, I have not been able to figure out how I would replicate this structure in my
client-side activeX component

Http://localhost Is Not Available
Installed IIS on w2k pro, started Personal Web server and pointed the home catalogue to the folder with my asp codes. However IE keeps saying that http://localhost is not available without Internet connection. Such thing often happend on other computers, but after several refresh it worked. How shall I get rounf this now?

HTTP Headers
I am getting the following error on one of my asp pages.The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.I think I understand what the problem is, but what I am curious about
is I only get this problem when the page resides on my web server (Windows 2K3).

However when it resides on my development machine (Windows XP with IIS 5.1) I do not have this problem. The browser is the same in both instances. Is there a setting somewhere in IIS that is responsible for this different behavior?

Http Error
I am getting this error when I am trying to calling another asp page via verify email link...not sure what is it.
"
HTTP/1.1 404 Object Not Found

HTTP 1.1/400 Bad Request
I have been trying to figure out why I am getting this message.I have an application that is 20 different ASP pages that works in sequential order (step1, step2, step3...). After each step the app writes the entered text to a cookie. This feature is so that if there is a problem, we can still retrieve the data.

This Bad Request error has something to do with the cookie that is written to, because I can go all the way through the app to the last step (step20) and then it gives me a Bad Request. If I clear my cookies then it works fine, until step 20 again.

what may be going on here? I am guessing that it has to do with the size of the cookie, but I am unsure how I can accomplish this task allowing the entered data to be retrieved) without cookies.

Http Authentication
How do you do this in ASP, i have here a sample http uathentication in PHP ?PHP Code:

<?php
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm="My Realm"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel buttonn";
exit;
} else {
echo "Hello $PHP_AUTH_USER.<P>";
echo "You entered $PHP_AUTH_PW as your password.<P>";
}
?>

Get Http Results
I want to pass theHTTP content from one a static file into another file and then serve it to the browser using ASP. Can anyone tell me how to do this?

Http Error
Everytime when I redirect from one particular page to another, it will raise 4 exceptions, before Page_Load routine runs. I can't figure out a way tofind out what are the exceptions. When I use Application Center Test, number of Http errors rises with the number of requests, so I suspect those are Http exceptions.

The worst part is that, when total number of exceptions accumulated to certain extent, it seems to cause messive exceptions in aspnet_wp.exe process (24000 per second), which easily max out the processor. I can't end it unless I manually kill the process.

how I can figure this problem, or what you think may cause this kind of error?

Send SMS Thru HTTP
Is it possible to send SMS through a web browser? If it is possbile, has does one go about making it?

Http Authetication
Are there ways to do http authetication? Or able to emulate .htaccess. For eg: User reach a directory, there will be a pop up asking the user to enter a user id and password.

HTTP AUTH_USER
Can I set the ServerVariables AUTH_USER and AUTH_PASSWORD without requiring the client to actually enter an HTTP login and password?

I have an asp page setup that authenticates a user against the user information stored in our database. Now, after authentication via our database, I would like to set the AUTH_* server variables so that when I can redirect this client to a directory which is set up to require authentication to access.

The important thing here is that the only thing the user sees is my authentication mechanism, not the standard HTTP authentication window. I also don't want to maintain a zillion user accounts on the machine, I want set all the users who authenticate against my database to be set to the same AUTH_USER.

HTTP REFERER Bug
I built a site half a year ago with form that submits to page that processes the info and then returns the user back to the page they came from using HTTP_REFERER.

There's one guy -- using an identical set-up to our main testing platform -- who kept getting the "URL required" error when doing this. For some reason, on his system alone, HTTP_REFERER was not collecting any referring URL. Is it common for HTTP_REFERER to wuss out like this? What causes it?

MSXML2.HTTP
I am almost certain that I could use HTTP Post/Get to submit XML Web Service call (over SSL as well, if using Version 3 of MSXML2) from an ASP Application?

However, would I only be able to call web-service in a an asynchronous mode (with a callback function)? If so, how?


Copyright © 2005-08 www.BigResource.com, All rights reserved