?
Solved

Problem with compiled asp.net site

Posted on 2012-09-22
8
Medium Priority
?
359 Views
Last Modified: 2012-10-19
Hi,

I have a site that works absolutely fine in my development box, but when I build the site and upload it to my server, one of the pages gives the following error:

------------------------------------------------------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'radSendEmail_CheckedChanged' is not a member of 'ASP.rejtr_aspx'.

Source Error:

 

Line 8:      
Line 9:      <p>
Line 10:         <asp:RadioButton ID="radSendEmail" runat="server"
Line 11:             Text="Send an email to confirm ths" Checked="True" GroupName="SendEmail"
Line 12:             AutoPostBack="True" OnCheckedChanged="radSendEmail_CheckedChanged" /> <br />
 
------------------------------------------------------------------------------------------------------------------------------

Any idea how I go about fixing this?
0
Comment
Question by:rpm
8 Comments
 
LVL 20

Expert Comment

by:informaniac
ID: 38424982
Just check if an old dll is present in the gac on the server
0
 
LVL 1

Author Comment

by:rpm
ID: 38424990
How do I do that?
0
 
LVL 18

Expert Comment

by:Rajar Ahmed
ID: 38425047
We used to get this issue when we  publish the project in windows7 and deployed it on  server
I.We sorted out this issue most of the time by following these steps :
1.Take a backup of your project
2.Delete that page from the project
3.Create with same page name
4.Replace the aspx source and codebehind source from back up of that page
5.Then deploy the compiled source and  check.

Hope this helps u
Meeran03
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:rpm
ID: 38425050
Meeran03:

I tried that earlier, and it now gives the same error with a different identifier on the page!

I guess I can try doing it again!
0
 
LVL 10

Expert Comment

by:himanshut
ID: 38427384
Try removing the controls that are giving you errors(copy paste them on a back up file; may be notepad). ALso you need to remove any event listeners /method in your .cs/.vb files

Compile and see if you get rid of errors, if that happens, add that control from scratch (so that it's defined in .desginer.aspx page

Cheers!
0
 
LVL 16

Expert Comment

by:Kamal Khaleefa
ID: 38428193
try to rebuild the solution again and copy all the dll in the bin folder to your site
0
 
LVL 1

Accepted Solution

by:
rpm earned 0 total points
ID: 38495235
I never did solve this one and I am now running the site uncompiled!
0
 
LVL 1

Author Closing Comment

by:rpm
ID: 38513436
Problem not solved
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

862 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