Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 754665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:02:24+00:00 2026-05-14T15:02:24+00:00

I have a website written using ASP.NET. We have a development machine and a

  • 0

I have a website written using ASP.NET. We have a development machine and a deployment server.
The site works great on the development machine, but when is transfered (using simple FTP Upload) generates strange behavior. It starts working just fine, but after a while stops working and throws an exception “Exception: Object reference not set to an instance of an object.”.
The deal is that the absolute path of the website on the development machine is different than on the deployment server (and why should they be similar?) and the exact error is:

Exception: Object reference not set to an instance of an object.
at SOMEPROJECT_Objects.Player..ctor(Int32 PlayerID) in C:\inetpub\wwwroot\SOMEPROJECTSolution\ALLPROJECT\SOMEPROJECT_Objects\Player.cs:line 123 at SOMEPROJECT_GameLayer.M_Game.PlayerActiveGame(Int32 PlayerID) in C:\inetpub\wwwroot\SOMEPROJECTSolution\ALLPROJECT\SOMEPROJECT_GameLayer\M_Game.cs:line 85 at Web.getsms.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\SOMEPROJECTSolution\ALLPROJECT\SOMEPROJECT-sms\Web\getsms.aspx.cs:line 59

The address that it is looking for is the address on the DEVELOPMENT machine, where as the site now resides on the deployment server.

Any ideas why this happens would be appreciated.

Thanks,
Roman

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:02:25+00:00Added an answer on May 14, 2026 at 3:02 pm

    It is correctly telling you where to find the problem in the source code in the location it was last compiled from. You don’t normally deploy all of your source to a production machine.

    Go back to the development machine and examine the lines of code it is pointing to, and you should be able to determine which object is null that it is complaining about.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a data driven ASP.NET website which has been written using the standard
I've written my website using ASP.NET MVC and SQL Server (used a SQL Server
I have a web site written using ASP.NET MVC3. The site has one single
I am upgrading a website written using ASP.NET 1.1 and the logic for the
I have a website that returns search results from Twitter, written in C# ASP.NET.
I've written a site for my summer internship using ASP.NET MVC. The progress is
I have a site written in Asp.net webforms. It uses ajax heavily. Most forms
We have written Web application using ASP.NET MVC, which will be hosted in our
I have a website written in ASP.NET MVC and I have a parameter set
We have a website running .NET 2.0 and have started using the ASP.Net HttpRuntime.Cache

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.