Solved

how to edit vb code in code behind file?

Posted on 2008-06-26
3
205 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
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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:…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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