Monday, March 26, 2012

VWD2005 hosting problems

I am an instructor teaching a web development class with VWD2005. I am having difficulty setting a web server to host student projects. The school web server is running Windows Server 2003 (SP1), IIS 6, MDAC 2.8, and .Net Framework 2.0. It is not serving asp pages properly. It is newly bult server without any other major applications. I have published several small websites that work fine locally. On the school server, I get parser errors on both test websites. The first website involves some modifications to the personal starter kit.

Server Error in '/ismg6240publictest' 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:Unrecognized attribute 'styleSheetTheme'.
Source Error:
Line 8: <system.web>Line 9: <trace enabled="true" />Line 10: <pages styleSheetTheme="White"/>Line 11: <customErrors mode="Off"/>Line 12: <compilation debug="true" />

Source File:F:\ISMG6240\ismg6240publictest\web.config Line:10

Server Error in '/is6240test' 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 'AssignmentNew'.
Source Error:
Line 1: <%@dotnet.itags.org. Master Language="VB" CodeFile="Assignment.master.vb" Inherits="AssignmentNew" %>Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Source File:/is6240test/Assignment.master Line:1
IT is kind of difficult to say what it wrong without having your web site source, but it looks like that ASP.NET is unable to locate AssignmentNew class. Does it exist somewhere? Also, are you getting any intellisense errors when web.config is open in Visual Web Developer?

The Website ismg6240publictest (in the first error message) contains the same files as the personal web starter kit with VWD2005 EE. I modified pages with my own text and added some photos. Otherwise, the website is the same. Both websites run fine on the local web server with VWD2005 EE. I did not make any changes to the web.config files of the Personal Web starter kit. I am not getting any Intellisense errors or build problems when I run the sites locally.
I cannot even access the websites through VWD2005 EE Copy Website using the accounts provided by the lab manager. Before installing .Net Framework 2.0, I could access both websites using FP2003 and VWD2005 EE with the server running .Net Framework 1.1. After installing .Net Framework 2.0, access to both websites with the same account is blocked with a message that I am not authorized to access the websites.


When I try to copy files from my local website to the remote website, I receive the following error in the log:
Synchronize between 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\AssignmentWebsite' and 'http://132.194.52.37:8080/is6240test' started at 9/8/2005 8:25:45 PM.
App_Themes\Style
Copy file Practice.css from source to remote Web site.
Has error -- Unable to add 'App_Themes/Style/Practice.css' to the Web. Server error: The folder "/is6240test/App_Themes/Style" is marked executable. You are not allowed to put files into an executable folder on this server.


Copy file Assignment.master.vb from source to remote Web site.
Has error -- Unable to add 'Assignment.master.vb' to the Web. Server error: The folder "/is6240test" is marked executable. You are not allowed to put files into an executable folder on this server.

Synchronize between 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\AssignmentWebsite' and 'http://132.194.52.37:8080/is6240test' is finished. Completed at 9/8/2005 8:26:07 PM.

This website was made into an application using IIS 6 as I have done for FP2003 websites. I am not sure if the executable setting is causing a problem when I try to browse the site.

0 comments:

Post a Comment