473,386 Members | 1,830 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,386 software developers and data experts.

Precompile using ASP.Net 2.0 and VS 2005 ?

Hi,

I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005, to
putting it onto a live server.
The reason for doing this is that other people have access to the server,
and I thereofre want to keep the code secure.

If I use the 'Build/Publish Web Site' option, it asks me to tell it the
'Target location' which in this case is 'C:\Temp\PrecompiledWeb\Project1'

However despite the feedback it give me following the precompile, as at the
bottom of this post, when I look in the directory it has created, there is
nothing!

I assumed that it should create at least an executable file and place it in
there.

Am I missing something here?
Thanks, Mike.

Pre-compilation Complete
------ Publish started: Project: http://localhost/project1/, Configuration:
Debug .NET ------
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

Nov 19 '05 #1
8 1507
> I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005,
to
putting it onto a live server.
The reason for doing this is that other people have access to the
server,
and I thereofre want to keep the code secure.
Precompile won't secure your code. Go check out the tool called reflector
and you'll see why. There are good reasons to precompile; it's just that
security itsn't one of them :)
However despite the feedback it give me following the precompile, as
at the bottom of this post, when I look in the directory it has
created, there is nothing!


As for this problem, I'm not sure. Do you see any errors from the precompile?
Do you have write access to that directory? Perhaps try it with a smaller
project just to make sure it's working...

-Brock
DevelopMentor
http://staff.develop.com/ballen
Nov 19 '05 #2
Thanks for Brock's input.

Hi Mike,

This is really a strange bevhior since precompile/publish site should put
all the aspx files and precompiled component/page classses' assemblies in
"bin" dir within the Target directory. I also think you can try checking
the target dir's permission settign. Or maybe you can use Filemon to trace
the accessing status there....

If there're any new findings, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Message-ID: <b8**************************@msnews.microsoft.com >
| From: Brock Allen <ba****@NOSPAMdevelop.com>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| References: <05**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Transfer-Encoding: 8bit
| Content-Type: text/plain; charset=iso-8859-1; format=flowed
| X-Newsreader: JetBrains Omea Reader 671.6
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Date: Sat, 12 Nov 2005 08:33:35 -0800
| NNTP-Posting-Host: c-66-30-185-175.hsd1.ma.comcast.net 66.30.185.175
| Lines: 1
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:357631
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| > I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005,
| > to
| > putting it onto a live server.
| > The reason for doing this is that other people have access to the
| > server,
| > and I thereofre want to keep the code secure.
|
| Precompile won't secure your code. Go check out the tool called reflector
| and you'll see why. There are good reasons to precompile; it's just that
| security itsn't one of them :)
|
| > However despite the feedback it give me following the precompile, as
| > at the bottom of this post, when I look in the directory it has
| > created, there is nothing!
|
| As for this problem, I'm not sure. Do you see any errors from the
precompile?
| Do you have write access to that directory? Perhaps try it with a smaller
| project just to make sure it's working...
|
| -Brock
| DevelopMentor
| http://staff.develop.com/ballen

|
|

Nov 19 '05 #3
Brock,

Thanks for your reply - Please see my reply to Steve below.
Cheers, Mike.

"Brock Allen" wrote:
I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005,
to
putting it onto a live server.
The reason for doing this is that other people have access to the
server,
and I thereofre want to keep the code secure.


Precompile won't secure your code. Go check out the tool called reflector
and you'll see why. There are good reasons to precompile; it's just that
security itsn't one of them :)
However despite the feedback it give me following the precompile, as
at the bottom of this post, when I look in the directory it has
created, there is nothing!


As for this problem, I'm not sure. Do you see any errors from the precompile?
Do you have write access to that directory? Perhaps try it with a smaller
project just to make sure it's working...

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

Nov 20 '05 #4
Steve,

I take Brock's point of using reflector, and when I get past this little
problem, I will use Dotfuscator to hide the source code better.

I also took his advice and tried to publish another project which worked
just fine. The only difference being that it was a different project, i.e.
all 'Publish to' directories etc were the same.

There are no errors from the pre-compile, only warnings, which I understand
shouldn't prevent the pre-compile.

I have got a lot of cleaning up to do on the code, and also to install VS
2005 on another PC, so perhaps one of these will solve the issue. I can only
presume there is a hidden error somewhere, or there is a non obvious bug in
VS 2005.

I'll let you know how I get on using another PC, which should be either
later today or tomorrow.
Cheers, Mike.

