Solved

Visual Studio 2010 Problem

Posted on 2013-06-19
4
1,420 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

770 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