Solved

how to edit vb code in code behind file?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not showing JavaScript in the list 5 38
Run time Error 4 34
Get size of each directory on each mapped drive 5 23
change the windows script file to BAT 10 30
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 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

16 Experts available now in Live!

Get 1:1 Help Now