473,385 Members | 1,370 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problems with code behind

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 19 '05 #1
1 1088
If the folder your aspx file are contained is not a virtual directory then
you will get this error. Find our from your hosting if they can make this a
virtual directory. If not, then at the root directory of your web space
create the bin folder there and place you .dll in there. Your aspx files
can stay where they are in a seperate folder if you like. Also, make sure
that your hosting company supports codebehind using .dll's
"Fabio Negri Cicotti [MCP]" <ci*****@hotmail.com> wrote in message
news:OO**************@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 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Jim | last post by:
I have spent the past few weeks designing a database for my company. The problem is I have started running into what I believe are stack overflow problems. There are two tab controls on the form...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
3
by: Arun K | last post by:
Hi, I am creating a simple .aspx page to add some fields with validation. I have used different .NET validations like REquiredFieldValidator, RegularExpressionValidator and showed the summary...
5
by: Girish | last post by:
hey all, im building a asp.net project in vs.net. Is there a way to have the codebehind files sit in a different folder outside the website folder altogether? example: The aspx files are in...
8
by: Kris Rockwell | last post by:
Hello, I have done the following to bind data to a DropDown box: 1. Drag SQLServer table onto web form to create data connection and data adapter. 2. Generate dataset by right-clicking on...
0
by: Jimmy Tharpe | last post by:
Hi, I am having trouble editing the code-behind files of ASP.NET applications in Visual Studio .NET. I often lose syntax highlighting, code formatting, and intelisense. Occasionally, I lose...
4
by: Kenneth P | last post by:
Hi All, I've installed MySql Connector.Net and it works very well if you not do code behind. But if you do code behind then in the declaration with namespaces you'll get an error, a line...
1
by: bill | last post by:
What's up with inheritance in code behind? Is it reliable, or should I skip it and forget about using inheritance in web forms until they get it right? I'm using VB.NET 2005 I have a web form...
0
by: just.an.imbecile | last post by:
Hello all, I am writing code for a website that has already been designed. After having written most of the code behind, my boss decides that the ..aspx page needs to be split into 4 pages with...
9
by: =?Utf-8?B?SG93YXJkIFNtaXRo?= | last post by:
I am using VC++ 6.0 (with SP5 installed). When using WinXP this is with SP2 installed. I am developing an instrumentation system comprising a set of networked PCs connected using TCP/IP TCP links....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.