Login Fails Inside A Frame

I have an ASP 2.0 secured website that works fine.My problem is that I need to run this "mini site" inside a frame.We have a domain hosted website and I'm redirecting the frame contents to our IIS server and my MD doesn't want the customers seeing a "messy" IP
address, so the solution was to run the mini-site inside a frame. However, despite the login screen being displayed, when a user logs in, theuser.identity.name is null and roles are not set.

View Replies


ADVERTISEMENT

Website Inside Frame

We need to display certain websites inside a frame on our website and I use the response.redirect command in VBScript.
The problem is that some websites take over the whole browser, how can I stop this and force a website to be loaded inside a frame?

View Replies View Related

Login Fails - Error

I am getting this error. Got it for the first time, so am really not sure why

"[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login '/dbmckenna'. Login fails.

/Sitter_Registration.asp, line 12 "

View Replies View Related

How Can I Block A Folder Inside My Login Page?

I have a login page in ASP and I am trying to block a folder with pictures to make the unavailable to people who doesn't loged in to see them. How can I do to block this folder or put some kind script to allow only the pople who loged in to see them?

View Replies View Related

How Reload Left Frame When A Form Is Submited On The Righ Frame?

I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.

View Replies View Related

Update Frame From Another Frame Using ASP?

Is it possible to update one frame from another with ASP code? If so, how do I write the code?

View Replies View Related

How To Redirect From 3 Frame Page To Single Page Frame?

I built some Web site that includes 3 frames page. After a user
sign-off I want to redirect him/her to a single frame page. When I use
Response.Redirect command, I am getting the redirected page as a frame
and I still see 2 other frames.

How to get rid of other frames and display only a single frame?

View Replies View Related

ASP Fails

I've got some ASP-code that uses FileSystemObject to move user home
directories on a DFS-root. When I run this code on the original
Win2000/IIS5-server, it works fine. But when I try it on a
Win2003/IIS6-server, I get the following error:

-2147023545

which I found can be translated as follows

=> 0x80070547 => 1351 =>
"Configuration information could not be read from the domain controller,
either because the machine is unavailable, or access has been denied."
I've tried to run IIS in IIS5-isolation mode, but get the same error.

View Replies View Related

Cmd.exe Fails

i mtrying to run a message service using net send via our intranet -
basically the user selects the poeple on the network who they want to
send a message to from a drop-down list on a form and on submit a loop
is run - here's a snippet of the code (inside a for loop)

<% elseif Request.Form("recipients")(a) <> "" then %>
<% NamUsr = CStr(Request.Form("recipients")(a)) %>
<% server_shell.Run "%comspec% /c net send " & NamUsr & " FROM " &
username &":" & Msg %>

(Note : I create the server_shell object outside the loop and set it
to nothing when the loop has finished - also username is basically
Server Variable Logon User)
The problem happens when all users are selected - it sends it to a few
people and then bombs out and then i get a load of application errors
- cmd.exe or net.exe failed to initialize on the server.yet when tested for smaller numbers of users it runs fine

View Replies View Related

Asp Fails To Execute

after publishing a web to iis, asp pages based on a
database fail to work. the browzer starts loading such page
and never does- at some point the status bar stops and the
page never loads without displaying any errors. the browzer
shows that it is busy all the time.

View Replies View Related

CDO Message With CC Or BCC Fails

Greetings, I'm using simple code to send customers an email after they submit a helpdesk ticket. I wanted to copy myself on the emails, but when I enter myMail.BCC or myMail.CC, it fails to send. If I comment out these lines, the message sends successfully. I've made sure the bcc or cc addresses are valid. I changed the names in my code to protect the innocent.

View Replies View Related

IIS 5.0: CreateFolder Fails

CreateFolder method does not produce a result from IIS. I tried many things including changing file permissions, web server permissions etc. to no avail.

View Replies View Related

CreateObject Fails After XP SP2

A custom ASP web application that i have developed has stopped working
after the install of WinXP SP2. The application breaks on:

Set oMaint = Server.CreateObject("efilingMaintenance.clsMaintenance")

