Solved

Visual Studio 2010 Problem

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I use SQL Stored Procedure to return FedEx Zone 17 41
Tool Box 2 34
Not showing JavaScript in the list 5 36
C# guarantee sql connection close 6 13
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

22 Experts available now in Live!

Get 1:1 Help Now