Security :: Use More Than One Application With The Aspnetdb Database?

Feb 17, 2010

I have setup a Web Site Administration Tool for a web application and it work great
Now i have another custom application that was built on a different server and site but i want to use the users in the existingWeb Site Administration Tool for authentication and authorisation.So i deployed the custom application to the the same server where the Web Site Administration Tool resides. and just changed the connection string to point to the same database.But when i login with a username and pass it says login no correct.http://myserver/IntranetAdminTool/default.aspx?pplicationPhysicalPath=C:Inetpubmyapplication&applicationUrl=/myapplicationwhen i go to the link above it works and i can see all my usershttp://myserver/IntranetAdminTool/default.aspx?pplicationPhysicalPath=C:Inetpubmyapplication2&applicationUrl=/myapplication2When i go to this link i can't see users as its th new custom application i just moved to the site.

I get error There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem:Server cannot access application directory 'C:Inetpubmyapplication2'. The directory does not exist or is not accessible because of security settings.Is my approach a resonable one and is this possible?

View 1 Replies


Similar Messages:

Security :: How To Change Application Database From ASPNETDB.mdf

Oct 2, 2010

I am using Visual Studio 2008 Express.

I did this simple test:

I created a new Web project with a simple page that has a Log In. There were no databases in App_Data.

I used the configuration tool to create a Role and User.

I refreshed the project folder and behold AspNetDB.mdf has appeared in the App_Data folder.

I have checked the Web.Config file and there is NO Connection string to this database.

So how do I move the Roles/Users application data storage away from AspNetDB.mdf to my own database ?

View 5 Replies

Security :: How To Use Own Database Instead Of ASPNETDB.MDF

Jun 1, 2010

Ive searched quite a while to do this.. havent found any revelant answer i already have a database named GAD.MDF with tables inside. However i wanna use the membership API to use the tables generated in the aspnetdb.mdf. Is there a way to generate thoses tables in my own database and then use my database instead? cause many host only enable us to use one database.

View 4 Replies

Security :: Using Another Database Instead Of App_Data/aspnetdb.mdf?

Feb 1, 2010

I used aspnet_regsql -W wizard approach to create DB for membership tables. and added script as follows in web.Config

[code]....

View 1 Replies

Security :: How To Authenticate Multiple Applications Within 1 Aspnetdb Database

Feb 9, 2010

I currently have a website up and running and working correctly with godaddy.com using the out-of-the box authentication with an aspnetdb sqlserver database. I have users on this site and am very hesitant to change anything with this database or the web.config file from the working site for fear of wrecking it

So, my challenge is that I need to authenticate a separate application using the same aspnetdb.mdf file without any crossover to my 1st application. I've noticed that the ApplicationName that is currently in my aspnetdb database for the working application is just "/". I know that I'll need to have 2 separate entries in the aspnet_Applications table to define these two applications and then somehow register those names within their respective web.config files - but wanted to have step by step instructions on how to this so as to not "break" the 1st working application that is already live.

Can anyone point me to a document on what changes I will need to make?

Also, with the default create user wizards I'm using, how will it know to create the new user information with the correct application ID so that the user information from one application is not visible to managers of the second application and vice/versa?

View 7 Replies

MVC :: Display Roles With Checkbox In Web Application From Aspnetdb?

Nov 25, 2010

how to display the exact same page in

Eg:http://localhost:49316/asp.netwebadminfiles/security/users/addUser.aspx

View 4 Replies

Security :: Membership And Roles SQLExpress Database For Application Database?

Jul 11, 2010

I would like to use the Role Membership and User Security database as my application database too. That is, just add the tables and relationships required by my application's data access layer to the Membership and Roles Database to save on hosting fees, (I have to pay extra for having two databases instead of one). Of course, the connection string would have to be adjusted, but I don't see a downside considering the application's database is actually an Access database. What can I say, it was a requirement at the time.

Basically, I would like to do the opposite of this:
http://forums.asp.net/p/1162485/1925262.aspx#1925262

View 6 Replies

Security :: Integrate The Application Services Database With An Existing SQL Database?

Jun 20, 2010

I have an existing SQL database containing student:class enrollments and would like to add a login feature using asp.net's built in Membership and Roles management tools. to how to integrate the Application Services Database with an existing SQL database? Once I have created the Application Services tables using aspnet_regsql tool how and where do I create a link between my tables and the .Net Membership tables?

View 5 Replies

Security :: ASPNETDB UserId As UniqueIdentifier?

Sep 14, 2010

I'm just curious, why its not bigint or int ? is that because GUID is easy to generate ?

View 8 Replies

Security :: Grabbing UserId From ASPNETDB.MDF?

May 2, 2010

In one of my web app's pages, the code behind needs to grab the UserId of the person logged in, so that it can then be inserted into a table which was added to the original aspnetdb.mdf. This table contains a column with a uniqueidentifier primary key which is in direct relationship with the aspnet_Users table; however I seem to have trouble retrieving the UserId. This table contains the additional information of a user which is not included in the provider, and it has a one-to-one relationship with aspnet_Users.

I hope this makes sense. I haven't written any code for it yet; I'm only at the thinking part of this stage. But my mind keeps going blank.(perhaps I need a break from the solution???).

I am using C# in my Web app's code behind.

View 9 Replies

Security :: Use Profiles In Aspnetdb Membership?

Feb 28, 2010

I am getting to like how to use a profiles in aspnetdb membership

But these profiles are stores in a string.

Q: How does one get this profile data into a table, or get TSQL to show data in a column format.

View 2 Replies

Security :: Aspnetdb Does Not Let Password Retrieval?

Apr 25, 2010

