I have a registration page I enter the details of the customers and redirect to another page for capturing photo and I come back to the registration page. I want to retain all the values i entered when i land on the registration page.
I set my web.config with a custom error for 404 and 403 response but when I try to navigate my page (not exist page). It displays the default IIS6 404 page instead of my custom page...
We have an old windows 2000 running IIS 5.0 on this server we have a few asp pages that use a connection to our SQL database.
This all works fine. But because we are going to deposal this server it has to move to a newer server running IIS 6.0.
I installed IIS and ASP and it looked ok, after that we moved over the webpages to the new server edited the web.config connecting to the new SQL database 2008 ( that's also moved )
But what I try I keep getting the same error, Page cannot be displayed.
Now I want to know: Is there any difference between coming to this page using a proper link or coming back using browser back button, or is there any way to detect this?
need some info regarding button click. I want to send mail with autorespond mail on single button click. Within that waiting time I want a screen that will show "REDIRECTING" (like gmail) and will show a "thank you" page after successfully sending themail.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> [code]....
I am trying to redirect an ASPX Page to a Classic ASP Page, This is Working Fine with my Local IIS (version 5.1). OS is XPesponse.Redirect("xyz.asp?id=1234");I tried to deploy it into Windows server 2003, IIS Version 6.0 and i am getting an error"Page Cannot be Displayed. here is a problem with the page you are trying to reach and it cannot be displayed."
am looking to add a contact page to my asp site that I am running vie IIS6.0I have created the page but just need help with the code i would also like to send the user to a thanks page once the Web Form has been sent.It also has a drop down menu and the email is sent to that address! If someone could help with the coding ect that would be a massive help. The codeing I have so far:
I have an .ASPX page that runs some C# code-behind for about 60 seconds after the page is requested. After 60 seconds, the page appears as expected in Internet Explorer.During this 60 second time period, IIS will not serve new requests for OTHER .ASPX pages. However, .HTM files continue to be served fine. The CPU is only at 1%.Is it true that IIS only can process one .ASPX request at a time? This can't be true. All IIS settings are default.
n the web page I need to print some content partly fetched from database to the user. The user can print all the reciepts of his basket or just print one reciept. what I do for now is that I redirect user to another page including datalists that fetched regarding info from database and then by clicking print it prints data. after that user shoud push back button to be redirected back to main page.But I want to do something on my page, that some how maybe pop up modals or flyouts or anything else, will be able to show data collected from database match with users basket, and let user click print and then print it. I need a solution on the same page not on the other page.
obj = new common(); con = new SqlConnection(); con = obj.getconnection(); SqlCommand cmd = new SqlCommand(); SqlDataReader rd; cmd.Connection = con; con.Open();
cmd.CommandText = "select username,password from user where username =@username and password=@password";
[CODE]..
when username and password is correct , it should redirect to default page.
I've done a very basic asp.net test page that populates dinamically (with items from 0 to 99) an asp:listbox on the onload event (only once, if not ispostback).
The asp:listbox is static, and there's an asp:button that I use only to produce a postback (it has no onclick server code)
When I execute it under II6 it works perfecty, but under IIS7 I get a strange behaviour: every now and then, when I push the asp:button, the page freezes and it's unable to postback.
I don't get a specific asp.net error as usual, just a blank page as if the website didn't exist!
The message is "Internet Explorer cannot display the webpage"
I have a created a web portal in multi-language. I put all the pages related to "english-language" in one folder (/english) and "arabic-language" in one folder. I didn't have a default.aspx in my root folder(wwwroot), its in /english folder. There is no index.htm or default.aspx page in my root folder.I am very confused how can i redirect the default.apage when page loads. The default pages is stored in /english folder.
I have a web application that's really quite simple. I have a MainMenu.aspx that contains a asp:Menu control and an IFrame. This IFrame will contain other aspx pages based on the selection from the menu.
My question is this: When I have selected a menu option and a specific page has loaded into the IFrame and this new page has a "Cancel" button that simply goes back to the MainMenu.aspx page. How would I code that in the VB.Net code-behind file of this page? I'm assuming it would be in the BT_Cancel_Click() event but I'm not sure how to code it!
I have been trying to set the default url but it is not redirecting to the page that I want. The defaultUrl="admin/Home.aspx" is keeping redirecting back to the login.aspx Below is the code i am doing in the web.config
I have an asp.net web application. The problem is when I click on "view in browser" for the default page (and I have set this as the start page) it redirects me to the Dirctory listing. I have tried to change the settings in the properties page of the project to the default page, but I still get redirected to the Directory page. I have also checked the source code and ensured that NO code is written to get the page re-directed to the directory page. Not sure why this happens. Has it anything to do with any settings change in the IIS?
If I have set the forms authentication timeout to 30 days (in minutes) and I have set the session timeout to 5 mins and I am using a cookie to persist the different session variables. why does asp.net or IIS always always issue a 302 and redirects to the login page when the session times out? (Doing http debugging it puts an "object moved to here" message) I am checking the session in all page_init s on all pages since they all inherit from a common Page class, if I find a faulty session i load the session variables from the cookie mentioned above. My question is, who or what is redirecting to the login page?
I have tested this on IIS6 & IIS7 with identical results. I have put breakpoints on every single redirect statement and they never fired, and hence I have concluded that something else is issuing those redirects.
further debbuging revealed the following: A first chance exception of ype 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code But I guess that is natural since it is issuing a redirect anyway.
In my application I have a gridview in which details of containers are stored and displyed.
There are many containers in this gridview, say more than 150 containers. I have implemented paging for this gridview as it contains many record. But its difficult for the user to go to every page and search one particular container. So i want a serach option for this.
What I need is to enter a containernumber in a textbox and when I click a button, it should redirect to that particular page in the gridview where that particular containernumber exists.
I have a #placeholder in a page .I want to redirect to this page form a link that should take me to #placeholder section.in firefox this works fine,but in ie i am not getting #placeholder
I have created a website which has Secure folder in which i have got a form which only "admin role" users can see. Now that form will appear if login is successful and it works great, if password or username is wrong then again the loginForm will appear which works great too.
Now the problem is if the users which are not in "admin role" enter the user name and password correctly, instead of coming back to the login page and showing them the "Not Authenticated" message, it gives me an error that myWebsite/login.aspx is not found. I think this is because the name for my login page is "AdminLoginPage.aspx" and which is not found and hence it shows me the error. I dont know where to change the login Page name to "AdminLoginPage.aspx"