473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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......vbc.exe......).
Am I missing something which allows the dynamic compile
to work, or is this not possible?

TIA

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

Is vbc.exe present?
"Tom" <To*@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.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......vbc.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*@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.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......vbc.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*@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.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......vbc.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*@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.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......vbc.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......vbc.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*@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.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......vbc.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......vbc.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*@discussions.microsoft.com> wrote in message
news:B1**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.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......vbc.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
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,...
3
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:...
4
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: "...
8
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...
8
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...
0
by: Pascal Costanza | last post by:
Dynamic Languages Day @ Vrije Universiteit Brussel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Monday, February 13, 2006, VUB Campus Etterbeek The VUB (Programming Technology Lab,...
3
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....
6
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...
15
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.