473,387 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Deploying ASP.NET web application

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


Nov 18 '05 #1
3 1240
Hi Shalini,

It looks like your application is compiled with .Net 1.1 but only .Net 1.0
is installed. (Or maybe it is the other way around.)

If you browse to:

C:\WINDOWS\assembly

do you see

System.Data.dll 1.0.5000.0 ?

"shalini" <an*******@discussions.microsoft.com> wrote in message
news:17**********************************@microsof t.com...
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


Nov 18 '05 #2
Hi Mr.Ken Co

Thanks for helping me to find out the problem. Yes i see System.Data.dll 1.0.5000.0 in C:\WINDOWS\assembly an
also i want to know if i install version 1.1 will all the other web applications running under version 1.0 will get affected

Thank
shalin
Nov 18 '05 #3
Hi Shalini,

It seems like the versions are different and need to be coordinated between
your workstation and the server.

You should try running this free tool to make all of the Web sites run under
the same version of the .Net Framework as you are using to compile the DLLs.

http://www.denisbauer.com/NETTools/A...nSwitcher.aspx
"shalini" <an*******@discussions.microsoft.com> wrote in message
news:DC**********************************@microsof t.com...
Hi Mr.Ken Cox

Thanks for helping me to find out the problem. Yes i see System.Data.dll
1.0.5000.0 in C:\WINDOWS\assembly and
also i want to know if i install version 1.1 will all the other web
applications running under version 1.0 will get affected?

Thanks
shalini


Nov 18 '05 #4

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

Similar topics

1
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules...
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
1
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API...
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
3
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and...
0
by: Amit | last post by:
Hi,I am new to .net 2.0 and have just built one web application and deployed the application on web server. The problem which i am facing is that if i make any changes in the .cs files or aspx...
0
by: sanjaypasumarty | last post by:
Hello, I am facing issues when i am deploying application on WebSphere Process server. The appplication is not deploying successfully and showing some DB2 errors in the logs. We are unable to find...
8
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.