By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,402 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

Problems with code behind

P: n/a
Hi,

I have an application written in vb.net /sql server 2000. I am hosting a
test site with a hosting company that offers shared ssl. They have created a
directory for me and I have copied my pages into this directory. Until this
point everything worked just fine, however, since moving the pages to the
ssl directory I get the following message

Parser Error Message: Could not load type 'WebApplication1.Login'.

I have contacted the host company who says that to counter the problem I
need to ditch the global.asax file and put all the code in-line i.e. not
code behind. I have a lot of pages and code and the thought of doing this
does not fill me with joy.

I have tried to copy / move the bin to be a subdirectory of the directory
where the pages are but alas this has made no difference. I have copied a
straight html page to the directory just to make sure everything works
without code and it did...

Has anyone seen this / provide some advice?
Thanks in advance,

Fabio Cicotti
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The global asax file is optional. It allows the application to respond to
application events and so on. It should not be a big deal to get rid of your
asax file if you do not have global variables and do not use application
events.

--
Regards,
Alvin Bruney

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
------------------------------------------------------------

"Fabio Negri Cicotti [MCP]" <ci*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

I have an application written in vb.net /sql server 2000. I am hosting a
test site with a hosting company that offers shared ssl. They have created
a directory for me and I have copied my pages into this directory. Until
this point everything worked just fine, however, since moving the pages to
the ssl directory I get the following message

Parser Error Message: Could not load type 'WebApplication1.Login'.

I have contacted the host company who says that to counter the problem I
need to ditch the global.asax file and put all the code in-line i.e. not
code behind. I have a lot of pages and code and the thought of doing this
does not fill me with joy.

I have tried to copy / move the bin to be a subdirectory of the directory
where the pages are but alas this has made no difference. I have copied a
straight html page to the directory just to make sure everything works
without code and it did...

Has anyone seen this / provide some advice?
Thanks in advance,

Fabio Cicotti

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.