Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2012, 06:30 AM
Authorized User
 
Join Date: Jul 2012
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Unhappy can you help me?

if I let you try to remote my computer to see What I done can you help me ..
 
Old July 17th, 2012, 06:48 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I am sorry, but you're not making a lot of sense. For example:

Quote:
I assume the first choice affect by that so I dont Know.
What's that supposed to mean?

Quote:
if there is any thing you would me to write inform me thanks for care .
Yes, an answer to all the questions I asked in my previous post. If you haven't read chapter 19 yet, I am not sure why you're messing with all of this; you don't need it until that chapter.

Quote:
if I let you try to remote my computer to see What I done can you help me
Sorry, can't do that. Will try to help you, but I can't be your support guy.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
jeje (July 17th, 2012)
 
Old July 17th, 2012, 06:49 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
I need help in how to return it back to open with the defult program because the icon of it is change to word .
Don't bother with it. You never need to open this file yourself, and SQL Server knows how to deal with it even though you mapped it to Word.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
jeje (July 17th, 2012)
 
Old July 17th, 2012, 07:05 AM
Authorized User
 
Join Date: Jul 2012
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Default

thank you for your replay but I will read chapter 19 and I will read the appendix but I want you to help me in the problem I face it that problem is :
I change the default program that open the *.LDF how I return it back because I change it to Microsoft selector to see if it contain data I forget what it was ??????
help me..
 
Old July 17th, 2012, 07:08 AM
Authorized User
 
Join Date: Jul 2012
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Default

but the file doesnt opened in vwd now it tell me that file is using by another program .
 
Old July 17th, 2012, 07:16 AM
Authorized User
 
Join Date: Jul 2012
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Default

thank you for all your help you are great person ..I will try to make my project work agian becasue now when I open the VWD and try to open ASPNETDB.MDF there is an error :


One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup.
Cannot open user default database. Login failed.
Login failed for user 'yousef-PC\yousef'.
Log file 'C:\BegASPNETCS\Site\App_Data\aspnetdb_log.ldf' does not match the primary file. It may be from a different database or the log may have been rebuilt previously.
 
Old July 17th, 2012, 07:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
I change the default program that open the *.LDF how I return it back because I change it to Microsoft selector to see if it contain data I forget what it was ??????
I understand. But like I said, just ignore it. Users don't open this file, and SQL Server knows what to do with it. I think by default it's not linked to any program but marked as a system file. Don't know how to restore the original settings but I am sure Google does.

Quote:
but the file doesnt opened in vwd now it tell me that file is using by another program .
Again, you *can't* open the file; it's only used by SQL Server. It's probably locked because you attached the database to SQL Server which puts a lock on that file.

Quote:
It may be from a different database or the log may have been rebuilt previously.
Sounds like you either corrupted the log file (maybe by opening it in Word) or working with a wrong version. Try deleting it and it should be recreated.

Can't help you much further as you're not supplying the details I need.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
jeje (July 17th, 2012)
 
Old July 17th, 2012, 07:51 AM
Authorized User
 
Join Date: Jul 2012
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Default

thank you Dr.Imar Thank you so much
I delete the file as you said and everyhing back ,but I lose my data, it doesnt mater I will again read the all chapter and I will ask you for help If I faced problem in future I hope not,
so Thanks again you are good helpful person ....
my regards..
 
Old August 4th, 2012, 08:54 AM
Authorized User
 
Join Date: Jul 2012
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts
Smile I am back

dear,
I read ch 19 and i execute it on plant wrox project now i want to complete my project I asked about :
I am developing a web site that act as electronic sell on my local host.
I use entity frame work to store data in my database that contain 3 table:
One for product ,one for customer and the last for the order .

I want to know my project is still in the begining still not completed I want to do my account page that help user to change his information and to check his orders
I create sign up page that use web user control because I need extra information about the user like his address, city ,post code, …etc that help me to make the order .
In the book it use create user wizard (CRW)in sign up how I store user data that comes from the form in customer table and in ASPNETDB.MDF that used for log in ..
I confused if I used CRW how I store extra data in mine customer table , or If I cont. with my way how I store user data to ASPNETDB.MDF that help in log in , Please help me I am totally beginner in asp.net

you told me to read appindix B I am making sure if the soluion there tell me becasue my project not finish yet?????
 
Old August 4th, 2012, 01:35 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

This may be useful: http://weblogs.asp.net/scottgu/archi...18/427754.aspx

Appendix B doesn't deal with this; it shows you how to configure SQL Sevrer, and how to combine the aspnet database with yours.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I write data to my database using the CreateUserWizard? MtheK ASP.NET 2.0 Basics 12 March 8th, 2011 08:42 PM
Write to a database MMJiggy62 Beginning VB 6 3 August 24th, 2006 12:11 AM
Write data from access database to text files hayley Classic ASP Basics 1 February 1st, 2005 08:54 AM
Write to DataBase HELP!!! reidcor Javascript 3 January 19th, 2005 02:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.