473,498 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open new project from web not compiling

LU
I open new project from web (Created from another computer).
I add new web form to project, build/rebuild etc and I get Parse error below.
(If I change codebehind = to src=) it works.
How do I get it to complie ? What setting should I look into?

Server Error in '/census' 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 'census.WebForm2'.

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <html>
Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Nov 19 '05 #1
6 1260
Does webform2.aspx appear in the file list for the project? In
solution explorer, check the "show all files" button and make sure
webform2.aspx and webform2.vb are both listed in the project files.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:23:01 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
I open new project from web (Created from another computer).
I add new web form to project, build/rebuild etc and I get Parse error below.
(If I change codebehind = to src=) it works.
How do I get it to complie ? What setting should I look into?

Server Error in '/census' 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 'census.WebForm2'.

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <html>
Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573


Nov 19 '05 #2
LU
Yes,
Both files are in the project. Also, if I go back to the other computer I
can see the file and when i compile from this other computer it works.

"Scott Allen" wrote:
Does webform2.aspx appear in the file list for the project? In
solution explorer, check the "show all files" button and make sure
webform2.aspx and webform2.vb are both listed in the project files.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:23:01 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
I open new project from web (Created from another computer).
I add new web form to project, build/rebuild etc and I get Parse error below.
(If I change codebehind = to src=) it works.
How do I get it to complie ? What setting should I look into?

Server Error in '/census' 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 'census.WebForm2'.

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <html>
Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573


Nov 19 '05 #3
Is the directory for your project marked as an application virtual
directory in IIS?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:59:05 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
Yes,
Both files are in the project. Also, if I go back to the other computer I
can see the file and when i compile from this other computer it works.

"Scott Allen" wrote:
Does webform2.aspx appear in the file list for the project? In
solution explorer, check the "show all files" button and make sure
webform2.aspx and webform2.vb are both listed in the project files.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:23:01 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
>I open new project from web (Created from another computer).
>I add new web form to project, build/rebuild etc and I get Parse error below.
>(If I change codebehind = to src=) it works.
>How do I get it to complie ? What setting should I look into?
>
>Server Error in '/census' 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 'census.WebForm2'.
>
>Source Error:
>
>
>Line 1: <%@ Page Language="vb" AutoEventWireup="false"
>CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
>Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>Line 3: <html>
>
>
>Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
>
>
>--------------------------------------------------------------------------------
>Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
>Version:1.1.4322.573



Nov 19 '05 #4
LU
It is a virtual directory of a site. I'm not sure what you mean by
application virtual....

"Scott Allen" wrote:
Is the directory for your project marked as an application virtual
directory in IIS?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:59:05 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
Yes,
Both files are in the project. Also, if I go back to the other computer I
can see the file and when i compile from this other computer it works.

"Scott Allen" wrote:
Does webform2.aspx appear in the file list for the project? In
solution explorer, check the "show all files" button and make sure
webform2.aspx and webform2.vb are both listed in the project files.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:23:01 -0800, "LU"
<LU@discussions.microsoft.com> wrote:

>I open new project from web (Created from another computer).
>I add new web form to project, build/rebuild etc and I get Parse error below.
>(If I change codebehind = to src=) it works.
>How do I get it to complie ? What setting should I look into?
>
>Server Error in '/census' 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 'census.WebForm2'.
>
>Source Error:
>
>
>Line 1: <%@ Page Language="vb" AutoEventWireup="false"
>CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
>Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>Line 3: <html>
>
>
>Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
>
>
>--------------------------------------------------------------------------------
>Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
>Version:1.1.4322.573


Nov 19 '05 #5
When you go to the property tab for the virtual directory in IIS
you'll see an "application settings" area in the bottom half of the
dialog. If there is a "create" button you'll want to click that to
mark the vdir as an application, otherwise its configured properly.

Did you get past the error yet? Do any of the other pages work?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 10:29:02 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
It is a virtual directory of a site. I'm not sure what you mean by
application virtual....

