473,657 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A web site running need cs source file

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_erwer2 34.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr 3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfas d434.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
2 1821
hi there three method to deployment in asp.net
zxcopy tool
copy web tool
published wizard
in VS 2005
So dont wory
APP_Code_dfdfgr 3334.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_erwer2 34.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr 3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfas d434.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
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_erwer2 34.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr 3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfas d434.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1634
by: Bob Murdoch | last post by:
I have a fairly complicated web site with multiple sub-folders running on W2k server (IIS5?). I would like to duplicate this to another web site on the same server for testing. For instance, the current root web of the server is located at F:\Web. The production site is F:\Web\MyApp. I want to create another site at F:\Web\MyAppTest. The only thing that prevents me from just copying everything from one to the other is the links and...
9
1595
by: Scott Townsend | last post by:
I have the following code in a file called test.asp and when I run it I get 'Test'... Is there something about running .ASP Pages on a Web that is running Windows Sharepoint Services? Thanks, Scott<- ------------ <html>
8
1244
by: John | last post by:
Hi I have a perfectly fine running webform on the local server. When I upload the webform to a remote shared server I get the below error. Any idea what is causing this? Thanks Regards
5
1102
by: John | last post by:
Hi I need to deliver the site to a client minus the source code. Which of the files can I delete without effecting the running of the web site? Thanks Regards
8
3160
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my development on existing and new applications. This environment also has its own Sql Server with dev versions of all our live Databases. Our live production server also its own Sql Server, these 2 Sql Servers are kept completely separate (for obvious...
4
5235
by: news.citenet.net | last post by:
I keep getting the following error message after my web site running 2 or 3 days I share one folder with about 200 domain names Any one can help? --------------------------------------------------------------------------------
0
1234
by: Wayne Sepega | last post by:
We are using windows 2003 standard server, VSS 2005 and VS 2005 (mostly team dev, but some team arch and suite) We run windows 2003 on our development boxes, this gives us the ability to host multiple web sites running on the box at a time, this works great for the most part. However, we have the following issue: Lets say I have two web sites set up on my box that respond to their corresponding host header value:
20
4255
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site is structured as an upside-down tree, and (if I remember correctly) never more than 4 levels. The site basically grew (like the creeping black blob) ... all the pages were created in Notepad over the last
15
1225
by: dan | last post by:
I changed website hosts. The code that worked on my old host does not work on the new host. It appears that the php code is not running or running correctly. Nothing related to php is displaying. Not even the php code. Why would it work on one host and not the other? Apache 2.2.8 Any ideas? The new host is not too excited about helping. Are there any places to validate php code?
0
8305
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
8823
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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...
0
7321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
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
5632
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
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.