Solved

how to edit vb code in code behind file?

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 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