Dynamic compile model

G

Guest

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
 
G

Guest

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?
 
J

Jeff Dillon

Can you run vbc.exe manually on the server?

Tom said:
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?
 
J

Juan T. Llibre

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 ?
 
G

Guest

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top