473,734 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error: "Try again by typing https:// " - pls help

Hi,

when I hit my http://<domain name> site,I am getting this
error msg: I have also installed my SSL cert on the IIS 5.0

*************** *************** **
The page must be viewed over a secure channel

Please try the following:

Try again by typing https:// at the beginning of the
address you are attempting to reach.

HTTP 403.4 - Forbidden: SSL required
Internet Information Services
*************** *************** ****

need quick assistance from anyone to resolve this issue,
many thanks in advance.

cheers
Meya
Jul 19 '05 #1
6 3890
What solution are you after? Open IIS manager and take a look at the
"Secure Communications" section on the Directory Security tab on your site
properties.

Or, if you're looking to automatically redirect to https from http, see
http://www.aspfaq.com/show.asp?id=2321

Here is my slightly modified version of that though:

<%
if Request.ServerV ariables("HTTPS ") = "off" then
srvname = Request.ServerV ariables("SERVE R_NAME")
scrname = Request.ServerV ariables("SCRIP T_NAME")
sQString = Request.Queryst ring
sRedirect = "https://" & srvname & scrname
If Len(sQString) > 0 Then sRedirect = sRedirect & "?" & sQString
Response.Redire ct sRedirect
end if
%>

You can set that up as a custom 403.4.

Ray at home

"Meya" <me**@telcomuni ted.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
Hi,

when I hit my http://<domain name> site,I am getting this
error msg: I have also installed my SSL cert on the IIS 5.0

*************** *************** **
The page must be viewed over a secure channel

Please try the following:

Try again by typing https:// at the beginning of the
address you are attempting to reach.

HTTP 403.4 - Forbidden: SSL required
Internet Information Services
*************** *************** ****

need quick assistance from anyone to resolve this issue,
many thanks in advance.

cheers
Meya

Jul 19 '05 #2
> Here is my slightly modified version of that though:

Nice touch. I'll do you one better, though. :-)

This version will also correctly transfer variables that came in to the page
using the POST method.

<%
if sv("HTTPS") = "off" then
method = sv("REQUEST_MET HOD")
srvname = sv("SERVER_NAME ")
scrname = sv("SCRIPT_NAME ")
sRedirect = "https://" & srvname & scrname
if method = "POST" then
Response.Write "<form method=post action=" & _
sRedirect & " name='f'>"
for x = 1 to Request.Form.Co unt()
Response.Write "<input type=hidden name=" & _
Request.Form.Ke y(x) & " value=""" & _
Server.HTMLEnco de(Request.Form .Item(x)) & _
""">" & vbCrLf
next
Response.Write "<input type=submit value=Go></form>"
Response.Write "<script>" & vbCrLf
Response.Write "document.f.sub mit();" & vbCrLf
Response.Write "</script>"
else
sQString = Request.Queryst ring
If Len(sQString) > 0 Then sRedirect = sRedirect & "?" & sQString
Response.Redire ct sRedirect
end if
end if

function sv(s)
sv = Request.ServerV ariables(s)
end function
%>

(With the obvious disclaimer that the post method won't work for William
Tasso. :-))

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #3
> Or, if you're looking to automatically redirect to https from http, see
http://www.aspfaq.com/show.asp?id=2321


Thanks Ray, I updated this article to include your solution and a little
extra.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #4
Nice! Thanks.

Ray at work

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Or, if you're looking to automatically redirect to https from http, see
http://www.aspfaq.com/show.asp?id=2321


Thanks Ray, I updated this article to include your solution and a little
extra.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

Jul 19 '05 #5
"(Sorry, William Tasso, but the post method here relies on client-side
script, so won't work for you — you'll actually have to click on the Go
button.)"

This is one of those times that the ROTFLAMO or whatever would be in order.
That's a riot!

Ray at work

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Or, if you're looking to automatically redirect to https from http, see
http://www.aspfaq.com/show.asp?id=2321


Thanks Ray, I updated this article to include your solution and a little
extra.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

Jul 19 '05 #6
Well, every time I write any example that relies on JavaScript, I remember
that I have to deal with the people who refuse to join the rest of society.
I think of some guy wandering around a nudist camp with a blindfold on. If
you're that afraid of the web, get off of it! :-)

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:OK******** ******@tk2msftn gp13.phx.gbl...
"(Sorry, William Tasso, but the post method here relies on client-side
script, so won't work for you - you'll actually have to click on the Go
button.)"

This is one of those times that the ROTFLAMO or whatever would be in order. That's a riot!

Jul 19 '05 #7

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

Similar topics

40
3038
by: Steve Juranich | last post by:
I know that this topic has the potential for blowing up in my face, but I can't help asking. I've been using Python since 1.5.1, so I'm not what you'd call a "n00b". I dutifully evangelize on the goodness of Python whenever I talk with fellow developers, but I always hit a snag when it comes to discussing the finer points of the execution model (specifically, exceptions). Without fail, when I start talking with some of the "old-timers"...
9
3921
by: Trint Smith | last post by:
I have tried everything...aspreg -i and modifying machine.config and running the fileupdate...deleting and reinstalling framework 1.1... It only happens when I do a 'Copy Project' to the webserver...it loads into vs.net and runs locally just fine... Any help is appreciated...I'd like to get rid of this forever...I had this problem on a previous computer at another company last summer and never did figure out the answer. Thanks, Trint
20
3621
by: DraguVaso | last post by:
Hi, As a former VB-programmer I'm used to the "on error goto"-errorhandling. I see that in actually all the VB.NET-samples I can fin people use the "Try - catch"-errorhandling. Which of the two is the best? Are there good reasons to use the Try-Catch? Will the "on error goto" disapear in the future? Are there any logical reasons to use trey-catch? Is it 'better' programming? etc etc :-)
5
43217
by: meenasamy | last post by:
Hi all i have used a script that i downloaded and uses the fopen($url,'r'); function to access a url to retrieve data and i get this error Fatal error: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? i checked the 'allow_url_fopen = On' in php.ini and it is set to On, and still it didn't work
4
3665
by: Rocketman | last post by:
Error Help: CLI0120E Memory Allocation Failure -------------------------------------------------------------------------------- Hi Any help would really be appreciated. I am getting the following error in my VB program. CLI0120E Memory Allocation Failure SQLSTATE=S1001 Any help on what could possibly cause this kind of error would be greatly appreciated.
0
1055
by: Matt | last post by:
Ok, given that this is a windows ocx, it should be pretty easy to do this but I just haven't been able to figure it out. What I have is a datagrid on my form populated with various pieces of information. What I would like is to be able to start typing and have the datagrid move to the thing I'm typing if it exists. For example given the list: Ant
2
9454
by: Tamer | last post by:
Hi! Is there a way to change the protocoll type through Javascript without reloading (or making a request from the webserver) via Javascript? for example: http://mydomain.com -https://mydomain.com and backwards (if possible).
5
4582
by: Ty | last post by:
Syntax Error-Help!! My error "SQL0180N The syntax of the string representation of a datetime value is incorrect. SQLSTATE=22007" . I'm using yyyy-mm-dd. I can see the dates in a column on another query as 2007-06-17 23:00:13.827584 which is yyyy-mm-dd time(i guess). My attempt:
2
4744
by: madankarmukta | last post by:
HI, Even thought the request is made through https , $_SERVER is empty .. Can anyone suggest why this is happening .? Thanks!
0
8946
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9182
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
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
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.