I had a web application. We needed to move it to anotherserver, after we moved that, the membership database (aspnetdb) did not work.....finally i solved the problem, and now I have another problem. although in the web.config enablepasswordretrieval is set to true, and the type is clear, i get error in password retrieval.

View 7 Replies

Security :: Aspnetdb Membership Changes Password Bug?

Dec 19, 2010

I have developed a Silverlight app using forms authentication and the asp net membership, aspnetdb, the whole enchilada.The bug I see is that the password for my users change by them self every bow and then, the way I fix them is by deleting the user and creating them again, this has been I problem all the time.In a post I read the problem was manifesting because I didn't have a machineKey in my web.config, I now do, so I dunno what the problem is this time...Is there a definitive fix to this? can you please provide assistance?

View 11 Replies

How To Open The ASPNETDB.MDF Database

Mar 5, 2010

I am using vusiaul studio 2005. I have been unable to use the express database. I can create it, by simply tryign to log in. But if I try to open the ASPNETDB.MDF database itself I get the following error:

"This server version is not supported. You must have Microsoft SQL Server 2005 Beta 2 or later."

I have SQL 2005 loaded on my machine. I would think this would be enough. Anyone know where I can ge the Beta 2 download or does anyone have another resolution for this?

View 2 Replies

Merge Aspnetdb Database With Another One?

Jan 21, 2010

I have an aspnetdb and I have created another aspnetdb for another website, but instead of starting from scratch, I would like to import all the data from the one that has users and other data into the new aspnetdb. Is there a way to do this? Are any tools available?

View 2 Replies

C# - Add Relationships To The Aspnetdb Database In MVC?

Feb 1, 2010

I'm having a hard time wrapping my head around how to use the Memberships in MVC. I know there is the built in ASPNETDB database which has all the basic tables for users and such. But what if I wanted to add a relationship between one of my custom tables and this built in user table?

If I had a database table that contained blog comments, we'll call it Comment. And each Comment had a userID associated with it could I do something like?

User.Comments.Add(someCommentObj)

View 3 Replies

Security :: Role Management Aspnetdb For Website

Nov 30, 2010

I am creating a website, where my client is planning to target 1000's or user registrations with their login area etc. Is it a good idea to use role management/aspnetdb for this purpose?

View 9 Replies

Security :: Configuring Membership Provider From Aspnetdb To Other?

Aug 1, 2010

I am in the begininng stages of designing (or redisigning) a site. I am using VWD Express 2010 and the project is configured for .net 4.0. I am designing it offline so its currently just on my laptop, which is also running sql server express 2008 R2.

When I ran the ASP.Net Configuration tool, it automatically created a database called aspnetdb in the app_data folder where it stores all the user and roll info. How can I use a different database that has the same schema as well as some additional tables of my own. I want to point it to mylocally running sql server.

View 3 Replies

Security :: How To Add Group In Form Authintication Aspnetdb

May 13, 2010

Currently in security setting in website configuration, there us only User, Roles, And Access Rules.i want to add Groups as top level for Users. is it possible?

View 4 Replies

Security :: .NET Configuration Wizard Not Creating ASPNETDB.MDF?

Jul 22, 2010

I used the wizard and went through the steps to set it up and clicked DONE and closed the ASP.NET configuration window/wizard and the database was not created. What might be wrong here?

View 1 Replies

Security :: Get @list To Work In This Query On Aspnetdb

May 27, 2010

[Code]....

[Code]....

View 2 Replies

Security :: Aspnetdb.mdf And Business Specific Tables?

Dec 22, 2010

I built a website that tracks submissions online (SQL server express 08 edition). It has its own User table thats linked to other data tables specific to the business of the website. But I found out recently that I can save lot of time by integrating ASP.NET standard Login Controls that can automate lot of coding and make my life easier. Now since then, I added the login controls, integrated the work flow into my website (just user , role navigation so far) and noticed VS creates its own user tables , view, SPs etc. I am okay with that.I need all my submissions to be linked to a particular user that enters each sumission. Now since my user (userid) moved from my personal custom table to a standard ASPNETDB.mdf table... how do I link my original website database and tables to this Default User table / (ASPNETDB.mdf) created by VS.

View 5 Replies

Security :: Retrieve Username And Password From Aspnetdb?

Dec 13, 2010

How to get the username and password of the user in ASPNETDB. I am using ASP.NET 2.0 and C#.

I have configured the membership provider. I want to retrieve the username and password from the aspnet db?

View 2 Replies

Connect Directly To Aspnetdb Database?

Oct 19, 2010

I wanna connect to aspnetdb but it makes an error says "Login failed for user" this is the connection string in web config :

<add name="UserProfiles" connectionString="Data Source=KIA;Initial Catalog=aspnetdb;Integrated Security=True;"
providerName="System.Data.SqlClient" />

and this is my code:

SqlConnection connection = new SqlConnection();
SqlCommand ComNewCheckSum = new SqlCommand();
connection.ConnectionString = ConfigurationManager.ConnectionStrings["UserProfiles"].ConnectionString;
connection.Open();
ComNewCheckSum.Connection = connection;
ComNewCheckSum.CommandText = String.Format("select UserID from aspnet_Users where UserName = {0}", _UserName);
return Convert.ToInt32(ComNewCheckSum.ExecuteScalar());

how can i pass through error?

View 1 Replies

Security :: How To Bulk Load Multiple Users Into Aspnetdb

Sep 26, 2010

I'm using VWD 2010 asp.net 4.0 and SQL Server 2008 Express

I created a website that uses security with aspnetdb configuration

now I have hundred users that need to access this website

And I don't want manually insert them one by one

Is there any way (T SQL Stored Proc or ASP.NET VB code) to automated this bulk insert?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved