Parser Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?RWRC?=

    #1

    Parser Error

    I am having a real problem with this.

    I am much more a Windows guy then a Web guy, so that doesn't help.

    I have an ASP app I developed in VS2003/VB. I then converted it to VS2005.
    It works fine on my machine in VS2005 (worked fine in VS2003 as well).

    I am using a hosting facility. When I upload the pages to the hosting site,
    I get nothing but:

    Parser Error

    I have another site at this facility that is .Net 1.x which works fine.
    This site is .Net 2.0. I tried putting a file from the 1.x version of my
    site on the 1.x site, still get the error.

    I tried putting the files from the 1.x site on the 2.0 site, I get the error.

    I tried creating a new site in VS2005, added a simple form with nothing but
    a label control that says "Test", and here it is.

    Server Error in '/' 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 'DotsterTest.Si mpleTest'.

    Source Error:


    Line 1: <%@ Page Language="vb" AutoEventWireup ="false"
    CodeBehind="Sim pleTest.aspx.vb " Inherits="Dotst erTest.SimpleTe st" %>
    Line 2:
    Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">


    Source File: /SimpleTest.aspx Line: 1


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.507 27.832; ASP.NET
    Version:2.0.507 27.832


    I have googled Parser Error and could not find the answer that helped. I am
    desperate for some help.

    Please respond or e-mail me at ebick@smartcity .net.

    Thanks.
  • Guest's Avatar

    #2
    Re: Parser Error

    VS2005 uses web sites where VS2003 uses web projects. Web site are difficult
    to manage. Try to use Microsoft Visual Studio 2005 - Update to Support Web
    Application Projects.

    download from here:
    http://www.microsoft.com/downloads/d...displaylang=en

    _______________ _________
    sa@openwinforms .com

    OpenWinForms - open source windows forms and controls
    Google group - http://groups.google.com/group/open-winforms


    Comment

    • Marc Gravell

      #3
      Re: Parser Error

      Minor note; WAP support is included in VS 2005 SP1, but if you have
      installed WAP separately you must uninstall it before you can install
      VS 2005 SP1.

      Given the choice, I'd install the service pack (not the separate
      download) - but note that it can take several hours to install.

      Marc


      Comment

      • =?Utf-8?B?RWRC?=

        #4
        Re: Parser Error

        Thanks for the responses. It sounds like the quickest, easiest, surest
        thing for me to do is to go back to 1.x. I did get one of my pages to show
        in a 1.x environment.

        I don't really need to 2.0 features.

        "Marc Gravell" wrote:
        Minor note; WAP support is included in VS 2005 SP1, but if you have
        installed WAP separately you must uninstall it before you can install
        VS 2005 SP1.
        >
        Given the choice, I'd install the service pack (not the separate
        download) - but note that it can take several hours to install.
        >
        Marc
        >
        >
        >

        Comment

        Working...