Configuration :: Unable To Remove Reference?
Jun 10, 2010
I am using VS 2008 and I have created one Web Application. Previously in that I have reference for one dll, currently I do not require it and so I want to remove it.
But after removing, it get deleted from my bin folder and as soon as I build my application it gets created again
View 5 Replies
Similar Messages:
Sep 30, 2010
in my default.aspx page i have a dropdown List and a textbox with a submit button below that there are 2 listbox... and the dropdown list holds the names of the listbox
my logic here is to select an item from the dropdown list and put some text in the text box and submit the form which will add an item to the listbox selected.. but when i do this i get an error saying Object reference not set to an instance of an object. i tried to figure out the problem and found that when i remove the reference to the Site Master Page it works fine and when i undo and apply my reference back to the Site Master Page i get the same error.
[Code]....
View 2 Replies
Jan 22, 2011
i am using Jcrop to give users the option to crop there images, i have hit a small caching problem.
if you open an image which is already on the server and crop it. my jcrop works and crops the image fine but when i reload the image the old version is displayed. i have this inside an update panel.
so is there a way of removing the browsers cache before i reload the image?
View 5 Replies
Sep 29, 2010
I am trying to use a custom ITempDataProvider provider to store TempData in a browser's cookie instead of session state. However, everything works fine except that I am unable to remove the cookie from the Response stream after reading it. The code exexutes fine but the cookie won't go away.
[Code]....
And in my controller:
[Code]....
View 6 Replies
Jan 19, 2011
In my current project, I have a webservice file called MyServices.asmx. This webservice I want to reference in my Default.aspx.cs file.
My Code:
MyServices newService = new MyServices();
newService.addUser(txFirstName.Text, txLastName.Text, txtEmail.Text,
txtUserName.Text, txtPassword.Text, txtBalance.Text);
But when I refer to that webservice (as shown below), I get error saying: "The type or namespace name 'MyServices' could not be found (are you missing a using directive or an assembly reference?)"
What should I do to correct this error?
Current Solution of Adding Service Reference still gives me that error.
View 3 Replies
Feb 10, 2011
I am facing a problem with Gridview control. I have created a Gridview1 which is having 3 button column that has been added at design time and some column can be added through the Datatable at runtime. At Design time GridView1 has 3 button column
At Runtime I do GridView1.Datasource=dt; //Now my gridview is having 7 columns i.e. 4 more columns added through datatable.
I can easily display that GridView1 on webpage but I dont want to show some column that I added through Datatable to the user.
When I try to hide that column, I get error like Index out of bound exception but when I hide button column I can able to do that easily.
View 1 Replies
Feb 20, 2010
I'm adding a reference to a funciones.dll file using
clr.AddReferenceToFileAndPath() because I couldnt get it to work other way with this file and it succesfully does it. The file is named funciones.dll and it's in the bin folder. But when I do
from funciones import *
I get "no module named funciones"
since the funciones.dll file it's a funciones.py file compiled, shouldnt the module name only be named funciones and no any other name? isnt the name the problem and it's another? I dont know what other info could be relevant here but if there is any let me know
View 2 Replies
Mar 18, 2011
Does anyone know what could be the reason I am not able to add reference to System.Web. It gives an exclamation(!) symbol in front of the dll under reference folder in VS 1020. I wand to refer to System.Web.Security.MembershipProvider class.
View 1 Replies
Dec 8, 2010
i have added a service reference but i am unable to access the methods, there is a method call "GetContactById" which i can see when i add the service but i am unsure how i can get to this in code. i have tried creating an instance first but i get this error
Error 116 Core.omnetService.OMWCoreSoap' is a 'type', which is not valid in the given context
omnetService.OMWCoreSoap test = omnetService.OMWCoreSoap();
test.GetContactById(strKey, UserId.ToString());
what is the best way to solve this?
View 4 Replies
Feb 20, 2010
I have downloaded Visual Web Developer 2010 Express and am trying to use LINQ. In order to do that I have added a LINQ to SQL class to the web site and have dragged tables from the database view into the LINQ designer, which worked fine.But..When I add: using System.Data.Linq;to MainPage.xaml.cs, I receive an error:
Error 3 The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?)Even although I have references to System.Core, System.Data, System.Data.Linq in the website references.
View 4 Replies
Sep 26, 2010
I want to use LINQ over DataSet in my C# ConsoleApplication project.But i do not find System.Data.Extension.dll in Add Reference section of my project.There is System.Data.DataSetExtension.dll present. I added that file, but then which namespace to use in my project ?
View 3 Replies
Nov 22, 2013
I have downloaded ajax toolkit fromĀ URL....
When I am using control it gives error unable to reference extender assembly "AjaxToolkit control" version =4.1.7.1105 , culture = netural , publickey token=28f01b0e84b6d53e
And when running aspx page it gives unable to get property ui of undifeined or null reference..how it can be removed..
View 1 Replies
Jul 14, 2010
My file based ASP.Net 3.5 website was working fine. For the pastcouple of days I am getting the following error.Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll" Cannot findassembly c:Program filesMicrosoft ASP.NetAjax LibraryWebformsReleaseAjaxControlToolKit.dll.Project : c:mis.My ASP.Net 3.5 website root folder is c:mis. I browsed to subfolder Bin and looked atBinAjaxControlToolkit.dllAjaxControlToolKit.dll.refresh. The following was the reference...Program FilesMicrosoft ASP.NET Ajax LibraryWebFormsReleaseAjaxControlToolkit.dll
View 1 Replies
Sep 29, 2010
I have the following line in my main config file that is intefering with an application in a sub directory that has it's own config file -- I want to remove it or clear it in my sub-config file
<add verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
I'm trying to remove it like this:
<httpHandlers>
<remove verb="*" path="*.ashx"/>
</httpHandlers>
but pages in my sub application are still trying to load it and it's causing an error. Can anyone tell me how to remove or clear it?
View 2 Replies
Mar 23, 2010
when i publish my asp.net application in Release mode i am getting .pdb files in Bin folder.
My doubt is
1. does .pdb files get generated in release mode also.
2. Why is .pdb needed in release mode.
3. how can i remove .pdb files in release mode.
View 1 Replies
Jun 11, 2010
I'm just getting started with ASP.NET. I'm looking for a reference that lists all of the standard ASP controls, with definitions for all of the properties and methods for each control. All I'm finding so far are tutorials for solving specific example scenarios.Can anyone point me to such a reference? PDF would be great, but hard-print or web-based would be OK as well.
View 2 Replies
Oct 4, 2010
I'm new to .net
I've following line in my code:
using Microsoft.ServiceModel.Web;
And it works fine as long as I add the namespace reference to microsoft assembly dLL System.ServiceModel.
The moment I copy the code on other machine, I need to redo everything. Is there any way so that I don't need to add this reference again & again?
View 13 Replies
Aug 27, 2010
I'm using an autocomplete contol of ajax toolkit. Yesterday a user found that it had stopped working (it wasn't generating the list as you type letters in the textbox). After hours of troubleshooting, I found that in web.config <httpHandlers>, this line
<remove verb="*" path="*.asmx" /> was placed after the <add> line like this:
<httpHandlers>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
View 4 Replies
Oct 17, 2010
Since a Web Site doesn't have a project file or a bin folder,
how will a Web Site identify of what are all the dlls to be used.
And if i am adding a third party dll to my web site, and i need to
add this web site folder to a source control, how should i include
this third party dll in the source control?
View 1 Replies
Oct 28, 2010
I downloaded the trial version of abcpdf, which is absolutely fantastic!
Anyway, real simple, you just need to reference the .dll and off you go...
So, I got my code working, but when I moved to production server I hit a wall.
It definitely has to do with the .dll because when I comment out the pdf sub routine, the code executes and completes all other tasks. When I uncomment, It's not working.
The trouble is, on my server I don't have the full version of VS, so I am unable to add a reference, which I presume takes care of the web.config settings? I manually dropped the .dll into the bin folder and I added the assembly line into web.config, but, as I don't have the above, I am not sure if the token key is correct.
To test this, I uploaded the working .dll file to my server, which I assumed the key is associated with, but still the same.
how to either get the correct key and/or how to reference an assembly manually? Is there something I have missed?
View 2 Replies
Feb 21, 2010
I have a project ("The Project") that references an external web service. I am then referencing that project in an ASP.Net web application ("The Web Application"). When I reference "The Project" in "The Web Application" the app.config is not copied over, which isn't a problem. Does "The Project" take care of know what endpoint to use? Can the web.config override the endpoint URL? I did a test and am not reference the eternal web service in "The Web Application" and everything seemed to work ok. I guess, can I create the same configuration section, that is in "The Project's" app.config and copy it over to the web.config file to override?
Update: I guess what I really need to find out is how to change the end point of a web service when generating the code from adding a "Web Reference". I tried adding a service reference to my code, but the wsdl is not getting loaded correclty or I am doing something wrong. Update 2.0: I forgot about the URL property of the proxy that is generated by the web reference.
View 1 Replies
May 27, 2010
retrieve appsettings from the app.config file stored in a DLL directory?
I have read many posts on this and it appears as though it's not possible. I've tried all configurationmanager options without success.
Of course, when my .net web app runs, it configurationmanager pulls the settings from the web.config which I understand. I would just like to have a configuration file dedicated to the dll. (like app.config).
View 2 Replies
Jul 13, 2010
I am new to programming and i have one project in which i want to replace the DLL files and want to place the actual code. I have all the code files. how to this?
View 4 Replies
Nov 24, 2010
How do I remove the Configuration Error found in the ASP.Net Ajax Control ToolKit?
Error Message reads: "The Master Page file .... DefaultMaster.master cannot be loaded Correct the problem in Code view"
<%@ Page
Language="C#"
MasterPageFile="~/DefaultMaster.master"
AutoEventWireup="true"
Inherits="CommonPage"
Title="HoverMenu Sample"
Theme="SampleSiteTheme" %>
View 3 Replies
Nov 20, 2010
I have remove default.aspx page from remote server then the site is also running.
View 4 Replies