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
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