B
bob
Hi,
VS2008 IDE running on Winserver 2003 running IIS
ASP.net one page project. Target Framework 2.0
Constructed by me, a newbie to web development.
Published it a to local directory then copied across network to
production server.
Web Browser opens page OK from Production Server but there are some
issues so I figured I would retreat and access it on the Development
machine web site.
Using IIS manager Made a virtual directory under the default web site
and pointed it at the publish directory
Here the wheels fall off.
The Web browser complains of Parser errors (unknown attributes).
e.g. in the sectionGroup it complained about the type attribute.
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Slowly we move down the Web.config removing what appear to be default
attributes it is not happy with.
Finally it fails with
Could not load type 'EasyVend0rClient.VendClient'. which is the code
class for the page
and displays
Line 1: <%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="VendClient.aspx.cs" Inherits="EasyVend0rClient.VendClient"
%>
in Red Text.
It seems to be a difference between the two IIS but I haven't a clue
as to how to fix this or even if that is the problem.
I just want to be able to step down the path of :
Running under ASP.NET Development server -> Access from local IIS site
-> Access from Production site.
thanks
Bob
VS2008 IDE running on Winserver 2003 running IIS
ASP.net one page project. Target Framework 2.0
Constructed by me, a newbie to web development.
Published it a to local directory then copied across network to
production server.
Web Browser opens page OK from Production Server but there are some
issues so I figured I would retreat and access it on the Development
machine web site.
Using IIS manager Made a virtual directory under the default web site
and pointed it at the publish directory
Here the wheels fall off.
The Web browser complains of Parser errors (unknown attributes).
e.g. in the sectionGroup it complained about the type attribute.
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Slowly we move down the Web.config removing what appear to be default
attributes it is not happy with.
Finally it fails with
Could not load type 'EasyVend0rClient.VendClient'. which is the code
class for the page
and displays
Line 1: <%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="VendClient.aspx.cs" Inherits="EasyVend0rClient.VendClient"
%>
in Red Text.
It seems to be a difference between the two IIS but I haven't a clue
as to how to fix this or even if that is the problem.
I just want to be able to step down the path of :
Running under ASP.NET Development server -> Access from local IIS site
-> Access from Production site.
thanks
Bob