Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
when i was publish my website and checking in IIS localy its working fine,everthing is working properly locally but when i was deploying my website on server getting some error i dont know what exactly the problem is going on....

the error is like that.................

Could not load the assembly 'App_Web_pkjyx2oe' Make sure that it is compiled before accessing the page.


Line 1:  <%@ page language="C#" autoeventwireup="true" inherits="Default2, App_Web_pkjyx2oe" %>
Line 2:
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



i know something i m missing while publishing my website on server but what exactly is that i didn't get

anybudy have knowledge about this issue so please guide me.

Thanks is Advance
Posted

1 solution

You can deploy asp.net sites in 2 ways.
1. In compiled mode
2. In un-compiled mode.

When you publish your website, if you do it in un-compiled fashion you will need to deploy all of your codes including cs/vb files.

On the other hand if you deploy in compiled mode your cs files are compiled to one or more dlls.

If you use visual studio to compile your app with default configuration, each codebehind may generate one dll for it.

Check if you have the dll named "App_Web_pkjyx2oe" in your bin folder.

Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900