473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Catch html output of https page..

I've a web site with a classic asp login page, another where in a textbox i
write a sql query and a third that shows the resulset of the query....

Now i want to create an asp.net application that have only one page with 2
textbox for login, a textbox where i'll write the sql query and a textbox
where shows the html of the previuos third page with the resultset of the
query...

i try using the HttpWebRequest Class but when i try my app my browser shows
me a 500 server error or SSL/TLS error...

where i can find any example to resolve my problem?

Thanx
Nov 18 '05 #1
4 995

"Lorenzo" <Lu*****@libero.it> wrote in message
news:6k******************@tornado.fastwebnet.it...
I've a web site with a classic asp login page, another where in a textbox i write a sql query and a third that shows the resulset of the query....

Now i want to create an asp.net application that have only one page with 2
textbox for login, a textbox where i'll write the sql query and a textbox
where shows the html of the previuos third page with the resultset of the
query...
Maybe you should use a DataGrid for the result: saves you decoding some
unknown resultset.

i try using the HttpWebRequest Class but when i try my app my browser shows me a 500 server error or SSL/TLS error...

where i can find any example to resolve my problem?

Thanx


The HttpWebRequest class is meant to perform requests from the server, not
to read
values from the current request that was started by the browser! Use the
Request property
instead or better: directly use the value of your textboxes!

Did you set <customErrors> to "Off" or "RemoteOnly" (see web.config)? That
way you might see
a better error message.

Hans Kesting
Nov 18 '05 #2
Hans Kesting wrote:
"Lorenzo" <Lu*****@libero.it> wrote in message
news:6k******************@tornado.fastwebnet.it...
I've a web site with a classic asp login page, another where in a
textbox i write a sql query and a third that shows the resulset of
the query....
[CUT]
Maybe you should use a DataGrid for the result: saves you decoding
some unknown resultset.


The problem is that i canno access directly to the database...but when i
post the query the resultset is enbedded in the html of the page opened....
Nov 18 '05 #3
I am not completely following what you are tryin to do - but it sounds like
you need to get the results of a query that was run on a database you don't
have access to. If this is the case, I would suggest using a web service to
execute the query and return the results.

"Lorenzo" <Lu*****@libero.it> wrote in message
news:cU*******************@tornado.fastwebnet.it.. .
Hans Kesting wrote:
"Lorenzo" <Lu*****@libero.it> wrote in message
news:6k******************@tornado.fastwebnet.it...
I've a web site with a classic asp login page, another where in a
textbox i write a sql query and a third that shows the resulset of
the query....
[CUT]

Maybe you should use a DataGrid for the result: saves you decoding
some unknown resultset.


The problem is that i canno access directly to the database...but when i
post the query the resultset is enbedded in the html of the page

opened....

Nov 18 '05 #4
Marina wrote:
I am not completely following what you are tryin to do - but it
sounds like you need to get the results of a query that was run on a
database you don't have access to. If this is the case, I would
suggest using a web service to execute the query and return the
results.


Hi marina...do you know where i can find some examples?

thanx
Nov 18 '05 #5

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

Similar topics

0
by: SteveJ | last post by:
All, Can someone help me solve the next step. First of all let me say I'm new to php. I pieced the following code together from samples I found on the net and a book I bought called PHP...
2
by: Carmine Ascoli | last post by:
Hello There: For some reason there is an underlined hyperlink under the text title describing the first href link to an asp page in my default.htm file. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
0
by: mmike | last post by:
How does the ASP.NET output cache affect an httpS:// (SSL) connection? Suppose I have a default.aspx page that has the following: <%@OutputCache Duration="3600" VaryByParam="None" %> ...
5
by: Lorenzo | last post by:
I've a web site with a classic asp login page (https), another where in a textbox i write a sql query and a third that shows the resulset of the query.... Now i want to create an asp.net...
2
by: Keith Kowalski | last post by:
I anm opening up a text file reading the lines of the file that refer to a tif image in that file, If the tif image does not exist I need it to send an email stating that the file doesn't exist...
5
by: Sean M. Loftus | last post by:
I have a need to call an html page into the pane I'm viewing using a button on an ASP page. The page itself is an ASP page called from a website. I know a link would work but the rest of the page...
7
by: Wladimir Borsov | last post by:
I want to call a perl script myscript.pl in my cgi-bin from a HTML web page. This call should NOT use SSI (because in this case HTTPS://.... protocol is necessary). Furthermore NO button click...
7
by: thersitz | last post by:
I can't seem to get my html form to submit properly from within a web form. Here's my form tag syntax and some delivery hidden fields. <form id="myForm"...
2
by: Brian Simmons | last post by:
Hi, Long story short: I've got a website built, and we moved it over to the production server, which is an SSL-required (https://...) server. A third party component that I'm using makes use of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...
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,...
0
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...

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.