"Steven Cheng[MSFT]" wrote:
Thanks for Brock's input.

Hi Mike,

This is really a strange bevhior since precompile/publish site should put
all the aspx files and precompiled component/page classses' assemblies in
"bin" dir within the Target directory. I also think you can try checking
the target dir's permission settign. Or maybe you can use Filemon to trace
the accessing status there....

If there're any new findings, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Message-ID: <b8**************************@msnews.microsoft.com >
| From: Brock Allen <ba****@NOSPAMdevelop.com>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| References: <05**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Transfer-Encoding: 8bit
| Content-Type: text/plain; charset=iso-8859-1; format=flowed
| X-Newsreader: JetBrains Omea Reader 671.6
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Date: Sat, 12 Nov 2005 08:33:35 -0800
| NNTP-Posting-Host: c-66-30-185-175.hsd1.ma.comcast.net 66.30.185.175
| Lines: 1
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:357631
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| > I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005,
| > to
| > putting it onto a live server.
| > The reason for doing this is that other people have access to the
| > server,
| > and I thereofre want to keep the code secure.
|
| Precompile won't secure your code. Go check out the tool called reflector
| and you'll see why. There are good reasons to precompile; it's just that
| security itsn't one of them :)
|
| > However despite the feedback it give me following the precompile, as
| > at the bottom of this post, when I look in the directory it has
| > created, there is nothing!
|
| As for this problem, I'm not sure. Do you see any errors from the
precompile?
| Do you have write access to that directory? Perhaps try it with a smaller
| project just to make sure it's working...
|
| -Brock
| DevelopMentor
| http://staff.develop.com/ballen

|
|

Nov 20 '05 #5
Thanks for the followup Mike,

Good luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Precompile using ASP.Net 2.0 and VS 2005 ?
| thread-index: AcXqprRMU2WvYimkSLec8DjKrQKWwg==
| X-WBNR-Posting-Host: 195.80.17.131
| From: =?Utf-8?B?TWlrZSBPd2Vu?= <wh********@nospam.nospam>
| References: <05**********************************@microsoft.co m>
<b8**************************@msnews.microsoft.com >
<tp**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Wed, 16 Nov 2005 04:10:16 -0800
| Lines: 93
| Message-ID: <D1**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:358525
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steve,
|
| I take Brock's point of using reflector, and when I get past this little
| problem, I will use Dotfuscator to hide the source code better.
|
| I also took his advice and tried to publish another project which worked
| just fine. The only difference being that it was a different project,
i.e.
| all 'Publish to' directories etc were the same.
|
| There are no errors from the pre-compile, only warnings, which I
understand
| shouldn't prevent the pre-compile.
|
| I have got a lot of cleaning up to do on the code, and also to install VS
| 2005 on another PC, so perhaps one of these will solve the issue. I can
only
| presume there is a hidden error somewhere, or there is a non obvious bug
in
| VS 2005.
|
| I'll let you know how I get on using another PC, which should be either
| later today or tomorrow.
|
|
| Cheers, Mike.
|
|
|
| "Steven Cheng[MSFT]" wrote:
|
| > Thanks for Brock's input.
| >
| > Hi Mike,
| >
| > This is really a strange bevhior since precompile/publish site should
put
| > all the aspx files and precompiled component/page classses' assemblies
in
| > "bin" dir within the Target directory. I also think you can try
checking
| > the target dir's permission settign. Or maybe you can use Filemon to
trace
| > the accessing status there....
| >
| > If there're any new findings, please feel free to post here.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| > --------------------
| > | Message-ID: <b8**************************@msnews.microsoft.com >
| > | From: Brock Allen <ba****@NOSPAMdevelop.com>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | References: <05**********************************@microsoft.co m>
| > | MIME-Version: 1.0
| > | Content-Transfer-Encoding: 8bit
| > | Content-Type: text/plain; charset=iso-8859-1; format=flowed
| > | X-Newsreader: JetBrains Omea Reader 671.6
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Date: Sat, 12 Nov 2005 08:33:35 -0800
| > | NNTP-Posting-Host: c-66-30-185-175.hsd1.ma.comcast.net 66.30.185.175
| > | Lines: 1
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:357631
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | > I am trying to pre-compile a project prior using ASP.Net 2.0, VS
2005,
| > | > to
| > | > putting it onto a live server.
| > | > The reason for doing this is that other people have access to the
| > | > server,
| > | > and I thereofre want to keep the code secure.
| > |
| > | Precompile won't secure your code. Go check out the tool called
reflector
| > | and you'll see why. There are good reasons to precompile; it's just
that
| > | security itsn't one of them :)
| > |
| > | > However despite the feedback it give me following the precompile, as
| > | > at the bottom of this post, when I look in the directory it has
| > | > created, there is nothing!
| > |
| > | As for this problem, I'm not sure. Do you see any errors from the
| > precompile?
| > | Do you have write access to that directory? Perhaps try it with a
smaller
| > | project just to make sure it's working...
| > |
| > | -Brock
| > | DevelopMentor
| > | http://staff.develop.com/ballen
| >
| > |
| > |
| >
| >
|

