Solved

Visual Studio 2010 Problem

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now