Precompile using ASP.Net 2.0 and VS 2005 ?

G

Guest

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 ==========
 
B

Brock Allen

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/balle
 
S

Steven Cheng[MSFT]

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: <[email protected]>
| From: Brock Allen <[email protected]>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| References: <[email protected]>
| 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!TK2MSFTNGP14.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

|
|
 
G

Guest

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.
 
S

Steven Cheng[MSFT]

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?= <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Wed, 16 Nov 2005 04:10:16 -0800
| Lines: 93
| Message-ID: <[email protected]>
| 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!TK2MSFTNGXA03.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: <[email protected]>
| > | From: Brock Allen <[email protected]>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | References: <[email protected]>
| > | 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!TK2MSFTNGP14.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
| >
| > |
| > |
| >
| >
|
 
G

Guest

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 said:
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?= <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Wed, 16 Nov 2005 04:10:16 -0800
| Lines: 93
| Message-ID: <[email protected]>
| 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!TK2MSFTNGXA03.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: <[email protected]>
| > | From: Brock Allen <[email protected]>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | References: <[email protected]>
| > | 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!TK2MSFTNGP14.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
| >
| > |
| > |
| >
| >
|
 
S

Steven Cheng[MSFT]

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?= <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Fri, 18 Nov 2005 02:00:03 -0800
| Lines: 160
| Message-ID: <[email protected]>
| 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!TK2MSFTNGXA03.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?= <[email protected]>
| > | References: <[email protected]>
| > <[email protected]>
| > <[email protected]>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | Date: Wed, 16 Nov 2005 04:10:16 -0800
| > | Lines: 93
| > | Message-ID: <[email protected]>
| > | 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!TK2MSFTNGXA03.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: <[email protected]>
| > | > | From: Brock Allen <[email protected]>
| > | > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | > | References: <[email protected]>
| > | > | 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!TK2MSFTNGP14.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
| > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| >
| >
|
 
G

Guest

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 said:
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?= <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| Date: Fri, 18 Nov 2005 02:00:03 -0800
| Lines: 160
| Message-ID: <[email protected]>
| 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!TK2MSFTNGXA03.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?= <[email protected]>
| > | References: <[email protected]>
| > <[email protected]>
| > <[email protected]>
| > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | Date: Wed, 16 Nov 2005 04:10:16 -0800
| > | Lines: 93
| > | Message-ID: <[email protected]>
| > | 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!TK2MSFTNGXA03.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: <[email protected]>
| > | > | From: Brock Allen <[email protected]>
| > | > | Subject: Re: Precompile using ASP.Net 2.0 and VS 2005 ?
| > | > | References: <[email protected]>
| > | > | 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!TK2MSFTNGP14.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
| > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| >
| >
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top