473,748 Members | 10,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The directory /App_Code is not allowed because the application is precompiled

I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed
in my /App_Code directory. Everything runs fine locally. However when I
use the "Copy Web" function to upload the site to the production server, I
get the following error when trying to run the page on production:
"System.Web.Htt pException: The directory '/App_Code' is not allowed
because the application is precompiled."

Anyone know this works fine locally but not on development? How can I
resolve this?

Also on a related note I read a lot about a new "\code" directory in ASP.NET
2.0. Am I correct to assume that at some point they changed this from \code
to \App_Code and these are the same thing?

Steve

Nov 19 '05 #1
11 29875
Hi, Steve.

re:
Am I correct to assume that at some point they changed this from \code to \App_Code and
these are the same thing?
You're correct. In Beta 1 it was called /code.
In Beta 2, it was changed to /App_Code.

See http://msdn.microsoft.com/asp.net/wh...ta2update.aspx
for a complete list of special directories.

re: "System.Web.Htt pException: The directory '/App_Code' is not allowed because the
application is precompiled."

Anyone know this works fine locally but not on development? How can I resolve this?
You don't need to resolve it.

Because you're precompiling, everything that would go in the App_Code
directory is already compiled and doesn't need to be uploaded.

If you want to upload your source files into the
App_Code directory, don't precompile your application.


Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:df******** ************@co mcast.com... I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed in my
/App_Code directory. Everything runs fine locally. However when I use the "Copy Web"
function to upload the site to the production server, I get the following error when
trying to run the page on production:
"System.Web.Htt pException: The directory '/App_Code' is not allowed because the
application is precompiled."

Anyone know this works fine locally but not on development? How can I resolve this?

Also on a related note I read a lot about a new "\code" directory in ASP.NET 2.0. Am I
correct to assume that at some point they changed this from \code to \App_Code and these
are the same thing?

Steve

Nov 19 '05 #2
> Because you're precompiling, everything that would go in the App_Code
directory is already compiled and doesn't need to be uploaded.

If you want to upload your source files into the
App_Code directory, don't precompile your application.


I am not purposely precompiling my application. How can I prevent it from
precompiling?

Locally I just use VS.NET 2005 b2 to do the development and press F5 to run
it. Sometimes I press F6 to get a sanity check on whether I've screwed any
code up.

For production, I want the flexibility to be able to edit source on the
production server to make an update on the fly, so the precompiled approach
is not of interest.

My main goal is to just be able to easily synchronize the work I do at home
on the production server, and then get to work and easily update my local
dev copy of the web app to reflect the changes I've made at home by syncing
with the production server. Then I'll make changes at work, and when I get
home, I'll want to sync my home machine up with what's now on the production
server, and so forth. Currently I'm (trying) to use the Copy Web function
for this. Is that appropriate and/or is there a better way?

Thanks,

Steve
Nov 19 '05 #3
Juan,

Any ideas about what I posted below? Looking forward to your response. Than
you so much.

Steve,

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:H_******** ************@co mcast.com...
Because you're precompiling, everything that would go in the App_Code
directory is already compiled and doesn't need to be uploaded.

If you want to upload your source files into the
App_Code directory, don't precompile your application.


I am not purposely precompiling my application. How can I prevent it from
precompiling?

Locally I just use VS.NET 2005 b2 to do the development and press F5 to
run it. Sometimes I press F6 to get a sanity check on whether I've
screwed any code up.

For production, I want the flexibility to be able to edit source on the
production server to make an update on the fly, so the precompiled
approach is not of interest.

My main goal is to just be able to easily synchronize the work I do at
home on the production server, and then get to work and easily update my
local dev copy of the web app to reflect the changes I've made at home by
syncing with the production server. Then I'll make changes at work, and
when I get home, I'll want to sync my home machine up with what's now on
the production server, and so forth. Currently I'm (trying) to use the
Copy Web function for this. Is that appropriate and/or is there a better
way?

Thanks,

Steve

