473,563 Members | 2,895 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 2651
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
8777
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,...
3
13209
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...
4
17300
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
3669
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...
8
2004
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...
0
2060
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...
3
1678
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 =...
6
1504
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
10843
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...
0
7665
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...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7642
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...
0
6255
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...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
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
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
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...

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.