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.WebForm 2'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup ="false"
CodeBehind="Web Form2.aspx.vb" Inherits="censu s.WebForm2"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <html>
Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.432 2.573 6 1279
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.WebForm 2'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup ="false" CodeBehind="We bForm2.aspx.vb" Inherits="censu s.WebForm2"%> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Line 3: <html>
Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.43 22.573
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.WebForm 2'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup ="false" CodeBehind="We bForm2.aspx.vb" Inherits="censu s.WebForm2"%> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Line 3: <html>
Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.43 22.573
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.WebForm 2'. > >Source Error: > > >Line 1: <%@ Page Language="vb" AutoEventWireup ="false" >CodeBehind="We bForm2.aspx.vb" Inherits="censu s.WebForm2"%> >Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >Line 3: <html> > > >Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1 > > >-------------------------------------------------------------------------------- >Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET >Version:1.1.43 22.573
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.WebForm 2'. > >Source Error: > > >Line 1: <%@ Page Language="vb" AutoEventWireup ="false" >CodeBehind="We bForm2.aspx.vb" Inherits="censu s.WebForm2"%> >Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >Line 3: <html> > > >Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1 > > >-------------------------------------------------------------------------------- >Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET >Version:1.1.43 22.573
When you go to the property tab for the virtual directory in IIS
you'll see an "applicatio n 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.WebForm 2'. >> > >> >Source Error: >> > >> > >> >Line 1: <%@ Page Language="vb" AutoEventWireup ="false" >> >CodeBehind="We bForm2.aspx.vb" Inherits="censu s.WebForm2"%> >> >Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> >Line 3: <html> >> > >> > >> >Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1 >> > >> > >> >-------------------------------------------------------------------------------- >> >Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET >> >Version:1.1.43 22.573 >> >>
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 "applicatio n 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.WebForm 2'. >> > >> >Source Error: >> > >> > >> >Line 1: <%@ Page Language="vb" AutoEventWireup ="false" >> >CodeBehind="We bForm2.aspx.vb" Inherits="censu s.WebForm2"%> >> >Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> >Line 3: <html> >> > >> > >> >Source File: C:\Inetpub\cens us\WebForm2.asp x Line: 1 >> > >> > >> >-------------------------------------------------------------------------------- >> >Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET >> >Version:1.1.43 22.573 >> >>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 2.4 installer for windows.
Now I have problems to compile python extension that some packages
|
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 you have your ".cpp" files all ready, without any "#include"
or "#define" in them.
Let's assume that there's 2 source files in this project, "a.cpp" and
|
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 'http://Localhost:/MyProject'. The two need to map
to the same server location. HTTP Error 404: Not Found."
I have tried fixing this using both of these KB articles and usenet
advises, still problem not solved:
|
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 directories most of the time.
When an external dependency is changed (say a function in business layer),
we have to compile the entire web project, which takes a lot of time because
vs.net compiles all 60 directories.
What is need is an option...
|
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
------
Compiling...
Tutorial00.cpp
c:\documents and settings\m0246\my documents\visual studio
| |
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++ project.
I then add a class library, and add a reference to this project in the
first project.
When I do a release build, I see the following in the output from the
DLL compile:
/OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
|
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 isomorphism
between filesystem and namespace, doesn't seem very well suited for
big projects. However, I might not really understand the Pythonic way.
I'm not sure if I have a specific question here, just a general plea
for advice.
1) Namespace....
|
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 'Error Output' box is:
Win32 does not define $Win32::VERSION--version check failed at C:\Open_Perl_IDE_1.0.11.409/perl5db.pl line 438.
BEGIN failed--compilation aborted.
Compilation failed in require at C:/Perl/lib/Win32.pm line 8.
BEGIN...
|
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) : error LNK2005: "unsigned int (__stdcall*
ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA)
already defined in iorw-vc7.lib(iorw-vc7-dll.obj)
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |