continuous parser error

G

Guest

hello,
i just converted old .net project (it was a solution with web project and
class project) built in .net 1.0 and 1.1 framework to .net 2.0.
as i expected, when i clicked on the solution file from vs 2005, it went
through a conversion process and all seemed to go ok.
when i attempt to run, i get first parser error on global.asax and cs. i
still have global.asax and global.asax.cs attached together (as code-behind).
after few attempts, i just decided to remove the global.asax and code-behind
just for now in order to run the app first.
now i am getting a parser error on some user control.

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 'mytest.sk.customHeader'.

Source Error:


Line 1: <%@ Control Language="c#" AutoEventWireup="True"
Codebehind="customHeader.ascx.cs" inherits="'mytest.sk.customHeader"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
Line 2: <table width="100%">
Line 3: <tr>


Source File: /sk/customHeader.ascx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.210

any suggestions?

thanks
-a
 
G

Guest

i found a fix (thanx to my buddy, dotnetjunky!).
..net 2.0 does not support codebehind so i replaced them all to codefile and
the problem is gone.
however, i am still getting parser error around global.asax. i am going to
remove global.asax and do some work around.

-a
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top