Home Link Not Working Anymore?

Mar 27, 2010

I have relatively little experience. I suspect this is a simple problem but I couldn't find the answer. At the top of each page I have a Home link which was working fine as long as all my ".aspx" files were in the root directory.

But after reading a little bit about authorization, I moved all the files dealing with the membership database into a Membership folder with its separate web.config to restrict access to anonymous users.

My anchor is: <a href="default.aspx">. Now if I am on a membership page it is looking for SITENAME/Membership/default.aspx. I have tried many different specifications, e.g., ~/, ../, /, etc. The "~/default.aspx" results it looking for SITENAME/Membership/~/default.aspx.

They all fail except an absolute complete path specification. However, this causes the logged on user to be logged off!

View 6 Replies


Similar Messages:

C# - ASPX FormsAuthentication.RedirectFromLoginPage Function Is Not Working Anymore

Mar 23, 2010

I have an ASPX web site and I have code in there to redirect from the login page with the call to

"FormsAuthentication.RedirectFromLoginPage(username, false);" This sends the user from the root website folder to 'website/Admin/'. I have a 'default.aspx' page in 'website/Admin/' and the call to redirect works on a previous version of the website we have running currently, but the one that I am updating on a separate test server is not working. It gives me the error "Directory Listing Denied. This Virtual Directory does not allow contents to be listed." I have this in the config file:
<authorization>
<allow users="*" />
</authorization>

under the "authentication" option and...

<location path="Admin">
<system.web>
<authorization>[code]....

for the location of Admin.Also, there is no difference in the code between the web.config, Login.aspx, or the default.aspx files on the current server and the one on the test server, so I am confused as to why the redirect will not work on both. It even works in the Visual Studio server environment, for which the code is also identical.

View 1 Replies

JQuery :: BeginRequest And EndRequest Function Not Working Anymore

Jan 25, 2011

Are beginRequest and endRequest working while sending and retrieving data with jquery? In my observation these functions (see below) are not working anymore. Is this because it's not a real postback?

function pageLoad(sender, args) {
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginRequest);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequest);
}

View 1 Replies

Configuration :: Application Moved To ~/Account/ Path, Not Working Anymore?

Jan 23, 2011

I created an application that basically takes the values from a bunch of fields on the page and adds the data to a SQL database table when I click the 'submit' button. However, I created the file directly under the website path, and I created it while it was like that and I tested it without any user authentication going on.

Now, I'd moved it into the ~/Account/etc/... path, because I only want it to be used by authenticated users, and it loads just fine, but when I click the 'submit' button as I used too, it doesn't seem to be loading the info in the database anymore. Why would that happen? do I need to enable SQL to work with the authentication as well?

View 5 Replies

Web Forms :: How To Make This Effect: That Hyper Link(HOME) Is On That Dark Blue Background

May 9, 2010

Please check this website: [URL]My question is that how can I make this effect: that hyper link(HOME) is on that dark blue background. How can I do it?

View 3 Replies

MVC :: Why Isn't Views / Home / Home.Master File Published When Publish Website

Aug 19, 2010

I spent the better part of today hunting down an elusive error. I was getting a message saying that it couldn't find the Index view for the Home controller, and it gave a list of locations it searched, e.g., ~/Views/Home/Index.aspx. This was really confusing as the file definitely existing and was at ~/Views/Home/Index.aspx, the first place in the list of locations it searched for the view!

What I eventually discovered was that there was a file that did not get published when I used Visual Studio's "Publish" feature (this is on the "Build" menu). That file was Views/Home/Home.master, and (as you can probably guess) is the master file used by Views/Home/Index.aspx. Once I copied that file into place manually, it started working. But I am left wondering--why??? Why does this file not get published? It's a part of my project, I can see it in the solution explorer, and it's obviously a critical file that's necessary for the MVC app to run. It has the same permissions as every other file in my project. So why wouldn't it get copied? And how can I fix it so it does get copied?

View 9 Replies

Web Forms :: Server Side Button Controls Are Not Working In Windows Xp Home Edition?

Mar 16, 2011

ASP.NET Buttons are not firing OnClink() events if it is placed in content page. There is no problem for master page buttons. This problem I am facing only in windows xp home edition.

View 6 Replies

Web Forms :: How To Convert Home.aspx To (home.com)

May 13, 2010

when i hover over my links the url are usually like home.aspx, about.aspx, contact_us.aspx etc

what's the way to make these page name appear like home.com, about.com etc?

View 5 Replies

Asp.net - TortoiseSVN: Any Need For _svn Instead Of .svn Anymore?

Apr 1, 2011

