Solved

issues with installation package

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
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…

707 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

17 Experts available now in Live!

Get 1:1 Help Now