Solved

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

Posted on 2012-03-30
3
262 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
asp.net bundle 8 36
Converting C# Objects into JSON file 7 41
getting id from database 5 24
Cannot upload files above 1mb IIS7 11 17
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

8 Experts available now in Live!

Get 1:1 Help Now