谈谈对于ASP+ PDC bits的经验

asp+

My Experiences with ASP+ PDC bits
Now that the ASP+ sdk "pre-beta" has been released to the masses. Many people are scrambling to get it
installed and start to play with C#, ASP+ and many other toys that come with the SDK. Being the
webmaster of ASPFree, I've had the privilege to work with two versions of ASP+ builds. And I may add, how
stable both versions have been! Its definitely been an experience, this article I hope to express some of
the things to help guide individuals who have to install and support this in their environment.

First of all, "DON'T INSTALL ON YOUR PRODUCTION SERVERS!!", I can't stress this enough, this is "pre-beta"
software. Microsoft WILL NOT support pre-beta software. ASPFree is "production" I guess, but it doesn't
hurt anything if the site crashes or some pages don't display. The world won't come to an end, I use this
environment to learn new technology and share with others. I do have a development machine that I test
things before installing on the server that runs ASPFree. Some of the tricks I share in this article
are just my own experiences. These are the things I found helpful in keeping the samples up and working
for my visitors on ASPFree.com.

How do I get ASP+ installed then?
Before I'd do anything, do a complete backup...even on your development machine. I'd recommend a fresh
built machine with Windows 2000 and IIS 5.0, then install IE 5.5 and lastly the PDC ASP+ bits. Many of
the newsgroups I monitor, some people are having issues if they installed the PDC Visual Studio 7 beta
then trying to put on the ASP+ sdk. I can't comment to this because I haven't installed VS 7 beta. All I
can say install in this order, a fresh install of Windows 2000 w/IIS 5.0, IE 5.5 and PDC build of ASP+ .
Things should work fine!.

What if I have Classic ASP applications on my server?
If your installing ASP+ on a development machine with existing traditional ASP applications, things will
work just fine. I've installed the ASP+ bits many times and have yet to blow up any of my ASP pages.
ASP+ is designed to run side-by-side with existing ASP pages. If you doubt this claim, view ASPFree.com.
Since day one, I've mixed .asp and .aspx pages together with NO problems at all!

The First Build story
We had a couple of small issues with the first build that was installed on ASPFree. It ran pretty good
for about a week or so then we had a few odd things happen. Being "Pre-beta", I'd expected this to happen
sooner. I was very happy how stable the beta's were and the small amount of issues I really had! When
the samples would die or some other error popped-up, I'd re-compile the samples and that would take care
of them. Considering the traffic load ASPFree.com visitors put on them, they held up very well.

You ask how did I re-compile the samples?
1. Open a command prompt.
2 Map to the NGWSSDK\samples directory. If you took the default install, its c:\program
files\ngwssdk\samples directory.
3. run nmake /all This will compile all of the samples again.

Another trick I found helpful when weird errors would come up, I'd use the "KILL.EXE" command that comes
with the NT/2000 resource kit. This allows you to terminate processes without restarting the server.

To "kill the ASP+" process,
Open the task manager (Right click on the start-bar)
Find the process xspwp.exe and/or the PID(Process Identifer)
open a command window (Start, run, cmd)
Type in "kill xspwp.exe" or "kill xxxx(4-digit id number)
Here is a picture of what I'm referring too.

Using the kill command has proved useful in both builds of the SDK that has been used on ASPFree. The
1st build was somewhat buggy and once in awhile things basically stopped working. The PDC build, the
one Microsoft just released to the world this week, is much more stable and I haven't had any problems.

Other strange things such as "This EVIL Process, NULL String in XXX" or whatever the error. Usually
killing the xspwp.exe process and letting another one start up usually fixes things. Please keep in mind
this article is based on "Pre-beta" software, using the kill command to fix these problems are rare now
with one exception.

What is the XSPWP.exe process?
This is the worker process that handles all of the ASP+ tasks.

Using the KILL command to help clean up virtual memory
Now this part is my own twisted way I came up with to keep the virt

时间: 2024-10-03 15:40:54

谈谈对于ASP+ PDC bits的经验的相关文章

龙相羽:谈谈购物返利平台的推广经验(二)

中介交易 http://www.aliyun.com/zixun/aggregation/6858.html">SEO诊断 淘宝客 云主机 技术大厅 上篇文章<龙相羽:谈谈购物返利平台的推广经验(一)>中已经分享到分析平台.数据完善.客服沟通等经验,然而这篇文章的知识点主要是围绕着客服沟通展开,比如说我如何获得免费的网站首页广告位与商品信息发布后台等,其实这些都是我意外收获而得,但是对我的推广帮助很大. 四.免费广告 在一个流量高的网站获得免费广告位,可以增加网站流量的同时达到

谈谈学习ASP动态网页制作技术的编程心得

