Server Error in '/' Application.

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

Morten Wennevik

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?
 
D

Damien

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
 
S

Sanju

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

Morten Wennevik

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

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,833
Latest member
BettyeMacf

Latest Threads

Top