CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Project Setup

Print topic Send  topic

Author Message
Darren Linsley
Posted: 11/21/2004, 6:41 PM

Hi

Could someone please details the steps required to get an ASP.NET (VB)
project up and running successfully.

Thanks in Advance.


Stan
Posted: 11/22/2004, 2:17 AM

Darren

Please read the following article
http://support.codecharge.com/kb_article.asp?article_id=29

Stan
Darren Linsley
Posted: 11/22/2004, 1:44 PM

Hi Stan

Yeah i tried this.

If i launched the browser manually and then goto my site, it appears to work
ok. But if i try to use the Home Page in Browser or Live Page options from
within CCS, then i get the Server Error in Application message.

Has anyone else experienced this?
peterr


Posts: 5971
Posted: 11/22/2004, 1:55 PM

Yes, this is THE most frequent error and we see it quite often here on the forums, reported to our support, and elsewhere on the Internet: http://www.google.com/search?hl=en&q=%22Server+Error+in...+Application%22 and http://groups.google.com/groups?q=%22Server%20Error%20i...lr=&sa=N&tab=wg.
This is resulting from improper configuration of ASP.NET server, specifically the Virtual Directory as described in that article.
Most of the answers that I seen on the Internet point back to the same problem: incorrectly configured Virtual Directory.

However, there could be other flavors of "Server Error in Application", so please always copy and paste the full error message when requesting help.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Darren Linsley
Posted: 11/22/2004, 6:57 PM

Ok, i started from stratch. I configured my Virtual Dir as per the
directions in http://support.codecharge.com/kb_article.asp?article_id=29

I created a simple project. 4 Pages.
1 header, 1 Main, Page 1 and Page 2. The header file simply has links
between Main, Page1, Page2.

This project is compiling to ASP.NET VB.
When i publish this project, MANUALLY start IE and navigate to
http://localhost/a_inet/main.aspx , i can successfully click a navigate
between the 3 pages.

If i publish and attempt to use Home Page in Browser or Live Page, the first
page loads successfully. If i try to click on a link and naviagate to
another page (Page 1 or Page 2), then i receive the follow error.

Here is the exact server message i get:
Server Error in '/a_inet' 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: Could not load type 'acri_inet.Page1.Page1Page'.

Source Error:


Line 1: <!--ASPX page @1-48E4CB94-->
Line 2: <%@ Page language="vb" Codebehind="Page1.aspx.vb"
AutoEventWireup="false" Inherits="acri_inet.Page1.Page1Page" %>
Line 3: <%@ Import namespace="acri_inet.Page1" %>
Line 4: <%@ Import namespace="acri_inet.Configuration" %>


Source File: C:\Inetpub\wwwroot\acri_inet\Page1.aspx Line: 2



--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

Interestingly, if i now attempt to access this site by manually starting the
browser after attempting to run it from within CCS, i get the same problem.

Can someone please tell me what i am doing wrong? Please help.

Thanks.
peterr


Posts: 5971
Posted: 11/22/2004, 9:30 PM

Hi again Darren,

Unfortunately the error message indicates again the same problem as we suspected earlier, with Virtual Directory setup.
I suspect some type of mismatch between the virtual and physical directory. For example you show that the physical directory is "C:\Inetpub\wwwroot\acri_inet\", but the Web URL is "http://localhost/a_inet". They don't match. I guess this could be OK if you indeed specified in IIS that the new virtual directory name/alias should be "a_inet" and it points to "C:\Inetpub\wwwroot\acri_inet". Is this what you did?

Also, what are the publishing settings specfied in your CCS project?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Darren Linsley
Posted: 11/23/2004, 2:09 PM

Hi Peter

Thanks for your help. While i get answers to your questions, i am running
this on a WinXP machine with SP2. Would that matter?
peterr


Posts: 5971
Posted: 11/23/2004, 2:13 PM

No, this should work the same on all Windows flavors, as long as you have IIS and .NET framework 1.1 (which you do).
BTW, I also use WinXP Pro SP2.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Darren Linsley
Posted: 11/23/2004, 2:28 PM

OK.

My virtual directory settings from IIS are:
Alias: acri_intranet
Path: c:\inetpub\wwwroot\acri_intranet
(They were correct in the previous example, but i have changed them to be
the same. I was just trying some things.)

My Publishing settings from CCS are:
Server Path: c:\inetpub\wwwroot\acri_intranet
Server URL: http://localhost/acri_intranet

And the problem still exists.
peterr


Posts: 5971
Posted: 11/23/2004, 2:40 PM

This all looks good. I'm only assuming that now the error message has changed to "Server Error in '/acri_intranet Application".
Unfortunately I don't have other ideas at this point. If no other users respond with suggestions I recommend contacting the product support at http://support.yessoftware.com.
Thank you.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Darren Linsley
Posted: 11/23/2004, 2:45 PM

Yeah that's right.

Do you think the problem could be related to security?
peterr


Posts: 5971
Posted: 11/23/2004, 2:54 PM

I don't think so but you never know.
It would be best f you could submit a support case and then email your project, so that we could install it and check if everything is OK with the project itself.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Darren Linsley
Posted: 11/23/2004, 3:02 PM

Ok will do.

Thanks for your help anyways Peter.
peterr


Posts: 5971
Posted: 11/24/2004, 12:32 AM

BTW, it's possible that this error happens because only one page is published and compiled when you select "Live Page" while the other pages may not be published and therefore compiled. Thus please also try changing the publishing method in Project Settings -> Publishing to "Publish all files with extensions".
Even then, it may occasionally help to press F9 to generate and compile all pages, especially when creating new pages or projects that werenever compiled before.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.