473,669 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem of deploying webapp on IIS production server

Tom
Hi,

I built and packaged some web applications written by .net and c#. They connect to the same DB and have listview to list data from DB.

They did not have any errors when I built and test them on local development machine.

However, the listview shows the following error when I installed and run them on production server (I can login to the DB and web application, just the ListView does not work):

Info Handling Error System.NullRefe renceException: Object reference not set to an instance of an object. at WebControl.List View.ResponseBu ilder.GetIDStri ng(Fields flds) at WebControl.List View.ResponseBu ilder.AddRecord (Fields flds) at WebControl.List View.DataProces sor.Page_Load(O bject sender, EventArgs e)

Then, I uploaded the source of the web applications and test them again. It shows different error message:

"Internal server error 500" when I load the data for listview.

That IIS on production server only allows ONE web application to run ListView. How can I fix it?

Thanks for any kind help
Nov 16 '05 #1
1 1245
It's probably a bug in your code, so without a sample of the code, there's
no real way to tell. The code where the actual exception is being thrown and
maybe some of the preceeding code, would be helpful.

You can also turn on tracing in the config file so that you can actually see
what's going on internally.

Pete

"Tom" <To*@discussion s.microsoft.com > wrote in message
news:34******** *************** ***********@mic rosoft.com...
Hi,

I built and packaged some web applications written by .net and c#. They connect to the same DB and have listview to list data from DB.
They did not have any errors when I built and test them on local development machine.
However, the listview shows the following error when I installed and run them on production server (I can login to the DB and web application, just
the ListView does not work):
Info Handling Error System.NullRefe renceException: Object reference not set to an instance of an object. at
WebControl.List View.ResponseBu ilder.GetIDStri ng(Fields flds) at
WebControl.List View.ResponseBu ilder.AddRecord (Fields flds) at
WebControl.List View.DataProces sor.Page_Load(O bject sender, EventArgs e)
Then, I uploaded the source of the web applications and test them again. It shows different error message:
"Internal server error 500" when I load the data for listview.

That IIS on production server only allows ONE web application to run ListView. How can I fix it?
Thanks for any kind help

Nov 16 '05 #2

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

Similar topics

3
2596
by: yoda | last post by:
Hi Guys, I've been used to deploying code to the production server by checking out of subversion and manually sorting out any kinks. (yes, I know, it sounds primitive) I realize I'm losing so much time I could spend more productively. I'd therefore like to know the different approaches you guys employ to deploy builds from your staging servers (or laptops:) to the production server in an automated repeatable safe manner.
3
2497
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not Web Forms) that serves as a thin client to some web services. In other words, the Windows Forms app will be installed on the client machines and that app will call web services that are deployed on my server.
10
2069
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 production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
0
776
by: Tom | last post by:
Hi, I built and packaged some web applications written by .net and c#. They connect to the same DB and have listview to list data from DB. They did not have any errors when I built and test them on local development machine. However, the listview shows the following error when I installed and run them on production server (I can login to the DB and web application, just the ListView does not work): Info Handling Error...
1
3123
by: Carl | last post by:
Help!! What are the best concepts / startegies to deploy an ASP.NET web application? My idea is work first in Production PC then after completing the project deploy it on the Web Server. But what about the database - do i need to reconnect the database and the components-register again the components in the Web Server. And question like how can i customize the installation and how can i update the existing files on a deployed ASP.NET...
3
1696
by: Simon Harris | last post by:
Hi All, I've just tried to deploy an asp.net app. It works AOK on my development server. On the production server, I get the error below. Both servers are Windows 2000 SP4 with .Net Framework v1.1.4322 I copied the following to our production server: - Various ASPX and 1 ASCX files to /netapps/gis
8
1317
by: bigjmt | last post by:
Hi all, I'm new to this. This will be my first setup for a web app I created. I created a web app(form) in vb.net on my test machine. Now I want to host this solution on a web server machine. I installed the framework on the server and copied the files that were in /Inetpub/wwwroot/webapp on my machine to the same location on the server. I then created a virtual directory in IIS on the server and mapped it to the location of the files.
1
1103
by: Mike | last post by:
What is the effect of deploying asp.net 2.0 and the effect of session state to the production application? What happens when you xCopy any modified or new .vb or .cs class file from the App_Code folder to the production App_code folder on the production server? Is the user's session state preserved? How about XCopying any .aspx and/or .asp.vb file to a Web Folder in production? Any effect on session state?
3
2203
by: savvy | last post by:
I'm using "Visual Studio 2005 Professional". I'm half way through in my project development. I've created a New Website in the Visual Studio 2005 and developing my project over there. When i wanted to test my current project on the main production server its giving an error saying "Could not load collection5". the page directive of the .aspx file is <%@ Page Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true"...
0
8384
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
8896
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
8590
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,...
0
7410
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6211
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
4208
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
4387
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2798
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
2035
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.