Nov 19 '05 #4
I would check your web project's properties under MSBuild.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Because you're precompiling, everything that would go in the App_Code
directory is already compiled and doesn't need to be uploaded.

If you want to upload your source files into the
App_Code directory, don't precompile your application.

I am not purposely precompiling my application. How can I prevent it
from precompiling?

Locally I just use VS.NET 2005 b2 to do the development and press F5
to run it. Sometimes I press F6 to get a sanity check on whether I've
screwed any code up.

For production, I want the flexibility to be able to edit source on
the production server to make an update on the fly, so the precompiled
approach is not of interest.

My main goal is to just be able to easily synchronize the work I do at
home on the production server, and then get to work and easily update
my local dev copy of the web app to reflect the changes I've made at
home by syncing with the production server. Then I'll make changes at
work, and when I get home, I'll want to sync my home machine up with
what's now on the production server, and so forth. Currently I'm
(trying) to use the Copy Web function for this. Is that appropriate
and/or is there a better way?

Thanks,

Steve

Nov 19 '05 #5
Well, there seems to be some sort of a conflict or design issue here with
this restriction.

I decided I'd just delete my App_Code directory from the remote site. I
figured this would be OK since its tellin gme the application is
precompiled. Yet then when I go to run a page it complains "The name
'myclass' does not exist in the current context". So if everything was
precompiled and no app_code directory is needed then what's the problem
here?

My preference is to precompile locally as I test and run my app, and then
when I publish to the remote server I want to publish all the files. I
can't seem to work around this. Any ideas?

Steve

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com...
I would check your web project's properties under MSBuild.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Because you're precompiling, everything that would go in the App_Code
directory is already compiled and doesn't need to be uploaded.

If you want to upload your source files into the
App_Code directory, don't precompile your application.

I am not purposely precompiling my application. How can I prevent it
from precompiling?

Locally I just use VS.NET 2005 b2 to do the development and press F5
to run it. Sometimes I press F6 to get a sanity check on whether I've
screwed any code up.

For production, I want the flexibility to be able to edit source on
the production server to make an update on the fly, so the precompiled
approach is not of interest.

My main goal is to just be able to easily synchronize the work I do at
home on the production server, and then get to work and easily update
my local dev copy of the web app to reflect the changes I've made at
home by syncing with the production server. Then I'll make changes at
work, and when I get home, I'll want to sync my home machine up with
what's now on the production server, and so forth. Currently I'm
(trying) to use the Copy Web function for this. Is that appropriate
and/or is there a better way?

Thanks,

Steve


Nov 19 '05 #6
re:
My preference is to precompile locally as I test and run my app
I thought you had said you did *not* precompile.
There's a difference between "precompile " and "compile".

Which one are you doing ?

Have you tried to FTP your files instead of "publishing " them ?

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:gq******** *************** *******@comcast .com... Well, there seems to be some sort of a conflict or design issue here with this
restriction.

I decided I'd just delete my App_Code directory from the remote site. I figured this
would be OK since its tellin gme the application is precompiled. Yet then when I go to
run a page it complains "The name 'myclass' does not exist in the current context". So
if everything was precompiled and no app_code directory is needed then what's the
problem here?

My preference is to precompile locally as I test and run my app, and then when I publish
to the remote server I want to publish all the files. I can't seem to work around this.
Any ideas?

Steve "Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com...
I would check your web project's properties under MSBuild.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Because you're precompiling, everything that would go in the App_Code
directory is already compiled and doesn't need to be uploaded.

If you want to upload your source files into the
App_Code directory, don't precompile your application.
I am not purposely precompiling my application. How can I prevent it
from precompiling?

Locally I just use VS.NET 2005 b2 to do the development and press F5
to run it. Sometimes I press F6 to get a sanity check on whether I've
screwed any code up.

For production, I want the flexibility to be able to edit source on
the production server to make an update on the fly, so the precompiled
approach is not of interest.

