By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,160 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,160 IT Pros & Developers. It's quick & easy.

Dynamic compile model

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.