Solved

how to edit vb code in code behind file?

Posted on 2008-06-26
3
201 Views
Last Modified: 2013-11-26
I have a compiled website and now I need to make some changes to the code behind vb file. When I open a website in Visual Studio it gives me a message "You are trying to open a precompiled website." I have tried several different things but it does not recognize any changes I make to code behind file. I don't have any experience with code behind file so I am not sure what to do. When I build it, it says its recompiled and when I try to publish, it gives me a list of errors (errors posted in jpeg file). I would really appreciate any help.
errors.jpg
0
Comment
Question by:cclausen1
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Dxpert
Comment Utility
Was that project originally done in VS 2005???

http://aspalliance.com/244
http://dev.communityserver.com/forums/t/471708.aspx

Did you try following the suggestion on the first line of the error list???
0
 

Author Comment

by:cclausen1
Comment Utility
it was originally done in VS 2005 I believe. I haven't followed the first line since I am not sure how to. Also, this code is a copy of a working website which my company is using right now.
0
 
LVL 10

Accepted Solution

by:
Dxpert earned 250 total points
Comment Utility
Well, but do you have the original files for the website, or are you trying to edit the code behind for the site that was running (already compiled)?. If you don't have the original files, I don't think that you will be able to change the code behind code, since it's compiled. You need to have the original files.

See this entry on asp.net forum:
http://forums.asp.net/p/947347/1146627.aspx#1146627

I guess you could try: http://sitecore.blogspirit.com/archive/2005/11/25/remove-precompiledapp-config.html
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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.

771 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

10 Experts available now in Live!

Get 1:1 Help Now