A few years ago there was a bug involving ASP.NET and Tortoise/AnkhSvn (can't remember the details),and the solution was to set Tortoise to use "_svn" instead of ".svn" folders for its hidden local files.There's an option for it on the Tortoise settings dialog.So I still need to do that, or is it not an issue anymore?

View 1 Replies

Converted Reports Don't Work Anymore In VS2010

Aug 31, 2010

I have an web application which in converted from vs2008 to vs2010. This app. has one simple reports, which is also converted. Now I have a few problems.

The converted report doesn't render anymore. Somehow the dataset I used is not visible to the report anymore. So I decided to delete this datasource and create a new one, using the new interface in VS 2010. The annoying with this is that the new dataset, which is created when I follow the wizard, in the root of the application. As soon as I move this dataset to a folder (in my case the DataSet-folder), the reports doesn't see the fields anymore. So I copied the dataset back to the root, to solve this problem.

However, when I render the report, i got an error message saying "A data source instance has not been supplied for the data source 'name-of-the-dataset'"

View 2 Replies

Web Forms :: Button Doesn't Fire Anymore After Postback

May 13, 2010

I've some really strange behaviour with a simple ASP.NET Button. Here's my code:

[Code]....

For some reason the first time I click this button, the code is beeing fired. When login credentials are wrong, a message shows up. THen, the user inserts the right credentials. After clicking the 'cmdLogin' button, nothing happens and the old (wrong) values are beeing filled in inside the textboxes. This behaviour occured to me after switching to ASP.NET 4.0.

View 1 Replies

Some Link Buttons On GridView Not Working?

Mar 17, 2016

I've implemented group and grand totals on a gridview as per [URL].

My problem is that the last few link buttons does not function correctly (in this case ID 11 and 12) when I click on them. I am thinking that it could be because of the manual rows being added and then throwing out the links for the other rows, but I honestly don't know what is causing it.

So if you look at my example clicking on the link buttons for IDs 1 through 10 they all redirect correctly as for example detailsPage.aspx?q=4 when I click on ID 4, but when I click on link button 11 or 12 it just reloads the page removes with totals removed and some blank rows in between.

View 2 Replies

Databinding Expression In Link Tag's Href Not Working?

May 19, 2010

I have the following HTML with a databinding expression as shown below:

[Code]....

The 'title' tag's expression gets evaluated fine.

But not the one in 'href' attrib of the 'link' tag. The HTML source generated shows the literal text "..this.BaseURL.../..."

Any idea what could be happening?

View 3 Replies

Web Forms :: Href Link Not Working In Yahoomail?

Jan 28, 2010

have an application in which we are sending mail to client when they register for newsletter to the clients mail id.in that mail we are sending one link which sholud open in a new window on click of the link.The link is working fine in gmail and hotmail, the link is not working in yahooo web mails.

View 5 Replies

Web Applications - Why Inline Asp.net Not Working Within <link Href>

Mar 9, 2011

I want to add a version number to my js files.

<link href="css/reset.min.css?v=<%= App.Golbal.VERSION %>" media="all" rel="Stylesheet" type="text/css" />

This renders as

<link href="css/reset.min.css?v=<%= App.Golbal.VERSION %>" media="all" rel="Stylesheet" type="text/css" />
[Standard asp.net 4 web applciation]

View 4 Replies

C# - SP Gridview Link Button Column Not Working

May 17, 2010

I have one sharepoint custom page application which is rendering from a user control. In the user control page, i had used SPGridview for displaying data. My first column is Title Column (link button column), when the user click on the link, then one popup window will open with corresponding data. But the problem is the link button is not working properly. But this application is working as fine in asp.net application.

My code is shown below..

[Code]....

If i click on the link button, there will be only post back occuring. but not the popup window open.

View 1 Replies

Website Tracking Link Not Working Within Domain?

Mar 10, 2011

We use a third party company for email campaigns, the emails have a link to our website with tracking activated whereby we see how many hits we get on our website, my problem is that the links work from outside our company's domain but does open when clicked from within our domain. Now a brief overview of our setup, we host our website on our webserver, Our ISP hosts our domain. While setting up tracking I forwarded a request to our ISP to make changes to our CNAME record and also to create a subdomain tr.company.co.uk

Can anyone point me in the right direction as my ISP are not ready to fully support me on this , initially when I called them months ago they said our router (Cisco 1600) does not support that type of traffic (they manage the router and I have no access to it), I recently contacted the ISP again and this time they said they have not restricted any of our traffic and they now ask me to specify what I want them to do e.g open ports, whitelist addresses etc.

I manage my company's IT systems except the website and I am not really an expert with websites as we have a web team and also an external company that provides web support.

1, Fixing the problem

2, Or knowing who should fix it e.g Our ISP, Our external web developer, or the email campaign company who setup the tracking.

3, Is it a configuration issue with the our webserver

I have tried a site survey tool which comes up with errors for all our webpages but the scan support tracking done with Google analytics so I thought the results are not really reliable.

View 1 Replies

Download Link Not Working From Published Site?

Apr 5, 2010

I have an asp.net that produces a Word document. I want to allow users to download the file to their local drive. I use a hyperlink to achieve this and it works fine from my development site. However, when the website is accessed from a non development machine, I am sent to the proper directory, but instead of the open/save/cancel dialog I am presented with a "Convert File" dialog. Any of the selected file types I select download unusable files. I think this has to do with office being installed on the local machine on which I am attempting the download. Is there any way I can simply download a file from a virtual file to my local drive?

View 2 Replies

Web Forms :: Email Verification Link Not Working?

Jul 3, 2012

when a user registers himself on my website i send a confirmation email to the user.when the user clicks on the link in email he is supposed to be redirected to a verified page.but instead he is redirected to the home page of the website.but when the user copy pastes the link then it is working fine.the above scenario is working fine on my local machine but not on the server.

[URL]

View 1 Replies

Configuration :: Java Applet - IIS Web Server Public Folder Doesn't Work Anymore

May 26, 2010

I am trying to write an asp.net webpage which contains an applet. Everything works fine when I run this in a development folder, but when I move it to the IIS web server public folder it doesn't work anymore. I don't get any error message. The browser doesn't repaint the applet area Here is the source code:

//web page
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
var attributes = { code:'ImageApplet.class', archive:'ImageApplet.jar', width:864, height:1000} ;
var parameters = {jnlp_href: 'image-applet.jnlp'} ;
deployJava.runApplet(attributes, parameters, '1.4');
</script>
//applet
public void init() {
buildUI();
}
public void buildUI() {
JButton jumbleButton = new JButton("Jumble");
jumbleButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
};
});
add("South", jumbleButton); }

