How To Identify References
Jan 19, 2010
I am starting a new website based on an existing one that I already have up and working. I copied the old website files into a new folder but it will not run. The error suggets that I need to add a reference. So my question is . . . how can I identify the references that are included in the original site?
View 3 Replies
Similar Messages:
Feb 16, 2010
I am using Reporting Services to render a report directly to PDF. It requires that I use two web references: ReportExecution2005.asmx and ReportService2005.asmx. The performance on web references seems really poor. Since my web server (IIS7) and my SQL Server (2008) are on the same box, is there a way I can reference them directly? If not is there any way I can explicitly cache them or something. First load is really really slow, second load is perfectly acceptable.
View 2 Replies
May 11, 2010
I'm trying to include script and style references that will not break on deployment, however I can not even get the references to work locally. I have tried using Url.Content() and MVCContrib's <%=Html.ScriptInclude("")%>.
My scripts are in a Scripts folder on the root of the site; my styles are in the usual Content/css/ folder.
The scripts render like this:
<script type="text/javascript" src="/Scripts/MicrosoftAjax.debug.js" ></script>
This will not work in a view page in the Views folder. What am I doing wrong and what is the best way to handle this?
I would have thought Url.Content() would at least work for styles but used in my master page, the link rendered
<link href="/Content/css/Site.css rel="stylesheet" type="text/css" />
This does not work, because the Master Page is in a Shared folder, so what is really the way forward with this?
View 2 Replies
Dec 21, 2010
It may not suitable forum to post this.I'm a ASP.NET developer, I'm just doing a small corrections in a site developed in classic asp.i want to know how to idendify whether the Recordset has records or not? like in asp.net we use dt.Rows.Count In Classic ASP?
View 9 Replies
Jan 31, 2011
I want to make a statistical record to identify how many visitors come using web proxies to my asp.net mvc site. How to identify them?
View 1 Replies
Feb 11, 2011
I need to handle 404 exceptions differently than all other types of them. What is the best way to identify those 404 exceptions (distinguish them from other exceptions)?
The problem is that there is no a special exception class for 404 errors, I get regular System.Web.HttpException with Message = "File does not exist."
Should I just use exception's message for it or is there a better way?
View 4 Replies
Jun 11, 2010
I am creating a userprofile type of thing in my site i want to show all user SKYPE status whether online or offline how to do
View 1 Replies
Feb 21, 2011
Does anybody know how to properly identify CMYK images in ASP.NET using C#? When I check the Flags attribute of a Bitmap instance, I get incorrect results.
I have created three images to test this: cmyk.jpg, rgb.jpg and gray.jpg. These are respectively CMYK, RGB and Grayscale images.
This is my test code:
[Code]....
This produces the following output:
I have checked the actual images and cmyk.jpg really is a CMYK image.
Apparently, this is a "known issue". Alex Gil had the same problem in WPF (see this question: How to identify CMYK images using C#) and he managed to solve it by using a BitmapDecoder class to load the images. I'm a bit uncomfortable using that solution in ASP.NET because it requires me to add references to WindowsBase.dll and PresentationCore.dll and I'm not sure I want those in a web project.
Does anyone know of any other pure .NET solutions to check if an image is in the CMYK format that I can safely use in ASP.NET?
View 4 Replies
Feb 3, 2011
How will we identify which is the version of the .net framework are used for developing from an application we got without code
View 4 Replies
Dec 27, 2010
I've got an application that needs to do some work on startup (before the first request is in). I've added the initialization code in the global.asax file (Application_start method) but this code doesn't seem to be hit after an iis reset is performed.Is there an event which is triggered in an asp.net application when an iis reset has occurred?
View 2 Replies
May 19, 2010
I have a WCF service that will be using basic authentication and would like to be able identify "who" is trying to use the service. I know that the HttpContext.Current is NULL and in the WCF service, but do not know what the alternative is to get the username.
For the website, I can use:
userName = HttpContext.Current.Request.ServerVariables["LOGON_USER"];
How do I get userName in the WCF Service?
View 2 Replies
Mar 24, 2010
I got one problem while doing one TAPI application based project in C#. I'm using ITAPI3.dll
My problem is.. i'm not getting incoming call information. To get the incoming call information, i'm using the get_callinfo function, but it is showing empty message.
View 2 Replies
Jul 1, 2010
I have an ASP.Net app with a lot of pages in it.My problem is to uniquely identify every page in my app. now the app might have pages with just the page name eg: home.aspx and can have pages with query strings eg:testPage.aspx?q1=1&q2=2.what i have been thinking is since every URL in my app is unique I could use the page name + all query string params concatenated(key and value) to identify the page uniquely.eg:home.asp home testPage.aspx?q1=1&q2=2 -> testpageq11q22.Is this the correct way to go or is there a better way to do it.The reason I want to do this is I need to add at run time some meta data information from a database for each of the pages.The PageID then becomes my unique ID which I can then map all my meta data info in the db to.
[code]...
would potentially point to the same page (where the optional param gives me some kind of meta information thats is not being used to generate the content on the page)
View 4 Replies
Oct 26, 2010
I have a masterpage that contains a user control. The usercontrol uses callbacks for various operations. However, every time a callback is issued from the user control it is propagated down to the pages that inherit from the master page. How do I determine the id of the control that issued the callback so that I can stop these callbacks from destroying the state of the pages?
View 1 Replies
Apr 2, 2010
I have two DataSet were mention below DataSet1 & DataSet2. DataSet1 records are already in User Database table. I would like to insert the DataSet2 records to User table, Before going to insert the Dataset2, I am trying to check the duplicate records in DataSet2 Compare with DataSet1. How to identify the duplicate records in DataSet2 using LINQ. I want to Get the List of Duplicate record set. Or Return the True Or False.
Note: In User table SiteId and UserName is Combinational primary key Records.
View 3 Replies
Feb 10, 2011
I know how to identify the current user during a specific browsing session and can thus control the data, etc, made visible to that individual user. I also know how to find out how many users logged in within the recent past, using:
Membership.GetNumberOfUsersOnline()
.... which I believe calculates the number of users who have logged in within the past 15 minutes. However, I would like to know if there is any way to identify all the users who are logged in at a point in time. Is this possible?
View 9 Replies
Jul 28, 2010
I have a UserControl (UC) which is in an UpdatePanel. When the UC is loaded, I run a recursive method to set tooltip for all Button, LinkButton, and DropDownList in this UC. The problem is sometimes I only update 1 control in the UC such as a DropDownList, but I have to call the recursive method on all controls of the UC. I was wondering whether there is any way to identify which controls is updated in the UpdatePanel so that I can update correctly these controls.
View 1 Replies
Feb 1, 2011
i created a signup page and enter those values in database. Now i want to create a login page and have to check the details from the data base, whether the user registered or not?
View 1 Replies
Mar 22, 2011
I have a stored procedure which is composed of three unions of three different views.
After the views are Unioned together, they are placed into a temporary table.
I need to somehow keep track of the data which comes from the second view, "View2".
Specifically I will later need to compare all Ages of people from the second view.
How can I do this? Here is an example of my unioned views
Select Name,Age,Gender from View1
UNION
Select Name,Age,Gender from View2
UNION
Select Name,Age,Gender from View3
View 4 Replies
Nov 10, 2010
I would like to identify if an email address comes from a public provider or is from an established business. I consider public email addresses to be things such as:
Open email service providers, such as gmail, hotmail and yahoo. Anonymization services, such as mailinator or dispostable.
I'm aware that there is no foolproof way to do this, and obviously any list based solution would require constant updates.
Is there a public listing or .NET library that can do this for me?
View 3 Replies
Dec 31, 2010
I have an asp button which I am using in 2 different places (appending to a new place and adding a class using jquery under certain conditions). I need to slightly alter the function that runs when this button is clicked depending on whether or not this button has a given class. Is this possible??So something like this...
if myASPButton hasclass("xyz") then
...
end if
i'm using vb.net for what it's worth.
View 1 Replies
Oct 13, 2010
when First user request the webpage called for ex(http://xxxx.aspx) page,at the same time
when the second user request the same page (http://xxxx.aspx).
i have to get the message "Already User is using this page try after some time ".
View 2 Replies
Sep 28, 2010
I looked at Ajax 4, but on my XP box I had errors I couldn't work with. So I uninstalled Ajax 4 and installed Ajax 3.5, then copied the DLL files to all the Bin directories of the web sites on the development box. I thought everything was fine, but after several hours of development, I again started getting the error:AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.
View 1 Replies
Jun 29, 2010
simple explanation like:- four blocks all connected to one server hosting a website using iis 5 c# i want if user from block a accesses the home page the page says block A user how are you, same goes for all blocks so how to identify from where the request is coming from in this simple scenerio
View 1 Replies
Sep 20, 2010
I tried to set a Cookies by Response.Chookies("chookie1") into a user's machine and found difficult to get the Cookies by Request.Chookies("chookie1"). I think that is because the person used various cs(User-Agent) (browser names?). Here are some of them:
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1)
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+InfoPath.1
In such case, how can I set Cookies to identify that machine?
View 10 Replies