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

March 20th, 2007, 10:54 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 03- Chat Server Configuration Error
Hi I have installed the chat server and I get thi error.
Server Error in '/ChatServer' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 31: <compilation debug="true">
Line 32: <assemblies>
Line 33: <add assembly="vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 34: </assemblies>
Line 35: </compilation>
Source File: C:\Inetpub\wwwroot\ChatServer\web.config Line: 33
Assembly Load Trace: The following information can be helpful to determine why the assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Danny Hidayat
__________________
Danny Hidayat
|
|

March 20th, 2007, 12:58 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Danny,
This is a reference to J#, not a part of the .NET Framework by default. To install it, get the redistributable here: http://msdn2.microsoft.com/en-us/vjsharp/bb188598.aspx or check your VS 2005 setup.
However, I don't think you need it, so you might as well try removing the <assemblies> element altogether.
With regards to your other posts: I posted a reply to all of them, but never got a reply. Are those issues resolved now?
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.
|
|

March 20th, 2007, 01:48 PM
|
|
Authorized User
|
|
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Thank you so much for all your help!
I remove the <assemblies> and now I get this message:
Server Error in '/ChatServer' Application.
--------------------------------------------------------------------------------
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.master' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /ChatServer/MasterPage.master
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Danny Hidayat
|
|

March 20th, 2007, 02:25 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You can't, as the error message says, request .Master pages directly in the browser. Try an .aspx page instead.
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.
|
|

March 21st, 2007, 09:48 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
I change the file extention to aspx but now I get this error:
Server Error in '/NARFEchat' Application.
--------------------------------------------------------------------------------
Parser 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 directive 'master' is unknown.
Source Error:
Line 1: <%@ Master Language=" VB" CodeFile="MasterPage.aspx. vb" Inherits="MasterPage" %>
Line 2: <%@ Register Src="Controls/Header.ascx" TagName="Header" TagPrefix="uc" %>
Line 3: <%@ Register Src="Controls/Navigation.ascx" TagName="Navigation" TagPrefix="uc" %>
Source File: /NARFEchat/MasterPage.aspx Line: 1
Thanks
Danny Hidayat
|
|

March 21st, 2007, 09:55 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You shouldn't change the extension of the master page to .aspx, you should request an .aspx page instead. The Master page is used by other files in the site. You should request those files instead.
Do you have the book? Look at page 78 and further for an explanation of the files in the site.
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.
|
|

March 21st, 2007, 10:40 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
When I changed the folwing code in the MasterPage.aspx file
from
<%@ Master Language=" VB" CodeFile="MasterPage.aspx. vb" Inherits="MasterPage" %>
to
<%@ Page Language=" VB" CodeFile="MasterPage.aspx. vb" Inherits="MasterPage" %>
I get this error:
Server Error in '/ChatServer' Application.
--------------------------------------------------------------------------------
Parser 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: ContentPlaceHolder can only be used in .master files.
Source Error:
Line 17: </div>
Line 18: <div id="maincontent">
Line 19: <asp:ContentPlaceHolder ID="main" runat="server">
Line 20: </asp:ContentPlaceHolder>
Line 21: </div>
Source File: /ChatServer/MasterPage.aspx Line: 19
Danny Hidayat
|
|

March 21st, 2007, 10:50 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Thanks, I think I got it. You have been a great help. Looking forward to your new book.
Danny
Danny Hidayat
|
|

March 27th, 2007, 10:50 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes, if you are going to have new book, I am looking forward to it.
I get a lot more from ASP.NET 2.0 Instant Results book than any other books that are much more expensive.
Thanks
Danny Hidayat
|
|
 |