Solved

My ASP.NET website isn't compiling...?

Posted on 2012-03-30
3
267 Views
Last Modified: 2012-04-13
I change my web.config...i change VB code behind files...nothing is causing it to recompile.  All the old DLL's are still in the BIN folder.   I am opening a website directly on a server in Visual Studio 2010 and making changes, saving them straight to the server, but nothing is recompiling.

What do I need to do to cause my website to recompile?

IIS7, Window server 2008
0
Comment
Question by:arthurh88
3 Comments
 
LVL 5

Expert Comment

by:Ronak Patel
ID: 37786065
You need to build and publish the updated solution to your server's virtual directory.
0
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
ID: 37786386
I change my web.config...i change VB code behind files...nothing is causing it to recompile.  All the old DLL's are still in the BIN folder.

1. Try to delete all temporary files from folder C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files. Sometimes these files not gets updated and then try to access your website. This will ensure that fresh files are created there.

No need to worry for deleting those files as they would be recreated by asp.net when request arrives for page.

2. Try to reset iis. (https://support.gearhost.com/KB/a191/how-to-reset-iis-with-the-iis-reset-command.aspx)
0
 
LVL 16

Expert Comment

by:Easwaran Paramasivam
ID: 37796776
Perform IISReset as well.

While rebuilding fail do you get any error? If so, please share the details.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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 …
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
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.

786 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