学好一门编程语言有两个条件是必不可少的,一是理论与实践结合,在实际例程去验证书本上的理论能加深你对理论的理解:二是学会总结,把学习.运用中的心得体会记下来,当成一种经验或者教训加以提炼并在日后的应用中加以改进,一定能提高你对这门编程语言的认识.以下是笔者在学习与运用ASP编程中的两点经验,希望能对大家有所帮助. ASP页面内VBScript和JScript的交互 ASP具备管理不同语言脚本程序的能力,能够自动调用合适的脚本引擎以解释脚本代码和执行内置函数.ASP开发环境提供了两种脚本引擎,即VB

理论为实践服务:ASP开发10条经验总结

历时半年,我独自一人完成了一个局级单位的管理信息系统,共发布BETA版29次,正式版本3次.ASP+ORACLE环境,285个ASP文件,功能涉及数据录入.修改.模糊查询.自动统计.数据分析和报表,这个项目正在申报省级成果,现将我的10条经验总结如下,不对之处欢迎批评指正: 1. 不要再做ASP是否过时的讨论,重要的不是你是否使用先进的技术,而是你的设计思想是否先进: 2. 设计时要考虑项目的通用性,永远不要做没有推广价值的东西: 3. 程序设计要简洁,足够好的面向过程远远优于蹩脚的面向对象:

总结:谈谈学习ASP动态网页制作技术的编程心得

编程|动态|网页|心得 学好一门编程语言有两个条件是必不可少的,一是理论与实践结合,在实际例程去验证书本上的理论能加深你对理论的理解:二是学会总结,把学习.运用中的心得体会记下来,当成一种经验或者教训加以提炼并在日后的应用中加以改进,一定能提高你对这门编程语言的认识.以下是笔者在学习与运用ASP编程中的两点经验,希望能对大家有所帮助. ASP页面内VBScript和JScript的交互 ASP具备管理不同语言脚本程序的能力,能够自动调用合适的脚本引擎以解释脚本代码和执行内置函数.ASP开发环境提

ASP开发10条经验总结

作者:Thie (缺氧时代) 历时半年,我独自一人完成了一个局级单位的管理信息系统,共发布BETA版29次,正式版本3次.ASP+ORACLE环境,285个ASP文件,功能涉及数据录入.修改.模糊查询.自动统计.数据分析和报表,这个项目正在申报省级成果,现将我的10条经验总结如下,不对之处欢迎批评指正: 1. 不要再做ASP是否过时的讨论,重要的不是你是否使用先进的技术,而是你的设计思想是否先进:2. 设计时要考虑项目的通用性,永远不要做没有推广价值的东西(为保饭碗除外):3. 程序设计要简洁,

谈谈情侣礼品网的运营经验

中介交易 http://www.aliyun.com/zixun/aggregation/6858.html">SEO诊断 淘宝客 云主机 技术大厅 因为,这个网站还在前期筹备当中,所以只能谈谈运营的思路,具体效果还必须在实践中不断完善! 一.开办情侣礼品网原因: 让凡人的女朋友不无聊,间接帮助实现她的梦想. 作为一个个人站长,成天泡在网络上,自然没有多少时间陪女朋友,虽然有2个电脑,但是女朋友也只拿来聊聊QQ,玩玩游戏,特别的相当的非常的无聊.女孩子谁不喜欢到处去逛逛呀!其次,女朋友的愿

使用ASP组件的一点经验---注册组件的两种方法

注册组件 第一种方法:手工注册DLL    这种方法从IIs 3.0一直使用到IIs 4.0和其它的Web Server.它需要你在命令行方式下来执行,进入到包含有DLL的目录,并输入: <drive>:\<asp dir>\regsvr32 component_name.dll例如 c:\temp\regsvr32 AspEmail.dll     它会把dll的特定信息注册入服务器中的注册表中.然后这个组件就可以在服务器上使用了,但是这个方法有一个缺陷.当使用这种方法注册完毕组

asp.net主机设置经验

asp.net 您可以通过以下设置控制asp.net对服务器内存的占用.并能设置aspnet进程定时重建(类似IIS6中AppPool里的定时重启),这样可以避免服务器长时间运行aspnet占用大量空闲内存,有利于提高aspnet运行效率. aspnet配置文件位置为 C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config用文本编辑器打开该文件,找到以内容按注释修改 <processModel   enable="

谈谈我24天建站经验 百度权重升到2

笔者今天起床还是一如既往的打开电脑,头也没梳脸也没洗,先去查看网站情况0 0!很费解,我想80%站长都是类似这样的情节,不过今天笔者还很是高兴的,因为一查重权已经到2了,这可是一个新站啊,短短24天重权升到2流量日IP2000以上,这可能是笔者有史以来最有成就感的一次了! 那么谈谈我是如何培养新站,使网站在短期重权提升的. 初期: 初期当然是准备工作啦,笔者建立这个新站可是前后思索许久才下定决心做的,因为笔者兜里真的是太干净了,所以几番思索以后,把整个建站计划用以文本形式来做记录! 1.域名的选