Connecting Tech Pros Worldwide Forums | Help | Site Map

Dynamic compile model

Tom
Guest
 
Posts: n/a
#1: Apr 11 '06
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

Jeff Dillon
Guest
 
Posts: n/a
#2: Apr 11 '06

re: Dynamic compile model


Visual Studio installed on the server?

Is vbc.exe present?


"Tom" <Tom@discussions.microsoft.com> wrote in message
news:9CBC4F69-13A6-42CD-94D7-92C8B54E2647@microsoft.com...[color=blue]
>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[/color]


Tom
Guest
 
Posts: n/a
#3: Apr 11 '06

re: Dynamic compile model


Jeff,

No, but why do you ask?

--
Tom


"Jeff Dillon" wrote:
[color=blue]
> Visual Studio installed on the server?
>
> Is vbc.exe present?
>
>
> "Tom" <Tom@discussions.microsoft.com> wrote in message
> news:9CBC4F69-13A6-42CD-94D7-92C8B54E2647@microsoft.com...[color=green]
> >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[/color]
>
>
>[/color]
Tom
Guest
 
Posts: n/a
#4: Apr 11 '06

re: Dynamic compile model


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:
[color=blue]
> Visual Studio installed on the server?
>
> Is vbc.exe present?
>
>
> "Tom" <Tom@discussions.microsoft.com> wrote in message
> news:9CBC4F69-13A6-42CD-94D7-92C8B54E2647@microsoft.com...[color=green]
> >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[/color]
>
>
>[/color]
Jeff Dillon
Guest
 
Posts: n/a
#5: Apr 11 '06

re: Dynamic compile model


Can you run vbc.exe manually on the server?

"Tom" <Tom@discussions.microsoft.com> wrote in message
news:B1CF3F11-6689-4A37-AAEF-05E2095FE0D5@microsoft.com...[color=blue]
> 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:
>[color=green]
>> Visual Studio installed on the server?
>>
>> Is vbc.exe present?
>>
>>
>> "Tom" <Tom@discussions.microsoft.com> wrote in message
>> news:9CBC4F69-13A6-42CD-94D7-92C8B54E2647@microsoft.com...[color=darkred]
>> >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[/color]
>>
>>
>>[/color][/color]


Juan T. Llibre
Guest
 
Posts: n/a
#6: Apr 11 '06

re: Dynamic compile model


re:[color=blue]
> my previous response was regarding visual studio, it is not on the server.[/color]

It is not needed.

re:[color=blue]
> vbc.exe is on the server, I believe that comes with the install of .net 2.0.[/color]

Yes, it does.

re:[color=blue]
> Also, is that not used for the first compile when I restart IIS?[/color]

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

re:[color=blue]
> Is this question so stupid that no one bothers to reply,
> or nobody has a clue what the problem is?[/color]

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 :
[color=blue]
> 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......).[/color]

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:[color=blue]
>Am I missing something which allows the dynamic compile to work, or is this not possible?[/color]

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" <Tom@discussions.microsoft.com> wrote in message
news:B1CF3F11-6689-4A37-AAEF-05E2095FE0D5@microsoft.com...[color=blue]
> 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:
>[color=green]
>> Visual Studio installed on the server?
>>
>> Is vbc.exe present?
>>
>>
>> "Tom" <Tom@discussions.microsoft.com> wrote in message
>> news:9CBC4F69-13A6-42CD-94D7-92C8B54E2647@microsoft.com...[color=darkred]
>> >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[/color][/color][/color]


Tom
Guest
 
Posts: n/a
#7: Apr 12 '06

re: Dynamic compile model


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:
[color=blue]
> re:[color=green]
> > my previous response was regarding visual studio, it is not on the server.[/color]
>
> It is not needed.
>
> re:[color=green]
> > vbc.exe is on the server, I believe that comes with the install of .net 2.0.[/color]
>
> Yes, it does.
>
> re:[color=green]
> > Also, is that not used for the first compile when I restart IIS?[/color]
>
> It might...and it might not.
> csc.exe or jsc.exe might be used, if C# or J# are used.
>
> re:[color=green]
> > Is this question so stupid that no one bothers to reply,
> > or nobody has a clue what the problem is?[/color]
>
> 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 :
>[color=green]
> > 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......).[/color]
>
> 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:[color=green]
> >Am I missing something which allows the dynamic compile to work, or is this not possible?[/color]
>
> 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" <Tom@discussions.microsoft.com> wrote in message
> news:B1CF3F11-6689-4A37-AAEF-05E2095FE0D5@microsoft.com...[color=green]
> > 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:
> >[color=darkred]
> >> Visual Studio installed on the server?
> >>
> >> Is vbc.exe present?
> >>
> >>
> >> "Tom" <Tom@discussions.microsoft.com> wrote in message
> >> news:9CBC4F69-13A6-42CD-94D7-92C8B54E2647@microsoft.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[/color][/color]
>
>
>[/color]
Closed Thread