473,654 Members | 3,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server Error: Object reference not set

SAL
I am getting the following ERROR in my WebApp on line 30:

Server Error in '/TestWebApp' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not set
to an instance of an object.

Source Error:
Line 28: public void Upload_click(ob ject sender, System.EventArg s e)
Line 29: {
Line 30: if (uploadFile.Pos tedFile != null)
Line 31: {
Line 32: string test = uploadFile.Post edFile.FileName ;
Source File: c:\documents and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs Line: 30

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
TestWebApp.test .Upload_click(O bject sender, EventArgs e) in c:\documents
and settings\my documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs:30
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e)

System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData)
System.Web.UI.P age.ProcessRequ estMain()
I thought I was doing something wrong in my WebApp, so I created a brand new
solution to test with I get the same error. Below is all the code for my
test. Basically, all this webpage has is a HTML File Field Control, and a
Web Forms Button Control on it. After you click the File Field and select
your file, then you click the Button which calls Upload_click. When it reads
if (uploadFile.Pos tedFile != null) is when I get the error.

I'm new with ASP.net and this seems pretty straight-forward, but I can't
seem to see what I am doing wrong. Can someone tell me what I am doing wrong?
using System;
using System.Collecti ons;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Sess ionState;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;

namespace TestWebApp
{
/// <summary>
/// Summary description for test.
/// </summary>
public class test : System.Web.UI.P age
{
protected System.Web.UI.W ebControls.Butt on Upload;
protected System.Web.UI.H tmlControls.Htm lInputFile uploadFile;
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
}

public void Upload_click(ob ject sender, System.EventArg s e)
{
if (uploadFile.Pos tedFile != null)
{
string test = uploadFile.Post edFile.FileName ;
}
}
#region Web Form Designer generated code
override protected void OnInit(EventArg s e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeCompo nent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeCompo nent()
{
this.Load += new System.EventHan dler(this.Page_ Load);

}
#endregion
}
}
<%@ Page language="c#" Codebehind="tes t.aspx.cs" AutoEventWireup ="false"
Inherits="TestW ebApp.test" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>test</title>
<meta name="GENERATOR " Content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<INPUT id="uploadFile " type="file">
<asp:Button id="Upload" OnClick="Upload _click" runat="server"
Text="Upload"></asp:Button>
</form>
</body>
</HTML>

Thanks,

Oct 6 '06 #1
3 2565
You are using uploadFile control to access your uploaded file, you should
use Request.Files as shown below

HttpFileCollect ion HttpFiles = Request.Files;

for (int i = 0; i < HttpFiles.Count ; i ++)

{

HttpPostedFile _HttpPosted = HttpFiles[i];
if ( _HttpPosted.Con tentLength 0 )

{

string lineText = string.Empty;

using (StreamReader sr = new StreamReader(_H ttpPosted.Input Stream))

{

//here you can use the stream directly and process the file, without saving
it to the server //or save it if that's your rquirement.

while (sr.Peek() >= 0)

{

lineText = sr.ReadLine();

}

}

}

}

Thanks

baski

"SAL" <SA*@discussion s.microsoft.com wrote in message
news:37******** *************** ***********@mic rosoft.com...
>I am getting the following ERROR in my WebApp on line 30:

Server Error in '/TestWebApp' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not set
to an instance of an object.

Source Error:
Line 28: public void Upload_click(ob ject sender, System.EventArg s e)
Line 29: {
Line 30: if (uploadFile.Pos tedFile != null)
Line 31: {
Line 32: string test = uploadFile.Post edFile.FileName ;
Source File: c:\documents and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs Line: 30

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
TestWebApp.test .Upload_click(O bject sender, EventArgs e) in c:\documents
and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs:30
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e)

System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring
eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData)
System.Web.UI.P age.ProcessRequ estMain()
I thought I was doing something wrong in my WebApp, so I created a brand
new
solution to test with I get the same error. Below is all the code for my
test. Basically, all this webpage has is a HTML File Field Control, and a
Web Forms Button Control on it. After you click the File Field and select
your file, then you click the Button which calls Upload_click. When it
reads
if (uploadFile.Pos tedFile != null) is when I get the error.

I'm new with ASP.net and this seems pretty straight-forward, but I can't
seem to see what I am doing wrong. Can someone tell me what I am doing
wrong?
using System;
using System.Collecti ons;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Sess ionState;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;