Nov 20 '05 #6
Steve,

I have now set up the new PC and tried to publish on this, but I still get
nothing in the directory, with no errors.

I'll try cleaning up the warnings to see if that makes a difference.
Cheers, Mike.

"Steven Cheng[MSFT]" wrote:
Thanks for the followup Mike,

Good luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Precompile using ASP.Net 2.0 and VS 2005 ?
| thread-index: AcXqprRMU2WvYimkSLec8DjKrQKWwg==
| X-WBNR-Posting-Host: 195.80.17.131
| From: =?Utf-8?B?TWlrZSBPd2Vu?= <wh********@nospam.nospam>
| References: <05**********************************@microsoft.co m>
<b8**************************@msnews.microsoft.com >
<tp**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Wed, 16 Nov 2005 04:10:16 -0800
| Lines: 93
| Message-ID: <D1**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:358525
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steve,
|
| I take Brock's point of using reflector, and when I get past this little
| problem, I will use Dotfuscator to hide the source code better.
|
| I also took his advice and tried to publish another project which worked
| just fine. The only difference being that it was a different project,
i.e.
| all 'Publish to' directories etc were the same.
|
| There are no errors from the pre-compile, only warnings, which I
understand
| shouldn't prevent the pre-compile.
|
| I have got a lot of cleaning up to do on the code, and also to install VS
| 2005 on another PC, so perhaps one of these will solve the issue. I can
only
| presume there is a hidden error somewhere, or there is a non obvious bug
in
| VS 2005.
|
| I'll let you know how I get on using another PC, which should be either
| later today or tomorrow.
|
|
| Cheers, Mike.
|
|
|
| "Steven Cheng[MSFT]" wrote:
|
| > Thanks for Brock's input.
| >
| > Hi Mike,
| >
| > This is really a strange bevhior since precompile/publish site should
put
| > all the aspx files and precompiled component/page classses' assemblies
in
| > "bin" dir within the Target directory. I also think you can try
checking
| > the target dir's permission settign. Or maybe you can use Filemon to
trace
| > the accessing status there....
| >
| > If there're any new findings, please feel free to post here.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| > --------------------
| > | Message-ID: <b8**************************@msnews.microsoft.com >
| > | From: Brock Allen <ba****@NOSPAMdevelop.com>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | References: <05**********************************@microsoft.co m>
| > | MIME-Version: 1.0
| > | Content-Transfer-Encoding: 8bit
| > | Content-Type: text/plain; charset=iso-8859-1; format=flowed
| > | X-Newsreader: JetBrains Omea Reader 671.6
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Date: Sat, 12 Nov 2005 08:33:35 -0800
| > | NNTP-Posting-Host: c-66-30-185-175.hsd1.ma.comcast.net 66.30.185.175
| > | Lines: 1
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:357631
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | > I am trying to pre-compile a project prior using ASP.Net 2.0, VS
2005,
| > | > to
| > | > putting it onto a live server.
| > | > The reason for doing this is that other people have access to the
| > | > server,
| > | > and I thereofre want to keep the code secure.
| > |
| > | Precompile won't secure your code. Go check out the tool called
reflector
| > | and you'll see why. There are good reasons to precompile; it's just
that
| > | security itsn't one of them :)
| > |
| > | > However despite the feedback it give me following the precompile, as
| > | > at the bottom of this post, when I look in the directory it has
| > | > created, there is nothing!
| > |
| > | As for this problem, I'm not sure. Do you see any errors from the
| > precompile?
| > | Do you have write access to that directory? Perhaps try it with a
smaller
| > | project just to make sure it's working...
| > |
| > | -Brock
| > | DevelopMentor
| > | http://staff.develop.com/ballen
| >
| > |
| > |
| >
| >
|

Nov 20 '05 #7
Thanks for your followup Mike.

