473,850 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic compile model

Tom
I am developing my pages on my development machine
and then copying to the production server.
I am not pre-compiling, I am using the 'dynamic compile'
feature. This is working fine except that everytime
I change a page on the production server I need to restart
IIS to effect the change.
If I don't restart IIS, it tries to recompile but gets and
error ( 'cannot execute a program......vb c.exe......).
Am I missing something which allows the dynamic compile
to work, or is this not possible?

TIA

--
Tom
Apr 11 '06 #1
6 2663
Visual Studio installed on the server?

Is vbc.exe present?
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:9C******** *************** ***********@mic rosoft.com...
I am developing my pages on my development machine
and then copying to the production server.
I am not pre-compiling, I am using the 'dynamic compile'
feature. This is working fine except that everytime
I change a page on the production server I need to restart
IIS to effect the change.
If I don't restart IIS, it tries to recompile but gets and
error ( 'cannot execute a program......vb c.exe......).
Am I missing something which allows the dynamic compile
to work, or is this not possible?

TIA

--
Tom

Apr 11 '06 #2
Tom
Jeff,

No, but why do you ask?

--
Tom
"Jeff Dillon" wrote:
Visual Studio installed on the server?

Is vbc.exe present?
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:9C******** *************** ***********@mic rosoft.com...
I am developing my pages on my development machine
and then copying to the production server.
I am not pre-compiling, I am using the 'dynamic compile'
feature. This is working fine except that everytime
I change a page on the production server I need to restart
IIS to effect the change.
If I don't restart IIS, it tries to recompile but gets and
error ( 'cannot execute a program......vb c.exe......).
Am I missing something which allows the dynamic compile
to work, or is this not possible?

TIA

--
Tom


Apr 11 '06 #3
Tom
Sorry, my previous response was regarding visual studio, it is not on the
server.
Yes, vbc.exe is on the server, I believe that comes with the install of .net
2.0.
Also, is that not used for the first compile when I restart IIS?

Is this question so stupid that no one bothers to reply,
or nobody has a clue what the problem is?

--
Tom
"Jeff Dillon" wrote:
Visual Studio installed on the server?

Is vbc.exe present?
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:9C******** *************** ***********@mic rosoft.com...
I am developing my pages on my development machine
and then copying to the production server.
I am not pre-compiling, I am using the 'dynamic compile'
feature. This is working fine except that everytime
I change a page on the production server I need to restart
IIS to effect the change.
If I don't restart IIS, it tries to recompile but gets and
error ( 'cannot execute a program......vb c.exe......).
Am I missing something which allows the dynamic compile
to work, or is this not possible?

TIA

--
Tom


Apr 11 '06 #4
Can you run vbc.exe manually on the server?

"Tom" <To*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Sorry, my previous response was regarding visual studio, it is not on the
server.
Yes, vbc.exe is on the server, I believe that comes with the install of
.net
2.0.
Also, is that not used for the first compile when I restart IIS?

Is this question so stupid that no one bothers to reply,
or nobody has a clue what the problem is?

--
Tom
"Jeff Dillon" wrote:
Visual Studio installed on the server?

Is vbc.exe present?
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:9C******** *************** ***********@mic rosoft.com...
>I am developing my pages on my development machine
> and then copying to the production server.
> I am not pre-compiling, I am using the 'dynamic compile'
> feature. This is working fine except that everytime
> I change a page on the production server I need to restart
> IIS to effect the change.
> If I don't restart IIS, it tries to recompile but gets and
> error ( 'cannot execute a program......vb c.exe......).
> Am I missing something which allows the dynamic compile
> to work, or is this not possible?
>
> TIA
>
> --
> Tom


Apr 11 '06 #5
re:
my previous response was regarding visual studio, it is not on the server.
It is not needed.

re: vbc.exe is on the server, I believe that comes with the install of .net 2.0.
Yes, it does.

re: Also, is that not used for the first compile when I restart IIS?
It might...and it might not.
csc.exe or jsc.exe might be used, if C# or J# are used.

re: Is this question so stupid that no one bothers to reply,
or nobody has a clue what the problem is?
Maybe your post doen't define a well-known problem ?

This is a peer-to-peer help newsgroup.
Getting impatient certainly won't help you solve your problem.

From your earlier post, where you said that :
I need to restart IIS to effect the change.
If I don't restart IIS, it tries to recompile but gets and error
( 'cannot execute a program......vb c.exe......).
it looks like the server install of the .Net Framework is botched.

One of the reasons the .Net Framework was developed was to, precisely,
do away with the need to stop/restart IIS when minor changes are effected
to a website, so if you have to do that, something's wrong.

Have you checked to see if you have
programs like Zone Alarm or Symantec AntiVirus running?

They could cause such a problem.
The Indexing service is a likely suspect, too.

If you have any of them running, stop them and test again.

re:Am I missing something which allows the dynamic compile to work, or is this not possible?
Nothing special is needed for dynamic compilation to work.

Does this only happen when you call your default page ?
Or, does it happen with *any* page ?

If so, can you post the Page directives you are using in your default page ?
Or, can you post the Page directive / import statements in a failing page ?

Are you importing any .Net Framework,or custom, classes in your pages ?


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com... Sorry, my previous response was regarding visual studio, it is not on the
server.
Yes, vbc.exe is on the server, I believe that comes with the install of .net
2.0.
Also, is that not used for the first compile when I restart IIS?

Is this question so stupid that no one bothers to reply,
or nobody has a clue what the problem is?

--
Tom
"Jeff Dillon" wrote:
Visual Studio installed on the server?

Is vbc.exe present?
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:9C******** *************** ***********@mic rosoft.com...
>I am developing my pages on my development machine
> and then copying to the production server.
> I am not pre-compiling, I am using the 'dynamic compile'
> feature. This is working fine except that everytime
> I change a page on the production server I need to restart
> IIS to effect the change.
> If I don't restart IIS, it tries to recompile but gets and
> error ( 'cannot execute a program......vb c.exe......).
> Am I missing something which allows the dynamic compile
> to work, or is this not possible?
>
> TIA
>
> --
> Tom

Apr 11 '06 #6
Tom
Juan,

I quess I was a bit impatient, thank you for your patience!
Well, at last some information! It looks like my application directory etc
is all setup ok and that something else is causing the compile on demand
to not work. McAfee is used by the site and McAfee has inflicted pain upon
me many times before. It makes some sence because a different user is
probably used to initiate IIS, not ISR_boxName like when I try to access the
page.
Thanks for the good ideas! This is my first .net app(vbscript) and I was
really worried
I had not done something properly!
--
Tom
"Juan T. Llibre" wrote:
re:
my previous response was regarding visual studio, it is not on the server.


It is not needed.

re:
vbc.exe is on the server, I believe that comes with the install of .net 2.0.


Yes, it does.

re:
Also, is that not used for the first compile when I restart IIS?


It might...and it might not.
csc.exe or jsc.exe might be used, if C# or J# are used.

re:
Is this question so stupid that no one bothers to reply,
or nobody has a clue what the problem is?


Maybe your post doen't define a well-known problem ?

This is a peer-to-peer help newsgroup.
Getting impatient certainly won't help you solve your problem.

From your earlier post, where you said that :
I need to restart IIS to effect the change.
If I don't restart IIS, it tries to recompile but gets and error
( 'cannot execute a program......vb c.exe......).


it looks like the server install of the .Net Framework is botched.

One of the reasons the .Net Framework was developed was to, precisely,
do away with the need to stop/restart IIS when minor changes are effected
to a website, so if you have to do that, something's wrong.

Have you checked to see if you have
programs like Zone Alarm or Symantec AntiVirus running?

They could cause such a problem.
The Indexing service is a likely suspect, too.

If you have any of them running, stop them and test again.

re:
Am I missing something which allows the dynamic compile to work, or is this not possible?


Nothing special is needed for dynamic compilation to work.

Does this only happen when you call your default page ?
Or, does it happen with *any* page ?

If so, can you post the Page directives you are using in your default page ?
Or, can you post the Page directive / import statements in a failing page ?

Are you importing any .Net Framework,or custom, classes in your pages ?


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Sorry, my previous response was regarding visual studio, it is not on the
server.
Yes, vbc.exe is on the server, I believe that comes with the install of .net
2.0.
Also, is that not used for the first compile when I restart IIS?

Is this question so stupid that no one bothers to reply,
or nobody has a clue what the problem is?

--
Tom
"Jeff Dillon" wrote:
Visual Studio installed on the server?

Is vbc.exe present?
"Tom" <To*@discussion s.microsoft.com > wrote in message
news:9C******** *************** ***********@mic rosoft.com...
>I am developing my pages on my development machine
> and then copying to the production server.
> I am not pre-compiling, I am using the 'dynamic compile'
> feature. This is working fine except that everytime
> I change a page on the production server I need to restart
> IIS to effect the change.
> If I don't restart IIS, it tries to recompile but gets and
> error ( 'cannot execute a program......vb c.exe......).
> Am I missing something which allows the dynamic compile
> to work, or is this not possible?
>
> TIA
>
> --
> Tom


Apr 11 '06 #7

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

Similar topics

7
8796
by: pysim | last post by:
Hi, I have a couple of general requests for pointers to python examples and design advice. I'm looking for examples of MVC-based GUI controls done in python (model-view-controller). Also, examples where something like a simulation model running in its own thread sends fast updates to a GUI in near real-time. The only examples I've seen, such as SimPy, wait until the model is finished running before outputting data.
3
13231
by: jason | last post by:
How does one loop through the contents of a form complicated by dynamic construction of checkboxes which are assigned a 'model' and 'listingID' to the NAME field on the fly in this syntax: Hunter_69. Here is what the form looks like. I have the difficulty of inserting the multiple items selected by the user the first time he visits and uses the screen and then using an UPDATE when he visits later. Model | Original Price | Reduced Price...
4
17310
by: Antonie C Malan Snr | last post by:
Dear All, In short, this works: function testEval(){ var veh = "car"; eval(veh + "Ford" + "models" + "= new Array('Fiesta','Mondeo','Falcon');"); for(i = 0; i < 3; i++){ alert("The model: " + carFordmodels); }
8
3692
by: Peter B. Steiger | last post by:
The latest project in my ongoing quest to evolve my brain from Pascal to C is a simple word game that involves stringing together random lists of words. In the Pascal version the whole array was static; if the input file contained more than entries, tough. This time I want to do it right - use a dynamic array that increases in size with each word read from the file. A few test programs that make use of **List and realloc( List, blah...
8
2028
by: George Meng | last post by:
I got a tough question: The backgroud for this question is: I want to design an application works like a engine. After release, we can still customize a form by adding a button, and source code for the button. (This is done by the form itself, not by using VS.Net) (button and source code should be a record in database, these information should be retrieve from database when the form shows up) What I want is:
0
2076
by: Pascal Costanza | last post by:
Dynamic Languages Day @ Vrije Universiteit Brussel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Monday, February 13, 2006, VUB Campus Etterbeek The VUB (Programming Technology Lab, System and Software Engineering Lab), ULB (deComp) and the Belgian Association for Dynamic Languages (BADL) are very pleased to invite you to a whole day of presentations about the programming languages Self, Smalltalk and Common Lisp by experts in...
3
1694
by: DougS | last post by:
I have a ASP.Net 1.1 application where I have several usercontrols, one is called DetailLine, that I add to a panel dynamically. I am converting the app to ASP.Net 2.0 and I cant do this anymore. LineType1 inherits from DetailLine which inherits from UserControl. 1 Dim ucLine As DetailLine ' this line bombs 2 ucLine = CType(Page.LoadControl("..\UserControls\LineType1.ascx"), DetailLine)
6
1516
by: Sir Psycho | last post by:
Hi, Does ASP.NET have the same feature of PHP as in can I reupload an ASPX file and it becomes 'live' with all the new changes? Do I also need to reupload the site DLL each time I make a code change?
15
10883
by: EDBrian | last post by:
My problem is this. Our clients create different fields they want to collect and we allow them build dynamic filters, reports etc... We run some TSQL to actually create the column and all works very well. We are now adding a lot more functionality to our filters and could really benefit from using the LINQ to SQL. I have experimented with the Dynamic Linq...
0
9895
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11011
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10670
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10725
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,...
0
9503
agi2029
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...
0
5735
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...
0
5931
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4142
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3178
bsmnconsultancy
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...

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.