ASP.NET: Server Error in '/' Application

T

tomas.blazek

Hi all

I have problem with error msg "Server Error in '/' Application". I
know, I must set my virtual directory in IIS as IIS application, I have
it (also parent directories are set as IIS app), I have same version
..NET framework on server and on my pc, where i build my pages. When I
open my page on domain (f.e.: www.domain.exp/dir/page.aspx), I see this
error, but when I use IP addres (f.e.: 111.222.111.222/dir/page.aspx),
all is ok.

Perhaps, I can be with settings in IIS, but I don't know what settings
I must change.

Thanks

Tomas
 
T

tomas.blazek

But I read, that parent directory of my page must be set as IIS App. Is
there any other way? I don't know, I am newbie in ASP.NET and it's
quite difficult for me configure all apps for work with asp.net.

Thanks

Tomas
 
J

Juan T. Llibre

Maybe it's a language thing.

When you said :
I must set my virtual directory in IIS as IIS application,
I have it (also parent directories are set as IIS app)

I took it to mean that you have an ASP.NET application nested under
another ASP.NET application. ( the word "also" gives me that idea )

If you only have *one* ASP.NET application,
then you don't have a nested application structure, obviously.

Returning to your problem, you didn't say whether the error occurs
on your server or on the PC in which you develop the application.

If the error occurs your server and your server is Windows 2003 running IIS 6.0,
you may have to isolate your ASP.NET 1.1 apps from your ASP.NET 2.0 apps,
by placing them in different Application Pools.

When ASP.NET is hosted on W2K3/IIS 6.0, running 1.1 apps and 2.0 apps
in the same Application Pool is the most common source for that server error.




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/
===================================
 
T

tomas.blazek

Hi Juan,

Problem was in users rights, so now is all ok... But thanks for tips, I
am newbie in ASP.NET - you tell me some now things, that can be usefull
for me...

Thanks, Tomas

And I didn't write: Problem was on server W2K3/IIS6
 

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