G
Guest
Hi
I am developing web application using .net with c#. My application is working fine in the testing server. But when i deploy it in the production server it is giving the following error. What could be the cause?
File or assembly name System.Data, or one of its dependencies, was not found.
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.IO.FileNotFoundException: File or assembly name System.Data, or one of its dependencies, was not found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///D:/ChowizSchWeb
LOG: Initial PrivatePath = bin
Calling assembly : Assessment, Version=1.0.1460.23380, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data/System.Data.DLL.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data.DLL.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data/System.Data.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data/System.Data.EXE.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data.EXE.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data/System.Data.EXE.
Stack Trace:
[FileNotFoundException: File or assembly name System.Data, or one of its dependencies, was not found.]
Assessment.AssessmentPaper01.Page_Load(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +29
System.Web.UI.Page.ProcessRequestMain() +724
I am developing web application using .net with c#. My application is working fine in the testing server. But when i deploy it in the production server it is giving the following error. What could be the cause?
File or assembly name System.Data, or one of its dependencies, was not found.
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.IO.FileNotFoundException: File or assembly name System.Data, or one of its dependencies, was not found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///D:/ChowizSchWeb
LOG: Initial PrivatePath = bin
Calling assembly : Assessment, Version=1.0.1460.23380, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data/System.Data.DLL.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data.DLL.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data/System.Data.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/root/c49df1a8/1c93a765/System.Data/System.Data.EXE.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data.EXE.
LOG: Attempting download of new URL file:///D:/ChowizSchWeb/bin/System.Data/System.Data.EXE.
Stack Trace:
[FileNotFoundException: File or assembly name System.Data, or one of its dependencies, was not found.]
Assessment.AssessmentPaper01.Page_Load(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +29
System.Web.UI.Page.ProcessRequestMain() +724