Solved

how to edit vb code in code behind file?

Posted on 2008-06-26
3
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Dxpert
ID: 21876324
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
ID: 21877406
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
ID: 21877695
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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