namespace TestWebApp
{
/// <summary>
/// Summary description for test.
/// </summary>
public class test : System.Web.UI.P age
{
protected System.Web.UI.W ebControls.Butt on Upload;
protected System.Web.UI.H tmlControls.Htm lInputFile uploadFile;
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
}

public void Upload_click(ob ject sender, System.EventArg s e)
{
if (uploadFile.Pos tedFile != null)
{
string test = uploadFile.Post edFile.FileName ;
}
}
#region Web Form Designer generated code
override protected void OnInit(EventArg s e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeCompo nent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeCompo nent()
{
this.Load += new System.EventHan dler(this.Page_ Load);

}
#endregion
}
}
<%@ Page language="c#" Codebehind="tes t.aspx.cs" AutoEventWireup ="false"
Inherits="TestW ebApp.test" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>test</title>
<meta name="GENERATOR " Content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<INPUT id="uploadFile " type="file">
<asp:Button id="Upload" OnClick="Upload _click" runat="server"
Text="Upload"></asp:Button>
</form>
</body>
</HTML>

Thanks,

Oct 6 '06 #2

"SAL" <SAL@discYou are using uploadFile control to access your uploaded
file, you should
use Request.Files as shown below

HttpFileCollect ion HttpFiles = Request.Files;

for (int i = 0; i < HttpFiles.Count ; i ++)

{

HttpPostedFile _HttpPosted = HttpFiles[i];
if ( _HttpPosted.Con tentLength 0 )

{

string lineText = string.Empty;

using (StreamReader sr = new StreamReader(_H ttpPosted.Input Stream))

{

//here you can use the stream directly and process the file, without saving
it to the server //or save it if that's your rquirement.

while (sr.Peek() >= 0)

{

lineText = sr.ReadLine();

}

}

}

}

Thanks

baski
ussions.microso ft.comwrote in message
news:37******** *************** ***********@mic rosoft.com...
>I am getting the following ERROR in my WebApp on line 30:

Server Error in '/TestWebApp' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not set
to an instance of an object.

Source Error:
Line 28: public void Upload_click(ob ject sender, System.EventArg s e)
Line 29: {
Line 30: if (uploadFile.Pos tedFile != null)
Line 31: {
Line 32: string test = uploadFile.Post edFile.FileName ;
Source File: c:\documents and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs Line: 30

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
TestWebApp.test .Upload_click(O bject sender, EventArgs e) in c:\documents
and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs:30
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e)

System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring
eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData)
System.Web.UI.P age.ProcessRequ estMain()
I thought I was doing something wrong in my WebApp, so I created a brand
new
solution to test with I get the same error. Below is all the code for my
test. Basically, all this webpage has is a HTML File Field Control, and a
Web Forms Button Control on it. After you click the File Field and select
your file, then you click the Button which calls Upload_click. When it
reads
if (uploadFile.Pos tedFile != null) is when I get the error.

I'm new with ASP.net and this seems pretty straight-forward, but I can't
seem to see what I am doing wrong. Can someone tell me what I am doing
wrong?
using System;
using System.Collecti ons;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Sess ionState;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;

namespace TestWebApp
{
/// <summary>
/// Summary description for test.
/// </summary>
public class test : System.Web.UI.P age
{
protected System.Web.UI.W ebControls.Butt on Upload;
protected System.Web.UI.H tmlControls.Htm lInputFile uploadFile;
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
}

public void Upload_click(ob ject sender, System.EventArg s e)
{
if (uploadFile.Pos tedFile != null)
{
string test = uploadFile.Post edFile.FileName ;
}
}
#region Web Form Designer generated code
override protected void OnInit(EventArg s e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeCompo nent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeCompo nent()
{
this.Load += new System.EventHan dler(this.Page_ Load);

}
#endregion
}
}
<%@ Page language="c#" Codebehind="tes t.aspx.cs" AutoEventWireup ="false"
Inherits="TestW ebApp.test" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>test</title>
<meta name="GENERATOR " Content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<INPUT id="uploadFile " type="file">
<asp:Button id="Upload" OnClick="Upload _click" runat="server"
Text="Upload"></asp:Button>
</form>
</body>
</HTML>

Thanks,

Oct 6 '06 #3
SAL
Thanks Baski. I will give it a try.

"Baski" wrote:
>
"SAL" <SAL@discYou are using uploadFile control to access your uploaded
file, you should
use Request.Files as shown below

HttpFileCollect ion HttpFiles = Request.Files;

for (int i = 0; i < HttpFiles.Count ; i ++)

{

HttpPostedFile _HttpPosted = HttpFiles[i];
if ( _HttpPosted.Con tentLength 0 )

{

string lineText = string.Empty;

using (StreamReader sr = new StreamReader(_H ttpPosted.Input Stream))

{

//here you can use the stream directly and process the file, without saving
it to the server //or save it if that's your rquirement.

while (sr.Peek() >= 0)

{

lineText = sr.ReadLine();

}

}

}

}

