Server Error in '/' Application.

  • Thread starter Thread starter Sanju
  • Start date Start date
S

Sanju

Hi all,
I have developed one project in asp.net on client machine and now i
want to upload it in server. My problem is, when i upload a project on
server it gives me error as "Server Error in '/' Application." I have
modified me web.config accordingly but it didnt help.
Can anybody tell me, how to solve this error. It's very
veryyyyyy important.....

Thanks in advance..
 
Hi Sanju,

What do you mean by the web.config is modified accordingly?
Did you set CustomErrors to Off (or RemoteOnly if the application is
running on your computer).
If so, do you have sharepoint installed, or any other web application that
may overrule for your application customerrors?

Can you browse to a simple html file with no code?
 
Sanju said:
Hi all,
I have developed one project in asp.net on client machine and now i
want to upload it in server. My problem is, when i upload a project on
server it gives me error as "Server Error in '/' Application." I have
modified me web.config accordingly but it didnt help.
Can anybody tell me, how to solve this error. It's very
veryyyyyy important.....

Thanks in advance..

Hi Sanju,

The "Server Error in '/' Application" part of the error message doesn't
tell us what the error is. If you're saying that the first error you
saw was the one that says "to see more details, modify your web.config
by doing this", and you have done this, and that you're still seeing
the same error <pause for breath>, then it means that the web.config
file you have modified isn't the one that is being read by asp.net.

One typical way for this to happen is for your project to be in a sub
directory/virtual directory, but for this directory not to be marked as
an application (through IIS), and so ASP.Net is reading/attempting to
read a web.config from higher up the directory hierarchy.

Damien
 
Thanks Morten,
In we.config file i have changed only the connection string.
There is no share point portal installed. What will be the
configuration to be done from server for my application.
I have to launch it early.
Thanx...
 
Hi Sanju,

To be able to see the error message you need to enable error messages
first. That is, you need to disable Custom Error messages. Adjust the
custom errors section or just add <customErrors mode="Off" /> somewhere
inside system.web

If your web application works locally, but not on the server, and the only
thing you changed was the connectionstring, double check the string.
There might be a typo.



Thanks Morten,
In we.config file i have changed only the connection string..
There is no share point portal installed. What will be the
configuration to be done from server for my application.
I have to launch it early.
Thanx...
 
Back
Top