Hi, Antony.
re:
> But then I have a VB code problem:
> vbc : error BC30420: 'Sub Main' was not found in 'MyClass'.
> f:\inetpub\wwwroot\test\MyClass.vb(1) : error BC30183:
> Keyword is not valid as an identifier. Public Class MyClass
>Does this mean that each VB class must have a Sub Main?
Are you creating a Windows Forms application ( instead of a web aplication ) ?
You don't need "Sub Main" in web applications...
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ :
http://asp.net.do/faq/
Foros de ASP.NET en Español :
http://asp.net.do/foros/
======================================
<> wrote in message
news: oups.com...
Hi, Juan,
Thank you very much. I think I need more time for ASP.NET 2.0.
I have uninstalled the 2.0 version and will stay with 1.1 for now. The
vbc compiler worked when I compiled the source under the v1.1.4322
folder where the msvcr71.dll resides.
But then I have a VB code problem:
******************************************
vbc : error BC30420: 'Sub Main' was not found in 'MyClass'.
f:\inetpub\wwwroot\test\MyClass.vb(1) : error BC30183: Keyword is not
valid as an identifier.
Public Class MyClass
~~~~~~~
******************************************
I am new to VB. I am a Java man. Does this mean that each VB class
must have a Sub Main? This sounds weird. Also, why isn't MyClass a
valid identifier?
Juan T. Llibre wrote:
> re:
> > No, I did not. Do you mean that applications for ASP.NET 2.0
> > must reside in a directory different from those of ASP.NET 1.1?
>
> You can't have the same application running under both
> 1.1 and 2.0 in the same physical, or virtual, directory.
>
> Also, they must run in a different Application Pool.
>
> re:
> > Yes, the tabs are visible. Both v1.1.4322 and v2.0.50215 are
> > "Allowed". Do you mean that I should "prohibit" v1.1.4322?
>
> No.
>
> Only that your 1.1 apps must run in a different AppPool than 2.0's.
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Español : http://asp.net.do/foros/
> ======================================
> <> wrote in message
> news: oups.com...
> Juan T. Llibre wrote:
> > re:
> > > That said, I have downloaded and installed the ASP.20
> > > Visual Web Developer kit and issued aspnet_regiis.exe -i.
> >
> > From which .Net Framework directory ?
> > From the 1.1 .Net Framework dir, or from the 2.0 directory ?
>
> I issued the aspnet_regiis.exe -i from the v2.0.50215 folder.
>
> > Also, did you change your application's directory so it runs
> > the 2.0 ASP.NET version, or is it still running the 1.1 version ?
>
> No, I did not. Do you mean that applications for ASP.NET 2.0 must
> reside in a directory different from those of ASP.NET 1.1?
>
> > If the ASP.NET tab is available in the IIS Manager, change
> > the target .Net Framework version to the appropiate one.
>
> Yes, the tabs are visible. Both v1.1.4322 and v2.0.50215 are
> "Allowed". Do you mean that I should "prohibit" v1.1.4322?