473,325 Members | 2,828 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,325 software developers and data experts.

SqlMembershipProvider and applicationName

Hi,

I just started using the new asp.net sqlMembershipProvider (users and
roles) which works great. However, I'm testing my application on
Windows XP and I'm getting different list of roles
(Roles.GetAllRoles()) when my application runs locally using

http://localhost/mysite/page1.aspx vs. http://localhost/page1.aspx

If I add roles to http://localhost/mysite/page1.aspx, I can't see them
in http://localhost/page1.aspx and vice versa even though it's the
application. I know this is dependant on applicationName in my
web.config file which is currently applicationName = 'mysite'. But for
my local testing I change 'Default Web Site' folder to the root of
http://localhost/mysite so that I can go from one page to another
easily by referencing pages relative to /.

Why is this happening? How can I run this on the production server? I
need to copy our entire database from production server on windows
2003 to Windows XP and work on it locally but if I can't see the data
then it's kind of useless. I know I'm missing something here :)

Thanks
M

Oct 3 '07 #1
0 1252

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

Similar topics

2
by: Francis Reed | last post by:
Hi I'm currently working on a new portal for an online university, and we need write code that manages roles for multiple applications. To tell the SqlRoleProvider which Application we are...
0
by: Ron | last post by:
Hi, I want to create a new SqlMembershipProvider called SqlMembershipProviderEx I will use it to create two User objects which only need a UserName and Password. ServiceProviders and...
2
by: daz_oldham | last post by:
Hi All Bit of an odd one - very basically I created an app using the SqlMembershipProvider in VS.NET 2005, and I did it on a MS SQL 2005 server. However, I then find out that for other...
0
by: Mwob | last post by:
Hi all, I'm about to start creating a custom membership provider. Its for a website that already has a table of users in a single table, so I need to create a custom MP to talk to the data in...
3
by: Ryan | last post by:
Hello, I have a question on the default: AspNetSqlProvider. I know that, by default, this looks for a database created locally in the appdata directory. Although I have learned how to change...
1
by: glebovech | last post by:
Is it possible to reuse existing SQLSERVER database containing membership information for different application? Basically this is a situation. 1. Created application App1 where with a help of...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
1
by: =?Utf-8?B?ZVByaW50?= | last post by:
Asp.Net v2.0 I have created a web application and I am using it from a single website and database. The web application has different ‘portals’ – each independent and I am using the...
1
by: Matt MacDonald | last post by:
Hi all, I've been debating for a while (basically since asp.net 2.0 came out) on using the built in mebership classes to handle user management in my web apps. I seem to keep coming upon...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.