Click here to Skip to main content
15,919,749 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Sending mail problem. Pin
Vasudevan Deepak Kumar6-Dec-06 6:59
Vasudevan Deepak Kumar6-Dec-06 6:59 
Questionhow to make the ASP.net project to setup project? Pin
Rmesh5-Dec-06 18:27
Rmesh5-Dec-06 18:27 
AnswerRe: how to make the ASP.net project to setup project? Pin
Imran Khan Pathan5-Dec-06 18:51
Imran Khan Pathan5-Dec-06 18:51 
AnswerRe: how to make the ASP.net project to setup project? Pin
Vasudevan Deepak Kumar6-Dec-06 7:00
Vasudevan Deepak Kumar6-Dec-06 7:00 
QuestionProblem in ajax Pin
abulhassan_shock5-Dec-06 16:19
abulhassan_shock5-Dec-06 16:19 
AnswerRe: Problem in ajax Pin
Guffa5-Dec-06 16:46
Guffa5-Dec-06 16:46 
GeneralRe: Problem in ajax Pin
abulhassan_shock5-Dec-06 17:31
abulhassan_shock5-Dec-06 17:31 
Question2.0 Membership framework malfunction??? Pin
Xpnctoc5-Dec-06 13:29
Xpnctoc5-Dec-06 13:29 
Hello,

I wrote a ASP.NET 2.0 application using the Membership framework for security (roles and users). For debugging purposes I wrote some code in the index.aspx page to simply write out a list of all the roles that exist, using the good old Response.Write() method. I then published the site to my domain. However, the behavior of the index page is dependent on the running environment as follows:

IN VS 2005 ACCESSING LOCAL SQLSERVER: Runs great, all roles listed.

IN VS 2005 ACCESSING REMOTE (i.e. "LIVE") SQLSERVER: Runs great, all roles listed.

IN A WEB BROWSER VIEWING THE PUBLISHED APP: @$(&$#*!&$@*& No roles listed.

The really aggravating thing is that the login mechanism still works! If I try to access pages in subfolders protected by a local web.config with roles-based protection, I am denied access until I use the login page. However, once I'm logged in, even though I can access the protected pages both Roles.GetAllRoles() and Roles.GetRolesForUser() return an array of 0 elements.

I need the list of roles b/c my menu rendering routine is roles-based.

How is it even possible that Roles.GetAllRoles() turns up no results and yet the login and access protection mechanisms work perfectly?

Thanks for your help...
Questionarray binding Pin
saravanan055-Dec-06 13:07
saravanan055-Dec-06 13:07 
AnswerRe: array binding Pin
Viral Upadhyay5-Dec-06 19:29
Viral Upadhyay5-Dec-06 19:29 
QuestionFile and form posting via HttpWebResponse Pin
Zolotareva5-Dec-06 11:26
Zolotareva5-Dec-06 11:26 
Questionlinkbutton in datagrid Pin
haytham_mohammad5-Dec-06 9:19
haytham_mohammad5-Dec-06 9:19 
AnswerRe: linkbutton in datagrid Pin
abulhassan_shock5-Dec-06 17:47
abulhassan_shock5-Dec-06 17:47 
GeneralRe: linkbutton in datagrid Pin
haytham_mohammad6-Dec-06 22:46
haytham_mohammad6-Dec-06 22:46 
QuestionError(plz help urgent) Pin
saravanan055-Dec-06 9:08
saravanan055-Dec-06 9:08 
AnswerRe: Error(plz help urgent) Pin
Guffa5-Dec-06 15:57
Guffa5-Dec-06 15:57 
QuestionError Occured Pin
ADY0075-Dec-06 8:26
ADY0075-Dec-06 8:26 
AnswerRe: Error Occured Pin
Vasudevan Deepak Kumar6-Dec-06 7:04
Vasudevan Deepak Kumar6-Dec-06 7:04 
GeneralRe: Error Occured Pin
ADY0077-Dec-06 5:55
ADY0077-Dec-06 5:55 
QuestionASP.NET vs. Old School [modified] Pin
Leftyfarrell5-Dec-06 8:09
Leftyfarrell5-Dec-06 8:09 
AnswerRe: ASP.NET vs. Old School Pin
ToddHileHoffer5-Dec-06 9:20
ToddHileHoffer5-Dec-06 9:20 
AnswerRe: ASP.NET vs. Old School Pin
Chris Losinger5-Dec-06 9:21
professionalChris Losinger5-Dec-06 9:21 
AnswerRe: ASP.NET vs. Old School Pin
George L. Jackson5-Dec-06 10:31
George L. Jackson5-Dec-06 10:31 
GeneralRe: ASP.NET vs. Old School Pin
Leftyfarrell7-Dec-06 2:51
Leftyfarrell7-Dec-06 2:51 
Questionevents , master pages , user controls... sadness Pin
Chris Losinger5-Dec-06 7:34
professionalChris Losinger5-Dec-06 7:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.