Solved

I have the website which is displaying the following error.

Posted on 2012-12-27
8
252 Views
Last Modified: 2013-01-23
I have the website created in Framework 2.0 and after 4 year suddenly the attached error has started coming in that too in few zones but not consistently.

The site is developed in Asp.net using C#.
Server-Error-in.doc
0
Comment
Question by:searchsanjaysharma
8 Comments
 
LVL 27

Assisted Solution

by:Chinmay Patel
Chinmay Patel earned 300 total points
ID: 38723689
0
 
LVL 25

Assisted Solution

by:Luis Pérez
Luis Pérez earned 100 total points
ID: 38723693
0
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 100 total points
ID: 38723703
I find it hard to believe this suddenly happened.  Someone changed something.  If you don't know who, you should find out.  The fix is straightforward enough:
     http://forums.asp.net/t/1166634.aspx
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Assisted Solution

by:searchsanjaysharma
searchsanjaysharma earned 0 total points
ID: 38724558
The Web.config contents are as follows: Where do i put the code so that the error goes off.

<?xml version="1.0"?>
<configuration>
 
      <connectionStrings>
            <add name="sSqlConn" connectionString="Data Source=localhost;Initial Catalog=incnew1;uid=xxx;pwd=yyyy" providerName="System.Data.SqlClient"/>
      
      </connectionStrings>
      <system.web>
    <customErrors mode="Off" ></customErrors>
            <compilation debug="true"/></system.web></configuration>
0
 
LVL 27

Assisted Solution

by:Chinmay Patel
Chinmay Patel earned 300 total points
ID: 38725594
within <system.web></system.web> elements
0
 

Assisted Solution

by:searchsanjaysharma
searchsanjaysharma earned 0 total points
ID: 38725630
like this: Server is not in my control, i only have ftp access to it. Do i need to get the IIS restarted.

<?xml version="1.0"?>
<configuration>
 
      <connectionStrings>
            
            <add name="sSqlConn" connectionString="Data Source=localhost;Initial Catalog=xxxx;uid=yyyyy;pwd=zzzz" providerName="System.Data.SqlClient"/>
      </connectionStrings>
      <system.web>
    <customErrors mode="Off" ></customErrors>
    <machineKey validationKey='79DBE6362149214234C1E3C0C88331F977689D1A0B3DCA05530AE6A8E7F5DDB3FB9A87069D25F0970C70828491FAF1F8837E1F9A9220B6D4E1E5BEFC9A99E6E4'   decryptionKey='B18DA68275F82D4228C5BB8A491FED929A13C28527A7EF19'   validation='SHA1'/>
            <compilation debug="true"/></system.web></configuration>
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 300 total points
ID: 38738363
Yes for the example and no, no need to restart IIS.
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 38809181
tx
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question