Thanks

baski
ussions.microso ft.comwrote in message
news:37******** *************** ***********@mic rosoft.com...
I am getting the following ERROR in my WebApp on line 30:

Server Error in '/TestWebApp' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not set
to an instance of an object.

Source Error:
Line 28: public void Upload_click(ob ject sender, System.EventArg s e)
Line 29: {
Line 30: if (uploadFile.Pos tedFile != null)
Line 31: {
Line 32: string test = uploadFile.Post edFile.FileName ;
Source File: c:\documents and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs Line: 30

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
TestWebApp.test .Upload_click(O bject sender, EventArgs e) in c:\documents
and settings\my
documents\mypro jects\web\proje ct\testwebapp\t est.aspx.cs:30
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e)

System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP ostBackEvent(St ring
eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument)
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData)
System.Web.UI.P age.ProcessRequ estMain()
I thought I was doing something wrong in my WebApp, so I created a brand
new
solution to test with I get the same error. Below is all the code for my
test. Basically, all this webpage has is a HTML File Field Control, and a
Web Forms Button Control on it. After you click the File Field and select
your file, then you click the Button which calls Upload_click. When it
reads
if (uploadFile.Pos tedFile != null) is when I get the error.

I'm new with ASP.net and this seems pretty straight-forward, but I can't
seem to see what I am doing wrong. Can someone tell me what I am doing
wrong?
using System;
using System.Collecti ons;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Sess ionState;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;

namespace TestWebApp
{
/// <summary>
/// Summary description for test.
/// </summary>
public class test : System.Web.UI.P age
{
protected System.Web.UI.W ebControls.Butt on Upload;
protected System.Web.UI.H tmlControls.Htm lInputFile uploadFile;
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
}

public void Upload_click(ob ject sender, System.EventArg s e)
{
if (uploadFile.Pos tedFile != null)
{
string test = uploadFile.Post edFile.FileName ;
}
}
#region Web Form Designer generated code
override protected void OnInit(EventArg s e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeCompo nent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeCompo nent()
{
this.Load += new System.EventHan dler(this.Page_ Load);

}
#endregion
}
}
<%@ Page language="c#" Codebehind="tes t.aspx.cs" AutoEventWireup ="false"
Inherits="TestW ebApp.test" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>test</title>
<meta name="GENERATOR " Content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<INPUT id="uploadFile " type="file">
<asp:Button id="Upload" OnClick="Upload _click" runat="server"
Text="Upload"></asp:Button>
</form>
</body>
</HTML>

Thanks,


Oct 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1010
by: Daniel Rimmelzwaan | last post by:
I got the following server error, does anybody have an idea of what it means? Server Error in '/CreateJobFromFile' Application. ---------------------------------------------------------------------------- ----
1
6041
by: vijay | last post by:
Hi I am working on a web application. I have huge form where in I have filled some part of the form and after two hours again I started filling the rest of the form but I got the following error Server Error in '/abc' Application Server Error in '/abc' Application >> Object reference not set to an instance of an object. >> Description: An unhandled exception occurred during the execution o >> the current web request. Please review...
2
1601
by: James Wallace | last post by:
I hope that someone can help me out there with this problem. I get an itermittant problem with our web page that occurs about once every 10 to 15 days where the only way to fix the problem is to bounce the web server. The error can be seen below. I have looked at the stack trace and determined where the error is occuring but when I look at my code, where it says that I have an unhandled exception, I have error handling to handle it. ...
3
1737
by: Web Team | last post by:
Server Error in '/netapps' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference...
14
7027
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that sql server resides on is not reachable. The error is different depending on the connection string that I use. If I use the following connection string: "server=192.1.1.1; Initial Catalog=master; uid=The_User; password=The_Password; Connect...
4
2171
by: David Lozzi | last post by:
Howdy, I found a nice little book called ASP.NET 2.0 Cookbook by Michael A Kittel and Geoffrey LeBlond. Anyway, they have some instructions on how to setup application level error handling. Most of my functions have try..catch to email me about an error, then I want the application level to fire off to send the user to a custom page AND log it in the app log. When an error occurs on my page, i get a server error Server Error in...
2
6946
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
2
4250
by: Richard Coltrane | last post by:
Hi there, Ive just implemented some application level exception handling in ASP.Net 2.0. I deliberately set up a null reference error in my code to see how this would be handled. Sure enough the applicationOnError code runs in Global.asax and hands it off to my custom error page but theres no info in the exception returned by Server.Getlasterror. The type of this exception is just HttpUnhandledException (which is obvious,
0
8294
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8494
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2719
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1597
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.