Solved

issues with installation package

Posted on 2014-12-19
1
70 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

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.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

829 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