I have a ASMX web service. When I access it from a client the ASMX get compiled but I get this error:
Looking at csc.exe command line from the error detail the System.Windows.Forms asseembly is not referenced.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)
Source Error:
Line 3: using System.ComponentModel; Line 4: using System.Drawing; Line 5: using System.Windows.Forms; Line 6: using System.Xml; Line 7: using Idp.Core.Configuration;
when I put a break point i get this error message:
Error 1 The type or namespace name 'X509Certificate' could not be found (are you missing a using directive or an assembly reference?) D:UsersatttDesktop fre etetrtDefault.aspx.cs 7 53 D:...attt
i get the following error when trying to compile my asp.net site after updating the project from vs2008 to vs2010The type or namespace name 'Syndication' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)I have the asp.net site targeting 3.5 framework (as it did in vs2008)I also added a reference to System.ServiceModel.Web
I'm using MonoDevelop on Mac OS X Snow Leopard to develop an ASP.NET MVC Application. I have tested it on Visual Studio 2008 on Windows 7 and it worked fine, but when compiling it on MonoDevelop it throws the error: The type or namespace name 'Objects' does not exist in the namespace 'System.Data' under this line: public partial class MoviesDBEntities : global::System.Data.Objects.ObjectContext
I uploaded my website to the server, and I have there a working with wcf - it should be fw 3.5I saw that fw 3.5 is installed on the server and also we have re fw 3.0 sp1.I run my website : www.qenglishcenter.comand I'm getting an error : The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)shouldn't System.linq be already existed ?
All my pages are receiving this error - website is down; here's the code:
[Code]....
Except my web config file shows linq is accounted for? [Code]....
I would note that I updated to VWD Express 2010 then had to revert back to 3.5 because my host at Arvixe had not updated my server yet. He then said he updated it and I reverted up to 4.0 again. It turned out he hadn't and I tried to revert back...and then this showed up and numerous other errors.
i doing one application.That is grid binding .i got this error
System.Web.Mvc.HtmlHelper<object>' does not contain a definition for 'GridView' and the best extension method overload 'MvcApplication2.Code.GridViewExtensions.GridView<T>(System.Web.Mvc.HtmlHelper, MvcApplication2.Code.GridViewData<T>, System.Action<MvcApplication2.Code.GridViewData<T>>, System.Action<T,string>, string, string, System.Action<T>, System.Action<MvcApplication2.Code.GridViewData<T>>)'
how to find this solution and how to change System.Web.Mvc.ViewPage to System.Web.Mvc.ViewPage<Model>
I add a web service reference to my project. I use this service in many pages. It is working correctly, no problems in VS but I copy App_WebReferences folder's files and Web.Config file to ISS path. But it is not working.Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'InterkomLaboratuar' could not be found (are you missing a using directive or an assembly reference?)
I know that this sounds like a simple referencing problem from the title this is becoming a nightmare!I have a code class that uses the "iAnywhere.Data.AsaClient.dll". This Dll is referenced in the project and in the code class I have added this dll in the Using section.Everything seems fine at build with no errors at all but when I go to run the application it comes up with the following Compilation Error: Compiler Error Message: CS0246: The type or namespace name 'iAnywhere' could not be found (are you missing a using directive or an assembly reference?)The line that the Error points to this line in the class:using iAnywhere.Data.AsaClient;I have set the dll to copy local and it makes no difference, the Dll is installed on my PC so is in the GAC, I use this Dll with many other C# projects and have no problems.I have scoured Google looking for an answer and haven't found anything that points me to an answer to my problem.
CatagoriesController.cs sing System;using System.Linq;using System.Web.Mvc;using ProductSystem.Models;using ProductSystem.ViewModels; namespace ProductSystem.Controllers{ public class CatagoriesController : Controller { public ActionResult Create() { var viewModel = new CatagoriesCreateViewModel { Product_Catagories = new Product_Catagories() [code]...
"The Type or namespace name 'Manufacturers' Could not be found......
I am getting a strange error over one site vs another. I have created a chart web site that works, but now I'm moving that code into an existing website. I'm getting this error (see title) and cannot figure out why. The references are the same and I have the using directives the same (as far as I can tell). I'm stumped.
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.DataVisualization.Charting; using System.Data.SqlClient; using System.Drawing; using System.Data;
...
Charting.Title vbTitle = new Charting.Title( ddlSchool.SelectedItem.Text.ToString() + " Logins per Hour" );
I have downloaded Json.net dll from http://json.codeplex.com/releases/view/43775. I extracted asp.net 2.0 dll and copied into my application bin folder under applicationin folder in inetpubwwwroot.Then I added json refrence in inline aspx code page as<%@ Import Namespace="Newtonsoft.Json" %>Now whenever I try to run my aspx page, it gives me following errorThe type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile()
I had a working vs2008 web project that I needed to convert to a web application. After copying all my pages and user code into my new web solution, I am unable to compile the solution because it is not detecting the original namespace (Lead) that I was using in the web project (see error below). Error 9 The type or namespace name 'Lead' could not be found (are you missing a using directive or an assembly reference?) C:Documents and SettingsasnakbeMy DocumentsVisual Studio 2008ProjectsSLMSSLMSleads.aspx.cs 12 5 SLMS
I even tried changing the namespace to a different one, did clean/build the project, etc. but that all didn't help. Can someone let me know what I could be missing here?
'm getting the following error when adding a schema reference tothe schema library. The type or namespace name 'ActiveDocument' could not be found (are you missing a using directive or an assembly reference?)
I get the following error when i moved my site:The type or namespace name 'PdfConverter' could not be found (are you missing a using directive or an assembly reference?)i had my site hosted at one shared hosting adn i moved it as is to the other shared hosting account.the bin folder still contains the dll in question.. but i get the error above..any suggestions as to why i amgetting the error?for now i do not hav any IDE at hand so the solution would be mroe helpful, at least for now, if i can solve the issue witout visual studio..
I added an Entity Framework class (EDMX) in my MVC project but the entity collection namespace is not referenceable from my controller class, consequently I cannot access any of my entity objects.
Error1The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)D:print html data to pdfDefault.aspx.cs117D:print html data to pdf