Solved

I have the website which is displaying the following error.

Posted on 2012-12-27
8
250 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now