473,569 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1773
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%\Mi crosoft.NET\Fra mework\v1.1.432 2.

The .NET Framework SDK can be downloaded in this link:
http://www.microsoft.com/downloads/d...CA6-3647-4070-
9F41-A333C6B9181D&di splaylang=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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 144.57.128.4
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1725 64
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.mi crosoft.com> wrote in message
news:c1******** ******@cpmsftng xa06.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%\Mi crosoft.NET\Fra mework\v1.1.432 2.

The .NET Framework SDK can be downloaded in this link:
http://www.microsoft.com/downloads/d...CA6-3647-4070- 9F41-A333C6B9181D&di splaylang=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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 144.57.128.4
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1725 64 | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
6459
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 doesn't want the whole page to be refreshed so that buttons and images around the information do not get reloaded each time. Is this really possible? ...
11
3740
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 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET...
16
4171
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 doesn't use the changed values in the App.config, but continue to use the values that were there during start-up. Is there a way to let the...
3
2687
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 can't convert part of the database with forms, reports, queries to MDE format. Can somebody advice on this? References, in the order, from the...
4
8232
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 another class. So when I add labelRestrictSites.refresh code to my class I get an error because the labelRestrictSites is private. How would I...
4
4365
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, Place the results in cache and use those values the rest of the day for all users. I have something like this CallMe = New...
2
3820
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 F5. Than everything refreshes and if we have made changes, they are immediately shown. Could someone help me with this matter? A possible...
3
43922
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 Server1 ... db2 catalog db CURR_DB at node S1
1
3521
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 refresh.redirect() occure it give me error that can't redirect because headers have been sent following are my code to download file
0
7700
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7676
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...
0
7974
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...
0
5219
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...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.