Groups | Blog | Home
all groups > asp.net > january 2004 >

asp.net : Can we use <compiler> tag to avoid RunTime Compiler error?


sunil NO[at]SPAM volcanomail.com
1/13/2004 11:52:36 PM
Dear All,
At some customers we are facing a problem when the user tries to
launch any aspx page from IE. We are getting "Compiler failed with
error code 2000". Is this bcos of some missing resource?
I read in the newgroup that said:
1. Re-install IIS ( I applied Windows 2000 SP3 after that)
2. Register Aspnet_isapi.dll as described in Q306005. (this is
actually not needed)

One more Observation I made was that the length of the Virtual Name
of the directory where the deployment is should not exceed more than 8
characters. What is the maximum length of the Virtual name in IIS?

I changed <NtfsDisable8dot3NameCreation> in the registry to <1>
but I still get the compliation error if the length is greater than 8.

Is there some other solution? Has something changed in the registry?
Can we use the <Compile> tag in Web.Config to overcome this error?

Please help
TALIA

Many Regards
Shiv Kumar
1/14/2004 4:15:32 AM
Jack,

[quoted text, click to view]

I'd be surprised if there was a limit! VS.NET creates ASP.NET applications
called WebApplication1 and it works just fine.

--
Shiv R. Kumar
http://www.matlus.com

sunil NO[at]SPAM volcanomail.com
1/15/2004 4:11:25 AM
Shiv,
WebApp works if the project is created from VS. But if we create a
Virtual folder, it might work or it might not...

Many Regards
Jack

[quoted text, click to view]
Shiv Kumar
1/15/2004 2:01:16 PM
Oh, then I don't think you're setting up the correct configuration settings
for the virtual folder you're creating. Make sure the virtual folders you
are creating have the exact same configuration as the ones VS.NET creates.

--
Shiv R. Kumar
http://www.matlus.com

sunil NO[at]SPAM volcanomail.com
1/18/2004 10:22:52 PM
How do I find out the difference between the two? Moreover why does it
work initially...and after some days it stops working...

Many Regards
Jack

[quoted text, click to view]
Shiv Kumar
1/19/2004 11:36:34 AM
Typically, your first clue is the icon you see. The best way is to compare
the settings however.

I can't understand or explain why it should stop working after a few days
unless someone is tampering with the settings :)

--
Shiv R. Kumar
http://www.matlus.com

AddThis Social Bookmark Button