My main goal is to just be able to easily synchronize the work I do at
home on the production server, and then get to work and easily update
my local dev copy of the web app to reflect the changes I've made at
home by syncing with the production server. Then I'll make changes at
work, and when I get home, I'll want to sync my home machine up with
what's now on the production server, and so forth. Currently I'm
(trying) to use the Copy Web function for this. Is that appropriate
and/or is there a better way?

Thanks,

Steve

Nov 19 '05 #7
Sorry about the confusion. Let me explain specifically what I'm trying to
do.

Locally I'm using whatever the default settings are, as it relates to
precompiling. When I look at the property pages of my ASP.NET web
application, and click on the Build section, the revelant sections say
"Before running startup page: Build Web Site". And "Build solution action"
section has the check box checked for "Build web site as part of solution".

That is how I like to run things because I prefer to know about any mishaps
I've made coding-wise before the page runs.

Now over to production... I like the Copy Web function because it seems like
a convenient way from within VS.NET 2005 Beta 2 to easily have it sync the
production site with changes as I make them in development.

However recently I added a App_Code folder with a few utility classes I've
created. Now when I do the Copy Web the production site complains that the
App_Code folder is not allowed.

So my questions specifically are:

1) Is there a way where I can still use Copy Web in this scenario?

2) If not, how do I tell my local machine to not precompile and clear itself
from any precompiled files, so that when I do a copy web the remote site is
not in a precompiled mote? In other words, I assume my local machine has
the precompiled files that are being copied with Copy Web. So I do these
get deleted, and how do I set things set up locally so its no longer
prcompiled, so that my production server will be happy once I do a complete
Copy Web to try and straighten things out?

3) If I have to resort to a FTP copy, files with what extension should get
copied specifically? Or perhaps its easier toi look at it the other way -
which file extensions need to be deleted from the production server so it
does not see the web pages there as being "precompile d"?

Thanks so much. I'm looking forward to your answer as I have been stuck on
this for a few days. I really appreciate the help.

Steve

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Ov******** ******@TK2MSFTN GP14.phx.gbl...
re:
My preference is to precompile locally as I test and run my app


I thought you had said you did *not* precompile.
There's a difference between "precompile " and "compile".

Which one are you doing ?

Have you tried to FTP your files instead of "publishing " them ?

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:gq******** *************** *******@comcast .com...
Well, there seems to be some sort of a conflict or design issue here with
this restriction.

I decided I'd just delete my App_Code directory from the remote site. I
figured this would be OK since its tellin gme the application is
precompiled. Yet then when I go to run a page it complains "The name
'myclass' does not exist in the current context". So if everything was
precompiled and no app_code directory is needed then what's the problem
here?

My preference is to precompile locally as I test and run my app, and then
when I publish to the remote server I want to publish all the files. I
can't seem to work around this. Any ideas?

Steve

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com...
I would check your web project's properties under MSBuild.

-Brock
DevelopMentor
http://staff.develop.com/ballen

> Because you're precompiling, everything that would go in the App_Code
> directory is already compiled and doesn't need to be uploaded.
>
> If you want to upload your source files into the
> App_Code directory, don't precompile your application.
I am not purposely precompiling my application. How can I prevent it
from precompiling?

Locally I just use VS.NET 2005 b2 to do the development and press F5
to run it. Sometimes I press F6 to get a sanity check on whether I've
screwed any code up.

For production, I want the flexibility to be able to edit source on
the production server to make an update on the fly, so the precompiled
approach is not of interest.

My main goal is to just be able to easily synchronize the work I do at
home on the production server, and then get to work and easily update
my local dev copy of the web app to reflect the changes I've made at
home by syncing with the production server. Then I'll make changes at
work, and when I get home, I'll want to sync my home machine up with
what's now on the production server, and so forth. Currently I'm
(trying) to use the Copy Web function for this. Is that appropriate
and/or is there a better way?

Thanks,

Steve


Nov 19 '05 #8
Hi, Steve.

What this sounds like is that, at some point, the "Publish Web Site"
tool was used instead of the "Copy Web" tool, and that the
"Allow this precompiled site to be updatable" option was not selected.

