Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Code behind not working

$
0
0

I have recently inherited an asp.net vb web application.  It currently runs from a windows 2003 server, which we are in the process of replacing.  I need to demonstrate the site operating on the new Dev server before we deploy to the new web host.  When I run the site from VS it works just fine.  Then I publish to the the dev server's iis (same machine) and the page is mostly blank.

The  code behind is not being run.  Most of the content for the page is being generated in the code behind (pulling content from the database) and I found that if I comment out the content of the Page_Load event I get the same results when debugging.  

The closest I've found in research says to change from codebehind to codefile, but that just creates a larger error, and it wants the individual aspx.vb files to be deployed.  I want to be able to run the site just as it was run before.  Are there any suggestions as to why this might be happening?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>