• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 385
  • Last Modified:

sharepoint 2007 Error message

I just install sharepoint 2007 and all of a sudden, it stopped working. I got: An unexpected error has occurred. I tried to modified the web.config under sharepoint - 80, it didn't work, i also tried in sharepoint - 28424, same result. and now I got this error instead:

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 
I even tried to restore the web.config to the original setting, but still keep getting this message. i have rebooted server several times, same result.

Note: my ASP.net version is 2.0.50727
0
okamon
Asked:
okamon
  • 4
  • 3
  • 2
1 Solution
 
Minesh ShahSharePoint & all about itCommented:
why was the need arised to change web.config of 80....
if you have a bak ub of original web.config, replace, & shaer original error.
0
 
AtisCommented:
At what moment it stopped working. During the setup? Right after it (Central Administration page doesn't show up)? What OS, IIS and authentication (NTLM, Kerberos) is used?
0
 
okamonAuthor Commented:
I was able to finish the setup successfully and I also created some new sites and able to logon with domain users. It just happened when I tried to signed in with different user.

>> why was the need arised to change web.config of 80....
That was the solution I found on the web, but it seems not working and I have put it back to default and reboot the server, still the same message
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Minesh ShahSharePoint & all about itCommented:
well yo have 2 issues:
1. current issue.
You need to undo everything you did, do an iisreset should be enough for web.config.
if any problem in this, also share what steps you did in response to sign as different user.


2. issue after you tried sign as a different user.
what is the exact error you faced,
check if this was the one:
http://support.microsoft.com/kb/823278
0
 
okamonAuthor Commented:
I just clicked sign in as different user and then after I put the user login info, this happened.
What's the commnad line to run iisreset? and what does it do? will it remove my current setting?
0
 
Minesh ShahSharePoint & all about itCommented:
iis reset > go to index server > start > run > iisreset

this stops the iis & then re-starts the iis.
in between this time, 2-3 seconds, iis is down.
it just stops & starts iis, nothing else.
0
 
okamonAuthor Commented:
that didn't help
0
 
AtisCommented:
You still have to see what error you have. That means you have to change web.config file accordingly. After that you should see complete error message. Did you see that last time you changed it? Even more - not sure from where you are trying to open that site, but while you are hunting for that exact error message try to view that site directly on the server.
0
 
okamonAuthor Commented:
i will check again
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now