473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

urlMapping problem

Jon
Hello all,

I have the following urlMapping element in my web.config:

<urlMappings enabled="true">
<clear />
<add url="~/establishments.aspx" mappedUrl="~/
EstablishmentList.aspx?type=1"/>
</urlMappings>

This was taken from help on MSDN. When i try to navigate to
establishments.aspx I just get a 404 Page not found error, rather than
having EstablishmentList.aspx?type=1 served. Can anyone please help?

Thanks,

Jon

Sep 30 '07 #1
3 3465
Hello Jon,

Are you sure that your file EstablishmentList.aspx exists?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
JHello all,
J>
JI have the following urlMapping element in my web.config:
J>
J<urlMappings enabled="true">
J<clear />
J<add url="~/establishments.aspx" mappedUrl="~/
JEstablishmentList.aspx?type=1"/>
J</urlMappings>
JThis was taken from help on MSDN. When i try to navigate to
Jestablishments.aspx I just get a 404 Page not found error, rather
Jthan having EstablishmentList.aspx?type=1 served. Can anyone please
Jhelp?
J>
JThanks,
J>
JJon
J>
Sep 30 '07 #2
Jon
On 30 Sep, 14:04, Michael Nemtsev <nemt...@msn.comwrote:
Hello Jon,

Are you sure that your file EstablishmentList.aspx exists?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

JHello all,
J>
JI have the following urlMapping element in my web.config:
J>
J<urlMappings enabled="true">
J<clear />
J<add url="~/establishments.aspx" mappedUrl="~/
JEstablishmentList.aspx?type=1"/>
J</urlMappings>
JThis was taken from help on MSDN. When i try to navigate to
Jestablishments.aspx I just get a 404 Page not found error, rather
Jthan having EstablishmentList.aspx?type=1 served. Can anyone please
Jhelp?
J>
JThanks,
J>
JJon
J>
Hello Michael, positive it's there, checked it many times incase that
was the error!

Oct 1 '07 #3
On Oct 1, 10:18 am, Jon <JonMYa...@gmail.comwrote:
On 30 Sep, 14:04, Michael Nemtsev <nemt...@msn.comwrote:


Hello Jon,
Are you sure that your file EstablishmentList.aspx exists?
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
JHello all,
J>
JI have the following urlMapping element in my web.config:
J>
J<urlMappings enabled="true">
J<clear />
J<add url="~/establishments.aspx" mappedUrl="~/
JEstablishmentList.aspx?type=1"/>
J</urlMappings>
JThis was taken from help on MSDN. When i try to navigate to
Jestablishments.aspx I just get a 404 Page not found error, rather
Jthan having EstablishmentList.aspx?type=1 served. Can anyone please
Jhelp?
J>
JThanks,
J>
JJon
J>

Hello Michael, positive it's there, checked it many times incase that
was the error!- Hide quoted text -

- Show quoted text -
Try to install Fiddler, to check what is really requested there.

Oct 1 '07 #4

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

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
2
by: Andrea | last post by:
Why in a form submission cotext the urlMapping doesn't work? Is there any solution? Thanks Andrea
1
by: Dave | last post by:
Hello, I would like to have the address http://localhost/dl/123456/anyName.mid redirected to http://localhost/dl/download.ashx?id=123456&type=mid how can I do this by using UrlMapping? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.