Solved

issues with installation package

Posted on 2014-12-19
1
68 Views
Last Modified: 2015-12-23
I have developed a C# project whose only dependency is .NET Framework 4.0 Client
The executable reads text file and creates xml file that it stores in a folder. the dependencies are:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using System.Threading;
using System.Text.RegularExpressions;
using System.Collections.Specialized;
using System.Globalization;
using System.IO.Compression;

The installation package worked and the framework has been installed.
However, when running, the executable throws the following error:
Could not load file or assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I do not use web component, so what has to be configured on the server 2008R2 for the executable not to fail?
0
Comment
Question by:josephdts
1 Comment
 
LVL 12

Accepted Solution

by:
Ammar Gaffar earned 500 total points
ID: 40509920
If your project is ASP.NET then check which .NET Framework configured for IIS Application Pool you are using, If it is v.2.0 then change it to v.4 and try again.


Good Luck
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

832 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