|
 |
aspx thread: Executing .vb files
Message #1 by Ankur Kalsi <akalsi@q...> on Thu, 6 Sep 2001 08:21:02 -0700
|
|
I am trying to release some .aspx pages which has .vb (codebehind) pages to
my production server. When i try to run them from the production site it
gives me an error which i think is because the .vb files are not executed.
Does anybody know if i have to have a project in order to get this to work.
Thanks
AK
Message #2 by "Al LeMay" <alemay@d...> on Thu, 6 Sep 2001 08:50:46 -0700
|
|
Did you try installing the server components onto the production box?
(The .Net framework should be all that is needed.)
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 8:21 AM
To: ASP+
Subject: [aspx] Executing .vb files
I am trying to release some .aspx pages which has .vb (codebehind) pages
to my production server. When i try to run them from the production site
it gives me an error which i think is because the .vb files are not
executed. Does anybody know if i have to have a project in order to get
this to work.
Thanks
AK
---
You are currently subscribed to aspx as: alemay@d... To
unsubscribe send a blank email to $subst('Email.Unsub')
Message #3 by Ankur Kalsi <akalsi@q...> on Thu, 6 Sep 2001 09:11:55 -0700
|
|
I have VS.NET Beta2 installed on it.
-----Original Message-----
From: Al LeMay [mailto:alemay@d...]
Sent: Thursday, September 06, 2001 8:51 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
Did you try installing the server components onto the production box?
(The .Net framework should be all that is needed.)
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 8:21 AM
To: ASP+
Subject: [aspx] Executing .vb files
I am trying to release some .aspx pages which has .vb (codebehind) pages
to my production server. When i try to run them from the production site
it gives me an error which i think is because the .vb files are not
executed. Does anybody know if i have to have a project in order to get
this to work.
Thanks
AK
Message #4 by "Al LeMay" <alemay@d...> on Thu, 6 Sep 2001 10:53:35 -0700
|
|
Have you tried the simple helloworld or something similar? Otherwise, I
don't know what to say? Have you tried setting the debug flag (outputs
info other than the standard error stuff)?
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 9:12 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
I have VS.NET Beta2 installed on it.
-----Original Message-----
From: Al LeMay [mailto:alemay@d...]
Sent: Thursday, September 06, 2001 8:51 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
Did you try installing the server components onto the production box?
(The .Net framework should be all that is needed.)
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 8:21 AM
To: ASP+
Subject: [aspx] Executing .vb files
I am trying to release some .aspx pages which has .vb (codebehind) pages
to my production server. When i try to run them from the production site
it gives me an error which i think is because the .vb files are not
executed. Does anybody know if i have to have a project in order to get
this to work.
Thanks
AK
Message #5 by Ankur Kalsi <akalsi@q...> on Thu, 6 Sep 2001 11:13:22 -0700
|
|
I just added those files to a project and executed(F5) the project which
created a dll and now it works. It seems like it has something to do with
creating a project. When you guys copy files to a different server, do you
create a project for those files and execute them or all you have to do is
copy the files and it works.
Thanks for all the help.
-----Original Message-----
From: Al LeMay [mailto:alemay@d...]
Sent: Thursday, September 06, 2001 10:54 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
Have you tried the simple helloworld or something similar? Otherwise, I
don't know what to say? Have you tried setting the debug flag (outputs
info other than the standard error stuff)?
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 9:12 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
I have VS.NET Beta2 installed on it.
-----Original Message-----
From: Al LeMay [mailto:alemay@d...]
Sent: Thursday, September 06, 2001 8:51 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
Did you try installing the server components onto the production box?
(The .Net framework should be all that is needed.)
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 8:21 AM
To: ASP+
Subject: [aspx] Executing .vb files
I am trying to release some .aspx pages which has .vb (codebehind) pages
to my production server. When i try to run them from the production site
it gives me an error which i think is because the .vb files are not
executed. Does anybody know if i have to have a project in order to get
this to work.
Thanks
AK
Message #6 by "Albert Davis" <albertdavis@h...> on Thu, 06 Sep 2001 14:20:56 -0400
|
|
Ankur,
Actually from your results it looks as if you haven't compiled your class
libraries. The only reason why I say this is because by hitting (F5) your
are 1)Updating all references 2)Performing a compilation and 3)Building
satellite assemlies (just look at the build sequence)... More or less your
references where not correct or you haven't compiled your class libraries
yet.
Al
>From: Ankur Kalsi <akalsi@q...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Executing .vb files
>Date: Thu, 6 Sep 2001 11:13:22 -0700
>
>I just added those files to a project and executed(F5) the project which
>created a dll and now it works. It seems like it has something to do with
>creating a project. When you guys copy files to a different server, do you
>create a project for those files and execute them or all you have to do is
>copy the files and it works.
>
>Thanks for all the help.
>
>
>-----Original Message-----
>From: Al LeMay [mailto:alemay@d...]
>Sent: Thursday, September 06, 2001 10:54 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Have you tried the simple helloworld or something similar? Otherwise, I
>don't know what to say? Have you tried setting the debug flag (outputs
>info other than the standard error stuff)?
>
>Al LeMay
>Virtuoso
>Quality Assurance Manager
>alemay@d...
>
>
>
>-----Original Message-----
>From: Ankur Kalsi [mailto:akalsi@q...]
>Sent: Thursday, September 06, 2001 9:12 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>I have VS.NET Beta2 installed on it.
>
>-----Original Message-----
>From: Al LeMay [mailto:alemay@d...]
>Sent: Thursday, September 06, 2001 8:51 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Did you try installing the server components onto the production box?
>(The .Net framework should be all that is needed.)
>
>Al LeMay
>Virtuoso
>Quality Assurance Manager
>alemay@d...
>
>
>
>-----Original Message-----
>From: Ankur Kalsi [mailto:akalsi@q...]
>Sent: Thursday, September 06, 2001 8:21 AM
>To: ASP+
>Subject: [aspx] Executing .vb files
>
>
>I am trying to release some .aspx pages which has .vb (codebehind) pages
>to my production server. When i try to run them from the production site
>it gives me an error which i think is because the .vb files are not
>executed. Does anybody know if i have to have a project in order to get
>this to work.
>
>Thanks
>AK
Message #7 by Ankur Kalsi <akalsi@q...> on Thu, 6 Sep 2001 12:12:25 -0700
|
|
How do i compile class libraries without adding them to a project.
-----Original Message-----
From: Albert Davis [mailto:albertdavis@h...]
Sent: Thursday, September 06, 2001 11:21 AM
To: ASP+
Subject: [aspx] RE: Executing .vb files
Ankur,
Actually from your results it looks as if you haven't compiled your class
libraries. The only reason why I say this is because by hitting (F5) your
are 1)Updating all references 2)Performing a compilation and 3)Building
satellite assemlies (just look at the build sequence)... More or less your
references where not correct or you haven't compiled your class libraries
yet.
Al
>From: Ankur Kalsi <akalsi@q...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Executing .vb files
>Date: Thu, 6 Sep 2001 11:13:22 -0700
>
>I just added those files to a project and executed(F5) the project which
>created a dll and now it works. It seems like it has something to do with
>creating a project. When you guys copy files to a different server, do you
>create a project for those files and execute them or all you have to do is
>copy the files and it works.
>
>Thanks for all the help.
>
>
>-----Original Message-----
>From: Al LeMay [mailto:alemay@d...]
>Sent: Thursday, September 06, 2001 10:54 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Have you tried the simple helloworld or something similar? Otherwise, I
>don't know what to say? Have you tried setting the debug flag (outputs
>info other than the standard error stuff)?
>
>Al LeMay
>Virtuoso
>Quality Assurance Manager
>alemay@d...
>
>
>
>-----Original Message-----
>From: Ankur Kalsi [mailto:akalsi@q...]
>Sent: Thursday, September 06, 2001 9:12 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>I have VS.NET Beta2 installed on it.
>
>-----Original Message-----
>From: Al LeMay [mailto:alemay@d...]
>Sent: Thursday, September 06, 2001 8:51 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Did you try installing the server components onto the production box?
>(The .Net framework should be all that is needed.)
>
>Al LeMay
>Virtuoso
>Quality Assurance Manager
>alemay@d...
>
>
>
>-----Original Message-----
>From: Ankur Kalsi [mailto:akalsi@q...]
>Sent: Thursday, September 06, 2001 8:21 AM
>To: ASP+
>Subject: [aspx] Executing .vb files
>
>
>I am trying to release some .aspx pages which has .vb (codebehind) pages
>to my production server. When i try to run them from the production site
>it gives me an error which i think is because the .vb files are not
>executed. Does anybody know if i have to have a project in order to get
>this to work.
>
>Thanks
>AK
Message #8 by "Albert Davis" <albertdavis@h...> on Thu, 06 Sep 2001 16:37:09 -0400
|
|
MSDN has a whole topic about working with and building Assemblies.
The section "Building a Single-File Assembly" can be found @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/html/cpconbuildingsingle-fileassembly.asp?frame=true
The whole reference starts @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/html/cpconprogrammingwithassemblies.asp?frame=true
Hope this helps,
Al
>From: Ankur Kalsi <akalsi@q...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Executing .vb files
>Date: Thu, 6 Sep 2001 12:12:25 -0700
>
>How do i compile class libraries without adding them to a project.
>
>-----Original Message-----
>From: Albert Davis [mailto:albertdavis@h...]
>Sent: Thursday, September 06, 2001 11:21 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Ankur,
>
>Actually from your results it looks as if you haven't compiled your class
>libraries. The only reason why I say this is because by hitting (F5) your
>are 1)Updating all references 2)Performing a compilation and 3)Building
>satellite assemlies (just look at the build sequence)... More or less your
>references where not correct or you haven't compiled your class libraries
>yet.
>
>Al
>
> >From: Ankur Kalsi <akalsi@q...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] RE: Executing .vb files
> >Date: Thu, 6 Sep 2001 11:13:22 -0700
> >
> >I just added those files to a project and executed(F5) the project which
> >created a dll and now it works. It seems like it has something to do with
> >creating a project. When you guys copy files to a different server, do
>you
> >create a project for those files and execute them or all you have to do
>is
> >copy the files and it works.
> >
> >Thanks for all the help.
> >
> >
> >-----Original Message-----
> >From: Al LeMay [mailto:alemay@d...]
> >Sent: Thursday, September 06, 2001 10:54 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Have you tried the simple helloworld or something similar? Otherwise, I
> >don't know what to say? Have you tried setting the debug flag (outputs
> >info other than the standard error stuff)?
> >
> >Al LeMay
> >Virtuoso
> >Quality Assurance Manager
> >alemay@d...
> >
> >
> >
> >-----Original Message-----
> >From: Ankur Kalsi [mailto:akalsi@q...]
> >Sent: Thursday, September 06, 2001 9:12 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >I have VS.NET Beta2 installed on it.
> >
> >-----Original Message-----
> >From: Al LeMay [mailto:alemay@d...]
> >Sent: Thursday, September 06, 2001 8:51 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Did you try installing the server components onto the production box?
> >(The .Net framework should be all that is needed.)
> >
> >Al LeMay
> >Virtuoso
> >Quality Assurance Manager
> >alemay@d...
> >
> >
> >
> >-----Original Message-----
> >From: Ankur Kalsi [mailto:akalsi@q...]
> >Sent: Thursday, September 06, 2001 8:21 AM
> >To: ASP+
> >Subject: [aspx] Executing .vb files
> >
> >
> >I am trying to release some .aspx pages which has .vb (codebehind) pages
> >to my production server. When i try to run them from the production site
> >it gives me an error which i think is because the .vb files are not
> >executed. Does anybody know if i have to have a project in order to get
> >this to work.
> >
> >Thanks
> >AK
Message #9 by Ankur Kalsi <akalsi@q...> on Thu, 6 Sep 2001 13:55:35 -0700
|
|
So, everytime i edit a file and upload that file to my production server, i
have to compile it. Isn't there a way so that ASP.NET automatically
compiles the code and show the updates.
Thanks
-----Original Message-----
From: Albert Davis [mailto:albertdavis@h...]
Sent: Thursday, September 06, 2001 1:37 PM
To: ASP+
Subject: [aspx] RE: Executing .vb files
MSDN has a whole topic about working with and building Assemblies.
The section "Building a Single-File Assembly" can be found @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/ht
ml/cpconbuildingsingle-fileassembly.asp?frame=true
The whole reference starts @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/ht
ml/cpconprogrammingwithassemblies.asp?frame=true
Hope this helps,
Al
>From: Ankur Kalsi <akalsi@q...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Executing .vb files
>Date: Thu, 6 Sep 2001 12:12:25 -0700
>
>How do i compile class libraries without adding them to a project.
>
>-----Original Message-----
>From: Albert Davis [mailto:albertdavis@h...]
>Sent: Thursday, September 06, 2001 11:21 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Ankur,
>
>Actually from your results it looks as if you haven't compiled your class
>libraries. The only reason why I say this is because by hitting (F5) your
>are 1)Updating all references 2)Performing a compilation and 3)Building
>satellite assemlies (just look at the build sequence)... More or less your
>references where not correct or you haven't compiled your class libraries
>yet.
>
>Al
>
> >From: Ankur Kalsi <akalsi@q...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] RE: Executing .vb files
> >Date: Thu, 6 Sep 2001 11:13:22 -0700
> >
> >I just added those files to a project and executed(F5) the project which
> >created a dll and now it works. It seems like it has something to do with
> >creating a project. When you guys copy files to a different server, do
>you
> >create a project for those files and execute them or all you have to do
>is
> >copy the files and it works.
> >
> >Thanks for all the help.
> >
> >
> >-----Original Message-----
> >From: Al LeMay [mailto:alemay@d...]
> >Sent: Thursday, September 06, 2001 10:54 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Have you tried the simple helloworld or something similar? Otherwise, I
> >don't know what to say? Have you tried setting the debug flag (outputs
> >info other than the standard error stuff)?
> >
> >Al LeMay
> >Virtuoso
> >Quality Assurance Manager
> >alemay@d...
> >
> >
> >
> >-----Original Message-----
> >From: Ankur Kalsi [mailto:akalsi@q...]
> >Sent: Thursday, September 06, 2001 9:12 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >I have VS.NET Beta2 installed on it.
> >
> >-----Original Message-----
> >From: Al LeMay [mailto:alemay@d...]
> >Sent: Thursday, September 06, 2001 8:51 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Did you try installing the server components onto the production box?
> >(The .Net framework should be all that is needed.)
> >
> >Al LeMay
> >Virtuoso
> >Quality Assurance Manager
> >alemay@d...
> >
> >
> >
> >-----Original Message-----
> >From: Ankur Kalsi [mailto:akalsi@q...]
> >Sent: Thursday, September 06, 2001 8:21 AM
> >To: ASP+
> >Subject: [aspx] Executing .vb files
> >
> >
> >I am trying to release some .aspx pages which has .vb (codebehind) pages
> >to my production server. When i try to run them from the production site
> >it gives me an error which i think is because the .vb files are not
> >executed. Does anybody know if i have to have a project in order to get
> >this to work.
> >
> >Thanks
> >AK
Message #10 by "Mike Amundsen" <mike@a...> on Thu, 6 Sep 2001 17:46:27 -0400
|
|
all as?x files are compiled automatically by the ASP.NET runtime.
also, if the as?x file has an src="myfile.vb" attribute in the page or
control directive, then that associated file will be parsed and compiled at
runtime.
however, VS.NET uses 'codebehind="myfile.vb"' and this command is not
compiled automatically at run time.
Finally, stand-alone .vb files are*not* autocompiled at all
MCA
Mike Amundsen
host your .NET Webs @ www.EraServer.NET
-----Original Message-----
From: Ankur Kalsi [mailto:akalsi@q...]
Sent: Thursday, September 06, 2001 4:56 PM
To: ASP+
Subject: [aspx] RE: Executing .vb files
So, everytime i edit a file and upload that file to my production server, i
have to compile it. Isn't there a way so that ASP.NET automatically
compiles the code and show the updates.
Thanks
-----Original Message-----
From: Albert Davis [mailto:albertdavis@h...]
Sent: Thursday, September 06, 2001 1:37 PM
To: ASP+
Subject: [aspx] RE: Executing .vb files
MSDN has a whole topic about working with and building Assemblies.
The section "Building a Single-File Assembly" can be found @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/ht
ml/cpconbuildingsingle-fileassembly.asp?frame=true
The whole reference starts @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/ht
ml/cpconprogrammingwithassemblies.asp?frame=true
Hope this helps,
Al
>From: Ankur Kalsi <akalsi@q...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Executing .vb files
>Date: Thu, 6 Sep 2001 12:12:25 -0700
>
>How do i compile class libraries without adding them to a project.
>
>-----Original Message-----
>From: Albert Davis [mailto:albertdavis@h...]
>Sent: Thursday, September 06, 2001 11:21 AM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>Ankur,
>
>Actually from your results it looks as if you haven't compiled your class
>libraries. The only reason why I say this is because by hitting (F5) your
>are 1)Updating all references 2)Performing a compilation and 3)Building
>satellite assemlies (just look at the build sequence)... More or less your
>references where not correct or you haven't compiled your class libraries
>yet.
>
>Al
>
> >From: Ankur Kalsi <akalsi@q...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] RE: Executing .vb files
> >Date: Thu, 6 Sep 2001 11:13:22 -0700
> >
> >I just added those files to a project and executed(F5) the project which
> >created a dll and now it works. It seems like it has something to do with
> >creating a project. When you guys copy files to a different server, do
>you
> >create a project for those files and execute them or all you have to do
>is
> >copy the files and it works.
> >
> >Thanks for all the help.
> >
> >
> >-----Original Message-----
> >From: Al LeMay [mailto:alemay@d...]
> >Sent: Thursday, September 06, 2001 10:54 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Have you tried the simple helloworld or something similar? Otherwise, I
> >don't know what to say? Have you tried setting the debug flag (outputs
> >info other than the standard error stuff)?
> >
> >Al LeMay
> >Virtuoso
> >Quality Assurance Manager
> >alemay@d...
> >
> >
> >
> >-----Original Message-----
> >From: Ankur Kalsi [mailto:akalsi@q...]
> >Sent: Thursday, September 06, 2001 9:12 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >I have VS.NET Beta2 installed on it.
> >
> >-----Original Message-----
> >From: Al LeMay [mailto:alemay@d...]
> >Sent: Thursday, September 06, 2001 8:51 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Did you try installing the server components onto the production box?
> >(The .Net framework should be all that is needed.)
> >
> >Al LeMay
> >Virtuoso
> >Quality Assurance Manager
> >alemay@d...
> >
> >
> >
> >-----Original Message-----
> >From: Ankur Kalsi [mailto:akalsi@q...]
> >Sent: Thursday, September 06, 2001 8:21 AM
> >To: ASP+
> >Subject: [aspx] Executing .vb files
> >
> >
> >I am trying to release some .aspx pages which has .vb (codebehind) pages
> >to my production server. When i try to run them from the production site
> >it gives me an error which i think is because the .vb files are not
> >executed. Does anybody know if i have to have a project in order to get
> >this to work.
> >
> >Thanks
> >AK
Message #11 by "Albert Davis" <albertdavis@h...> on Thu, 06 Sep 2001 18:41:59 -0400
|
|
How we handle it is we develop class libraries that our aspx pages will use.
Then as we develop new functionality (and don't break the current
interface) we just simply drag-and-drop the assembly (your .dll file which
is just IL) into the "bin" directory under the root of your site or the root
of your virtual directories site. The runtime automatically knows that
there is a new version of of your component and any new requests will use
the new one, all existing sessions using the old one will continue to use
the old one, as all sessions that were using the old one die off the runtime
will discard the old altogether (and yes the JIT compiler will take care of
compiling it for you). If you enhance your aspx page to use the new
functionality of your new component then that aspx page too needs compiled.
Al
>From: "Mike Amundsen" <mike@a...>
>Reply-To: "ASP+" <aspx@p...>
>To: "ASP+" <aspx@p...>
>Subject: [aspx] RE: Executing .vb files
>Date: Thu, 6 Sep 2001 17:46:27 -0400
>
>all as?x files are compiled automatically by the ASP.NET runtime.
>
>also, if the as?x file has an src="myfile.vb" attribute in the page or
>control directive, then that associated file will be parsed and compiled at
>runtime.
>
>however, VS.NET uses 'codebehind="myfile.vb"' and this command is not
>compiled automatically at run time.
>
>Finally, stand-alone .vb files are*not* autocompiled at all
>
>MCA
>Mike Amundsen
>host your .NET Webs @ www.EraServer.NET
>
>
>-----Original Message-----
>From: Ankur Kalsi [mailto:akalsi@q...]
>Sent: Thursday, September 06, 2001 4:56 PM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>So, everytime i edit a file and upload that file to my production server, i
>have to compile it. Isn't there a way so that ASP.NET automatically
>compiles the code and show the updates.
>Thanks
>
>-----Original Message-----
>From: Albert Davis [mailto:albertdavis@h...]
>Sent: Thursday, September 06, 2001 1:37 PM
>To: ASP+
>Subject: [aspx] RE: Executing .vb files
>
>
>MSDN has a whole topic about working with and building Assemblies.
>The section "Building a Single-File Assembly" can be found @
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/ht
>ml/cpconbuildingsingle-fileassembly.asp?frame=true
>
>The whole reference starts @
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguidnf/ht
>ml/cpconprogrammingwithassemblies.asp?frame=true
>
>Hope this helps,
>Al
>
>
> >From: Ankur Kalsi <akalsi@q...>
> >Reply-To: "ASP+" <aspx@p...>
> >To: "ASP+" <aspx@p...>
> >Subject: [aspx] RE: Executing .vb files
> >Date: Thu, 6 Sep 2001 12:12:25 -0700
> >
> >How do i compile class libraries without adding them to a project.
> >
> >-----Original Message-----
> >From: Albert Davis [mailto:albertdavis@h...]
> >Sent: Thursday, September 06, 2001 11:21 AM
> >To: ASP+
> >Subject: [aspx] RE: Executing .vb files
> >
> >
> >Ankur,
> >
> >Actually from your results it looks as if you haven't compiled your class
> >libraries. The only reason why I say this is because by hitting (F5)
>your
> >are 1)Updating all references 2)Performing a compilation and 3)Building
> >satellite assemlies (just look at the build sequence)... More or less
>your
> >references where not correct or you haven't compiled your class libraries
> >yet.
> >
> >Al
> >
> > >From: Ankur Kalsi <akalsi@q...>
> > >Reply-To: "ASP+" <aspx@p...>
> > >To: "ASP+" <aspx@p...>
> > >Subject: [aspx] RE: Executing .vb files
> > >Date: Thu, 6 Sep 2001 11:13:22 -0700
> > >
> > >I just added those files to a project and executed(F5) the project
>which
> > >created a dll and now it works. It seems like it has something to do
>with
> > >creating a project. When you guys copy files to a different server, do
> >you
> > >create a project for those files and execute them or all you have to do
> >is
> > >copy the files and it works.
> > >
> > >Thanks for all the help.
> > >
> > >
> > >-----Original Message-----
> > >From: Al LeMay [mailto:alemay@d...]
> > >Sent: Thursday, September 06, 2001 10:54 AM
> > >To: ASP+
> > >Subject: [aspx] RE: Executing .vb files
> > >
> > >
> > >Have you tried the simple helloworld or something similar? Otherwise,
>I
> > >don't know what to say? Have you tried setting the debug flag (outputs
> > >info other than the standard error stuff)?
> > >
> > >Al LeMay
> > >Virtuoso
> > >Quality Assurance Manager
> > >alemay@d...
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: Ankur Kalsi [mailto:akalsi@q...]
> > >Sent: Thursday, September 06, 2001 9:12 AM
> > >To: ASP+
> > >Subject: [aspx] RE: Executing .vb files
> > >
> > >
> > >I have VS.NET Beta2 installed on it.
> > >
> > >-----Original Message-----
> > >From: Al LeMay [mailto:alemay@d...]
> > >Sent: Thursday, September 06, 2001 8:51 AM
> > >To: ASP+
> > >Subject: [aspx] RE: Executing .vb files
> > >
> > >
> > >Did you try installing the server components onto the production box?
> > >(The .Net framework should be all that is needed.)
> > >
> > >Al LeMay
> > >Virtuoso
> > >Quality Assurance Manager
> > >alemay@d...
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: Ankur Kalsi [mailto:akalsi@q...]
> > >Sent: Thursday, September 06, 2001 8:21 AM
> > >To: ASP+
> > >Subject: [aspx] Executing .vb files
> > >
> > >
> > >I am trying to release some .aspx pages which has .vb (codebehind)
>pages
> > >to my production server. When i try to run them from the production
>site
> > >it gives me an error which i think is because the .vb files are not
> > >executed. Does anybody know if i have to have a project in order to get
> > >this to work.
> > >
> > >Thanks
> > >AK
|
|
 |