The File '/Customer/Login.aspx

I have an asp.net 2.0 web application that I have pre-compiled and deployed to a Windows 2003 server. When I try to access the web application I get thefollowing message in my browser:

'The file '/Customer/Login.aspx' has not been pre-compiled, and cannot be
requested'.

If I rename the folder containing the web app to something other than'Customer' then it works! I have tried deleting the folder and recreating it but I get the same problem. I have also copied the folder to another serverand it works without any problems.

View Replies


ADVERTISEMENT

Customer Login, How To With Txt File?

I am trying to make a client login system with asp. the users register and their details get written to clients.txt. per client there are 9 lines in this txt file (name, address, etc)

username and pw are on lines 4 and 5. at login.asp i capture username and pw into strUsr and strPwd - that works fine. im unsure as to how i should not authenticate those variables against clients.txt.

- should i loop through all entries of clients.txt and compare strUsr and strPwd to line 4 and 5 of each entry?

- should i first create an array with the contents of the whole txt file and then see if strUsr and strPwd match any of the 4th and 5th lines?

View Replies View Related

Change <asp:LoginStatus> Property To Go To Login.aspx With Other Url

i have made a different site for user authentication and want to check for authenticated user from a <loginview> <asp:loginstatus....> in a different site how can i do that ,

the problem i am facing is that when i use a loginview and login status link in one of website to other site where i have made the user authentication module i get the error on the link

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /testsite/login.aspx

i have the login page on a seperate site

View Replies View Related

Cannot Run .aspx File

can any help me to figure out, what is happening? i cannot run my .aspx.i had properly setup the IIS and .NET framework 1.1

View Replies View Related

File I/o With Aspx And C#

I would like to display a text file using aspx. I realise that I can add a key for a text file in the web.config file. But what do I do after that? I would like to use c# to do this and I woudl like to try to understand how it can be done with a dll?

View Replies View Related

Convert .aspx File

How can i convert .aspx file in .exe file so that it can run on any
computer.

View Replies View Related

I Can't Start An Aspx File In Iis

I've installed Windows Server 2003...I created a
HelloWorld.aspx file and its associatied HelloWorld.vb
file and stored both files in the wwwroot directory.

When I put http://localhost/helloworld.aspx on the Address
line of my IE browser and press enter, I get the following
error msg:Access to..."C:WINDOWSMicrosoft.NETFrameworkv1.1.4322
Temporary ASP.NET Files oot2135a5088d69a834" is denied.

This works on my laptop which has XP Pro installed.

View Replies View Related

Can't Open An .aspx File

I am having problems opening a .aspx file. I have installed the .NET 1.1 Framework. When I go into IIS,Websites, Default Website, then look at the properties under documents, default.aspx is not listed.Is there something that I need to configure to add aspx?

View Replies View Related

Open Existing .aspx File

have try to search from the MSDN, i found the namespace "System.Windows.Forms.HtmlWindow" has this function, but the my .NET Framework version 2.0 dont have the object. Moreover, i have try to download the .NET Framework version 2.0 from MSDN. But, it still dont have the "System.Windows.Forms.HtmlWindow".

View Replies View Related

Aspx Displays By Clicking On File But Not Through Localhost

I have just converted from Linux and Apache to MS 2000
running Visual Studio .NET on IIS 5.0. I have installed
the .NET Framework and the .NET SDK.

I have an extremely simple problem. I can view an aspx
file by double clicking on it, but I get a 500 error when
I type its name in the

browser. "http://localhost/firstasp.aspx." I am able to
get html and php pages to run from this server using
localhost.

I added an application extension to the Default
Website in the IIS Administrator. I pointed it to
C:WINNTMicrosoft.NETFrameworkv1.1.432aspnet_i sapi.dll
and used aspx as the extension of course.

View Replies View Related

Unable To Write File From ASPX Page. What Am I Missing?

I have a folder on webserverwwwroot, called staticContent. The folder
has several message of the day text files, such as RepMotd.text. I have
an admin page, AdminMotd.aspx, that allows a user to view and edit the
contents of the files.

Webserver is running Win Server 2003 64-bit and IIS 6.0. The development
machine is Win XP, using Visual Studio 2005 (thus ASP.Net 2.0.)

In IIS, staticContent folder has Write checked and execute permission is
set to Script Only . In NTSF, the folder grants full permissions to
Network System.

When I try to overwrite an existing file in staticContent, or try to
create a new file, I get a System.UnauthorizedAccessException. The
Application error log on webserver notes that the error is on the page
I am trying to run, that my user name is what I logged in as, that I am
authenticated, and that the thread account name is NT AUTHORITYNETWORK
SYSTEM. Elsewhere, I am able to read these same files and insert them
dynamically into the web page.

This is the code that I am trying to run in AdminMotd.aspx, cut down to
the basics. If it makes any difference, the code is run "in page" and
not as part of a separate code-behind file.

******************
<script runat="server">
Protected Sub MotdChange(ByVal ThisFile As String, ByVal ThisText As
String)
Dim sw As StreamWriter = New StreamWriter(StaticRoot + ThisFile,
False)
sw.Write(ThisText)
sw.Close()
End Sub

Protected Sub RepMotdChange_Click(Byval sender As Object, ByVal e As
System.EventArgs)
MotdChange("RepMotd.text", RepMotdText.Text)
End Sub
</script>

<asp:Content ...>
<asp:TextBox ID="RepMotdText" runat="server"></asp:TextBox>
<asp:Button ID="RepMotdChange" runat="server" />
</asp:Content>
********************

I have traced that the error occurs when New StreamWriter is called,
rather than when actually trying to write to the file. Obviously I'm
missing something, but danged if I can find it.

View Replies View Related

Customer Support

I have been using ALS for a while, and I want to be able to create my own version, But the only issue I have is being able to track users realtime, ie get what page they are on, how long they have been online, and being able to contact them by throwing a pop-up.

ALS does it but i've tried scoping the coding, but can't find anything.

View Replies View Related

Customer Orders By Fax

I have a small team who are building e commerce sites for different clients .One of our client wants his customer orders to be faxed directly to him.

View Replies View Related

Customer Textbox Field

i have a page which lets u search for a tupple in the database.it allows the user to search by customername or jobno.so i have 2 text box to let the user enter.and each text box has a submit button which will link back to the same page and it will display all the search results.

i have error check script that dun allow the user to submit if nothing is entered.but now on my same display page... how mani i suppose to write the sql statment as i dun have idea to display the results from the customer search or job no search.

i mean i can write 2 recordset.but how do i make sure that it will display the 1 tat the user search.is there a if else way or sumthing??i mean if i search by job no.then when i request from the customer textbox field.wat is the value that is pass over?

View Replies View Related

Customer Details Page

Just uploaded my database how to i create a simple page where i can enter customer details into my database. i would like fields like customer id, first name last name etc where the telephone number could be the primary key

View Replies View Related

Info On Customer Only Area

does anyone know of a site that takes you through a walkthrough on how to set up a client only area, but in javascript to use on an asp server?

View Replies View Related

Customer Updating Website

I have a client who wishes to make changes to their website live and without having to purchase any additonal software and do any training.

I have seen a few websites where they have an admin page where the client can login and make changes on the fly to the site through a browser. Does anyone out there know of any software that can do this or where i can find more info on this?

View Replies View Related

Only Latest Record Got Customer Name.

i have table Comment and Customer. Customer is a registered customer. but, comment can be given by registered or non-registered customer. right now, i have 6 records which are 3 registered customer and 3 non-registered customer in Comment table.

for the non-registered customer, i put as a Guest for their name while registered customer, i have display his/her real name. my problem is, the latest record in Comment is a registered customer and her name is displayed in the html table but the rest registered customers, their names are not displayed. something wrong is there. for the non-registered customer, no problem at all. this is my script. at this page also has paging script. Code:

