System.Windows.Documents Namespace Not Found?
Dec 3, 2010
I'm using ASP.NET4.0, and getting the following compilation error:
CS0234: The type or namespace name 'Documents' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
Source Error:
[Code]....
Source File: c:Documents and SettingsstilwellDesktopDEV40-1App_CodeLoadForm.cs Line: 2
[Code]....
View 3 Replies
Similar Messages:
Sep 9, 2010
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;
View 1 Replies
Mar 29, 2010
I am following the tut here[URL]
[Code]....
View 2 Replies
Nov 3, 2010
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
View 4 Replies
Apr 19, 2010
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
View 3 Replies
Oct 22, 2010
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
View 1 Replies
Sep 2, 2010
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 ?
View 2 Replies
May 7, 2010
I am getting this compilation error"
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.
View 2 Replies
Jul 16, 2010
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>
View 1 Replies
Dec 19, 2010
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?)
View 1 Replies
May 26, 2010
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.
View 1 Replies
Jul 23, 2010
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......
View 3 Replies
Apr 4, 2011
The type or namespace name 'XmlConfigurator' could not be found (are you missing a using directive or an assembly reference?)
View 2 Replies
May 21, 2010
I am developing a VS 2008 web application in C#. I am trying to include a namespace that is stored in one of my folders. So instead of:
using ADONET_namespace
it is stored in "Admins" folder. How do I modify this aspx.cs file to include Admins/ADONET_namespace?
Currently I get following error from aspx.cs file:
The type or namespace name 'ADONET_namespace' could not be found (are you missing a using directive or an assembly reference?)
View 1 Replies
Jan 11, 2011
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" );
...
View 7 Replies
Jun 14, 2010
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()
View 5 Replies
Jul 30, 2014
I have error in vs 2012
The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?)
Error 18 The type or namespace name 'ReportDocument' could not be found (are you missing a using directive or an assembly reference?)
View 1 Replies
Mar 1, 2010
I'm new to ASP.NET MVC and I'm creating an app that will search a contact using using the autocomplete functionality along with jquery.
When I run the project it loads fine and when i click the submit button to search a lastname i receive an error.
Server Error in '/' Application.
The resource cannot be found
Requested URL:/Offender/Search
While attempting this project i followed along witht Northwind MVC Sample and that project also gave me errors as well.
View 2 Replies
Jun 30, 2010
The type or namespace name 'WCFService' could not be found in WSP
View 1 Replies
Sep 16, 2010
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?
View 4 Replies
Mar 24, 2011
'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?)
ActiveDocument.XMLSchemaReferences.Add _
NamespaceURI:="myCompany.schemas.com.sales_order", _
Alias:="mCsO", _
FileName:="C: empsales_order.xsd", _
InstallForAllUsers:=True
View 10 Replies
Jun 13, 2010
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..
View 2 Replies
Mar 22, 2011
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.
View 9 Replies
May 24, 2012
i have follwing error in iTextSharp program
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
View 1 Replies
Jan 27, 2010
I have a project that it had been developed under MVC1 and after aa few months ago I upgraded it in MVC2.
Everything was well, uppon the day I needed to format my computer.
And what can goes wrong with a format? I don't know
I have installed the MVC2, I build the project, no error displayed, but from the time I've uploaded the project in the production server
I am getting this error.
Method not found: 'System.Web.Mvc.MvcHtmlString System.Web.Mvc.Html.LinkExtensions.RouteLink(System.Web.Mvc.HtmlHelper, System.String, System.Object)'.
I can't understand what caused the problem.
Certainly I assumed that is have to do with MVC1 and I referenced it, but with no luck
again.
Theese are the methods that the problem is came from
[Code]....
View 15 Replies