473,399 Members | 3,401 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,399 software developers and data experts.

Refresh/Compile an ASP.Net application without VS.Net

MB
Hello!

At home I am using ASP.net to develop an asp application.
Now I have copied this application to my IIS5.0 server at my workplace.
Everything works fine, but then I would do a change in a code behind file. I
made the changes with notepad, but I can't get it to take affect. Not event
restarting IIS solved it. How do I compile or refresh IIS so that my changes
takes affect? I do not have VS.Net at my workplace. Where is the running
code located? Is it in memory, and if it is, in which process?

Regards Magnus
Nov 17 '05 #1
2 1764
Hi ,

The code behind file had been compiled to be an assembly file. If we
modified some code in it, we may recompile it to make the change effect.
Otherwise, IIS just uses the old assembly file though you have saved the
change in the codehind. You may install .NET Framework SDK and use csc.exe
in command line to recompile the codebehind file. If you already have
csc.exe on your machine, you need not to download .NET Framework SDK. You
may check %systemroot%\Microsoft.NET\Framework\v1.1.4322.

The .NET Framework SDK can be downloaded in this link:
http://www.microsoft.com/downloads/d...CA6-3647-4070-
9F41-A333C6B9181D&displaylang=en

You may check this link for more information.
NET Framework: Building, Packaging, Deploying, and Administering
Applications and Types.
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

Hope this helps.

Best regards,
Lewis

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "MB" <ma*************@skanska.se>
| Subject: Refresh/Compile an ASP.Net application without VS.Net
| Date: Fri, 29 Aug 2003 09:22:34 +0200
| Lines: 13
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <uJ*************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 144.57.128.4
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:172564
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hello!
|
| At home I am using ASP.net to develop an asp application.
| Now I have copied this application to my IIS5.0 server at my workplace.
| Everything works fine, but then I would do a change in a code behind
file. I
| made the changes with notepad, but I can't get it to take affect. Not
event
| restarting IIS solved it. How do I compile or refresh IIS so that my
changes
| takes affect? I do not have VS.Net at my workplace. Where is the running
| code located? Is it in memory, and if it is, in which process?
|
| Regards Magnus
|
|
|

Nov 17 '05 #2
MB
Thank you, but I was to difficult for me. I had to write several files in
the reference option and I couldn't get it to work anyway.
Anyway, I solved the problem by just compiling the project at home. Then I
moved the dll-file to my workplace, and it took affect immediately.

So the problem is solved, even if I think it could be more simple to compile
by the vbc command.

Regards Magnus
"Lewis Wang [MSFT]" <v-*****@online.microsoft.com> wrote in message
news:c1**************@cpmsftngxa06.phx.gbl...
Hi ,

The code behind file had been compiled to be an assembly file. If we
modified some code in it, we may recompile it to make the change effect.
Otherwise, IIS just uses the old assembly file though you have saved the
change in the codehind. You may install .NET Framework SDK and use csc.exe
in command line to recompile the codebehind file. If you already have
csc.exe on your machine, you need not to download .NET Framework SDK. You
may check %systemroot%\Microsoft.NET\Framework\v1.1.4322.

The .NET Framework SDK can be downloaded in this link:
http://www.microsoft.com/downloads/d...CA6-3647-4070- 9F41-A333C6B9181D&displaylang=en

You may check this link for more information.
NET Framework: Building, Packaging, Deploying, and Administering
Applications and Types.
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

Hope this helps.

Best regards,
Lewis

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "MB" <ma*************@skanska.se>
| Subject: Refresh/Compile an ASP.Net application without VS.Net
| Date: Fri, 29 Aug 2003 09:22:34 +0200
| Lines: 13
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <uJ*************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 144.57.128.4
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:172564 | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hello!
|
| At home I am using ASP.net to develop an asp application.
| Now I have copied this application to my IIS5.0 server at my workplace.
| Everything works fine, but then I would do a change in a code behind
file. I
| made the changes with notepad, but I can't get it to take affect. Not
event
| restarting IIS solved it. How do I compile or refresh IIS so that my
changes
| takes affect? I do not have VS.Net at my workplace. Where is the running
| code located? Is it in memory, and if it is, in which process?
|
| Regards Magnus
|
|
|

Nov 17 '05 #3

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

Similar topics

10
by: Conax | last post by:
Hi there, My boss is hoping that I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
16
by: DraguVaso | last post by:
Hi, I have a Windows Service running (made in VB.NET), and wanted to be able to change from time to time some parameters by changing them in the App.config. But it seems that the application...
3
by: ET | last post by:
I don't know whats the problem, but after I added functions to first verify, then relink linked tables if not found, now I can't convert that database to MDE format. I can split the database, but...
4
by: Yogi_Bear_79 | last post by:
Self Taught here so please bear with me. I have the labelRestrictSites as private on the MainForm.cs. I then access the labelRestrictSites.Text thru the public string LabelRestrictSites from...
4
by: Erick | last post by:
i have an asp.net application and I want to save the results of an sql query in cache. Because the queries take 28 seconds to run (there are twelve similar queries) I want to run it all at 4am, ...
2
by: Robert Mileski | last post by:
I've made some program in Visual Basic 2005 that works with changing files and folders. After I've finished it, the main problem is to refresh the Windows OS. I mean the same thing as when we press...
3
by: Lennart | last post by:
Assuming the following setup: Server1 running DB2 V8.2 with two databases DB_1 and DB_2: db2 catalog db DB_1 as CURR_DB Server2 DB2 runtime client: db2 catalog tcpip node S1 remote...
1
by: shahidrasul | last post by:
i want to download a file which user select from gridview, downloading is completing without problem but after download i want to refresh my page because i do some changes in db . but when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
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...
0
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...
0
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,...
0
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...

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.