with error message: Code:

View Replies View Related

Fso Fails When Connecting To Mapped Drives From Asp On IIS 6.0

I have an asp page (see source code below) running on IIS 6.0 on
Win2003 Server that tries to get file and folder information on a
Novell Server. I am able to successfully connect to the share on the
Novell box if I use the UNC path. But, unfortunately, I need to have
the mapped path for my application.

I created a simple vbs script and
saved it to the server desktop and run it to verify connectivity to the
Novell box. I am logged in to the server with the same user as set up
in my website as the anonymous user. The vbs file runs perfectly. But
as soon as I move the code into an asp file, I get the following error
"Microsoft VBScript runtime error '800a004c' Path not found". If I
go into my asp file and change the path to the novell box to a UNC
format, then it works. Below is the asp file: Code:

View Replies View Related

.SaveToFile Fails In Firefox/Mozilla

I have an upload script that seems to fail in Firefox and Mozilla based browsers when it hits the .SaveToFile Method. It works fine in IE. Is this a documented bug? Is there a work around?

View Replies View Related

Server Side Executable Fails

I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:

'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.' Code:

View Replies View Related

ASP Upload Fails When Files Dimensions Exceed 3MB. Why ?

I'm experiecing a problem with file uploads from ASP pages.

On a Windows 2000 - IIS 5 server we're running an ASP Classic
application that features an upload form for files of great dimensions
(100+MB). Problem is, when we try to upload a file exceeding 3MB we
retive almost immediatly a message such as 'The page cannot be
displayed'.

We do not even reach the page that contains the code for file
managing; when we click on the submit button in the form with enctype
multipart form data the application ends and the error is visualized.

For files under 3MB there are no problems at all.

The FAQ of our upload third party component (ABCUpload by Websupergoo)
state that we could either have problems with our proxy or we could be
stopped by a wrong URLScan setting: we do not have any proxy nor
URLScan is installed on our server.

I may add that all the configuration of the script timeouts on IIS are
correctly set.

Is there anyone who can suggest us a solution?

View Replies View Related

ASP VBScript Fails When Response.buffer = True

I have a big asp file that has an error under certain conditions -- totally
repeatable. However, it only fails when I set response.buffer = True at the
top. WHen I set it False in order to debug it, it works every time! I even
set it to True, but did a .Flush just before the error, and the error won't
happen.

It only happens when response.buffer is True and no .response.flush is issued.

The error is a string variable turns-up empty and crashes a function
requiring a date. I could test for this before the line where it crashes,
but where did my data go? Why is the buffer affecting it?

View Replies View Related

Validation Fails On Copy Paste From RTF Document

If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed and cause the form to fail.

View Replies View Related

ASPPop3 (Server Objects) Fails To Return Email Details

Can anyone tell me why this code doesn't work? The original came from
an example in this group, but was modified slightly when the original
failed to return message details.

I am able to connect to the server and see the number of messages on
the server, but message details (sender, subject, body, etc.) are not
returned....

View Replies View Related

XMLHTTP Through Login But After Requesting Next Page - Kicks Back To Login

I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:

set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXMLHTTP.Open "POST", "https://website.com/validate-login2.asp", false
objXMLHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXMLHTTP.Send "Username=uname&password=pwd&company=O"

That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?

I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?

View Replies View Related

Another Frame