See : http://msdn2.microsoft.com/en-us/library/1y1404zt
for a step-by-step guide to using the "Publish Web Site" tool.

You can change the "Allow this site...to be updatable" option.

You might also want to take a look at the "Copying a website" walkthrough:
http://msdn2.microsoft.com/en-us/library/xay0wxbf

and at : http://msdn2.microsoft.com/en-us/library/1cc82atw
"Copying Web Sites with the Copy Web Site Tool"

You might be missing a key step in the process,
and reviewing those walkthroughs might point it out to you.


Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:Oe******** *************** *******@comcast .com...
Sorry about the confusion. Let me explain specifically what I'm trying to do.

Locally I'm using whatever the default settings are, as it relates to precompiling.
When I look at the property pages of my ASP.NET web application, and click on the Build
section, the revelant sections say "Before running startup page: Build Web Site". And
"Build solution action" section has the check box checked for "Build web site as part of
solution".

That is how I like to run things because I prefer to know about any mishaps I've made
coding-wise before the page runs.

Now over to production... I like the Copy Web function because it seems like a
convenient way from within VS.NET 2005 Beta 2 to easily have it sync the production site
with changes as I make them in development.

However recently I added a App_Code folder with a few utility classes I've created. Now
when I do the Copy Web the production site complains that the App_Code folder is not
allowed.

So my questions specifically are:

1) Is there a way where I can still use Copy Web in this scenario?

2) If not, how do I tell my local machine to not precompile and clear itself from any
precompiled files, so that when I do a copy web the remote site is not in a precompiled
mote? In other words, I assume my local machine has the precompiled files that are
being copied with Copy Web. So I do these get deleted, and how do I set things set up
locally so its no longer prcompiled, so that my production server will be happy once I
do a complete Copy Web to try and straighten things out?

3) If I have to resort to a FTP copy, files with what extension should get copied
specifically? Or perhaps its easier toi look at it the other way - which file
extensions need to be deleted from the production server so it does not see the web
pages there as being "precompile d"?

Thanks so much. I'm looking forward to your answer as I have been stuck on this for a
few days. I really appreciate the help.

Steve

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Ov******** ******@TK2MSFTN GP14.phx.gbl...
re:
My preference is to precompile locally as I test and run my app


I thought you had said you did *not* precompile.
There's a difference between "precompile " and "compile".

Which one are you doing ?

Have you tried to FTP your files instead of "publishing " them ?

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:gq******** *************** *******@comcast .com...
Well, there seems to be some sort of a conflict or design issue here with this
restriction.

I decided I'd just delete my App_Code directory from the remote site. I figured this
would be OK since its tellin gme the application is precompiled. Yet then when I go
to run a page it complains "The name 'myclass' does not exist in the current context".
So if everything was precompiled and no app_code directory is needed then what's the
problem here?

My preference is to precompile locally as I test and run my app, and then when I
publish to the remote server I want to publish all the files. I can't seem to work
around this. Any ideas?

Steve

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com...
I would check your web project's properties under MSBuild.

-Brock
DevelopMentor
http://staff.develop.com/ballen

>> Because you're precompiling, everything that would go in the App_Code
>> directory is already compiled and doesn't need to be uploaded.
>>
>> If you want to upload your source files into the
>> App_Code directory, don't precompile your application.
> I am not purposely precompiling my application. How can I prevent it
> from precompiling?
>
> Locally I just use VS.NET 2005 b2 to do the development and press F5
> to run it. Sometimes I press F6 to get a sanity check on whether I've
> screwed any code up.
>
> For production, I want the flexibility to be able to edit source on
> the production server to make an update on the fly, so the precompiled
> approach is not of interest.
>
> My main goal is to just be able to easily synchronize the work I do at
> home on the production server, and then get to work and easily update
> my local dev copy of the web app to reflect the changes I've made at
> home by syncing with the production server. Then I'll make changes at
> work, and when I get home, I'll want to sync my home machine up with
> what's now on the production server, and so forth. Currently I'm
> (trying) to use the Copy Web function for this. Is that appropriate
> and/or is there a better way?
>
> Thanks,
>
> Steve




