Questions tagged [aspnetdb]

104 questions
0
votes
1 answer

login to multiple domains on same IIS server with same ASPNETDB members database?

basically I am building two websites (2 IIS sites) on the same win2k3 server that are utilizing a shared ASPNETDB members database. this was auto generated by visual studio when integrating a login control, I'm sure you all know what it is. The…
korben
  • 1
0
votes
2 answers

Best Place to House the .Net ASPNETDB Membership and Roles DB

I am currently developing a business application that will ultimately be hosted at a .Net hosting company. The hosting company provides 1 MSSQL DB (with 2 users) and an unlimited number of MySQL DBs. Purchasing a second MSSQL DB is out of the…
ThaKidd KG5ORD
  • 1,535
  • 3
  • 24
  • 38
0
votes
1 answer

Combining tables from business db and ASPNETDB.MDF in stock asp.net mvc app

ASP.Net MVC apps have a business database FOO.MDF and a seperate accounting database ASPNETDB.MDF if they use the stock account provider Is it possible to move the tables from ASPNETDB.MDF into my business db (I want to refer the user class in other…
duffy
  • 615
  • 1
  • 9
  • 25
0
votes
1 answer

VS2008 ignoring my membership tables, creating new aspnetdb.mdf instead

I am making a web application in VS2008 for my final year project and I have a registration aspx form which uses a CreateUserWizard, which then creates / updates the various tables in the aspnetdb.mdf. The problem is I want these aspnet tables in…
0
votes
1 answer

How to replace the App_Data\aspnetdb.mdf when migrating to MS Azure?

Having a ASP.NET webforms application, I use aspnetdb database created in the SQL server. When migrating to Azure, is there any way to replace the aspnetdb database by something else so that it would not eat one database from the Azure SQL Database…
pepr
  • 20,112
  • 15
  • 76
  • 139
0
votes
1 answer

how to change the label1 text to block n unblock if checkbox in gridview1 is checked?

I want if checkbox1 in gridview is checked then the label1 text in gridview is Block if checkbox1 in gridview is unchecked then label1 text n gridview is unblock ... i want to do this because is want .... to block unblock user in ASPNETDB.MDF…
user583181
  • 75
  • 1
  • 5
  • 21
0
votes
2 answers

How to host site with ASPNETDB.MDF database from Development Server to Production Server?

I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual Studio 2008 only . .with its built-in SQL Server (2005 Express) ... my database in App_Data is ASPNETDB.MDF ... I have created some of my tables also ....in ASPNETDB .. In…
0
votes
1 answer

where to use this code?

where to use this code : EXEC sp_attach_db @dbname = N'myASPNetDB', @filename1 = N'c:\mypathdata\myaspnet.mdf', @filename2 = N'c:\mypathlogs\myaspnet_log.ldf'
ClixNCash
  • 81
  • 1
  • 4
  • 14
0
votes
1 answer

Two databases in ASP.NET

I have two databases in my project. One of them is the ASPNETDB.mdf. I'm wondering if there is a solution to merge these two or link them. Because I need my UserID from the ASPNETDB if I want to make a post to my other DB. Thanks in advance!
Bjorn Seigers
  • 159
  • 4
  • 12
0
votes
1 answer

Why can't a read-write user see the aspnet_ tables after I've created them with aspnet_regsql?

I created the membership tables etc. with aspnet_regsql -S myServer -E -A mr -d anExistingDatabase. I can see these changes in SQL Server Management Studio, when I connect as myself through Windows Authentication. I could not see these changes in…
Blanthor
  • 2,568
  • 8
  • 48
  • 66
0
votes
1 answer

File Uploader in Edit Template in List View

I am using File uploader in edit template in list view to update the list view. I am using on item updating to handle the update of list view. However it is throwing error at cmd.executenonquery(). Can anyone help me in this regard. …
Mustufain
  • 198
  • 12
0
votes
2 answers

Using session variable with ASP.Net membership provider

I m using the Asp.net membership provider with my web application ! I would like to know how to get the user ID and How and Where can I add code to the application to set same session variable On the User log on ! This is the scenario : The user…
Aladdin Gallas
  • 701
  • 2
  • 12
  • 36
0
votes
1 answer

aspnetdb.mdf and Microsoft.ACE.OLEDB.12.0

I'm trying to run my asp.net application on a windows machine (XP SP3, Vista, 7) which has only Microsoft.ACE.OLEDB.12.0 as the database engine installed and need to connect to the standard aspnetdb.mdf user database. Does any one know it is…
Mehrdad
  • 149
  • 3
  • 11
0
votes
1 answer

string or binary data would be truncated. the statement has been terminated. in c#

MemoryStream ms1 = new MemoryStream(); MemoryStream ms2 = new MemoryStream(); customer_pic_1.Image.Save(ms1,System.Drawing.Imaging.ImageFormat.Jpeg); byte[] img_arr1 = new byte[ms1.Length]; ms1.Read(img_arr1,0,img_arr1.Length); //ImageConverter…
0
votes
1 answer

How do I open the ASPNETDB.MDF database?

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…
donde
  • 351
  • 5
  • 12