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

October 24th, 2008, 03:06 PM
|
|
Authorized User
|
|
Join Date: Oct 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
survey engine hosting problem
hi,
I installed the survey engine setup.exe n tried to access it my browser by using http://localhost/surveyengine but i got the error message in my browser saying Directory listing denied - the virtual directory does not allow contents to be listed... im stuck here n i 've no idea abt this issue i need help plz guide me thro'
thanks in advance
vasanth
__________________
vasanth
|
|

October 25th, 2008, 02:05 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
The root folder of this does not have a default document. The web server then actively denies browsing folders. To fix this, do one of the following:
1. Allow IIS to browse folders
2. Place a Default.aspx file in the root of your site, based on the master page.
3. Browse to http://localhost/surveyengine/ContentFiles.
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
|

October 25th, 2008, 01:52 PM
|
|
Authorized User
|
|
Join Date: Oct 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
HI,thanks for your reply
1.As you guided me i placed the default.aspx in the surveyengine root which was taken from the contentfiles folder and tried to run where i got this parse error...
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The virtual path '/MasterPage.master' maps to another application, which is not allowed.
Source Error:
Line 1: <%@ Page Language=" VB" MasterPageFile="../MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx. vb" Inherits="_Default" %>
2.well i tried the other method byusing this url: http://localhost/contentfiles where it redirects to the home page of the application n when i try to log in through admin user it throws the below exception...
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
3.canu plz tell me how to allow iis to browse the folders
vasanth
|
|

October 26th, 2008, 02:52 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi vasancer,
Do you have the book? Some of this is explained in one of the chapters.
When you copy a file from the ContentFiles folder to the root, you need to update the path to the master page:
<%@ Page Language=" VB" MasterPageFile="MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx. vb" Inherits="_Default" %>
However, it's much easier to open up VWD, open the site and add a new page through File | Add New Item.
With regards to the question about IIS: Google is your friend. A quick search on Google for "IIS allow directory browsing" returns many useful results, including this one:
http://blog.crowe.co.nz/archive/2006/03/18/603.aspx
Use tools like Google successfully, and you'll be able to help yourself a lot faster....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
|

October 26th, 2008, 01:20 PM
|
|
Authorized User
|
|
Join Date: Oct 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
I followed up wat u asked me to, like updating the path to the master page:
<%@ Page Language=" VB" MasterPageFile="MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx. vb" Inherits="_Default" %> But,im getting this parse error :The virtual path '/MasterPage.master' maps to another application, which is not allowed. Im really confused, im really sorry to annoy u by asking u the silly Querrys actually this is the first time im working on a project by my own so plz help me with patience...
it'll be really help full with ur guidance thanks to all ur replies im learning alot frm this book hats off to u for a book like this...
vasanth
|
|

October 28th, 2008, 01:44 PM
|
|
Authorized User
|
|
Join Date: Oct 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
ya i do have the book(instant result)....
well i did as u said by adding the project,build n debugged n this wat i got...
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
System.Data.SqlClient.SqlDataReader.ReadColumn(Int 32 i, Boolean setTimeout) +140
System.Data.SqlClient.SqlDataReader.ReadColumn(Int 32 i) +30
System.Data.SqlClient.SqlDataReader.GetDateTime(In t32 i) +35
System.Web.Security.SqlMembershipProvider.GetPassw ordWithFormat(String username, Boolean updateLastLoginActivityDate, Int32& status, String& password, Int32& passwordFormat, String& passwordSalt, Int32& failedPasswordAttemptCount, Int32& failedPasswordAnswerAttemptCount, Boolean& isApproved, DateTime& lastLoginDate, DateTime& lastActivityDate) +1105
System.Web.Security.SqlMembershipProvider.CheckPas sword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved, String& salt, Int32& passwordFormat) +157
System.Web.Security.SqlMembershipProvider.CheckPas sword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved) +68
System.Web.Security.SqlMembershipProvider.Validate User(String username, String password) +100
System.Web.UI.WebControls.Login.AuthenticateUsingM embershipProvider(AuthenticateEventArgs e) +100
System.Web.UI.WebControls.Login.OnAuthenticate(Aut henticateEventArgs e) +113
System.Web.UI.WebControls.Login.AttemptLogin() +178
System.Web.UI.WebControls.Login.OnBubbleEvent(Obje ct source, EventArgs e) +134
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56
System.Web.UI.WebControls.Button.OnCommand(Command EventArgs e) +107
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +178
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +72
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3838
vasanth
|
|

October 28th, 2008, 05:25 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
This is a know issue, reported here: http://p2p.wrox.com/topic.asp?TOPIC_...RangeException and reported in the errata here: http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
|

October 29th, 2008, 01:26 PM
|
|
Authorized User
|
|
Join Date: Oct 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Thank you very much as the login problem is been resolved n everytime its like learning new things thanks for ur co-operation...
well after loging in i tried to update with the existing survey but i encouter with this errror:
Updating is not supported by ObjectDataSource 'ObjectDataSource1' unless the UpdateMethod is specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSupportedException: Updating is not supported by ObjectDataSource 'ObjectDataSource1' unless the UpdateMethod is specified.
then again i created a new survey n saved worked well no probs but when i tried to delete it it redirected me to the page where 2 button one was cancel n other one greyed out n the error was "Button has been disabled due to security reasons" so plz do help me in this n i tried myself to solve it but i coukdn't
vasanth
|
|

October 31st, 2008, 02:31 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
I didn't write that chapter, so I am not sure how exactly the application should behave.
Maybe you need to specify an UpdateMethod like Save on the ODS your self?
For the other error: look at DeleteSurveyConfirm.aspx. vb. Apparently you are not logged in correctly.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Survey Engine |
Dennis239 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
6 |
March 3rd, 2008 02:34 PM |
| Survey Engine |
anitafn2005 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
5 |
February 18th, 2007 01:56 AM |
| Survey engine |
anitafn2005 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
13 |
February 11th, 2007 04:49 PM |
| Survey engine |
anitafn2005 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
1 |
October 8th, 2006 04:17 PM |
| Survey Engine Arhitecture.... |
Berggreen |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
1 |
June 26th, 2006 11:01 AM |
|
 |