开发者

aspx unable to locate code behind

开发者 https://www.devze.com 2023-03-09 18:30 出处:网络
I am able to execute my application fine using the Visual Studio IDE but when I create a release package and put it on the web server it can’t seem to find the code behind. However, if I copy the bin

I am able to execute my application fine using the Visual Studio IDE but when I create a release package and put it on the web server it can’t seem to find the code behind. However, if I copy the bin folder (which has the dll files) from the root directory and put it into the “root/reports” 开发者_如何学Pythondirectory, everything works fine. The reports directory has all the .aspx web page files. What is causing this problem and what can I do to properly fix this problem?


Since you have published your website, that means your code files were compiled into a DLL. To work properly you have to put your DLL's into the bin folder on your host server.

For Details, Check this link:

An Overview of ASP.NET Code Generation and Compilation

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号