Can we use <compiler> tag to avoid RunTime Compiler error?

J

Jack Wright

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
Jack
 
S

Shiv Kumar

Jack,
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.

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

Jack Wright

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
 
S

Shiv Kumar

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

Jack Wright

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
 
S

Shiv Kumar

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 :)
 

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

Top