473,473 Members | 1,906 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

forms authorization works but not roles with VS connected to URL instead of localhost

2 New Member
I have a website on IIS7, asp.net 2.0, and as of 2 wks ago isinrole() is broken. When a user requests an "admin" page, they receive the "Access Denied" page even if they are in the admin group. They log in fine (no errors), but a breakpoint in isinroles() shows that they are not in any roles. This same behavior occurs in VS, on the server, if I connect to the URL, i.e., "htpp://www.machine-name". However, from VS if I connect to "localhost", everything works fine. Also, with "localhost", I can place breakpoints and hit them. If I connect through URL, my breakpoints are not hit. I have changed application pools, given "full control" to local and network "NT authority" and "system" and myself, etc. I have defined authorization and roles manager in the config file, and this website had been functional for eight years, prior to about 2 wks ago. Any ideas?
Mar 25 '13 #1
0 965

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: scott ocamb | last post by:
hello We are using forms authentication in asp.net for our web site. The code we have implemented works on 2 developers machines and not on a single developers machine. We all use source safe...
4
by: Phil Townsend | last post by:
I am integrating forms authentication in a web app which authenticates users who are listed in a SQL Server table. There will be a small list of application roles associated with each user and I...
4
by: Amil | last post by:
I'm using Forms authorization. In my <forms> section I have timeout="30", but when I examine the cookie, it shows it expiring in 2055? Why? <authentication mode="Forms"> <forms...
3
by: Manuel | last post by:
My web app was running fine until I decided to change the custom errors parameter in the Web.config file. I set it to "On" and the app stopped working in IE but it works fine in Mozilla! So I...
0
by: amjad | last post by:
Dear All, I am using Visual Studio beta 2005 beta 2 with ASP.Net 2.0 and C#.I run the application and it work correctly with http://localhost:port/projectname/page but not with...
1
by: Mark Olbert | last post by:
I'm building an ASPNET2 website which uses forms authentication but does not use the Microsoft-supplied membership providers (mostly because I don't want to create my own provider at this point, and...
1
by: gilly3 | last post by:
I'd like to use a master page for (nearly) every page in my ASP.NET 2.0 website. I also have some webpages that I'd like to protect by using forms authorization. I have a page that requires...
4
by: Guy Swartwood | last post by:
I have a VS2005 project on a winxp pro with IIS installed on it. I am using a SQL Server source for my membership and roles information. I created a Login.aspx page, a Default.aspx, a...
1
by: Wessman | last post by:
sending mail using function mail() only works when I'm connected to mysql. <? mail($to, $subject, "before mysql_connect()", "From: $from"); mysql_connect("localhost", $username, $password);...
5
by: martin99 | last post by:
Hi, I can run a test scrip that connects to the and it CONNECTS successfully whilst running from the my website on the server. $sqlhost = 'localhost'; $sqluser = 'userid'; $sqlpass =...
0
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
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.