Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Visual Studio 2010 Problem

Posted on 2013-06-19
4
1,430 Views
Last Modified: 2013-06-20
When I'm trying to publish a website. Build, Pubish Website. I get:

Object reference not set to an instance of an object

There is no file or line or Column or Project listed to show where the problem is.

as it's building the website all I have checked off is Allow this precompiled site to be updatable

it shows precompiling, building, building and then has another message that is replaced by the Object reference error so I have no idea why this is happening.

This would happen before but all I had to do was re-build web site to get it back.

Any ideas. Thanks for the help.
0
Comment
Question by:mfony
  • 3
4 Comments
 

Author Comment

by:mfony
ID: 39259637
more info:

Building directory '/RS2/App_Code/'.
Building directory '/RS2/'.: Publication (web): Object reference not set to an instance of an object.

Pre-compilation Complete
------ Skipped Publish: Project Y:\RS2\, Configuration: Debug Any CPU ------
 
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
========== Publish: 0 succeeded, 0 failed, 1 skipped ==========
0
 

Author Comment

by:mfony
ID: 39262385
more info:

Everything used to work just fine.
0
 

Author Comment

by:mfony
ID: 39262390
more info:

Validating Web Site
Building directory '/RS2/App_Code/'.
Building directory '/RS2/'.

Validation Complete
Accessibility Checking Web Site
Accessibility check complete. No issues have been found.
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
0
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 500 total points
ID: 39262457
Hi,

Seems like deleting the content in the ASP.NET Temp folder and bin will solve the issue - http://social.msdn.microsoft.com/Forums/vstudio/en-US/fe539362-547e-41bd-b7e5-f008de15c3e4/object-reference-not-set-to-an-instance-of-an-object-while-publishing-web-site

Hope it helps u...
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question