Seems really strange. So you're stilling unable to Publish an ASP.NET 2.0
project to a local physical folder through the "PublishSite" function in
VS.NET 2005? Also, I still suggest you try using Filemon to have a trace
on the file system when publishing the site...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Precompile using ASP.Net 2.0 and VS 2005 ?
| thread-index: AcXsJtit9WNqLsoVTV6Q60MTU0aHsQ==
| X-WBNR-Posting-Host: 195.80.17.131
| From: =?Utf-8?B?TWlrZSBPd2Vu?= <wh********@nospam.nospam>
| References: <05**********************************@microsoft.co m>
<b8**************************@msnews.microsoft.com >
<tp**************@TK2MSFTNGXA02.phx.gbl>
<D1**********************************@microsoft.co m>
<ZL**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Fri, 18 Nov 2005 02:00:03 -0800
| Lines: 160
| Message-ID: <A3**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:359156
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steve,
|
| I have now set up the new PC and tried to publish on this, but I still
get
| nothing in the directory, with no errors.
|
| I'll try cleaning up the warnings to see if that makes a difference.
|
|
| Cheers, Mike.
|
| "Steven Cheng[MSFT]" wrote:
|
| > Thanks for the followup Mike,
| >
| > Good luck!
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | Thread-Topic: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | thread-index: AcXqprRMU2WvYimkSLec8DjKrQKWwg==
| > | X-WBNR-Posting-Host: 195.80.17.131
| > | From: =?Utf-8?B?TWlrZSBPd2Vu?= <wh********@nospam.nospam>
| > | References: <05**********************************@microsoft.co m>
| > <b8**************************@msnews.microsoft.com >
| > <tp**************@TK2MSFTNGXA02.phx.gbl>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | Date: Wed, 16 Nov 2005 04:10:16 -0800
| > | Lines: 93
| > | Message-ID: <D1**********************************@microsoft.co m>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:358525
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Steve,
| > |
| > | I take Brock's point of using reflector, and when I get past this
little
| > | problem, I will use Dotfuscator to hide the source code better.
| > |
| > | I also took his advice and tried to publish another project which
worked
| > | just fine. The only difference being that it was a different
project,
| > i.e.
| > | all 'Publish to' directories etc were the same.
| > |
| > | There are no errors from the pre-compile, only warnings, which I
| > understand
| > | shouldn't prevent the pre-compile.
| > |
| > | I have got a lot of cleaning up to do on the code, and also to
install VS
| > | 2005 on another PC, so perhaps one of these will solve the issue. I
can
| > only
| > | presume there is a hidden error somewhere, or there is a non obvious
bug
| > in
| > | VS 2005.
| > |
| > | I'll let you know how I get on using another PC, which should be
either
| > | later today or tomorrow.
| > |
| > |
| > | Cheers, Mike.
| > |
| > |
| > |
| > | "Steven Cheng[MSFT]" wrote:
| > |
| > | > Thanks for Brock's input.
| > | >
| > | > Hi Mike,
| > | >
| > | > This is really a strange bevhior since precompile/publish site
should
| > put
| > | > all the aspx files and precompiled component/page classses'
assemblies
| > in
| > | > "bin" dir within the Target directory. I also think you can try
| > checking
| > | > the target dir's permission settign. Or maybe you can use Filemon
to
| > trace
| > | > the accessing status there....
| > | >
| > | > If there're any new findings, please feel free to post here.
| > | >
| > | > Thanks,
| > | >
| > | > Steven Cheng
| > | > Microsoft Online Support
| > | >
| > | > Get Secure! www.microsoft.com/security
| > | > (This posting is provided "AS IS", with no warranties, and confers
no
| > | > rights.)
| > | > --------------------
| > | > | Message-ID: <b8**************************@msnews.microsoft.com >
| > | > | From: Brock Allen <ba****@NOSPAMdevelop.com>
| > | > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | > | References: <05**********************************@microsoft.co m>
| > | > | MIME-Version: 1.0
| > | > | Content-Transfer-Encoding: 8bit
| > | > | Content-Type: text/plain; charset=iso-8859-1; format=flowed
| > | > | X-Newsreader: JetBrains Omea Reader 671.6
| > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | > | Date: Sat, 12 Nov 2005 08:33:35 -0800
| > | > | NNTP-Posting-Host: c-66-30-185-175.hsd1.ma.comcast.net
66.30.185.175
| > | > | Lines: 1
| > | > | Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > microsoft.public.dotnet.framework.aspnet:357631
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > |
| > | > | > I am trying to pre-compile a project prior using ASP.Net 2.0,
VS
| > 2005,
| > | > | > to
| > | > | > putting it onto a live server.
| > | > | > The reason for doing this is that other people have access to
the
| > | > | > server,
| > | > | > and I thereofre want to keep the code secure.
| > | > |
| > | > | Precompile won't secure your code. Go check out the tool called
| > reflector
| > | > | and you'll see why. There are good reasons to precompile; it's
just
| > that
| > | > | security itsn't one of them :)
| > | > |
| > | > | > However despite the feedback it give me following the
precompile, as
| > | > | > at the bottom of this post, when I look in the directory it has
| > | > | > created, there is nothing!
| > | > |
| > | > | As for this problem, I'm not sure. Do you see any errors from the
| > | > precompile?
| > | > | Do you have write access to that directory? Perhaps try it with a
| > smaller
| > | > | project just to make sure it's working...
| > | > |
| > | > | -Brock
| > | > | DevelopMentor
| > | > | http://staff.develop.com/ballen
| > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| >
| >
|

