Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 September 19th, 2003, 03:13 PM
Registered User
 
Join Date: Sep 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yet More Installation Issues

First of all, I'm running XP Pro, VS 2002 Enterprise, and Framework 1.1.

Ok, I've followed all of the readme.html installation notes. When I open the project, I notice that all of the wrox namespace references are broken.

After I go thru and remove all of the offending references and replace them with the logical equivalents (Accounts.Business -> Wrox.WebModules.Accounts.Business), I get the thing to compile, but now I get this "Error Message:
Access to the path "C:\wrox\ThePhileVB\Config\Polls.Config" is denied." error message. This topic is discussed here:http://p2p.wrox.com/topic.asp?TOPIC_ID=640 - however, the fix doesn't seem to work for me.

Basically I'm writing to express my disdain for source code that takes me hours just to get up and running on my machine. The book is great, but I need to be able to see the code and architecture of the project.
 
Old September 24th, 2003, 07:23 AM
Registered User
 
Join Date: Sep 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It doesnt seem to work for me either.
And I agree with your point about the source.
The code is very buggy, which it doesnt help I think.

Regards


 
Old November 11th, 2003, 11:38 AM
Registered User
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Change this line (VB):
dim fs as new FileStream(filename, Filemode.Open)
to
dim fs as new FileStream(filename, Filemode.Open,FileAccess.Read)
in all the config files.

I got this info with the download "I Think".

Anyways it worked for me.



 
Old November 14th, 2003, 01:10 AM
Registered User
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried your fix but it didn't work. Any other suggestions?
Thanks!
Henry

Quote:
quote:Originally posted by diamond2165
 Change this line (VB):
dim fs as new FileStream(filename, Filemode.Open)
to
dim fs as new FileStream(filename, Filemode.Open,FileAccess.Read)
in all the config files.

I got this info with the download "I Think".

Anyways it worked for me.



 
Old November 17th, 2003, 09:30 AM
Authorized User
 
Join Date: Nov 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I too get the Access Denied error, but I didn't use to get it under the 1.0 framework, so I wonder if this is related to 1.1.
I suspect it's something to do with the .config file extension, but how to fix it???

brian
 
Old November 18th, 2003, 06:09 AM
Authorized User
 
Join Date: Nov 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The FileAccess.Read trick solved the problem for me. But it leaves the question of how the SaveSettings operation is going to work (if there was any UI to drive it).

brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 1 - PHP installation issues Abelmiah BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 June 21st, 2009 05:01 PM
connection string issues, web.config file issues kaliaparijat ASP.NET 2.0 Professional 1 June 12th, 2008 08:07 AM
Installation issues Vorge BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 11 February 13th, 2004 06:14 PM
PHP installation issues, yet again donh BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 September 22nd, 2003 07:12 PM





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