Nov 19 '05 #9
Thanks. I thnk you hit the nail on the head in that at one point a long
time ago I did use the Publish Web Site tool and probably did not check that
option.

It looks like I've resolved it by deleting the entire remote site and then
using Copy Web over again.

Steve

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi, Steve.

What this sounds like is that, at some point, the "Publish Web Site"
tool was used instead of the "Copy Web" tool, and that the
"Allow this precompiled site to be updatable" option was not selected.

See : http://msdn2.microsoft.com/en-us/library/1y1404zt
for a step-by-step guide to using the "Publish Web Site" tool.

You can change the "Allow this site...to be updatable" option.

You might also want to take a look at the "Copying a website" walkthrough:
http://msdn2.microsoft.com/en-us/library/xay0wxbf

and at : http://msdn2.microsoft.com/en-us/library/1cc82atw
"Copying Web Sites with the Copy Web Site Tool"

You might be missing a key step in the process,
and reviewing those walkthroughs might point it out to you.


Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:Oe******** *************** *******@comcast .com...
Sorry about the confusion. Let me explain specifically what I'm trying
to do.

Locally I'm using whatever the default settings are, as it relates to
precompiling.
When I look at the property pages of my ASP.NET web application, and
click on the Build
section, the revelant sections say "Before running startup page: Build
Web Site". And
"Build solution action" section has the check box checked for "Build web
site as part of
solution".

That is how I like to run things because I prefer to know about any
mishaps I've made
coding-wise before the page runs.

Now over to production... I like the Copy Web function because it seems
like a
convenient way from within VS.NET 2005 Beta 2 to easily have it sync the
production site
with changes as I make them in development.

However recently I added a App_Code folder with a few utility classes
I've created. Now
when I do the Copy Web the production site complains that the App_Code
folder is not
allowed.

So my questions specifically are:

1) Is there a way where I can still use Copy Web in this scenario?

2) If not, how do I tell my local machine to not precompile and clear
itself from any
precompiled files, so that when I do a copy web the remote site is not in
a precompiled
mote? In other words, I assume my local machine has the precompiled
files that are
being copied with Copy Web. So I do these get deleted, and how do I set
things set up
locally so its no longer prcompiled, so that my production server will be
happy once I
do a complete Copy Web to try and straighten things out?

3) If I have to resort to a FTP copy, files with what extension should
get copied
specifically? Or perhaps its easier toi look at it the other way - which
file
extensions need to be deleted from the production server so it does not
see the web
pages there as being "precompile d"?

Thanks so much. I'm looking forward to your answer as I have been stuck
on this for a
few days. I really appreciate the help.

Steve

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Ov******** ******@TK2MSFTN GP14.phx.gbl...
re:
My preference is to precompile locally as I test and run my app

I thought you had said you did *not* precompile.
There's a difference between "precompile " and "compile".

Which one are you doing ?

Have you tried to FTP your files instead of "publishing " them ?

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============== ===========

"Steve Franks" <pl****@postrep lyhere.com> wrote in message
news:gq******** *************** *******@comcast .com...
Well, there seems to be some sort of a conflict or design issue here
with this
restriction.

I decided I'd just delete my App_Code directory from the remote site.
I figured this
would be OK since its tellin gme the application is precompiled. Yet
then when I go
to run a page it complains "The name 'myclass' does not exist in the
current context".
So if everything was precompiled and no app_code directory is needed
then what's the
problem here?

My preference is to precompile locally as I test and run my app, and
then when I
publish to the remote server I want to publish all the files. I can't
seem to work
around this. Any ideas?

Steve

