473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web.Config

Hello:

Ive got a page name with an "@" in it present.
Ex. Pa***@sales.aspx
Ive defined the below in the Web.Config file. Results.. it does not work.(
Doesnt send me to the login page .. for authentication purposes.. Also when i
invoke any page in the app.. it errors out )
I replaced the @ with its UTF-8 equivalent. Still did not. Pls do advise,
how to get it to work. Thank you.

<location path="Pa***@sales.aspx">
<system.web>
<authorization>
<allow roles="UserAdmin" />
<deny users="*" />
</authorization>
</system.web>
</location>

Apr 10 '07 #1
2 942
Robin Chatterjee wrote:
Hello:

Ive got a page name with an "@" in it present.
Ex. Pa***@sales.aspx
Ive defined the below in the Web.Config file. Results.. it does not work.(
Doesnt send me to the login page .. for authentication purposes.. Also when i
invoke any page in the app.. it errors out )
I replaced the @ with its UTF-8 equivalent. Still did not. Pls do advise,
how to get it to work. Thank you.

<location path="Pa***@sales.aspx">
<system.web>
<authorization>
<allow roles="UserAdmin" />
<deny users="*" />
</authorization>
</system.web>
</location>
How about url encoding it into %40?

--
Göran Andersson
_____
http://www.guffa.com
Apr 10 '07 #2
Tried %40 ( Replace the @ with %40.. Ex. Page1%40sales.aspx )
Doesnt work either.
"Robin Chatterjee" wrote:
Hello:

Ive got a page name with an "@" in it present.
Ex. Pa***@sales.aspx
Ive defined the below in the Web.Config file. Results.. it does not work.(
Doesnt send me to the login page .. for authentication purposes.. Also when i
invoke any page in the app.. it errors out )
I replaced the @ with its UTF-8 equivalent. Still did not. Pls do advise,
how to get it to work. Thank you.

<location path="Pa***@sales.aspx">
<system.web>
<authorization>
<allow roles="UserAdmin" />
<deny users="*" />
</authorization>
</system.web>
</location>
Apr 10 '07 #3

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

Similar topics

13
2979
by: Maxim Khesin | last post by:
I want to have a config file with my python proggie, satisfying the following requirements: 1) support key->(value, default) 2) simple and intuitive to read and edit 3) easyly readable into a...
4
3808
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply*...
11
3420
by: TARUN | last post by:
Hello All I need to ask about the configuration file in .NET, There are Two config File 1. Web Config 2. Machine config I understand the the usage of Web config , but not able to understand...
12
13406
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
5
7808
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
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
7334
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
5579
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,...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1514
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.