 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
 | This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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
|
|
|
|
|

September 5th, 2006, 06:38 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Blog - Can login but, cannot create new entry
I've followed the instructions to install the Blog application onto my pc and the Blog application runs correctly. I can login and logout, view, add and edit blog entries, view and add comments.
Now, I copied the Blog project to my intranet web server and I can do everything except create and edit a blog entry. When I login, I'm authenticated but I don't get the "Create New Entry" button.
I'm using VWD Express Edition, and when I go to the Website>ASP.Net Configuration option and select "Security", I get this error message (depending on how I open the project in VWD).
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: The file "W:\My_Blog\App_Data\Blog.mdf" is on a network path that is not supported for database files. An attempt to attach an auto-named database for file W:\My_Blog\App_Data\Blog.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
or
The following message may help in diagnosing the problem: The file "\\MyServer\Web\My_Blog\App_Data\Blog.mdf" is on a network path that is not supported for database files. An attempt to attach an auto-named database for file \\MyServer\Web\My_Blog\App_Data\Blog.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
What should I do to get the Blog working? Do I need to configure the web server to support the .mdf file?
FYI. I'm trying to set the Blog application as a stand alone web site, but want to link to it via our intranet portal page(s). Also, I'm trying to run the Blog from IIS.
Thanks for any and all your help.
|
|

September 5th, 2006, 07:31 PM
|
|
Registered User
|
|
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Check to make sure you have read/write permissions on your directory where the database resides.
|
|

September 5th, 2006, 07:57 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your suggestion.
As of right now, the My_Blog folder, all sub folders and files allow everyone full control. It's still not working.
What else can I try?
|
|

September 15th, 2006, 08:09 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi j.t.w,
Sorry for my late response. I was on vacation for the past few weeks.
Are you still having a problem with this?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Ice Age by Joy Division (Track 13 from the album: Heart And Soul (CD 1)) What's This?
|
|

January 8th, 2007, 12:52 PM
|
|
Authorized User
|
|
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I had the same problem.
But the solution is on page 202 of the Book.
So, Administrator role is missing.
Follow step 7 of the "Manual Installation" on page 202 to Add the role to the Administrator user.
Hope this helps,
Alan
|
|

January 22nd, 2007, 02:52 AM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi
can u give the user id and Password for logging in Wrow Blog.
thanks
vag
|
|

January 22nd, 2007, 03:05 AM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi
Can anyone explain about Hashed Passwords
How it has to be done and retrieved. in .net 2005
thanks
vag
|
|

January 22nd, 2007, 03:28 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi vag,
The user accounts and their passwords are mentioned on page 392 of the book.
Password hashing is done automatically by the Membership providers as it is the default security scheme. You don't need to configure anything.
Hashed passwords cannot be retrieved anymore. Only reset.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
|
|

January 22nd, 2007, 04:12 AM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar
I tried out with the information on the book but it flashes "login attempt was not successful".
- vag
|
|

January 22nd, 2007, 05:12 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi vag,
Take a look at this thread: http://p2p.wrox.com/topic.asp?TOPIC_ID=48551
Do you have the same issues?
Try open the Website Administration tool and check if the roles are there. Also check if you can see the user accounts and whether they are assigned to the correct roles.
And how do you run the BugBase? With IIS or with the built-in server?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|
 |