"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:b8******** *************** ***@msnews.micr osoft.com...
>I would check your web project's properties under MSBuild.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>>> Because you're precompiling, everything that would go in the
>>> App_Code
>>> directory is already compiled and doesn't need to be uploaded.
>>>
>>> If you want to upload your source files into the
>>> App_Code directory, don't precompile your application.
>> I am not purposely precompiling my application. How can I prevent it
>> from precompiling?
>>
>> Locally I just use VS.NET 2005 b2 to do the development and press F5
>> to run it. Sometimes I press F6 to get a sanity check on whether
>> I've
>> screwed any code up.
>>
>> For production, I want the flexibility to be able to edit source on
>> the production server to make an update on the fly, so the
>> precompiled
>> approach is not of interest.
>>
>> My main goal is to just be able to easily synchronize the work I do
>> at
>> home on the production server, and then get to work and easily update
>> my local dev copy of the web app to reflect the changes I've made at
>> home by syncing with the production server. Then I'll make changes
>> at
>> work, and when I get home, I'll want to sync my home machine up with
>> what's now on the production server, and so forth. Currently I'm
>> (trying) to use the Copy Web function for this. Is that appropriate
>> and/or is there a better way?
>>
>> Thanks,
>>
>> Steve



Nov 19 '05 #10

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

Similar topics

5
3860
by: Bas Hendriks | last post by:
Has anyone any idea how asp.net find it's files back after compiling them to the temporary asp.net directory? I found on numerous webpages that the directorynames are chosen random but cannot find how asp.net find's it's compiled files when asking for the same webpage which was complied before. -- Bas Hendriks Technical Specialist PinkRoccade
1
1469
by: I2 | last post by:
I am new to .net and am stumped as to how to use "include" files in my asp application. Currently I have created classes in the app_code directory that are shared between various aspx pages and this works fine. The problem, however, is - I am trying to include aspx functionality as part of a pre-existing classic asp 3.0 website. I.e., in iis I have old website as normal - within this application their is a folder which contains the...
2
5787
by: jd1978 | last post by:
I don't have Team System, but I'd like to be able to unit test the code in my app_code directory using nunit, or something else. Is there any way to do this? I can't add a reference from another page, and I can't find the dll for these classes. Thoughts? Thanks. -jeff
0
948
by: Simon Gare | last post by:
Hi, have only precompiled version of application as original files have been lost. Trying to alter application in Visual Web Developer but error message reads "the directory is not allowed because the application is precompiled" Can anyone help, thanks in advance.
2
1888
by: Simon Gare | last post by:
Hi, have only precompiled version of application as original files have been lost. Trying to alter application in Visual Web Developer but error message reads "the directory is not allowed because the application is precompiled" Can anyone help, thanks in advance.
4
6883
by: dan_vee | last post by:
Hello everyone, I've been out of the .NET loop for a little while. This question might seem trivial for many of you. But I 'm a bit stumped. I recently started to work with VS 2005 ASP.NET 2.0. The notion of App_Code didn't exist in the good old VS 2003. I have a web application, I deployed on a server. For security reasons, I can't use the App_Code folder and my classes must be referenced directly (VB. NET). Basic question : how do I...
1
1871
by: Frank Miverk | last post by:
Hi, I have a situation which I think is fairly common. 1. Public area 2. Secure area accessed via SSL e.g. MyWebsite/ /MySecureWebsite
1
4601
by: =?Utf-8?B?SmltSGVhdmV5?= | last post by:
I recently use VS2005 to move my application to a remote server. When I attempted to bring up the application I got the "App_Code/' is not allowed because the application is precompiled". So I deleted that folder from the remote site. After that the application came up just fine. I closed down Vs2005 and when I brought it up (my original application) in VS 2005, I get this warning that the said in essence "the application is...
5
3009
by: Randy | last post by:
I've converted a VS 2003 project to VS 2005. I have one utility class that it put in the APP_CODE directory. When I try and compile I'm getting this error... Error 1 The type or namespace name 'WelcomeToPFP' could not be found (are you missing a using directive or an assembly reference?) C:\Inetpub\wwwroot\PFPApp\App_Code\Utils.cs 19 9 WelcomeToPFP is a class defined in the root directory of the solution. My question is...I'm drawing a...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2782
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.