View 2 Replies

Security :: Conversion The Authorization Parts Doesn't Work Anymore Since Converted App To 4.0 Framework

May 30, 2010

I have an appliaction, that I converted to 4,0 framework. since the conversion the authorization parts doesn't work any more. this

[Code]....

just won't work anymore.... I have madee lots of changes in web..config, so maybe ruined something...where should I look for ?

View 1 Replies

Web Forms :: Button Link Not Working On Content Page?

Jun 28, 2010

Here is Server Code in the content page

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPage.master" %>
protected void Page_Load(object sender, EventArgs e)
{
}
protected void doQuestion(object sender, EventArgs e)
{
Response.Redirect("/login.aspx");
}

IN the content page I have placed the button control inside the content place holder

<asp:Button ID="Button1" runat="server" Text="Button"
ToolTip="test" OnClick="doQuestion" UseSubmitBehavior="False" />
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

When I click nothing happens. AM I doing something wrong.

View 2 Replies

Web Forms :: Link Button And Tabs Not Working Chrome Browser?

Sep 22, 2010

In my project i have tab navigations (like 4 tabs in a page) when i click on the tab i will get that corresponding tab fields.

for tab navigation i use Menu item my code is below

<asp:MenuItem Text="Personal" Value="0"></asp:MenuItem>
<asp:MenuItem Text="Education" Value="1"></asp:MenuItem>
<asp:MenuItem Text="Experience" Value="2"></asp:MenuItem>
<asp:MenuItem Text="Awards" Value="3"></asp:MenuItem>

PROBLEM TO SOLVE:

the tab control is working well IE, FIREFOX,

But not in chrome browser i cant do the tab navigation and link button clicks and Ajax calendar control also.

View 9 Replies

Forms Data Controls :: GridView Hyper Link Not Working?

Sep 28, 2010

<asp:TemplateField ShowHeader="false" ItemStyle-Width="50px">
<ItemTemplate>
<asp:HyperLink runat="server" NavigateUrl='<% string.Format("~/Tiff.aspx?Id={0}, Eval("ID")) %>' Target="_blank" Text="View" />
</ItemTemplate>
</asp:TemplateField>

When I m trying to click on it...It is not working or not firing any event,

May I know the reasong or any code behing is require

View 6 Replies

Forms Data Controls :: Link Buttons Stop Working?

Mar 18, 2011

I trying to figure out why some of my link buttons that were working fine have now stoped working this also includes those in the gridview for paging.

I tried putting a new grid view in with the same results.

View 5 Replies







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