I have two files index1.asp and index2.asp (Both contains html 3frames)
index2.asp have fame name like this(top,middle,bottom)
[B](in middle frame I'm showing grid1.asp file.)[/B]
I'm showing asp files in these 3 frames.
I'm getting database records and i want to pass "ID" of these database records in index2.asp(middle frame, grid1.asp)
And i want to get this "ID" in middle frame in index2.asp
How can i get?
this is the code

this is index1.asp
<%response.Write("<a href=""grid1.asp?strID="&rs.Fields("ID")&"""target=middle>"& a &"</a>")%>

and getting values of this ID
this is grid1.aspstrID=Request.Querystring("strID")
s = "SELECT * FROM Alphabit where ID="& strID
set rs = conn.execute(s)
it is showing me an error
"Syntax error (missing operator) in query expression 'ID='.
"

View Replies View Related

Login To Page Requires Login

I want to login to a page using MSXML2.ServerXMLHTTP.4.0 or an object like this, I must send the form variables needed to login when I try to login to the page. But the problem is, that the page looks like a exe file (not a asp file or php file or what ever). The name of the page I try to login is something like "/pw?/session/login", nothing more, without extension. I have tried the code with a normal asp file with session registration and login process and it worked, but not with this file.

View Replies View Related

Target Frame On ASP

I have a page with 2 frames, F1 and F2. On F2, I have 2 more subframes, F2A
and F2B. If I click a button on F2A, I want to open the page on the whole
F2. I use parent.frames.F2.location.href but it doesn't work.

View Replies View Related

Link Out Of A Frame?

If you have a webpage with frames, say a footer frame that contains links,
how can you get out of the frame if you click on a link in the footer. The
it works now, is if I click on a link, the page loads inside the small
footer frame. I'd like it to just get rid of the frames completely when I
clickon the link. Any clue?

View Replies View Related

Frame With Javascript

I have a program created by Autodesk that uses alot of ASP & Javascript. The program uses an Ajax Viewer to pass a selection set through several files eventually making it to a file called "propertyctrl.aspx", inside that file, it passes to a file called "propertyctrl.templ", which once inside of it, just appears to be Javascripting. So, here is what it is supposed to do:

A user clicks a polygon inside of the ajax viewer. Once clicked the property dialogue box populates the "Name" field, and "Value" field from the properties of the object that was clicked. It looks a little like this: ....

The problem i have is the property dialogue box leaves alot to be desired. Its very basic, what i would like to do is somehow pass the values to another place and rework it so it looks more like this: ...

I have a feeling all i have to do is intercept the code at the property box window and change them to variables that i can then use in HTML, but i am not sure. Below you will find the code for both the propertyctrl.aspx and the propertyctrl.templ file...

View Replies View Related

Target Frame

Is there a way in ASP to figure out if a page that is being loaded is being loaded into a frameset? I know I can code this in javascript,but I would prefer to only inject a chunk of 'onload' code in the body tag if infact the page is being loaded in a specific frameset.

View Replies View Related

Resize A Frame

i have A page that show List of many field from database and i have frames : Top , Left and Main Page. I think it's tired to see the fiel with horizontal scrolliong too long. I wonder that the left frame can be resize to Left(Close to left) then i can open it again. But I have no idea to doing that.

View Replies View Related

Refresh Another Frame

a way to redirect another frame like "response.redirect" in VBScript?

View Replies View Related

Inline Frame

I have a simple web app that consists of an index.asp page that contains in inline frame and several supporting .asp pages. none of the asp pages really include any asp code.

I am trying to set the session.timeout value in my global.asa under the session_onload sub. I am trying to set the timeout value to 1 minute just for testing purposes. In the end I would like the user to be redirected to a timeout page when he/she clicks on any of the links after the 1 minute timeout has been reached.

View Replies View Related

Reload Frame

The page has Top frame (input) and bottom frame (result). The input html page send input to asp to generate result to bottom frame. The page works. But i wish to refresh bottom frame once i click the submit button to see the result by the java function

<script language =javascript>
function button1_onclick()
{
window.parent.mainFrame.location.reload();
}
</script>

But the bottom frame does not reload. is my logic wrong? is it conflicted with form action or method?

View Replies View Related

Redirect In A Different Frame

I am trying to redirect in a different frame when my users are logging in. I used this code, but this doesn't work properly. Well, the asp works fine but just don't display in the frame I want it to. Code:

View Replies View Related

Asp In Frontpage Frame

i am trying to make user login and password then when it log in it is go to diffrent page in the website this page is frame page whitch contain three frame

when i put the index page " the main page " in the
server.execute("index.asp") it is dispaly nothing

how can i make it dispale the frame

but when i put single page to the
server.execute("student.asp")' go to student page

it exucute right.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved