Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Display Modes
  #1 (permalink)  
Old September 19th, 2003, 03:13 PM
Registered User
 
Join Date: Sep 2003
Location: , , .
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.
  #2 (permalink)  
Old September 24th, 2003, 07:23 AM
Registered User
 
Join Date: Sep 2003
Location: London, , .
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


  #3 (permalink)  
Old November 11th, 2003, 10:38 AM
Registered User
 
Join Date: Nov 2003
Location: , , .
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.



  #4 (permalink)  
Old November 14th, 2003, 12:10 AM
Registered User
 
Join Date: Nov 2003
Location: , , .
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.



  #5 (permalink)  
Old November 17th, 2003, 08:30 AM
Authorized User
 
Join Date: Nov 2003
Location: Caterham, Surrey, United Kingdom.
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
  #6 (permalink)  
Old November 18th, 2003, 05:09 AM
Authorized User
 
Join Date: Nov 2003
Location: Caterham, Surrey, United Kingdom.
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
 


Thread Tools
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
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 05: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



All times are GMT -4. The time now is 04:12 PM.


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