"Scott Allen" wrote:
Is the directory for your project marked as an application virtual
directory in IIS?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:59:05 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
>Yes,
>Both files are in the project. Also, if I go back to the other computer I
>can see the file and when i compile from this other computer it works.
>
>"Scott Allen" wrote:
>
>> Does webform2.aspx appear in the file list for the project? In
>> solution explorer, check the "show all files" button and make sure
>> webform2.aspx and webform2.vb are both listed in the project files.
>>
>> --
>> Scott
>> http://www.OdeToCode.com/blogs/scott/
>>
>> On Tue, 22 Mar 2005 08:23:01 -0800, "LU"
>> <LU@discussions.microsoft.com> wrote:
>>
>> >I open new project from web (Created from another computer).
>> >I add new web form to project, build/rebuild etc and I get Parse error below.
>> >(If I change codebehind = to src=) it works.
>> >How do I get it to complie ? What setting should I look into?
>> >
>> >Server Error in '/census' 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 'census.WebForm2'.
>> >
>> >Source Error:
>> >
>> >
>> >Line 1: <%@ Page Language="vb" AutoEventWireup="false"
>> >CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
>> >Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> >Line 3: <html>
>> >
>> >
>> >Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
>> >
>> >
>> >--------------------------------------------------------------------------------
>> >Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
>> >Version:1.1.4322.573
>>
>>



Nov 19 '05 #6
LU
It is an application. I can add webforms and it says it rebuilds, but I
don't see it saving any thing to the server. So after i rebuild the changes
don't take place. A page will work from here if I chagne the codebehind
attribute to SRC. I'm not sure why its doing this. I tried deleting my
local copy of the .sln file and doing open from web again, but I get the same
results. I'm going to check the versions of visual studio.
"Scott Allen" wrote:
When you go to the property tab for the virtual directory in IIS
you'll see an "application settings" area in the bottom half of the
dialog. If there is a "create" button you'll want to click that to
mark the vdir as an application, otherwise its configured properly.

Did you get past the error yet? Do any of the other pages work?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 10:29:02 -0800, "LU"
<LU@discussions.microsoft.com> wrote:
It is a virtual directory of a site. I'm not sure what you mean by
application virtual....

"Scott Allen" wrote:
Is the directory for your project marked as an application virtual
directory in IIS?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 08:59:05 -0800, "LU"
<LU@discussions.microsoft.com> wrote:

>Yes,
>Both files are in the project. Also, if I go back to the other computer I
>can see the file and when i compile from this other computer it works.
>
>"Scott Allen" wrote:
>
>> Does webform2.aspx appear in the file list for the project? In
>> solution explorer, check the "show all files" button and make sure
>> webform2.aspx and webform2.vb are both listed in the project files.
>>
>> --
>> Scott
>> http://www.OdeToCode.com/blogs/scott/
>>
>> On Tue, 22 Mar 2005 08:23:01 -0800, "LU"
>> <LU@discussions.microsoft.com> wrote:
>>
>> >I open new project from web (Created from another computer).
>> >I add new web form to project, build/rebuild etc and I get Parse error below.
>> >(If I change codebehind = to src=) it works.
>> >How do I get it to complie ? What setting should I look into?
>> >
>> >Server Error in '/census' 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 'census.WebForm2'.
>> >
>> >Source Error:
>> >
>> >
>> >Line 1: <%@ Page Language="vb" AutoEventWireup="false"
>> >CodeBehind="WebForm2.aspx.vb" Inherits="census.WebForm2"%>
>> >Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> >Line 3: <html>
>> >
>> >
>> >Source File: C:\Inetpub\census\WebForm2.aspx Line: 1
>> >
>> >
>> >--------------------------------------------------------------------------------
>> >Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
>> >Version:1.1.4322.573
>>
>>


Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

188
8227
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
18
3136
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
3
2236
by: alan_coffman2004 | last post by:
Opening an ASP.NET VS2002 project in VS2003, am getting this error: "Unable to open Web project 'MyProject'. The file path 'c:\inetpub\wwwroot\MyProject' does not correspond to the URL...
9
1350
by: jojobar | last post by:
In vs.net 2005 you can build the entire website, entire solution or a single page. The project I am working on has more than 1000 pages spread over 50-60 directories. We work on one or two of the...
3
16174
by: Boki | last post by:
Dear All, I just installed the DirectX SDK, and I install the Tutorial00 project, I compile it, but it shows: ------ Build started: Project: Tutorial00, Configuration: Debug Win32 ------...
6
9115
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
49
3885
by: Martin Unsal | last post by:
I'm using Python for what is becoming a sizeable project and I'm already running into problems organizing code and importing packages. I feel like the Python package system, in particular the...
11
14460
by: alnoir | last post by:
I'm using the Open Perl IDE to write perl scripts. Everytime I try to compile a script Open Perl will open another script called 'perl5db.pl' and find a compiling error in it. The result in the...
2
3255
by: 001 | last post by:
I get the following error when compiling under MS VC++: ------ Build started: Project: pract-1, Configuration: Debug Win32 ------ Compiling... pract-1.cpp Linking... atlsd.lib(atltrace.obj) :...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7004
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7167
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4915
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1423
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.