Nov 21 '05 #8
Steve,

I'll give it a go to see if it picks anything up - Hopefully during the
coming week, and let you know how I get on.
Cheers, Mike.

"Steven Cheng[MSFT]" wrote:
Thanks for your followup Mike.

Seems really strange. So you're stilling unable to Publish an ASP.NET 2.0
project to a local physical folder through the "PublishSite" function in
VS.NET 2005? Also, I still suggest you try using Filemon to have a trace
on the file system when publishing the site...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Precompile using ASP.Net 2.0 and VS 2005 ?
| thread-index: AcXsJtit9WNqLsoVTV6Q60MTU0aHsQ==
| X-WBNR-Posting-Host: 195.80.17.131
| From: =?Utf-8?B?TWlrZSBPd2Vu?= <wh********@nospam.nospam>
| References: <05**********************************@microsoft.co m>
<b8**************************@msnews.microsoft.com >
<tp**************@TK2MSFTNGXA02.phx.gbl>
<D1**********************************@microsoft.co m>
<ZL**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Fri, 18 Nov 2005 02:00:03 -0800
| Lines: 160
| Message-ID: <A3**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:359156
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steve,
|
| I have now set up the new PC and tried to publish on this, but I still
get
| nothing in the directory, with no errors.
|
| I'll try cleaning up the warnings to see if that makes a difference.
|
|
| Cheers, Mike.
|
| "Steven Cheng[MSFT]" wrote:
|
| > Thanks for the followup Mike,
| >
| > Good luck!
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | Thread-Topic: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | thread-index: AcXqprRMU2WvYimkSLec8DjKrQKWwg==
| > | X-WBNR-Posting-Host: 195.80.17.131
| > | From: =?Utf-8?B?TWlrZSBPd2Vu?= <wh********@nospam.nospam>
| > | References: <05**********************************@microsoft.co m>
| > <b8**************************@msnews.microsoft.com >
| > <tp**************@TK2MSFTNGXA02.phx.gbl>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | Date: Wed, 16 Nov 2005 04:10:16 -0800
| > | Lines: 93
| > | Message-ID: <D1**********************************@microsoft.co m>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:358525
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Steve,
| > |
| > | I take Brock's point of using reflector, and when I get past this
little
| > | problem, I will use Dotfuscator to hide the source code better.
| > |
| > | I also took his advice and tried to publish another project which
worked
| > | just fine. The only difference being that it was a different
project,
| > i.e.
| > | all 'Publish to' directories etc were the same.
| > |
| > | There are no errors from the pre-compile, only warnings, which I
| > understand
| > | shouldn't prevent the pre-compile.
| > |
| > | I have got a lot of cleaning up to do on the code, and also to
install VS
| > | 2005 on another PC, so perhaps one of these will solve the issue. I
can
| > only
| > | presume there is a hidden error somewhere, or there is a non obvious
bug
| > in
| > | VS 2005.
| > |
| > | I'll let you know how I get on using another PC, which should be
either
| > | later today or tomorrow.
| > |
| > |
| > | Cheers, Mike.
| > |
| > |
| > |
| > | "Steven Cheng[MSFT]" wrote:
| > |
| > | > Thanks for Brock's input.
| > | >
| > | > Hi Mike,
| > | >
| > | > This is really a strange bevhior since precompile/publish site
should
| > put
| > | > all the aspx files and precompiled component/page classses'
assemblies
| > in
| > | > "bin" dir within the Target directory. I also think you can try
| > checking
| > | > the target dir's permission settign. Or maybe you can use Filemon
to
| > trace
| > | > the accessing status there....
| > | >
| > | > If there're any new findings, please feel free to post here.
| > | >
| > | > Thanks,
| > | >
| > | > Steven Cheng
| > | > Microsoft Online Support
| > | >
| > | > Get Secure! www.microsoft.com/security
| > | > (This posting is provided "AS IS", with no warranties, and confers
no
| > | > rights.)
| > | > --------------------
| > | > | Message-ID: <b8**************************@msnews.microsoft.com >
| > | > | From: Brock Allen <ba****@NOSPAMdevelop.com>
| > | > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | > | References: <05**********************************@microsoft.co m>
| > | > | MIME-Version: 1.0
| > | > | Content-Transfer-Encoding: 8bit
| > | > | Content-Type: text/plain; charset=iso-8859-1; format=flowed
| > | > | X-Newsreader: JetBrains Omea Reader 671.6
| > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | > | Date: Sat, 12 Nov 2005 08:33:35 -0800
| > | > | NNTP-Posting-Host: c-66-30-185-175.hsd1.ma.comcast.net
66.30.185.175
| > | > | Lines: 1
| > | > | Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > microsoft.public.dotnet.framework.aspnet:357631
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > |
| > | > | > I am trying to pre-compile a project prior using ASP.Net 2.0,
VS
| > 2005,
| > | > | > to
| > | > | > putting it onto a live server.
| > | > | > The reason for doing this is that other people have access to
the
| > | > | > server,
| > | > | > and I thereofre want to keep the code secure.
| > | > |
| > | > | Precompile won't secure your code. Go check out the tool called
| > reflector
| > | > | and you'll see why. There are good reasons to precompile; it's
just
| > that
| > | > | security itsn't one of them :)
| > | > |
| > | > | > However despite the feedback it give me following the
precompile, as
| > | > | > at the bottom of this post, when I look in the directory it has
| > | > | > created, there is nothing!
| > | > |
| > | > | As for this problem, I'm not sure. Do you see any errors from the
| > | > precompile?
| > | > | Do you have write access to that directory? Perhaps try it with a
| > smaller
| > | > | project just to make sure it's working...
| > | > |
| > | > | -Brock
| > | > | DevelopMentor
| > | > | http://staff.develop.com/ballen
| > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| >
| >
|