View Replies View Related

Flat File Login

ive had a go at creating a flat file user login, ( flat file because its going on a companys server which dosent use databases. ) i have this code below but there is something wrong with it because the script just times out. im new to asp im a php man myself, so i would think its the loop making the script timeout. Code:

View Replies View Related

Opening A Aspx Page Withing A Aspx Page

I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.

View Replies View Related

How To Protect A File Upload Page With A Login Username Cookie?

I have downloaded a nice upload script from the internet, it works great, but I would like to have it protected,so that only the admin user can use this upload page, I'm getting the following error:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Request.Session'

If I change it in Request.Cookies, that won't work either.....

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

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

Asp Or Aspx

I'm still new to server side languages, and have been going though asp 3.0 for beginners by wrox for about two weeks.Is it a waste of time to learn asp now since .net is supposed to be the future? Am I better off just learning php since it's so popular, and open source? I'm really lost, and kinda pissed off about the lack of backward ocmpatability for asp. I read .net is so completely different in all aspect, and it uses ado.net.

At the moment I know the following:

html/xhtml
css
tiny bit of vbscript/asp 3.0
adobe photoshop/image ready

What should I be focusing on learning. I'm scared i'll choose the wrong thing, and waste time on it.

View Replies View Related

ASP Vs ASPX ?

I have been using ASP for a few years now. For the most part I have been
able to make it do what I need for it to do. Is there a reason I might want
to be learning ASPX? Can someone point out some of the general differences
between ASP and ASPX?

View Replies View Related

ASPX

I got some code in ASPX format but I have no idea about how to make it work.. like, I did this . I created a virtual directory in IIS . Gave default.aspx as the default document . When i enter the URL in Internet Explorer, it displays only the code rahter than displaying the output

So, how do I do it?

View Replies View Related

.aspx Files

I am having trouble publishing .aspx files in my Sharepoint Portal Server. I receive the message: "The page contains server script, which is not supported on this server", apparently due to the dual security of WSS and ASP. I have heard that there is a possibility of side-stepping this problem by publishing the files in the _layouts directory. Can someone please instruct me as to how to do this, or if there is a better way to get around this issue.

View Replies View Related

ASPX Files

I have installed IIS on WINDOWS 2003 server.
IIS is working only if I type filename.aspx for .asp or any other file its
giving "HTTP Error 404 - File or directory not found.
"

View Replies View Related

How To Include An Old-ASP Within My New-ASPX

I've got and old ASP script that works Ok, but I want now to include it within a new ASPX script I've just created with '.net'.

The process could be: Code:

<%@ Page Language="VB" %>
<%
... aspx code ...

include my old ASP script
%>

I'm newbie in ASP, and would be extremely obliged if anybody could tell me how I must write it. I've tried with:

<!-- #Include File="old-script.asp" -->

but it doesn't work.

View Replies View Related

What's A .aspx Page?

never seen one of these extensions before. anyone know what it is?

View Replies View Related

Aspx/linux/etc

I've just taken a client who has a membership-based site served as aspx. Yhe relationship with his current host/developer is going south and I need to switch to new hosts and find someone to handle the backend stuff.
Much of the site appears to be poorly structured - needlessly complex and yet lacking certain features. From my own limited knowledge of what I've seen of it, I'd have suggested using a drupal and a bunch of php... but I know little and may be talking out of my butt.
I'm more comfortable with linux/apache... and I'm guessing that's incompat with the current work - or is it? The database is sql so is it viable to migrate away from aspx? Etc?

View Replies View Related

ASPX Not Executed

I'm trying to execute ASPX page on a test IIS Server. Instead of executing it shows the ASPX file on screen.

View Replies View Related

ASPx Code

I don't know ASPx at all, but I working with some simple code here that is supposed to display the date automatically at the bottom of a page. Here is the code:

<%=response.write("© " & year(now) & " Company Name")%>
But nothing shows up at all.

Same deal when taking out the equals sign.

View Replies View Related







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