 |
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
|
|
|
|
|

August 19th, 2006, 09:09 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
quote:If you could please bare with me on this and try to understand that I am not fluent with any of this, and am doing my best to work with you on finding a solution to this.
|
Sure, no problem. I will...
Imar
---------------------------------------
Imar Spaanjaars
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.
|
|

August 19th, 2006, 09:24 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'll take a look at the tools and post back.
Thanks
|
|

August 19th, 2006, 09:43 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am a little confused here, so bare with me.
I have SQL Studio Management Express, and opened it, but it only shows the main system databases.
Can I get in touch with you via email for the time being, so I can throw some print screens your way? Or is there an easier method that you'd prefer in an effort to keep the posts here? We could always post the solution to this in here once we conclude our email exchanges. Let me know when you have the time.
Thanks
|
|

August 19th, 2006, 09:45 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I opened the logs, which show file access to the logs since I've started up this evening and had activity on the SQL server. However, the logs are all empty.
|
|

August 19th, 2006, 10:28 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
There were several instances of blog.mdf from my previous projects that I had been tampering with. I did not realize these were all sticking and being run, so I am removing them, all down until I have a single instance (the one I am currently working on) of blog.mdf.
I had this project going some time ago, but did not take the time to document my project, as I usually do, as I was just messing around, but realized the potential for its use, so I am going back through and documenting everything, which is where I am now (that'll teach me not to document even the slightest!).
I will test this out with just the single instance, and if I get the same error, I will remove it, and see where that goes.
|
|

August 19th, 2006, 10:33 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry for the multiple posts, but I do have a question I've been meaning to ask.
I noticed that when setting these applications up, that there is a project folder created under the <user profile>Visual Studio 2005 directory, which is aptly named after the project that is created. Now, if I specify the default directory during the installation of the blog application, which would be in c:\inetpub\wwwroot\blog, then how do the project files come into play with all of this? Are they just a replica with a few extra added files for VSE's sake? Can I remove them, and point everything to the main directory where my project is? And lastly, why is there not a virtual directory created under IIS like it is stated there is going to be during the installation of the app? It says it's going to create the virtual path during install, yet it does not show up in IIS. I'm confused about that one, as well as why there are project files in the user profile directory, and if I can keep everything under the c:\inetpub\wwwroot\blog directory for simplicity sake.
|
|

August 19th, 2006, 10:35 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I tried all of that, updated the blog with the blog update zip file, and still get the same error, so I will proceed with more research.
|
|

August 19th, 2006, 10:42 PM
|
|
Authorized User
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, I did some tweaking and found that the IUSR did not have read/execute rights to the directory c:\inetpub\wwwroot\blog, and so far, that's been the issue keeping me from viewing the page, so I am going to log in and start setting things up. I remember running into a few other issues, but the main issue at hand has been resolved.
Another question. What specific users need access to this directory other than the IUSR? Network? ASPNET?
If you can answer that, and the other questions I posted two posts earlier, I would greatly appreciate it, and would consider this post concluded.
Sorry for all of the posts, I'm trying to get this all smoothed out so I don't run into anything else in the future, as I plan on moving this app to a full time server within my SOHO, and testing it out, implementing it further and building upon it, as well as some of the other apps in the book.
Thanks again in advance for your answers to the questions, and I apologize for throwing so much on you at one time.
|
|

August 20th, 2006, 02:28 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
No problem about all the posts....
Take a look here: http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=287
It describes how to determine the account used by your webserver. You'll notice you don't use IUSR in an ASP.NET scenario (usually).
One addition: if you run from within Visual Web Developer and use the built-in web server, the account used is the one you use to logon to your machine, like MachineName\abel714
HtH. Gotta go now, so I won't be able to answer any replies for some time...
Imar
---------------------------------------
Imar Spaanjaars
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.
|
|

August 20th, 2006, 04:26 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
What folder under the user profile do you mean? How is it called exactly? I don't have it here.
Are you talking about the webcache folder? AFAIK, this is used by Visual Studio only, and is not necessary at run-time. You can safely clear that folder as VS will recreate it. In fact, I found that in the past I had to clear it every now and then to resolve issues with VS.
I also don't understand why you don't get a virtual folder under IIS when you run the installer. When I run setup.exe I get the chance to create a VD called Blog under my default web site. When I finish the wizard, I have a VD called Blog in IIS and a separate folder called Blog under the physical folder that mapped to my default web site (e.g. c:\inetpub\wwwroot).
The c:\inetpub\wwwroot\Blog is the only folder that is used; you can safely clear anything else you see. If the installer doesn't work for you, you can simply unpack the source ZIP file to c:\inetpub\wwwroot\Blog and then manually create a VD called Blog in IIS.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
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.
|
|
 |