Nov 21 '05 #9

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

Similar topics

0
by: Bernard Dhooghe | last post by:
DB2 UDB V8.1 Fixpak 4 AIX 5.1 CLASSPATH: /usr/opt/db2_08_01/java/db2jcc.jar:/usr/opt/db2_08_01/java/db2jcc_license_cu.jar:/usr/opt/db2_08_01/java/sqlj.zip:/usr/java131/jre/lib/rt.jar: Program:...
1
by: Steve Franks | last post by:
Hi - I'm using VS.NET 2005 and have read about this precompile.axd that supposedly can be hit with a browser to force a complete recompile on the production server. However I do not have this .axd...
2
by: Shimon Sim | last post by:
I tried to use Precompile.axd to compile my site but got HTTP404 (The resource cannot be found) instead. I am running ASP.NET Version:2.0.50727.42 .. Any suggestions? Thank you, Shimon.
3
by: Bragadiru | last post by:
Hi, I have 2 pbs : 1. When I'm using VS2005->Publish Web site => everything is pre-compiled fine (App_global.asax.dll is generated, too), except that I don't find Global.asax file in my...
4
by: Jay | last post by:
2.0 asp.net app (precomiled in 2005, not updateable, dll's in bin and then merged to one dll)... web app calls a 1.1 (compiled in 2003) webservice initialization webmethod (works). Second call...
1
by: Tessa | last post by:
Hi, Is there a way to use aspnet_compiler to precompile an existing asp.net 2.0 web application that is on another server? I need to initiate the precompile programmatically from another .net...
7
by: bruce barker | last post by:
a previous long thread brought this up. I can find no way to precompile a web application from visual studio. by precompile I mean all the aspx code is converted to assemblies by visual studio,...
3
by: Scott M. | last post by:
Scenario: ASP .NET 2.0 Web "Site" All but one page is written using inline VB .NET code. One page is written using VB .NET code-behind. MSBuild options are set at the default (allow pages to be...
1
by: Gabriel Pineda | last post by:
hi everybody, i have an issue for you: i have an operative site wich i'm trying to precompile to protect the code that will be installed on client. the issue is: if i run the precompile...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.