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

A web site running need cs source file

P: n/a
DDD
I have a web site project using C#. If I release the web site in the
VS2005, all works well except that DLL file name has some strange,
name APP_Code_erwer234.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfasd434.dll, etc.
Because of this, I have to use CSC to compile myself with my special
name. But, the following problem is more confused. After I copy the
compiled dll file to BIN folder in IIS, and also ASPX file, go to the
web site, ERROR message appear. ERROR message says that need CS source
file in PAGE folder. And I copy the CS file to PAGE. My god, it works
ok. In this condition, the web site running needs aspx, dll, and cs
file.

But why? It's strange.
Thanks.
Dec 26 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
hi there three method to deployment in asp.net
zxcopy tool
copy web tool
published wizard
in VS 2005
So dont wory
APP_Code_dfdfgr3334.dll these are dll generated for cs file in App_code
folder.other part is a hash v=based named which will changes.
Just copy your We site folder and put it in IIS root directry.
other wise user other two method of VS2005.

for detail see http://aspdotnet-som.blogspot.com
"DDD" wrote:
I have a web site project using C#. If I release the web site in the
VS2005, all works well except that DLL file name has some strange,
name APP_Code_erwer234.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfasd434.dll, etc.
Because of this, I have to use CSC to compile myself with my special
name. But, the following problem is more confused. After I copy the
compiled dll file to BIN folder in IIS, and also ASPX file, go to the
web site, ERROR message appear. ERROR message says that need CS source
file in PAGE folder. And I copy the CS file to PAGE. My god, it works
ok. In this condition, the web site running needs aspx, dll, and cs
file.

But why? It's strange.
Thanks.
Dec 26 '07 #2

P: n/a
You could try using the Web Application Project model, which seems to me to
be a lot easier since everything gets compiled into a single assembly in the
/bin folder.
If you read the newsgroup threads you most likely will see a lot more
questions and frustration with Web Site Projects than with Web Application
Projects. BTW, your question would probably have been better directed to the
ASP.NET newsgroup since it's really not exactly a C# language issue.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"DDD" wrote:
I have a web site project using C#. If I release the web site in the
VS2005, all works well except that DLL file name has some strange,
name APP_Code_erwer234.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfasd434.dll, etc.
Because of this, I have to use CSC to compile myself with my special
name. But, the following problem is more confused. After I copy the
compiled dll file to BIN folder in IIS, and also ASPX file, go to the
web site, ERROR message appear. ERROR message says that need CS source
file in PAGE folder. And I copy the CS file to PAGE. My god, it works
ok. In this condition, the web site running needs aspx, dll, and cs
file.

But why? It's strange.
Thanks.
Dec 27 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.