Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 5th, 2006, 06:38 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
  #2 (permalink)  
Old September 5th, 2006, 07:31 PM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sclaggett
Default

Check to make sure you have read/write permissions on your directory where the database resides.

  #3 (permalink)  
Old September 5th, 2006, 07:57 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
  #4 (permalink)  
Old September 15th, 2006, 08:09 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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?
  #5 (permalink)  
Old January 8th, 2007, 12:52 PM
Authorized User
 
Join Date: Jan 2007
Location: Milano, , Italy.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
  #6 (permalink)  
Old January 22nd, 2007, 02:52 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vageesan_s Send a message via Yahoo to vageesan_s
Default

Hi

can u give the user id and Password for logging in Wrow Blog.

thanks
vag
  #7 (permalink)  
Old January 22nd, 2007, 03:05 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vageesan_s Send a message via Yahoo to vageesan_s
Default

Hi
Can anyone explain about Hashed Passwords

How it has to be done and retrieved. in .net 2005

thanks
vag
  #8 (permalink)  
Old January 22nd, 2007, 03:28 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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.
  #9 (permalink)  
Old January 22nd, 2007, 04:12 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vageesan_s Send a message via Yahoo to vageesan_s
Default

Hi Imar

 I tried out with the information on the book but it flashes "login attempt was not successful".

- vag

  #10 (permalink)  
Old January 22nd, 2007, 05:12 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - How to create a Login tracker? melvados Visual Basic 2005 Basics 3 August 4th, 2008 09:07 AM
How to create the login curiaquita VB.NET 4 June 4th, 2008 07:13 AM
Chapter 6 Blog - Cannot Login Access DB bmoran007 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 November 26th, 2007 10:53 AM
Wrox Blog: Viewing individual blog entries Tawanda BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 May 7th, 2007 12:06 PM
Login for Wrox Blog danielson BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 March 20th, 2007 02:12 PM



All times are GMT -4. The time now is 08:52 PM.


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