Solved

I have the website which is displaying the following error.

Posted on 2012-12-27
8
253 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
ASP.NET (VB) return a record 2 51
disadvantage of code behind appoarch in asp.net 3 28
orderby list (from Json) 1 27
Header Font Size in Grid View 6 22
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…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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